[linux-audio-user] mapping alsa devices to oss devices

Allan Klinbail allank at labyrinth.net.au
Mon Jun 9 07:30:10 EDT 2003


Hi 

I can't answer your question.. but this email has answered one of mine,
and I have successfully edited my asound.conf file to be able to do what
you are doing.. recording in through discrete channels and outputting
though discrete channels.. 

Maybe someone on the ardour list can answer us both by confirming that
this will allow multichannel recording on ardour (a possible solve to
the question I think you are asking) 

cheers

Allan

P.S I'm still working on a way of then combining my Delta66 with my
intel8x0 (built-in to MOBO) so that I can use the stereo out of the
intel8x0 for monitoring while using the outputs of the Delta66 for
channel recording. (i.e. sending output into the mixing desk to use
outboard processing gear or for external mixdown of tracks)  

cheers

Allan 


On Mon, 2003-06-09 at 20:25, Akos Maroy wrote:
> In my quest to record from the different channels of the Delta 1010LT 
> have come so far that I can address the different hardware inputs using 
> ALSA device names, while using an appropriate /etc/asound.conf file. 
> e.g. I can
> 
> arecord -f cd -d 5 -D channel2 test.wav
> 
> and this would record from hardware input channel #2. I have four stereo 
> input channels, e.g channel1 ... channel4, plus the spdif channel. So 
> far, so good.
> 
> Now I would need a way to map these channels to OSS /dev/dsp interfaces. 
> something like:
> 
> /dev/dsp1 -> channel1
> /dev/dsp2 -> channel2
> /dev/dsp3 -> channel3
> /dev/dsp4 -> channel4
> 
> I understand that I would need to use the kernel module snd-pcm-oss to 
> achieve this. how can I tell this module to map to the appropriate ALSA 
> devices?
> 
> BTW, the contents of this asound.conf file is:
> 
> pcm.ice1712 {
>          type hw
>          card 0
>          device 0
> }
> 
> # adcdac 1&2
> pcm.channel1 {
>          type plug
>          ttable.0.0 1
>          ttable.1.1 1
>          slave.pcm ice1712
> }
> 
> # adcdac 3&4
> pcm.channel2 {
>          type plug
>          ttable.0.2 1
>          ttable.1.3 1
>          slave.pcm ice1712
> }
> 
> #adcdac 5&6
> pcm.channel3 {
>          type plug
>          ttable.0.4 1
>          ttable.1.5 1
>          slave.pcm ice1712
> }
> 
> # adcdac 7&8
> pcm.channel4 {
>          type plug
>          ttable.0.6 1
>          ttable.1.7 1
>          slave.pcm ice1712
> }
> 
> #SPDIF channels only
> pcm.ice1712_spdif {
>          type plug
>          ttable.0.8 1
>          ttable.1.9 1
>          slave.pcm ice1712
> }
-- 
Allan Klinbail <allank at labyrinth.net.au>




More information about the Linux-audio-user mailing list