[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
To play sound using Emacs, use the function play-sound
. Only
certain systems are supported; if you call play-sound
on a system
which cannot really do the job, it gives an error. Emacs version 20 and
earlier did not support sound at all.
The sound must be stored as a file in RIFF-WAVE format (`.wav') or Sun Audio format (`.au').
(sound properties...)
, where the properties
consist of alternating keywords (particular symbols recognized
specially) and values corresponding to them.
Here is a table of the keywords that are currently meaningful in sound, and their meanings:
:file file
data-directory
.
:data data
:volume volume
:device device
Before actually playing the sound, play-sound
calls the functions in the list play-sound-functions
.
Each function is called with one argument, sound.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |