mirror of
https://codeberg.org/armin/wavetable.git
synced 2026-09-01 05:50:46 +02:00
Add panic button
This commit is contained in:
parent
bf8f8d8ec6
commit
b466218cbd
6 changed files with 15 additions and 11 deletions
|
|
@ -413,7 +413,7 @@ bool WavetableVoice::isVoiceActive()
|
|||
float WavetableVoice::getFilterCutoffNormalized()
|
||||
{
|
||||
float freq = filter.getFrequency();
|
||||
return proc.filterParams.frequency->getUserRange().convertTo0to1 (gin::getMidiNoteFromHertz (freq));
|
||||
return proc.filterParams.frequency->getUserRange().convertTo0to1 (juce::jlimit (0.0f, 1.0f, gin::getMidiNoteFromHertz (freq)));
|
||||
}
|
||||
|
||||
gin::WTOscillator::Params WavetableVoice::getLiveWTParams (int osc)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue