sequencer states

This commit is contained in:
2024-03-26 22:12:46 +01:00
parent 9989a52c38
commit 2e629f12aa
5 changed files with 57 additions and 121 deletions

View File

@ -22,10 +22,16 @@ typedef struct {
bool legato;
} t_tone;
typedef enum {
e_PlayTone,
e_HoldTone,
e_SeparateTone
} t_sequencerState;
typedef struct {
uint16_t idx;
uint8_t lengthCnt;
uint8_t state;
t_sequencerState state;
uint8_t channel;
const t_tone *tones;
} t_melody;