mirror of
https://codeberg.org/armin/wavetable.git
synced 2026-09-01 05:50:46 +02:00
More UI
This commit is contained in:
parent
8a591b3ab0
commit
3dbcbf73e5
10 changed files with 60 additions and 29 deletions
|
|
@ -10,6 +10,9 @@ WavetableVoice::WavetableVoice (WavetableAudioProcessor& p)
|
|||
|
||||
void WavetableVoice::noteStarted()
|
||||
{
|
||||
oscillators[0].setWavetable (proc.osc1Tables);
|
||||
oscillators[1].setWavetable (proc.osc2Tables);
|
||||
|
||||
fastKill = false;
|
||||
startVoice();
|
||||
|
||||
|
|
@ -156,7 +159,7 @@ void WavetableVoice::renderNextBlock (juce::AudioBuffer<float>& outputBuffer, in
|
|||
float velocity = currentlyPlayingNote.noteOnVelocity.asUnsignedFloat();
|
||||
buffer.applyGain (gin::velocityToGain (velocity, ampKeyTrack));
|
||||
|
||||
// Apply filters
|
||||
// Apply filter
|
||||
if (proc.filterParams.enable->isOn())
|
||||
filter.process (buffer);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue