|
|
|
@ -305,12 +305,15 @@ void dip_update(uint8_t index, bool active) {
|
|
|
|
|
muse_mode = true;
|
|
|
|
|
} else {
|
|
|
|
|
muse_mode = false;
|
|
|
|
|
#ifdef AUDIO_ENABLE
|
|
|
|
|
stop_all_notes();
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void matrix_scan_user(void) {
|
|
|
|
|
#ifdef AUDIO_ENABLE
|
|
|
|
|
if (muse_mode) {
|
|
|
|
|
if (muse_counter == 0) {
|
|
|
|
|
uint8_t muse_note = muse_offset + SCALE[muse_clock_pulse()];
|
|
|
|
@ -322,6 +325,7 @@ void matrix_scan_user(void) {
|
|
|
|
|
}
|
|
|
|
|
muse_counter = (muse_counter + 1) % muse_tempo;
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
bool music_mask_user(uint16_t keycode) {
|
|
|
|
|