Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix RNDM mode in meta-sequencer, don't re-init bytebeat counter
  • Loading branch information
timchurches committed Apr 11, 2015
1 parent 36e7f63 commit 43288b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion braids/braids.cc
Expand Up @@ -514,7 +514,7 @@ void RenderBlock() {
}
} else if (metaseq_direction == 2) {
// random
metaseq_index = (uint8_t(Random::GetWord() >> 29) * metaseq_length) >> 3;
metaseq_index = (uint8_t(Random::GetWord() >> 29) * (metaseq_length + 1)) >> 3;
}
}
MacroOscillatorShape metaseq_current_shape = settings.metaseq_shape(metaseq_index);
Expand Down
2 changes: 1 addition & 1 deletion braids/digital_oscillator.h
Expand Up @@ -251,7 +251,7 @@ class DigitalOscillator {
svf_[1].Init();
svf_[2].Init();
phase_ = 0;
t_ = 0;
// t_ = 0; // Don't reset the bytebeat counter to allow continuity when switch models
strike_ = true;
init_ = true;
}
Expand Down

0 comments on commit 43288b1

Please sign in to comment.