The DSP Toolchest
453
Divide generates the signal (x
÷
y) from the input signals x and y. Mathematically, this would be
∞
when y=0, but in general that will cause numerical stability problems in the processing graph, so
the output is limited to a very large, but not infinite value in the case that y=0. In general, this will
be most useful when y is a control signal with a non-zero value.
Please note that Divide is a relatively expensive operation, and should be avoided if possible (for
example, if you want to scale input signal X by a constant value, you are much better off multiplying
by the reciprocal of the scale factor).
Square Root
• Synopsis: Computes the Square Root of the input signal
• Category: Math
• Channels: 1
Description:
Square Root generates an output signal that is the Square Root of the input signal on a sample
by sample basis. Since the 3d DSP does not support processing imaginary numbers, the output of
Square Root is flushed to zero if the input value is negative.
Reciprocal Square Root
• Synopsis: Computes the 1/(Square Root of the input signal)
• Category: Building Blocks
• Channels: 1
Description:
Reciprocal Square Root generates an output signal that is the inverse of the Square Root of the
input signal on a sample by sample basis. Since the 3d DSP does not support processing imaginary
numbers, the output of Reciprocal Square Root is flushed to a large, but not infinite number if the
input value is zero or negative.
ADSR
• Synopsis: Generates an envelope and frequency from a MIDI note message
• Category: Math
• Channels: 0
Description:
ADSR generates a note envelope and NCO oscillator control signal from an input MIDI note mes-
sage. The ADSR plugin listens for MIDI notes from every MIDI device in the system, and when
it detects a note on message, it generates an envelope control signal based upon the
Attack
,
Decay
,
Sustain
, and
Release
parameters and the MIDI note on velocity. It also generates a
NCO oscillator control signal based upon the note value from the incoming MIDI message.
The envelope generated ramps linearly between off, the volume set by the note-on velocity, the
sustain level and off again; the linear ramp can be used for a variety of special effects, but the
exponential ramp is much more natural sounding than a linear ramp for most applications.