First time here? Check out the FAQ!

How do you cancel the effects of a ParameterTransformer?

0 votes

If I use a ParameterTransformer to change a Sound's parameter, it will actually transform the values of every Sound with that parameter in the input tree. 

For instance if I have a flow like: Oscillator -> Filter -> ParameterTransformer
and I transform the Frequency parameter, both the Filter and Oscillator will have their Frequency parameter transformed. 


How would I cancel the effects of the parameter transformer so, for instance, only the parameter of the Filter is transformed?

asked Nov 30, 2019 in Using Kyma by alan-jackson (Virtuoso) (15,740 points)

1 Answer

+1 vote
If you use

snd doNotExpandFirst.


snd doNotTransformSubSounds

the Transformation affects only the immediate input. You can also check whether the Sound has a Frequency parameter using:

snd frequency isNil ifFalse: [snd frequency: 1000 hz]
answered Dec 2, 2019 by ssc (Savant) (120,590 points)