FUNS
The FUN Equations
16-9
sin (a + b), cos (a + b), tri (a + b)
These equations are intended to be used with inputs that are sawtooth waves—for example,
input a might be LFO1 with its shape set as a sawtooth. Each equation will map a sawtooth-
shaped input into a sine-, cosine-, or triangle-shaped output. Other input waveform shapes will
result in outputs with more complex waveform shapes.
Other ways to get sawtooth shapes as inputs to these FUNs are to use other FUNs as the inputs,
with their equations set as any of the ramp equations described later in this section (see the note
at the end of this chapter about the evaluation order of the FUNs). You could also use LFOph1
or LFOph2 as inputs. The first three graphs below show the result of these functions when
input a is a rising sawtooth wave, and the value of input b is 0. The fourth shows the result of
the sin (f=a + b) equation when the value of input b is 0 and input a is a sine wave.
a is unipolar
b = .5
a = bb = 0
+1
+1
-1
-1
output
values
input
values
+1
+1
-1
-1
output
values
input
values
+1
+1
-1
-1
output
values
input
values
sin (a + b)
a = saw
b = 0
cos (a + b)
a = saw
b = 0
tri (a + b)
a = saw
b = 0
+1
1-1
-1
input
values
output
values
+1
1-1
-1
input
values
output
values
+1
1-1
-1
input
values
output
values