fixed blip (rounding error), other waves, added key selection (left/right)

This commit is contained in:
Jack Humbert 2019-06-01 01:37:54 -04:00
parent 73853d651a
commit 3e1826a332
2 changed files with 82 additions and 34 deletions

View file

@ -195,6 +195,16 @@ bool process_music(uint16_t keycode, keyrecord_t *record) {
music_sequence_interval+=10;
return false;
}
if (keycode == KC_LEFT) {
music_offset--;
return false;
}
if (keycode == KC_RIGHT) {
music_offset++;
return false;
}
}
uint8_t note = 36;