Thanks for that, folks.  I haven&#39;t tried the -G option yet (I used rotter to get what I needed for the moment), but I will come back to this tonight because rotter is giving me some problems. <br><br><div class="gmail_quote">
On Mon, May 23, 2011 at 1:02 PM, Kai Vehmanen <span dir="ltr">&lt;<a href="mailto:kvehmanen@eca.cx">kvehmanen@eca.cx</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<div class="im"><br>
<br>
On Mon, 16 May 2011, Eric Steinberg wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
and start ecasound:<br>
<br>
$sudo ecasound -a:1,2,3,4,5,6,7,8 -f:s16_le,8,44100 -i jack,system -a:1 -o channelone.mp3 -a:2 -o channeltwo.mp3 -a:3 -o channelthree.mp3 -a:4 -o<br>
channelfour.mp3 -a:5 -o channelfive.mp3 -a:6 -o channelsix.mp3 -a:7 -o channelseven.mp3 -a:8 -o channeleight.mp3<br>
</blockquote>
[...]<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
...this starts recording without problems.  However, when I stop recording by issuing ctrl-c to ecasound and then start recording again, the files created now have zero bytes.  If I stop and restart the jack<br>
</blockquote>
<br></div>
as Julien already recommended, I&#39;d first try with &#39;-G:jack,ecasound,notransport&#39;. With this you state that you do not wish to follow JACK transport state (e.g. what&#39;s the current position), but just record whatever is coming from the JACK ports. In your use-case, you probably want &#39;-x&#39; as well (always truncate outputs).<br>

<br>
This (disable transport) is now the default for batchmode in ecasound 2.8.0 and newer (just released).<br>
<br>
Otherwise, I think your setup is not deinterleaving the channels quite the way you probably intended. I think what you are looking for (guessing based on your file naming):<br>
<br>
ecasound -f:f32,2,44100 \<br>
  -G:jack,ecasound,notransport -x \<br>
  -a:1 -i jack_multi,system:capture_1,system:capture_2 -o chpair1.mp3 \<br>
  -a:2 -i jack_multi,system:capture_3,system:capture_4 -o chpair2.mp3 \<br>
  -a:3 -i jack_multi,system:capture_5,system:capture_6 -o chpair3.mp3 \<br>
  -a:4 -i jack_multi,system:capture_7,system:capture_8 -o chpair4.mp3<br>
<br>
If you want to specifically to capture the mono channels, then it&#39;s<br>
a bit more complicated due to odd limitations of eca+lame combination,<br>
but still possible:<br>
<br>
ecasound -f:f32,1,44100 \<br>
  -G:jack,ecasound,notransport -x \<br>
  -a:1 -i jack_multi,system:capture_1 -o ch1.mp3 -chcopy:1,2 \<br>
  -a:2 -i jack_multi,system:capture_2 -o ch2.mp3 -chcopy:1,2 \<br>
  -a:3 -i jack_multi,system:capture_3 -o ch3.mp3 -chcopy:1,2 \<br>
  -a:4 -i jack_multi,system:capture_4 -o ch4.mp3 -chcopy:1,2 \<br>
  -a:5 -i jack_multi,system:capture_5 -o ch5.mp3 -chcopy:1,2 \<br>
  -a:6 -i jack_multi,system:capture_6 -o ch6.mp3 -chcopy:1,2<br>
  ...<br>
<br>
This is a bit clumsy due to having to feed a stereo stream to mp3 encoding (probably ecasound should do this implicitly under the hood), but still manageable.<br>
<br>
I&#39;d personally consider recording to flac (no need for the extra chcopy for flac files). Its nonlossy and allows for more options (multichannel files).<br>
<br>
PS Thanks for the post btw. I found one nasty regression in<br>
   recent 2.8.0 release that impacted this particular use-case.<br>
   Naturally I recommend the just released 2.8.1 for the above<br>
   examples... :)</blockquote></div><br>