Control one multi slider with another multi slider - stack overflow error
Hi there,
I'm using one multi slider object with some number processing at the outputs to send new numbers to another multi slider. I need the data to update continuously.
I've added a trigger bang to each list output in the first bank, but I'm getting stack overflow errors.
Can anyone help?
Somewhere you've got a feedback loop, but can't tell without seeing the patch. If output of fader 2 goes back into input of fader 1, you'll get a stack overflow. prepend the value going back in with the 'set' message -- this will set the value of the slider without creating output.
hth,
\M
Hi there,
You're on to something, I think.
Basically, the patch consists of two halves - a bank of sine oscillators, and a microtonal sampler.
The idea is to fade between the two sounds - the sines, and whatever sample I have loaded.
To do this, I'm applying a subtraction object to drop one multi slider, while another is boosted.
This was initially unidirectional, so I could have continuous bangs going to the second multi slider to get continuous output.
However, this could course cause sudden jumps in with respect to the levels of the second bank of sliders, which I didn't want. So basically, I've used a line object for every value coming out of the first bank of sliders to create a delay in the changes in bank 2.
To do this, the 'new' values in the second bank become the destination value for a line object controlled by the first bank (so 'old value to new value in 500 ms').
The feedback loop must be coming from the recursion created by sending values from bank 2 to the line logic. Is there a handy way to stop this and keep continuous output?
posting a patch would show the problem.
Patch attached.
This one doesn't work because of the trigger bangs in the xfadefaders subpatch. I can't find a way to make the second bank of faders output continuously.
Here's one without the trigger bangs - this works, but no continuous output.
sorry, but this is too complicated for me.
If I understand it right you want to crossfade between 2 multisliders,.
I looked at 1 multislider in your patch, 30 sliders, range 0 - 120.
You can mouse in both of them without problem...
but the rest is too much for me to look after.
