[PlanetCCRMA] USB (& firewire) interface
Sean Beeson
seanbeeson at gmail.com
Fri May 14 07:40:25 PDT 2010
Simon,
This is my
# create a virtual four-channel device with two sound devices:
# This is in fact two interleaved stereo streams in
# different memory locations, so JACK will complain that it
# cannot get mmap-based access. see below.
pcm.multi {
type multi;
slaves.a.pcm "hw:4,0";
slaves.a.channels 2;
slaves.b.pcm "hw:4,1";
slaves.b.channels 2;
bindings.0.slave a;
bindings.0.channel 0;
bindings.1.slave a;
bindings.1.channel 1;
bindings.2.slave b;
bindings.2.channel 0;
bindings.3.slave b;
bindings.3.channel 1;
}
# JACK will be unhappy if there is no mixer to talk to, so we set
# this to card 0. This could be any device but 0 is easy.
ctl.multi {
type hw;
card 4;
}
# This creates a 4 channel interleaved pcm stream based on
# the multi device. JACK will work with this one.
pcm.ttable {
type route;
slave.pcm "multi";
slave.channels 4;
ttable.0.0 1;
ttable.1.1 1;
}
# see above.
ctl.ttable {
type hw;
card 4;
}
At first I had to make a etc/modprobe.d/somename file to force my card
to have the same place on each bootup. I have a M-Audio FTP and used
these settings in it:
http://alsa.opensrc.org/index.php/M-Audio_FastTrack_Pro You'll have
to figure out the right thing for your card.
I had to read all the following to figure it out.
http://alsa.opensrc.org/index.php/.asoundrc
http://alsa.opensrc.org/index.php/TwoCardsAsOne
http://alsa.opensrc.org/index.php/MultipleCards
http://alsa.opensrc.org/index.php/MultipleUSBAudioDevices
Alsa sees it, Jack still is not seeing it. Someone in another thread
has given me a link to check about that.
-Sean
More information about the PlanetCCRMA
mailing list