Re: Ecasound newbie - convert 4 channel to twin stereo
john gibby <[email protected]> Sun, 29 Jul 2018 03:30:39 -0400
| Newsgroups | gmane.comp.audio.ecasound.general |
|---|---|
| Message-ID | <CAPHHX=Mvihtj6KRUnn+AZUZjCiHT50LPVE2-GeJ9HEM=C3wZiA@mail.gmail.com> |
--===============6315625317486647961== Content-Type: multipart/alternative; boundary="0000000000007faee005721e5364" --0000000000007faee005721e5364 Content-Type: text/plain; charset="UTF-8" What Joel sent looks good. Not sure if my crossover file would be helpful, but just in case, here it is: Each chain has exactly 1 input # and one output. # front-center-low-loop: # front-center-midToHigh-loop: # output to jack: # ecasound -n:crossover_3chan_piano_cs \ -a:rear,LFE,front-center-low,midToHigh -f:f32_le,6,48000 -i:jack \ -a:rear -chorder:4,5 -pf:./rear.ecp \ this should limit processing to just the 2 channels -a:rear -chorder:0,0,0,0,0,0,0,0,1,2 \ -a:LFE -chorder:6 -pf:./LFE.ecp \ -a:LFE -chorder:1,1,0,0,0,0,0,0,0,0 \ -a:front-center-low -chorder:1,2,3 -pf:./sub_shelf.ecp -f:f32_le,3,48000 -o:loop,front-center-low-loop \ -a:midToHigh -chorder:1,2,3 -pf:./sub_highpass.ecp -f:f32_le,3,48000 -o:loop,midToHigh-loop \ -a:sub_left,sub_right,center_sub -f:f32_le,3,48000 -i:loop,front-center-low-loop \ -a:sub_left -chorder:1,0,0,0,0,0,0,0,0,0 \ -a:sub_right -chorder:0,2,0,0,0,0,0,0,0,0 \ -a:center_sub -chorder:0,3,0,0,0,0,0,0,0,0 \ -a:center_low,center_mid,side_low,side_high -f:f32_le,3,48000 -i:loop,midToHigh-loop \ -a:center_mid -chorder:3 -pf:./center_mid_nodelay.ecp -chorder:0,0,1,0,0,0,0,0,0,0 \ -a:center_low -chorder:3 -pf:./center_low_nodelay.ecp -chorder:0,0,0,1,0,0,0,0,0,0 \ -a:side_low -chorder:1,2 -pf:./side_low.ecp -chorder:0,0,0,0,1,2,0,0,0,0 \ -a:side_high -chorder:1,2 -pf:./side_high.ecp -chorder:0,0,0,0,0,0,1,2,0,0 \ -a:rear,LFE,sub_left,sub_right,center_sub,center_low,center_mid,side_low,side_high -f:f32_le,10,48000 -o:jack \ -a:all -z:mixmode,sum -z:nodb -B:rtlowlatency -b:64 & On Sat, Jul 28, 2018, 6:14 PM Joel Roth <[email protected]> wrote: > We discussed this off-list, and after a few tries ended up > with this: > > ecasound \ > -f:32,4,44100 \ > -a:in -i:sq-test-tones.m4a -el:hilbert_stereo_200taps > -el:sq_decoder_shadow_vector -o:loop,in \ > -a:1,2 -i:loop,in \ > -a:2 -chmove:4,2 -chmove:3,1 \ > -f:16,2,44100 \ > -a:1 -o front.wav \ > -a:2 -o back.wav > > In particular, since one of the plugins outputs a > four-channel signal, the channel width has to be > set with -f before the loop device "loop,in" is created. > > -- > Joel Roth > > > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Ecasound-list mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ecasound-list > --0000000000007faee005721e5364 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"auto">What Joel sent looks good.=C2=A0 Not sure if my crossover= file would be helpful, but just in case, here it is:<div dir=3D"auto"><br>= </div><div dir=3D"auto"><div style=3D"font-family:'helvetica neue',= 'arial','sans',sans-serif;font-size:16px" dir=3D"auto">Each= chain has exactly 1 input=C2=A0</div><div style=3D"font-family:'helvet= ica neue','arial','sans',sans-serif;font-size:16px" dir= =3D"auto"># and one output.</div><div style=3D"font-family:'helvetica n= eue','arial','sans',sans-serif;font-size:16px" dir=3D"a= uto"># front-center-low-loop:</div><div style=3D"font-family:'helvetica= neue','arial','sans',sans-serif;font-size:16px" dir=3D= "auto"># front-center-midToHigh-loop:</div><div style=3D"font-family:'h= elvetica neue','arial','sans',sans-serif;font-size:16px= " dir=3D"auto"># output to jack: =C2=A0 =C2=A0=C2=A0</div><div style=3D"fon= t-family:'helvetica neue','arial','sans',sans-serif= ;font-size:16px" dir=3D"auto">#</div><div style=3D"font-family:'helveti= ca neue','arial','sans',sans-serif;font-size:16px" dir= =3D"auto">ecasound -n:crossover_3chan_piano_cs \</div><div style=3D"font-fa= mily:'helvetica neue','arial','sans',sans-serif;fon= t-size:16px" dir=3D"auto">-a:rear,LFE,front-center-low,midToHigh -f:f32_le,= 6,48000 -i:jack \</div><div style=3D"font-family:'helvetica neue',&= #39;arial','sans',sans-serif;font-size:16px" dir=3D"auto">-a:re= ar -chorder:4,5 -pf:./rear.ecp \ =C2=A0this should limit processing to just= the 2 channels</div><div style=3D"font-family:'helvetica neue',= 9;arial','sans',sans-serif;font-size:16px" dir=3D"auto">-a:rear= -chorder:0,0,0,0,0,0,0,0,1,2 \</div><div style=3D"font-family:'helveti= ca neue','arial','sans',sans-serif;font-size:16px" dir= =3D"auto">-a:LFE -chorder:6 -pf:./LFE.ecp \</div><div style=3D"font-family:= 'helvetica neue','arial','sans',sans-serif;font-siz= e:16px" dir=3D"auto">-a:LFE -chorder:1,1,0,0,0,0,0,0,0,0 \</div><div style= =3D"font-family:'helvetica neue','arial','sans',san= s-serif;font-size:16px" dir=3D"auto">-a:front-center-low -chorder:1,2,3 -pf= :./sub_shelf.ecp -f:f32_le,3,48000 -o:loop,front-center-low-loop \</div><di= v style=3D"font-family:'helvetica neue','arial','sans&#= 39;,sans-serif;font-size:16px" dir=3D"auto">-a:midToHigh -chorder:1,2,3 -pf= :./sub_highpass.ecp -f:f32_le,3,48000 -o:loop,midToHigh-loop \</div><div st= yle=3D"font-family:'helvetica neue','arial','sans',= sans-serif;font-size:16px" dir=3D"auto">-a:sub_left,sub_right,center_sub -f= :f32_le,3,48000 -i:loop,front-center-low-loop \</div><div style=3D"font-fam= ily:'helvetica neue','arial','sans',sans-serif;font= -size:16px" dir=3D"auto">-a:sub_left -chorder:1,0,0,0,0,0,0,0,0,0 \</div><d= iv style=3D"font-family:'helvetica neue','arial','sans&= #39;,sans-serif;font-size:16px" dir=3D"auto">-a:sub_right -chorder:0,2,0,0,= 0,0,0,0,0,0 \</div><div style=3D"font-family:'helvetica neue','= arial','sans',sans-serif;font-size:16px" dir=3D"auto">-a:center= _sub -chorder:0,3,0,0,0,0,0,0,0,0 \</div><div style=3D"font-family:'hel= vetica neue','arial','sans',sans-serif;font-size:16px" = dir=3D"auto">-a:center_low,center_mid,side_low,side_high -f:f32_le,3,48000 = -i:loop,midToHigh-loop \</div><div style=3D"font-family:'helvetica neue= ','arial','sans',sans-serif;font-size:16px" dir=3D"auto= ">-a:center_mid -chorder:3 -pf:./center_mid_nodelay.ecp -chorder:0,0,1,0,0,= 0,0,0,0,0 \</div><div style=3D"font-family:'helvetica neue','ar= ial','sans',sans-serif;font-size:16px" dir=3D"auto">-a:center_l= ow -chorder:3 -pf:./center_low_nodelay.ecp -chorder:0,0,0,1,0,0,0,0,0,0 \</= div><div style=3D"font-family:'helvetica neue','arial','= ;sans',sans-serif;font-size:16px" dir=3D"auto">-a:side_low -chorder:1,2= -pf:./side_low.ecp -chorder:0,0,0,0,1,2,0,0,0,0 \</div><div style=3D"font-= family:'helvetica neue','arial','sans',sans-serif;f= ont-size:16px" dir=3D"auto">-a:side_high -chorder:1,2 -pf:./side_high.ecp -= chorder:0,0,0,0,0,0,1,2,0,0 \</div><div style=3D"font-family:'helvetica= neue','arial','sans',sans-serif;font-size:16px" dir=3D= "auto">-a:rear,LFE,sub_left,sub_right,center_sub,center_low,center_mid,side= _low,side_high -f:f32_le,10,48000 -o:jack \</div><div style=3D"font-family:= 'helvetica neue','arial','sans',sans-serif;font-siz= e:16px" dir=3D"auto">-a:all -z:mixmode,sum -z:nodb -B:rtlowlatency -b:64 &a= mp;</div></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr">On Sat= , Jul 28, 2018, 6:14 PM Joel Roth <<a href=3D"mailto:[email protected]">jo= [email protected]</a>> wrote:<br></div><blockquote class=3D"gmail_quote" sty= le=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">We dis= cussed this off-list, and after a few tries ended up<br> with this:<br> <br> ecasound \<br> =C2=A0 =C2=A0 =C2=A0 -f:32,4,44100 \<br> =C2=A0 =C2=A0 =C2=A0 -a:in -i:sq-test-tones.m4a -el:hilbert_stereo_200taps = -el:sq_decoder_shadow_vector -o:loop,in \<br> =C2=A0 =C2=A0 =C2=A0 -a:1,2 -i:loop,in=C2=A0 \<br> =C2=A0 =C2=A0 =C2=A0 -a:2 -chmove:4,2 -chmove:3,1 \<br> =C2=A0 =C2=A0 =C2=A0 -f:16,2,44100=C2=A0 \<br> =C2=A0 =C2=A0 =C2=A0 -a:1=C2=A0 -o front.wav \<br> =C2=A0 =C2=A0 =C2=A0 -a:2=C2=A0 -o back.wav<br> <br> In particular, since one of the plugins outputs a<br> four-channel signal, the channel width has to be<br> set with -f before the loop device "loop,in" is created. <br> <br> -- <br> Joel Roth<br> <br> <br> <br> ---------------------------------------------------------------------------= ---<br> Check out the vibrant tech community on one of the world's most<br> engaging tech sites, Slashdot.org! <a href=3D"http://sdm.link/slashdot" rel= =3D"noreferrer noreferrer" target=3D"_blank">http://sdm.link/slashdot</a><b= r> _______________________________________________<br> Ecasound-list mailing list<br> <a href=3D"mailto:[email protected]" target=3D"_blank" re= l=3D"noreferrer">[email protected]</a><br> <a href=3D"https://lists.sourceforge.net/lists/listinfo/ecasound-list" rel= =3D"noreferrer noreferrer" target=3D"_blank">https://lists.sourceforge.net/= lists/listinfo/ecasound-list</a><br> </blockquote></div> --0000000000007faee005721e5364-- --===============6315625317486647961== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot --===============6315625317486647961== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Ecasound-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ecasound-list --===============6315625317486647961==--