|
From: Peter S. <pe...@st...> - 2012-05-08 01:17:10
|
Deron wrote: > Indeed, it shows: > > 1 [Radio ]: USB-Audio - ALERT FM Radio > Axentia Technologies AB ALERT FM Radio at > usb-0000:00:1a.1-1, full speed > > I realize this may be beyond the knowledge of this list, but I'll > explain anyway. I'm just looking for the pcm audio stream (be it > 16bit, 2 channel or whatever) so that my code can look for the > audio tones that precede the EAS (the Emergency Alert System used > in Canada and the US to broadcast severe weather warnings and other > emergency notifications) and act accordingly. So opening a > device/pipe is perfectly acceptable. .. > I'm guessing I need to look into ALSA? Yes. You will find a large number of programs which work with audio input on Linux systems. A simple capture example is: http://equalarea.com/paul/alsa-audio.html#captureex Depending on what analysis you need to perform to match the emergency audio signature there may also exist many helpful tools and libraries already. Since it's radio I expect you'll want to have a bit of fuzz. //Peter |