Play wav files from serial input
Brian
lists at karas.net
Wed Jan 12 14:48:01 EST 2005
"Why" == because we want to have an 8 button keypad in engineers cubes
where when you press a button a .wav (or .mp3) from a corresponding category
is played through the overhead speakers. Have you ever heard the joke about
all the regular blokes in a bar where they don't actually tell complete
jokes anymore, they just shout out a number like "73" and then everyone
laughs? We have a number of sound files and clips that have to me (gasp)
manually played back from individual machines by clicking on them. It would
be more efficient to be able to just press a button and have an appropriate
sound/noise/audio clip come through the overhead speakers.
Thanks for the "play" tip, I found a reference to that via google and looks
good for playing .wav's. I imagine there is a similar one for .mp3's, or I
can just require people to convert them...
-----Original Message-----
From: gnhlug-discuss-admin at mail.gnhlug.org
[mailto:gnhlug-discuss-admin at mail.gnhlug.org] On Behalf Of Bill Freeman
Sent: Wednesday, January 12, 2005 2:44 PM
To: Brian
Cc: 'GNHLUG'
Subject: Play wav files from serial input
Brian writes:
> Setup a linux server with a samba share and directories labelled 1-8.
.wav > files can be put in those dirs and when a simple serial string is
received a > random file is selected from the appropriate directory and
played via the > line-out of the sound card.
Ok, but why.
> Any suggestions for a good command-line capable .wav player?
Try "play".
Bill
_______________________________________________
gnhlug-discuss mailing list
gnhlug-discuss at mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
More information about the gnhlug-discuss
mailing list