We use sounds to notify us of events. Currently we use beeps using
printf ("\a");
Is there a quick way to play sounds (.wav files or something of that sort).
I looked at the example file in the documentation and that seems to be a lot
of work for a simple short wave file.
Alternatively is there a way to change beep tones ?
We use sounds to notify us of events. Currently we use beeps using
printf ("\a");
Is there a quick way to play sounds (.wav files or something of that sort).
I looked at the example file in the documentation and that seems to be a lot
of work for a simple short wave file.
system (“phplay nameofwavefile.wav”); is probably the simples…
I’m sure “aplay” and “mp3decode” could be ported easily if they’re not already
in the standard distro. Then you change “phplay” to “aplay”…
Cheers,
-RK
–
Robert Krten, PARSE Software Devices +1 613 599 8316.
Realtime Systems Architecture, Books, Video-based and Instructor-led
Training and Consulting at www.parse.com.
Email my initials at parse dot com.