[linux-audio-user] alsa setup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Clemens Ladisch wrote:

> Is /dev/dsp really a symlink to /dev/dsp0?

[atte@aarhus atte]$ ll /dev/dsp*
lrwxr-xr-x    1 root     audio           9 2004-03-19 13:53 /dev/dsp -> 
/dev/dsp0
crwxrwxrwx    1 root     audio     14,   3 2003-08-13 10:13 /dev/dsp0
crwxrwxrwx    1 root     audio     14,  19 2003-08-13 10:13 /dev/dsp1
crwxrwxrwx    1 root     audio     14,  35 2003-08-13 10:13 /dev/dsp2
crwxrwxrwx    1 root     audio     14,  51 2003-08-13 10:13 /dev/dsp3

> Does Csound have parameters to set the sample format/rate?

Yes, quite a few:

-b N    sample frames (or -kprds) per software sound I/O buffer
-B N    samples per hardware sound I/O buffer
-A      create an AIFF format output soundfile
-W      create a WAV format output soundfile
-J      create an IRCAM format output soundfile
-h      no header on output soundfile
-c      8-bit signed_char sound samples
-a      alaw sound samples
-8      8-bit unsigned_char sound samples
-u      ulaw sound samples
-s      short_int sound samples
-l      long_int sound samples
-f      float sound samples
-3      24bit sound samples
-r N    orchestra srate override

Are the options that would be relevant in this case. Any ideas on what 
to go for???

-- 
peace, love & harmony
Atte

http://www.atte.dk

[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux