aboutsummaryrefslogtreecommitdiffstats
path: root/src/patterns.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/patterns.c')
-rw-r--r--src/patterns.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/patterns.c b/src/patterns.c
index dbd9c9f..6ce0878 100644
--- a/src/patterns.c
+++ b/src/patterns.c
@@ -34,19 +34,19 @@ typedef struct ChannelNoiseParams {
34typedef struct ChannelSquare { 34typedef struct ChannelSquare {
35 bool active; 35 bool active;
36 TriggerNote notes[16]; 36 TriggerNote notes[16];
37 ChannelSquareParams params[17]; 37 ChannelSquareParams params[16];
38} ChannelSquare; 38} ChannelSquare;
39 39
40typedef struct ChannelWave { 40typedef struct ChannelWave {
41 bool active; 41 bool active;
42 TriggerNote notes[16]; 42 TriggerNote notes[16];
43 ChannelWaveParams params[17]; 43 ChannelWaveParams params[16];
44} ChannelWave; 44} ChannelWave;
45 45
46typedef struct ChannelNoise { 46typedef struct ChannelNoise {
47 bool active; 47 bool active;
48 TriggerNote notes[16]; 48 TriggerNote notes[16];
49 ChannelNoiseParams params[17]; 49 ChannelNoiseParams params[16];
50} ChannelNoise; 50} ChannelNoise;
51 51
52typedef struct Pattern { 52typedef struct Pattern {
@@ -58,6 +58,11 @@ typedef struct Pattern {
58 u8 bank; 58 u8 bank;
59} Pattern; 59} Pattern;
60 60
61static ChannelSquareParams ch1_params = {0};
62static ChannelSquareParams ch2_params = {0};
63static ChannelWaveParams ch3_params = {0};
64static ChannelNoiseParams ch4_params = {0};
65
61// 66//
62// Defaults. 67// Defaults.
63// 68//