DelayProcessor
A feedback delay with separate dry and wet levels.
| Declared in | src/libs/libbahn/bahn/tracker/processor/DelayProcessor.hpp |
| Inherits | Processor |
| Group | bahn |
Detailed description
The node parameters are Dry, Wet, Feedback and Time. Time is from 1 ms to 2000 ms. The processor keeps the time in milliseconds and converts it to a count of samples against the current sample rate, so a rate change does not change the delay time.
Member function documentation
setSampleRate
[override virtual] void DelayProcessor::setSampleRate(int rate)
Follow the device: rate is the sample rate of the output device, in Hz. A rate of zero or less, or a rate equal to the current one, changes nothing.
A delay's length is a TIME, and it is stored as a count of samples. Leaving that count alone across a rate change silently retimes the effect — 400 ms becomes 367 ms going from 44100 to 48000.