Fix tempo sync LFO

This commit is contained in:
Roland Rabien 2023-10-01 04:50:41 -07:00
commit 6c6f7f2d72
3 changed files with 2 additions and 3 deletions

@ -1 +1 @@
Subproject commit a6a9a09a88c665c3999b927d91c397f26e88d94b Subproject commit db205421f9478516b5fa51490eddace415b17c00

View file

@ -811,7 +811,7 @@ void WavetableAudioProcessor::processBlock (juce::AudioBuffer<float>& buffer, ju
todo -= thisBlock; todo -= thisBlock;
} }
playHead = nullptr; playhead = nullptr;
if (buffer.getNumSamples() <= scopeFifo.getFreeSpace() && buffer.getNumChannels() == scopeFifo.getNumChannels()) if (buffer.getNumSamples() <= scopeFifo.getFreeSpace() && buffer.getNumChannels() == scopeFifo.getNumChannels())
scopeFifo.write (buffer); scopeFifo.write (buffer);

View file

@ -222,7 +222,6 @@ void WavetableVoice::updateParams (int blockSize)
currentMidiNotes[i] += getValue (proc.oscParams[i].tune) + getValue (proc.oscParams[i].finetune) / 100.0f; currentMidiNotes[i] += getValue (proc.oscParams[i].tune) + getValue (proc.oscParams[i].finetune) / 100.0f;
oscParams[i].voices = int (proc.oscParams[i].voices->getProcValue()); oscParams[i].voices = int (proc.oscParams[i].voices->getProcValue());
oscParams[i].vcTrns = 0;
oscParams[i].position = getValue (proc.oscParams[i].pos) / 100.0f; oscParams[i].position = getValue (proc.oscParams[i].pos) / 100.0f;
oscParams[i].pan = getValue (proc.oscParams[i].pan); oscParams[i].pan = getValue (proc.oscParams[i].pan);
oscParams[i].spread = getValue (proc.oscParams[i].spread) / 100.0f; oscParams[i].spread = getValue (proc.oscParams[i].spread) / 100.0f;