Glide Tone Sweeper
This module attempts to create a gliding tone effect by transforming a stepping frequency or octave signal, such as from a midi keyboard, into a smoothly changing signal. The transformations occur at the audio sample rate. The output will sweep toward the target tone until the target is reached or another tone step sets a new target.
To give the glide a smooth takeoff and landing a cosine transformation over the range of zero to pi radians is used (aka: zero and 180 degrees, the two points being where the cosine function has a slope of zero).
Inputs
Input | Signal Range | Notes |
---|---|---|
Tmax | any positive number | This sets the maximum glide time |
Input | Signal Range | Notes |
---|---|---|
step in | any number | This can be any stream of target frequency (or octave) values. |
Outputs
Output | Signal Range | Notes |
---|---|---|
tGlide | any positive number | This gives the currently set glide time value |
Output | Signal Range | Notes |
---|---|---|
done | zero or one | Indicates the glide has completed (usually not needed) |
Output | Signal Range | Notes |
---|---|---|
glide out | any value | This is the smoothed version of the stepped input stream. |
Controls
Knob | Function | Notes |
---|---|---|
Glide time | Knob | Uses a logarithmic taper to allow a wide range with the same percent change in glide time as you turn the dial. The top, dead center setting of the knob gives a fairly common amount of glide. Note that a setting of zero to this knob results in a minimal 5-audio sample glide. |
Version History
Revision | Date | Notes
—|:—:|:—:|—
21.05.04.01 | 5/12/21 | Changes to improve performance and reduce glitches.
Glide Effect v21.05.04.01.audulus (31.8 KB)
Demo
Revision | Date | Notes
—|:—:|:—:|—
1 | 5/12/21 | This demo uses the White-Key scale player and in-scale bend modules, both of which had to be upgraded to give glitch-free outputs in order to work with glide.
Glide Demo-whiteKey.audulus (684.0 KB)