Changing the frequency of a generator function – Apple Shake 4 User Manual
Page 949
Chapter 31
Expressions and Scripting
949
Changing the Frequency of a Generator Function
To change a function’s frequency, multiply or divide time by a value.The exceptions are
the noise functions fnoise() and turbulence()—both of which have frequency controls of
their own (values are not modified below 1, so you may still have to modify time).
Frequency and Continuous Versus Discontinuous Noise
The functions noise, lnoise, fnoise, and turbulence are continuous noise generators,
meaning you can draw a continuous smooth curve between the values. The following
two expressions provide examples:
As a result, you can safely predict that noise(1.05) is near and probably between these
two values (in fact, it equals .5358).
The rnd() function creates discontinuous noise. The following two expressions provide
examples:
cos(time)
cos(time/3)
noise(time) noise(time/2)
Function
Result
noise(1)
Is equal to .554
noise(1.1
is equal to .5182
Function
Result
rnd(1)
Is equal to .4612
rnd(1.1
is equal to .4536