Gate effect.
More...
◆ GateEffect()
GateEffect::GateEffect |
( |
| ) |
|
◆ setSampleRate()
void GateEffect::setSampleRate |
( |
double |
sr | ) |
|
◆ reset()
void GateEffect::reset |
( |
| ) |
|
◆ process()
void GateEffect::process |
( |
juce::AudioSampleBuffer & |
buffer, |
|
|
int |
noteOnSample, |
|
|
int |
noteOffSample |
|
) |
| |
References adsrL, adsrR, frequency, lastLOn, lastROn, mix, AnalogADSR::noteOff(), AnalogADSR::noteOn(), phase, AnalogADSR::process(), sampleRate, stepsL, stepsR, and triggered.
◆ setLength()
void GateEffect::setLength |
( |
int |
n | ) |
|
◆ setFrequency()
void GateEffect::setFrequency |
( |
float |
f | ) |
|
◆ setStep()
void GateEffect::setStep |
( |
int |
step, |
|
|
bool |
l, |
|
|
bool |
r |
|
) |
| |
◆ setAttack()
void GateEffect::setAttack |
( |
float |
seconds | ) |
|
◆ setRelease()
void GateEffect::setRelease |
( |
float |
seconds | ) |
|
◆ setMix()
void GateEffect::setMix |
( |
float |
m | ) |
|
◆ sampleRate
double GateEffect::sampleRate = 44100.0 |
|
protected |
◆ adsrL
◆ adsrR
◆ stepsL
juce::Array<bool> GateEffect::stepsL |
|
protected |
◆ stepsR
juce::Array<bool> GateEffect::stepsR |
|
protected |
◆ frequency
float GateEffect::frequency = 0.0f |
|
protected |
◆ phase
float GateEffect::phase = 0.0f |
|
protected |
◆ mix
float GateEffect::mix = 1.0f |
|
protected |
◆ triggered
bool GateEffect::triggered = false |
|
protected |
◆ lastLOn
bool GateEffect::lastLOn = false |
|
protected |
◆ lastROn
bool GateEffect::lastROn = false |
|
protected |
The documentation for this class was generated from the following file: