Scale type submenu

This commit is contained in:
Dejvino
2026-03-06 22:45:03 +01:00
parent f979c2c5d7
commit 7da78f5fb9
7 changed files with 51 additions and 254 deletions
+5 -1
View File
@@ -75,7 +75,11 @@ void SequenceGenerator::updateScale() {
midi.unlock();
}
void SequenceGenerator::pickRandomScaleType() {
void SequenceGenerator::pickRandomScaleType(int themeType) {
unsigned long seed = themeType * 9999;
for(int i=0; i<NUM_TRACKS; i++) seed += melodySeeds[i];
randomSeed(seed);
int candidates[10];
int count = 0;
for (int i = 0; i < 10; i++) {