The DSP Toolchest
454
To utilize this plugin, you would connect the Envelope output to one side of a Channel Multiplier
block, and the Frequency output to the input of a NCO plugin, and then output of the NCO to the
other side of the Channel Multiplier block. You can add additional processing to both the Envelope
and Frequency outputs to make much more interesting synth tones.
ADSR is a monophonic envelope processor and a new note on message will steal the voice from
a currently active note-on message.
Parameters:
Attack
[0, 1k] ms
The amount of time for the volume envelope to reach the peak volume after the detection
of the note on message.
Decay
[0, 5k] ms
The amount of time for the volume envelope to decay to the sustain volume after the detection
reaching the peak level.
Sustain
[-60, 0] dB
The sustain level of the signal in dB below the peak volume.
Release
[0, 5k] ms
The amount of time for the volume envelope to decay back to muted after the plugin detects
a corresponding note-off message.
Exponential ADSR
• Synopsis: Generates an envelope and frequency from a MIDI note message
• Category: Math
• Channels: 0
Description:
Exponential ADSR generates a note envelope and NCO oscillator control signal from an input MIDI
note message. The Exponential 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 exponentially between off, the volume set by the note-on velocity,
the sustain level and off again; the exponential ramp is much more natural sounding than a linear
ramp, although the linear ramp can be used for a variety of special effects.
To utilize this plugin, you would connect the Envelope output to one side of a Channel Multiplier
block, and the Frequency output to the input of a NCO plugin, and then output of the NCO to the
other side of the Channel Multiplier block. You can add additional processing to both the Envelope
and Frequency outputs to make much more interesting synth tones.
Exponential ADSR is a monophonic envelope processor and a new note on message will steal the
voice from a currently active note-on message.