Melody randomizes tracks length

This commit is contained in:
Dejvino
2026-03-05 00:11:35 +01:00
parent 27fd42442c
commit 84ef40a555
2 changed files with 6 additions and 3 deletions
+2 -3
View File
@@ -62,13 +62,12 @@ void setup() {
EEPROM.begin(4096);
if (!loadSequence()) {
Serial.println(F("Starting fresh instead."));
for (int i = 0; i < NUM_TRACKS; i++) {
numSteps[i] = NUM_STEPS;
}
for(int i=0; i<NUM_TRACKS; i++) {
midiChannels[i] = i + 1;
melodySeeds[i] = random(10000);
randomSeed(melodySeeds[i]);
numSteps[i] = random(1, NUM_STEPS + 1);
currentStrategyIndices[i] = 0;
trackMute[i] = false;
}