14 lines
395 B
C++
14 lines
395 B
C++
#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 |