Subject: Re: [linux-audio-user] alsa setup
From: Atte André Jensen (atte_AT_ballbreaker.dk)
Date: Thu Apr 15 2004 - 21:17:31 EEST
Clemens Ladisch wrote:
> Is /dev/dsp really a symlink to /dev/dsp0?
[atte_AT_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
This archive was generated by hypermail 2b28 : Thu Apr 15 2004 - 21:21:19 EEST