Overview Clamps Packages CM Dictionary Clamps Dictionary Fomus
Next: make-wd-poly-handler , Previous: make-wd-draw-params , Up: M , Home: Overview

Clamps Dictionary

make-wd-player

Function

(make-wd-player wf-display &optional cursor)

Return a soundfile player closure. To start playback, call the closure with :start as first argument and an optional number indicating a startoffset in seconds. To stop playback, call the returned closure with :stop as first argument. To pause the playback, call the returned closure with :pause as first argument.

Arguments

file A string indicating the full path of the file to play back.

Example

(defparameter *my-player* (make-sf-player "/tmp/rec-1.wav"))

(funcall *my-player* :start)
(funcall *my-player* :pause)
(funcall *my-player* :start)
(funcall *my-player* :stop)

See also

Author: Orm Finnendahl

Created: 2026-06-07 So 15:01

Validate