The SparForte sound package plays music and sounds and controls the sound hardware
on your computer. Under Linux/UNIX, you will probably have to be logged in
as the superuser to access the sound devices on your computer.
sound.play( f [, p] )
Play a WAV or AU sound file through /dev/dsp. If priority is given, use
real-time scheduling to sechedule the playback priority.
Example: sound.play( "waterfall.wav" );
Ada Equivalent: none (SparForte extension)
Parameters:
f
in
universal_string
required
the sound file to play
p
in
integer
highest integer
real-time priority
sound.playcd [( f )]
Play an audio CD in /dev/cdrom (or an alternative CD device
if specified).
Example: sound.playcd;
Ada Equivalent: none (SparForte extension)
Parameters:
f
in
universal_string
/dev/cdrom
the name of the CD device
sound.stopcd
Stop the current audio CD.
Example: sound.stopcd;
Ada Equivalent: none (SparForte extension)
Parameters: none