Scale type submenu
This commit is contained in:
@@ -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++) {
|
||||
|
||||
Reference in New Issue
Block a user