Melody strategy
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user