[Date Prev][Date Next][Thread Prev][Thread Next] - [Date Index][Thread Index][Author Index]

Re: Re: UO-2 Telemetry Decoder Software

>Sound card access under other operating systems is easy.
>Under Linux (and other OSs with similar sound drivers)
>you open() the device (usually /dev/dsp), use ioctl() to
>configure it (sample rate, sample size, etc.), use read()
>to get the samples, and then have your way with them.

It's even easier than that. You can use the "brec" command to open the
sound card and set the sampling rate and format. The raw PCM samples
appear on brec's standard output, which you can then pipe into your
demodulator program. This lets your program be completely
machine-independent if you want.


Via the amsat-bb mailing list at AMSAT.ORG courtesy of AMSAT-NA.
To unsubscribe, send "unsubscribe amsat-bb" to Majordomo@amsat.org