|
wavelength 1.0.0
|
Remix effect that gates the volume of chosen mixer channels on and off in time with the song. More...
#include <stutter.h>
Public Member Functions | |
| Stutter () | |
| Construct a stopped effect, with the gate period chosen from the tempo of the song. | |
| ~Stutter () | |
| Stop the effect. | |
| void | SetChannel (int nChannel, int nOn) |
| Choose or release a channel, and start or stop the effect to match. | |
Static Public Attributes | |
| static constexpr int | kNumChannels = 16 |
| Number of MIDI channels. | |
Remix effect that gates the volume of chosen mixer channels on and off in time with the song.
The RTTI records only the command the class schedules. The class is not polymorphic. The effect runs while at least one channel is chosen: each gate period starts with the channels at their mixer volume and silences them half a period later.
| Stutter::Stutter | ( | ) |
Construct a stopped effect, with the gate period chosen from the tempo of the song.
| Stutter::~Stutter | ( | ) |
Stop the effect.
| void Stutter::SetChannel | ( | int | nChannel, |
| int | nOn ) |
Choose or release a channel, and start or stop the effect to match.
A released channel returns to its mixer volume.
| nChannel | The channel. |
| nOn | 1 to choose the channel, 0 to release it. |
|
staticconstexpr |
Number of MIDI channels.