Drone strategy and fixed MIDI panic

This commit is contained in:
Dejvino
2026-02-22 23:03:03 +01:00
parent 33c6329f0b
commit 4e4ba0d0e4
7 changed files with 172 additions and 10 deletions
+3 -2
View File
@@ -5,6 +5,7 @@
#include "MarkovStrategy.h"
#include "CellularAutomataStrategy.h"
#include "LSystemStrategy.h"
#include "DroneStrategy.h"
// Global state variables
Step sequence[NUM_TRACKS][NUM_STEPS];
@@ -115,8 +116,8 @@ extern const uint32_t EEPROM_MAGIC = 0x4242424E;
MelodyStrategy* strategies[] = {
new LuckyStrategy(), new ArpStrategy(), new EuclideanStrategy(),
new MarkovStrategy(), new CellularAutomataStrategy(), new LSystemStrategy()};
extern const int numStrategies = 6;
new MarkovStrategy(), new CellularAutomataStrategy(), new LSystemStrategy(), new DroneStrategy()};
extern const int numStrategies = 7;
int currentStrategyIndices[NUM_TRACKS];
volatile PlayMode playMode = MODE_POLY;