thanks Jason - this sounds promising, and I&#39;ll give it a try on my system.<br>-Dave<br><br><div><span class="gmail_quote">On 9/18/07, <b class="gmail_sendername">Jason Plumb</b> &lt;<a href="mailto:jason@noisybox.net">
jason@noisybox.net</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">David Merrill wrote:<br> &gt; yes, I&#39;ve heard that alsa has the ability to create a single,
<br>&quot;virtual &gt; sound card&quot; from multiple individual cards, but so far I<br>haven&#39;t been<br> &gt; able to make this work - I&#39;m interested though, to hear from anyone<br> &gt; who has done it. also heard a rumor that new versions of jack may be
<br> &gt; able to connect to multiple cards at the same time - again, I don&#39;t<br> &gt; have specific info, but am curious to hear if anyone has done it.<br><br>David,<br><br>In my audiopint setup, I&#39;m using 4 USB iMics in a cheapo USB 
1.1 hub.&nbsp;&nbsp;I<br>use all 4 stero inputs and the one single stereo output of the first<br>iMic.&nbsp;&nbsp;I haven&#39;t confirmed it, but I&#39;m confident that fully duplexed<br>stereo on all 4 devices would go over the theoretical 
1.1 bandwidth (my<br>setup does not).<br><br>I multiplex the 4 cards into a single virtual card using the attached<br>asoundrc (which should be named as ~/.asoundrc).<br><br>I am successfully using this 8-in-2-out virtual card with jackd 
0.103.0<br>(realtime) and pd 0.40-2 (realtime).&nbsp;&nbsp;Jackd &gt; 0.102.20 is required to<br>pick up MMAP_COMPLEX, which allows memory mapping multiple multiplexed<br>cards (??).&nbsp;&nbsp;My jackd usage is:<br><br>&nbsp;&nbsp;&nbsp;&nbsp;jackd --realtime -d alsa -C capture8 -P iMic1 -p64 -n2
<br><br>and then I make sure I start pd with -jack -inchannels 8 -outchannels 2<br>(and other less relevant params).&nbsp;&nbsp;I&#39;m pretty sure the clocks aren&#39;t<br>exactly synchronized (I would appreciate confirmation or refutation),
<br>but it hasn&#39;t really caused me any pain yet, even though I should likely<br>back -p64 down to -p128.<br><br>I&#39;m pretty sure I had limited success getting pd to work in alsa mode<br>with the given .asoundrc...but to be honest, my focus was on jack first.
<br><br>-jason<br><a href="http://noisybox.net">http://noisybox.net</a><br><br><br>pcm.iMic1 {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;type hw<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;card 0<br>}<br>ctl.iMic1 {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;type hw;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;card 0;<br>}<br><br>pcm.iMic2 {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;type hw
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;card 1<br>}<br><br>pcm.iMic3 {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;type hw<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;card 2<br>}<br><br>pcm.iMic4 {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;type hw<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;card 3<br>}<br><br>pcm.capture8 {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;type multi;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;slaves.a.pcm hw:0<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;slaves.a.channels 2;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;slaves.b.pcm hw:1<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;slaves.b.channels 2;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;slaves.c.pcm hw:2<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;slaves.c.channels 2;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;slaves.d.pcm hw:3<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;slaves.d.channels 2;<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
bindings.0.slave a;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;bindings.0.channel 0;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;bindings.1.slave a;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;bindings.1.channel 1;<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;bindings.2.slave b;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;bindings.2.channel 0;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;bindings.3.slave b;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
bindings.3.channel 1;<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;bindings.4.slave c;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;bindings.4.channel 0;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;bindings.5.slave c;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;bindings.5.channel 1;<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;bindings.6.slave d;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;bindings.6.channel 0;
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;bindings.7.slave d;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;bindings.7.channel 1;<br><br>}<br><br>ctl.capture8 {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;type hw;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;card 0;<br>}<br><br>_______________________________________________<br>PD-dev mailing list<br>
<a href="mailto:PD-dev@iem.at">PD-dev@iem.at</a><br><a href="http://lists.puredata.info/listinfo/pd-dev">http://lists.puredata.info/listinfo/pd-dev</a><br><br></blockquote></div><br><br clear="all"><br>-- <br>MIT Media Lab
<br><a href="mailto:dmerrill@media.mit.edu">dmerrill@media.mit.edu</a><br><a href="http://web.media.mit.edu/~dmerrill/">http://web.media.mit.edu/~dmerrill/</a>