Melody strategy

This commit is contained in:
Dejvino
2026-02-17 00:19:39 +01:00
parent 89f9821f5a
commit 1e475eeaa5
5 changed files with 180 additions and 50 deletions
+14
View File
@@ -0,0 +1,14 @@
#ifndef MELODY_STRATEGY_H
#define MELODY_STRATEGY_H
#include "TrackerTypes.h"
class MelodyStrategy {
public:
virtual void generate(Step* sequence, int numSteps, int* scaleNotes, int numScaleNotes, int seed) = 0;
virtual void mutate(Step* sequence, int numSteps, int* scaleNotes, int numScaleNotes) = 0;
virtual const char* getName() = 0;
virtual ~MelodyStrategy() {}
};
#endif