diff options
Diffstat (limited to 'src/scale.c')
-rw-r--r-- | src/scale.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/scale.c b/src/scale.c index 51d46fe..7704815 100644 --- a/src/scale.c +++ b/src/scale.c | |||
@@ -18,6 +18,9 @@ typedef enum Scales { | |||
18 | SCALE_NUM, | 18 | SCALE_NUM, |
19 | } Scales; | 19 | } Scales; |
20 | 20 | ||
21 | int current_scale = SCALE_CHRM; | ||
22 | int current_scale_root = 0; | ||
23 | |||
21 | char *scale_short[] = { | 24 | char *scale_short[] = { |
22 | "CHRM", | 25 | "CHRM", |
23 | "MAJR", | 26 | "MAJR", |
@@ -77,9 +80,6 @@ Scale scales[] = { | |||
77 | {1, 0, 1, 1, 0, 0, 0, 1, 1, 0, 0, 0}, // HIRA | 80 | {1, 0, 1, 1, 0, 0, 0, 1, 1, 0, 0, 0}, // HIRA |
78 | }; | 81 | }; |
79 | 82 | ||
80 | int current_scale = SCALE_CHRM; | ||
81 | int current_scale_root = 0; | ||
82 | |||
83 | s32 | 83 | s32 |
84 | scale_note(s32 current, s32 inc) { | 84 | scale_note(s32 current, s32 inc) { |
85 | if (inc > 1 || inc < -1) { | 85 | if (inc > 1 || inc < -1) { |