Sound card programming for LINUX.
I would be interested to hear from any other ham who is experienced in writing low-level code for any of the sound-cards commonly found in a PC.
Most of the stuff I have seen is for a Microsoft environment, which I no longer have.
I now run Debian GNU/LINUX 4.0, and would be interested in writing an IQ demodulator for SDR.
Can the erratic timing of a multi-task system be overcome, perhaps by altering "nice" numbers ?
This is an area of programming where my experience is poor. I have in the past used a Motorola DSP card, but that was in my M$ days more than six years ago.
73
Geoff
G3FHL
Quoted 2 lines
Can the erratic timing of a multi-task system be overcome, perhaps by altering "nice" numbers ?
If you just want to write a demodulator (which doesn't need low latency, just no missing samples), you don't need to play with any scheduler, it will just work (if you have enough memory, and don't send your machine into swap death).
Just avoid ALSA's OSS compatibility layer, it is broken for DSP stuff. Use ALSA directly.
If you need low latency, you can use the POSIX 4 API (i.e. sched_setscheduler and friends).
73,
Tom
HB9JNX / AE4WA
Quoted 3 lines · Geoff Bagley
This is an area of programming where my experience is poor. I have in the past used a Motorola DSP
card, but that was in my M$ days more than six years ago.
Hi Geoff.
Welcome to Linux in general and Debian specifically.
Right now the digi modes program that seems to be receiving the most active development is Fldigi by W1HKJ, http://www.w1hkj.com and with a support mailing list at Yahoo Groups under LinuxHam. It's a GPL program and seems to employ some high performance concepts. I'm sure Dave and his team would be quite willing to share their knowledge of sound card programming.
73, de Nate >>
Signature · 5 lines
Wireless | Amateur Radio Station N0NB | Successfully Microsoft
Amateur radio exams; ham radio; Linux info @ | free since January 1998.
http://www.qsl.net/n0nb/ | "Debian, the choice of
My Kawasaki KZ-650 SR @ | a GNU generation!"
http://www.networksplus.net/n0nb/ | http://www.debian.orgQuoted 2 lines · Geoff Bagley
I now run Debian GNU/LINUX 4.0, and would be interested in writing an
IQ demodulator for SDR.
You might be interested by DttSP:
http://groups.yahoo.com/group/dttsp-linux
http://www.dttsp.org
73
Frank
AB2KT