|
@@ -119,30 +119,42 @@ static bool sequence_get(uint32_t beat, enum channels ch) {
|
119
|
119
|
|
120
|
120
|
void sequence_handle_button_loopstation(enum buttons btn, bool rec) {
|
121
|
121
|
switch (btn) {
|
122
|
|
- case BTN_A:
|
123
|
|
- case BTN_E: {
|
|
122
|
+ case BTN_A: {
|
124
|
123
|
pulse_trigger_out(0, mem_data()->ch_timings[0]);
|
125
|
124
|
pulse_trigger_led(0, mem_data()->ch_timings[0]);
|
126
|
125
|
pulse_trigger_led(4, mem_data()->ch_timings[0]);
|
127
|
126
|
break;
|
128
|
127
|
}
|
129
|
128
|
|
130
|
|
- case BTN_B:
|
131
|
|
- case BTN_F: {
|
|
129
|
+ case BTN_B: {
|
132
|
130
|
pulse_trigger_out(1, mem_data()->ch_timings[1]);
|
133
|
131
|
pulse_trigger_led(1, mem_data()->ch_timings[1]);
|
134
|
132
|
pulse_trigger_led(5, mem_data()->ch_timings[1]);
|
135
|
133
|
break;
|
136
|
134
|
}
|
137
|
135
|
|
138
|
|
- case BTN_C:
|
139
|
|
- case BTN_G: {
|
|
136
|
+ case BTN_C: {
|
140
|
137
|
pulse_trigger_out(2, mem_data()->ch_timings[2]);
|
141
|
138
|
pulse_trigger_led(2, mem_data()->ch_timings[2]);
|
142
|
139
|
pulse_trigger_led(6, mem_data()->ch_timings[2]);
|
143
|
140
|
break;
|
144
|
141
|
}
|
145
|
142
|
|
|
143
|
+ case BTN_E: {
|
|
144
|
+ // TODO mute/unmute according to rec param
|
|
145
|
+ return; // not recording sequence!
|
|
146
|
+ }
|
|
147
|
+
|
|
148
|
+ case BTN_F: {
|
|
149
|
+ // TODO mute/unmute according to rec param
|
|
150
|
+ return; // not recording sequence!
|
|
151
|
+ }
|
|
152
|
+
|
|
153
|
+ case BTN_G: {
|
|
154
|
+ // TODO mute/unmute according to rec param
|
|
155
|
+ return; // not recording sequence!
|
|
156
|
+ }
|
|
157
|
+
|
146
|
158
|
default: {
|
147
|
159
|
break;
|
148
|
160
|
}
|