Poly mode

This commit is contained in:
Dejvino
2026-02-18 14:50:03 +01:00
parent 4180bb6a12
commit 5ea0070283
9 changed files with 496 additions and 219 deletions
+15 -1
View File
@@ -2,6 +2,7 @@
#define TRACKER_TYPES_H
#include <stdint.h>
#include "config.h"
struct Step {
int8_t note; // MIDI Note (0-127), -1 for OFF
@@ -9,6 +10,17 @@ struct Step {
bool tie;
};
enum PlayMode {
MODE_MONO,
MODE_POLY
};
enum EditMode {
NAV_STEP,
NAV_TRACK,
EDIT_NOTE
};
enum UIState {
UI_TRACKER,
UI_MENU_MAIN,
@@ -16,7 +28,9 @@ enum UIState {
UI_MENU_SETUP,
UI_SETUP_CHANNEL_EDIT,
UI_EDIT_TEMPO,
UI_EDIT_FLAVOUR
UI_EDIT_FLAVOUR,
UI_SETUP_PLAYMODE_EDIT,
UI_RANDOMIZE_TRACK_EDIT
};
inline void sortArray(int arr[], int size) {