Sidechaining a compressor with ecasound?

View: New views
8 Messages — Rating Filter:   Alert me  

Sidechaining a compressor with ecasound?

by S. Massy-4 :: Rate this Message:

| View Threaded | Show Only this Message

Hello,

I'd like to sidechain a compressor using ecasound, but I'm not sure
which road to take.

One question that arises is that of whether ecasound supports ladspa
plugins with more than two inputs, like sc3. Would writing a third
channel of audio automatically route that channel to the third input?

another possibility I see is sticking a stereo compressor like sc4 in a
chain with loops at either end and do channel manipulation to send the
audio to be processed to the left channel and the controlling audio to
the right channel. Could that possibly work?

Cheers,
S.M.

--

------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
_______________________________________________
Ecasound-list mailing list
Ecasound-list@...
https://lists.sourceforge.net/lists/listinfo/ecasound-list

Re: Sidechaining a compressor with ecasound?

by Kai Vehmanen :: Rate this Message:

| View Threaded | Show Only this Message

Hi,

On Fri, 16 Sep 2011, S. Massy wrote:

> One question that arises is that of whether ecasound supports ladspa
> plugins with more than two inputs, like sc3. Would writing a third
> channel of audio automatically route that channel to the third input?

yup, this works. Just make sure you feed matching number of channels (e.g.
a stereo stream to a LADSPA plugin with two inputs) and ecasound will
detect this and instantiate only one plugin and route the channels to the
different inputs in the order the inputs are discovered.

------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
_______________________________________________
Ecasound-list mailing list
Ecasound-list@...
https://lists.sourceforge.net/lists/listinfo/ecasound-list

Re: Sidechaining a compressor with ecasound?

by S. Massy-4 :: Rate this Message:

| View Threaded | Show Only this Message

On Fri, Sep 16, 2011 at 10:44:27PM +0300, Kai Vehmanen wrote:

> Hi,
>
> On Fri, 16 Sep 2011, S. Massy wrote:
>
> >One question that arises is that of whether ecasound supports ladspa
> >plugins with more than two inputs, like sc3. Would writing a third
> >channel of audio automatically route that channel to the third input?
>
> yup, this works. Just make sure you feed matching number of channels
> (e.g. a stereo stream to a LADSPA plugin with two inputs) and
> ecasound will detect this and instantiate only one plugin and route
> the channels to the different inputs in the order the inputs are
> discovered.
Great! But how would this be achieved? Here is what I tried:
ecasound -c -a:all -f:s24,2,48000 -a:1 -i raw/Vocals.wav \
         -a:2 -i selfproc/lead3.wav \
         -a:3 -i:loop,SCin -o:loop,SCout -eli:1427,0,75,100,-20,10 \
         -a:1 -o:loop,SCin -a:2 -o:loop,SCin -chcopy:2 \
         -a:4 -i:loop,SCout -epp:50 -o:jack,system

But ecasound claims it is unable to create a valid chainsetup from this.
It seems right to me. What am I missing?

Cheers,
S.M.



--

------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the
BlackBerry® mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry® DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
_______________________________________________
Ecasound-list mailing list
Ecasound-list@...
https://lists.sourceforge.net/lists/listinfo/ecasound-list

Re: Sidechaining a compressor with ecasound?

by S. Massy-4 :: Rate this Message:

| View Threaded | Show Only this Message

Should read -chcopy:1,2


--

------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the
BlackBerry® mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry® DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
_______________________________________________
Ecasound-list mailing list
Ecasound-list@...
https://lists.sourceforge.net/lists/listinfo/ecasound-list

Re: Sidechaining a compressor with ecasound?

by Julien Claassen :: Rate this Message:

| View Threaded | Show Only this Message

Hi Massy!
   If you do that, you must have a chain with three input channels. so you
must be deavious and use the channel copying to your advantage. I suppose you
must start out with mono or stereo chains and then temporarily go into a chain
with 3 channels. Still it's bloody aweful, since sc3 has three inputs, but two
outputs. I'm not sure what Ecasound will say to that. It looks rather
difficult to map two outputs of sc3 to three outputs of the chain.
   this is not much help, I agree, but perhaps it can lead youa little way on
your chosen path.
   Warm regards
             Julien

=-=-=-=-=-=-=-=-=-=-=-=-
Such Is Life: Very Intensely Adorable;
Frightening Absence Just Arriving, Reigns Disappeared, Ornate - flowers!

======      Find my music at      ======
http://juliencoder.de/nama/music.html
.....................................
"If you live to be 100, I hope I live to be 100 minus 1 day,
so I never have to live without you." (Winnie the Pooh)

------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the
BlackBerry® mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry® DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
_______________________________________________
Ecasound-list mailing list
Ecasound-list@...
https://lists.sourceforge.net/lists/listinfo/ecasound-list

Re: Sidechaining a compressor with ecasound?

by S. Massy-4 :: Rate this Message:

| View Threaded | Show Only this Message

On Mon, Sep 19, 2011 at 05:54:51PM +0200, Julien Claassen wrote:
> Hi Massy!
>   If you do that, you must have a chain with three input channels.
> so you must be deavious and use the channel copying to your
> advantage. I suppose you must start out with mono or stereo chains
> and then temporarily go into a chain with 3 channels. Still it's
> bloody aweful, since sc3 has three inputs, but two outputs. I'm not
> sure what Ecasound will say to that. It looks rather difficult to
> map two outputs of sc3 to three outputs of the chain.
analyse_plugin lists the ports in this order:
"Sidechain" input, audio
"Left input" input, audio
"Right input" input, audio

So I rather assumed that the first channel needed to be the
control/trigger and the next channels were the signal to be processed.
Did I assume wrong?

Cheers,
S.M.

------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the
BlackBerry® mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry® DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
_______________________________________________
Ecasound-list mailing list
Ecasound-list@...
https://lists.sourceforge.net/lists/listinfo/ecasound-list

Re: Sidechaining a compressor with ecasound?

by Julien Claassen :: Rate this Message:

| View Threaded | Show Only this Message

Hey Massy!
   No, you are completely right with the channel order. the only thing is, how
to best shift the other channels around and have chains with enough ins and
outs. :-) Though chcopy and perhaps the other ch* options might help you
there. I remember them being quite powerful, if you know what you're doing.
:-)
   Warmly yours
           Julien

=-=-=-=-=-=-=-=-=-=-=-=-
Such Is Life: Very Intensely Adorable;
Frightening Absence Just Arriving, Reigns Disappeared, Ornate - flowers!

======      Find my music at      ======
http://juliencoder.de/nama/music.html
.....................................
"If you live to be 100, I hope I live to be 100 minus 1 day,
so I never have to live without you." (Winnie the Pooh)

------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the
BlackBerry® mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry® DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
_______________________________________________
Ecasound-list mailing list
Ecasound-list@...
https://lists.sourceforge.net/lists/listinfo/ecasound-list

Re: Sidechaining a compressor with ecasound?

by Kai Vehmanen :: Rate this Message:

| View Threaded | Show Only this Message

Hi,

On Mon, 19 Sep 2011, S. Massy wrote:

>> yup, this works. Just make sure you feed matching number of channels
>> (e.g. a stereo stream to a LADSPA plugin with two inputs) and
>> ecasound will detect this and instantiate only one plugin and route
>
> Great! But how would this be achieved? Here is what I tried:
> ecasound -c -a:all -f:s24,2,48000 -a:1 -i raw/Vocals.wav \
> -a:2 -i selfproc/lead3.wav \
> -a:3 -i:loop,SCin -o:loop,SCout -eli:1427,0,75,100,-20,10 \
> -a:1 -o:loop,SCin -a:2 -o:loop,SCin -chcopy:2 \
> -a:4 -i:loop,SCout -epp:50 -o:jack,system

let's try:

  ecasound -c -z:mixmode,sum \
  -a:sc -i scinput.wav -chmix:1 -chmute:2 \
  -a:main -i imainnput.wav -chmove:2,3 -chmove:1,2 \
  -a:sc,main -f:,3, -o loop,mixdown \
  -a:mix -i loop,mixdown -eli:1427,0,75,100,-20,10 \
         -f:s24,2,48000 -o output.wav

So that should work. The scinput.wav can be mono/stereo thanks to
'-chmix:1'. So we sort the three channels to right order, mix them down to
'mix' chain via the loop object (it's important to specify the channel
count for the loop object so it knows how many channels to pass through),
run the LADSPA plugin, and write the first two channels of the result to
output.wav.

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Ecasound-list mailing list
Ecasound-list@...
https://lists.sourceforge.net/lists/listinfo/ecasound-list