Hi Fernando<div>Can't help you on the coding but if you find a way to link two RME PCI hdsp cards to show as one please pass this along.</div><div><br></div><div>I have two cards that I have to constantly change as the Bois seems to change the order of the cards on Boot up ( I use jack to select the cards)</div>
<div><br></div><div><br></div><div>Cheers</div><div>Bob</div><div>Blueslsd</div><div><br></div><div><br><br><div class="gmail_quote">On 29 March 2010 18:49, Fernando Lopez-Lezcano <span dir="ltr"><<a href="mailto:nando@ccrma.stanford.edu">nando@ccrma.stanford.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">At CCRMA we have several studios with linux computers in them (in<br>
addition to computers sprinkled throughout the building). Some of the<br>
studios have digiface interfaces, some multiface. All of them are<br>
connected to the sound system or mixer digitally through adat<br>
lightpipes. Workstations have Delta 66 or Gina3G soundcards.<br>
<br>
It would be nice for a user to be able to play, say, a stereo Ardour<br>
session in any of them without any changes to the session or routing.<br>
<br>
The digifaces send channels 1-24 out the adat ports. The multifaces on<br>
the other hand send 9-16 on the adat port. Deltas and Ginas send out<br>
stuff on channels 1-4 or 1-6.<br>
<br>
You can see the multiface interfaces are a problem. To get sound out of<br>
them you have to send on channels 9-16 which is different from _all_<br>
others!<br>
<br>
I tried several workarounds without much success:<br>
<br>
a) fix this at the alsa level. Should be the way to go, right? Create<br>
an /etc/asound.conf that uses ttable to translate channels for the<br>
multifaces so that the digital out is actually sent through channels 1-8<br>
(and create the same name plug interface in all other computers that<br>
does nothing so that the user can set that name as the default in<br>
qjackctl and will get the same behavior in all computers).<br>
<br>
Works, but not quite. When I try to use that "fake" plug interface with<br>
jack2 I get a warning that I'm using a plug interface (sort of fair) and<br>
jack only opens it with _2_ i/o channels (even though the ttable is 18<br>
channels wide!). If I _force_ input and output channels in jack to 18 it<br>
does work fine. But now it will _not_ work on other computers that have<br>
less (or more) than 18 channels. Argh.<br>
<br>
b) fix it in hdspmixer. Well, it turns out that hdspmixer does not read<br>
the default matrix gains from a file so I can't really override the<br>
default. AFAICT the gains are calculated algorithmically in the code and<br>
there is no command line option to load presets from a file.<br>
<br>
Or I could write a small script that will set the right gains for 1-8 to<br>
go out through 9-16 but if a user starts hdspmixer that gets undone with<br>
no warning.<br>
<br>
And, of course:<br>
<br>
c) give up and connect an 8 channel analog snake to the analog outputs<br>
of the multifaces and do away with a digital connection to the mixer...<br>
<br>
Anyone has any other suggestions??<br>
This should be easy to fix, right?<br>
:-)<br>
-- Fernando<br>
<br>
<br>
_______________________________________________<br>
Linux-audio-dev mailing list<br>
<a href="mailto:Linux-audio-dev@lists.linuxaudio.org">Linux-audio-dev@lists.linuxaudio.org</a><br>
<a href="http://lists.linuxaudio.org/listinfo/linux-audio-dev" target="_blank">http://lists.linuxaudio.org/listinfo/linux-audio-dev</a><br>
</blockquote></div><br></div>