I am trying to get my 2 M-Audio Delta soundcards working together in KXstudio. I have a Delta 1010lt and a Delta 44. I am using the full KX distro, not as an add-on. I am not new to Linux but new to audio setup with it. I can set up either card individually and get them working with Jack/Cadence. I can start and monitor envy24control with the following commands:
envy24control -c3 (for the 44)
envy24control -c4 (for the 1010lt)
I am trying to add a custom .asoundrc file as described here: http://www.jrigg.co.uk/linuxaudio/ice1712multi.html
I have attached the modified version of that .asoundrc that I am trying to use.
I am not sure that my hardware addresses are right, or how to find the right ones to use. The Cadence drop-down shows both cards as hw:0. Otherwise I do not know what is wrong. When trying to start jack this is what I get:
Code: Select all
x@x:~$ jackd -d alsa -C multi_capture -P multi_playback
jackdmp 1.9.10
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2013 Grame.
jackdmp comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
no message buffer overruns
no message buffer overruns
no message buffer overruns
JACK server starting in realtime mode with priority 10
audio_reservation_init
Acquire audio card Audio3
creating alsa driver ... multi_playback|multi_capture|1024|2|48000|0|0|nomon|swmeter|-|32bit
jackd: pcm_multi.c:876: snd_pcm_multi_open: Assertion `schannels[i] < schannels_count[sidxs[i]]' failed.
Aborted
x@x:~$
Any help is greatly appreciated,
Billy
My .asoundrc:
Code: Select all
# .asoundrc for two Delta 1010s
#
# Create virtual devices out of multiple soundcards.
# JACK will need MMAP_COMPLEX support to use this.
# ICE1712 chip has 12 capture channels and 10 playback channels.
# No. of channels in slaves must equal 12 for capture and 10 for playback
# otherwise "invalid argument" errors result.
pcm.multi_capture {
type multi
slaves.a.pcm hw:3
slaves.a.channels 4
slaves.b.pcm hw:4
slaves.b.channels 12
# First 8 channels of first soundcard (capture)
bindings.0.slave a
bindings.0.channel 0
bindings.1.slave a
bindings.1.channel 1
bindings.2.slave a
bindings.2.channel 2
bindings.3.slave a
bindings.3.channel 3
# First 8 channels of second soundcard (capture)
bindings.8.slave b
bindings.8.channel 0
bindings.9.slave b
bindings.9.channel 1
bindings.10.slave b
bindings.10.channel 2
bindings.11.slave b
bindings.11.channel 3
bindings.12.slave b
bindings.12.channel 4
bindings.13.slave b
bindings.13.channel 5
bindings.14.slave b
bindings.14.channel 6
bindings.15.slave b
bindings.15.channel 7
# S/PDIF section. Uncomment bindings if required.
# S/PDIF first soundcard (capture)
#bindings.16.slave a
#bindings.16.channel 8
#bindings.17.slave a
#bindings.17.channel 9
# S/PDIF second soundcard (capture)
#bindings.18.slave b
#bindings.18.channel 8
#bindings.19.slave b
#bindings.19.channel 9
}
ctl.multi_capture {
type hw
card 3
}
pcm.multi_playback {
type multi
slaves.a.pcm hw:3
slaves.a.channels 4
slaves.b.pcm hw:4
slaves.b.channels 10
# First 8 channels of first soundcard (playback)
bindings.0.slave a
bindings.0.channel 0
bindings.1.slave a
bindings.1.channel 1
bindings.2.slave a
bindings.2.channel 2
bindings.3.slave a
bindings.3.channel 3
# First 8 channels of second soundcard (playback)
bindings.8.slave b
bindings.8.channel 0
bindings.9.slave b
bindings.9.channel 1
bindings.10.slave b
bindings.10.channel 2
bindings.11.slave b
bindings.11.channel 3
bindings.12.slave b
bindings.12.channel 4
bindings.13.slave b
bindings.13.channel 5
bindings.14.slave b
bindings.14.channel 6
bindings.15.slave b
bindings.15.channel 7
# S/PDIF section. Uncomment bindings if required.
# S/PDIF first soundcard (playback)
#bindings.16.slave a
#bindings.16.channel 8
#bindings.17.slave a
#bindings.17.channel 9
# S/PDIF second soundcard (playback)
#bindings.18.slave b
#bindings.18.channel 8
#bindings.19.slave b
#bindings.19.channel 9
}
ctl.multi_playback {
type hw
card 3
}