mirror of
https://codeberg.org/armin/trommelkiste.git
synced 2026-09-01 04:10:46 +02:00
Clear track activity flags each audio block
This commit is contained in:
parent
91ed1b209f
commit
801c461970
1 changed files with 3 additions and 0 deletions
|
|
@ -57,6 +57,9 @@ void TrommelkisteProcessor::processBlock(juce::AudioBuffer<float>& buffer, juce:
|
|||
const int numSamples = buffer.getNumSamples();
|
||||
buffer.clear();
|
||||
|
||||
for (int i = 0; i < NUM_TRACKS; ++i)
|
||||
trackActive[i] = false;
|
||||
|
||||
// Shuffle: add ghost notes (bar-quantized)
|
||||
const float globalShuffleAmt = apvts.getRawParameterValue("global_shuffleAmount")->load();
|
||||
const float globalGroove = apvts.getRawParameterValue("global_groove")->load();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue