audiofile play - part-cw/lambdanative GitHub Wiki
(audiofile-play id)
audiofile-play plays a sound file with the given id, which must be a value returned from audiofile-load.
Parameter | Description |
---|---|
id | id returned by (audiofile-load file) |
Example
Example from apps/uSquish/main.scm to play sounds/win.wav
(audiofile-init)
(set! sound-win (audiofile-load "win"))
(audiofile-play sound-win)