KaguraSuzuProcessor
A physical model of a kagura suzu, a cluster of small bells that is shaken or struck.
| Declared in | src/libs/libbahn/bahn/tracker/processor/KaguraSuzuProcessor.hpp |
| Inherits | Processor |
| Group | bahn |
Detailed description
A BeadCluster unit models the bells. A high-pass filter removes DC and low rumble, and a presence filter boosts the shimmer band. The node parameters set the number of bells, the brightness, the decay and the bell size. A note triggers the instrument with the Velocity value. The Mode parameter selects a shake, which decays over time, or a single strike. A note off stops a shake at once.
Member function documentation
setSampleRate
[override virtual] void KaguraSuzuProcessor::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.
The bead cluster, both filters and the shake envelope are all derived from the rate. The two Biquads store their corners normalised, so they get the rate and re-derive their own coefficients.