Hi list, one question: i have 2 abstractions that are generating streams of data, ,how can i interpolate between this 2 streams? for example when my slider is the left then the output is stream "a" and when my slider moves to the right it gradually convert into stream "b" . Is there is an easy way for doing this?
thanks
R.
Maybe [average]?
Hi list, one question: i have 2 abstractions that are generating streams of data, ,how can i interpolate between this 2 streams? for example when my slider is the left then the output is stream "a" and when my slider moves to the right it gradually convert into stream "b" . Is there is an easy way for doing this?
thanks
R.
On 2012-05-16 06:32, ronni montoya wrote:
Hi list, one question: i have 2 abstractions that are generating streams of data, ,how can i interpolate between this 2 streams? for example when my slider is the left then the output is stream "a" and when my slider moves to the right it gradually convert into stream "b" . Is there is an easy way for doing this?
Sounds like panning. The simple version is to multiply one stream by the slider value and the other by the maximum slider value minus the slider value, then divide both by the maximum slider value. So the easiest way is to have your sliders go from zero to one. If you want equal power pan you need to square the values first and then take the square root afterwards.
Martin
Hi Ronni,
ronni montoya wrote:
Hi list, one question: i have 2 abstractions that are generating streams of data, ,how can i interpolate between this 2 streams? for example when my slider is the left then the output is stream "a" and when my slider moves to the right it gradually convert into stream "b" . Is there is an easy way for doing this?
For what I understand, you want interpolation and not average. Maybe with [float], [spigot] and [metro]. Drive the metros so they bang the [float] at a rate related to your slider. Have a look at [switch] too.
Cheers, Charlot