Song progression
This commit is contained in:
+2
-11
@@ -80,15 +80,6 @@ void SequenceGenerator::pickRandomScaleType(int themeType) {
|
||||
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++) {
|
||||
if (enabledScaleTypes & (1 << i)) {
|
||||
candidates[count++] = i;
|
||||
}
|
||||
}
|
||||
if (count > 0) {
|
||||
currentScaleType = candidates[random(count)];
|
||||
SequenceGenerator::updateScale();
|
||||
}
|
||||
currentScaleType = random(10);
|
||||
SequenceGenerator::updateScale();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user