diff --git a/braids/braids.cc b/braids/braids.cc index ba63014..5b6a4e5 100755 --- a/braids/braids.cc +++ b/braids/braids.cc @@ -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); diff --git a/braids/digital_oscillator.h b/braids/digital_oscillator.h index 9f8661a..14f5a72 100755 --- a/braids/digital_oscillator.h +++ b/braids/digital_oscillator.h @@ -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; }