|
Gin
|
Kick reinforcement - synthesises low end triggered by transients. More...
#include <gin_kicksynth.h>
Public Member Functions | |
| KickSynth ()=default | |
| ~KickSynth ()=default | |
| void | setSampleRate (double sr) |
| void | setDetectorFrequency (float hz) |
| Centre of the band the transient detector listens to. | |
| void | setFrequency (float hz) |
| Frequency of the synthesised sine. | |
| void | setLength (float l) |
| How long each hit rings for, 0 to 1. | |
| void | setWet (float w) |
| void | setDry (float d) |
| void | reset () |
| void | process (juce::AudioSampleBuffer &buffer) |
| void | process (juce::AudioSampleBuffer &buffer, const juce::AudioSampleBuffer &sidechain) |
Keys off sidechain instead of the signal being processed. | |
Kick reinforcement - synthesises low end triggered by transients.
A bandpass picks out the region a kick lives in and drives a transient detector. Whenever the fast envelope runs ahead of the tracked one - which is to say, whenever something hits - a sine is triggered at the chosen frequency and faded in proportion to how big the hit was, then mixed in under the original.
This is not EQ. Boosting a kick that has no energy at 50 Hz only raises what is already there, whereas this puts a note where there wasn't one, which is how you fix a thin kick without touching the rest of the mix. The oscillator's phase is reset on every trigger, so successive hits always add in phase with themselves and never cancel.
Feed it a side chain to key from something other than the signal being processed - a kick track keying a synthesised sub under a whole mix.
Key Features:
Usage:
Note: stereo only - the synthesised signal is mono and added to both.
|
default |
|
default |
Centre of the band the transient detector listens to.
| void KickSynth::reset | ( | ) |
References Biquad::reset().
Referenced by setSampleRate().
| void KickSynth::process | ( | juce::AudioSampleBuffer & | buffer | ) |
| void KickSynth::process | ( | juce::AudioSampleBuffer & | buffer, |
| const juce::AudioSampleBuffer & | sidechain | ||
| ) |
Keys off sidechain instead of the signal being processed.