Re: cop-add by index?

Joel Roth <[email protected]> Tue, 14 Jun 2022 12:47:07 -1000
Newsgroups gmane.comp.audio.ecasound.general
Message-ID <20220614224707.lqvdmm357p5t7im7@sprite>
On Tue, Jun 14, 2022 at 03:26:30PM -0500, Avery Chester wrote:
> Is it possible to add a chain operator by index, or replace a chain
> operator with another? I need to be able to retain the order of which
> things are set inside of each chain, preferably without removing and
> remaking the entire chain again.
> 
> For example, I have two sine waves here each being outputted to separate
> channels:
> ecasound -rtlowlatency -z:mixmode,avg -f 8,2,882000 -a:1,2 -i rtnull -a:1
> -f 8,2,882000 -el:sine_fcac,300,1 -epp:0  -a:2 -f 8,2,882000
> -el:sine_fcac,800,1 -erc:1,2 -epp:100 -a:1,2 -f 8,2,882000 -o stdout

Hi Avery,

The short answer is that ecasound doesn't give you a
facility to replace or insert a chain operator.  The only
way I know is to remove the following operators, make the
change, and add them back.

Also, any change in operators while the engine is
running is likely to cause a pop in the audio output. 

The way I've dealt with this was to momentarily fade out the
volume, make the change, and bring the volume back up. 


-- 
Joel Roth


_______________________________________________
Ecasound-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ecasound-list