in reply to Re: Music and FFT
in thread Music and FFT

It seems /dev/dsp is required. However it seems that /dev/dsp is provided by a legancy kernel module named oss. What about alsa?
I don't have much knowledge about linux sound architecture, is there any introduction materials?

Replies are listed 'Best First'.
Re^3: Music and FFT
by zentara (Cardinal) on Oct 20, 2010 at 12:09 UTC
    Google for "linux sound tutorial". Basically, OSS was the original sound system, which now has been replaced by alsa( which has a oss emulation layer for backward compatibility). Alsa is the low level device driver. There are even higher level sound daemons in use now. For instance, Ubuntu uses the Enlightenment sound daemon, which acts as a sound server, on top of alsa. Alsa is usually built into the kernel modules, and gives basic access to the DSP, speaker, microphone, etc. There is a set of basic alsa utilities, like aplay, arecord, amixer, and alsactl, with which you can use to control the /dev/dsp.

    It would seem to be simple, but sound can be complex with all the options available, like Jack, etc.

    If you want one good commandline tool for conversions on linux, see Sox


    I'm not really a human, but I play one on earth.
    Old Perl Programmer Haiku ................... flash japh