First time here? Check out the FAQ!

Smoothing between values in an array

0 votes
I've created an array:

((1 bpm: !BPM) countTriggersMod: 3) of: #(!Fader1 !Fader2 !Fader3)

I try to add smooth: 3 s to the end and am getting an error.

I did notice there's a script in the expressions library called Interpolate or morph between EventExpressions in an Array, but I'm having trouble seeing how it would work in this context.

Any help would be appreciated. Thanks!
asked Nov 1, 2018 in Capytalk & Smalltalk by jeffhinton (Practitioner) (570 points)
Ahhh, nevermind. I put the array in a constant and smoothed it in the value parameter of a global controller.

1 Answer

+1 vote

I think you might just need more brackets. This works for me:

(((1 bpm: !BPM) countTriggersMod: 3) of: #(!Fader1 !Fader2 !Fader3)) smooth: !SmoothTime + 0.0001 s

the sound

answered Nov 1, 2018 by alan-jackson (Virtuoso) (15,740 points)