diff options
author | Danny <nooges@users.noreply.github.com> | 2018-07-12 13:35:51 -0400 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2018-07-12 10:35:51 -0700 |
commit | 1236eac4f2ca220c21cc73b0bc4e39d0b2d9df63 (patch) | |
tree | 1cb36bb22b580fc02c9a2a3c7998184c8d93ab93 | |
parent | de7d1d35c8904d20c5d8ae4fc8c2263b4dff5d43 (diff) | |
download | qmk_firmware-1236eac4f2ca220c21cc73b0bc4e39d0b2d9df63.tar.gz qmk_firmware-1236eac4f2ca220c21cc73b0bc4e39d0b2d9df63.zip |
Slow down speed of All Star song by factor of 4 (#3383)
-rw-r--r-- | layouts/community/ortho_4x12/bakingpy/config.h | 4 | ||||
-rw-r--r-- | layouts/community/ortho_4x12/bakingpy/keymap.c | 2 | ||||
-rw-r--r-- | quantum/audio/song_list.h | 16 |
3 files changed, 13 insertions, 9 deletions
diff --git a/layouts/community/ortho_4x12/bakingpy/config.h b/layouts/community/ortho_4x12/bakingpy/config.h index 28444fe47..77fa69ad7 100644 --- a/layouts/community/ortho_4x12/bakingpy/config.h +++ b/layouts/community/ortho_4x12/bakingpy/config.h | |||
@@ -23,4 +23,8 @@ | |||
23 | #define RGBLIGHT_SAT_STEP 8 | 23 | #define RGBLIGHT_SAT_STEP 8 |
24 | #define RGBLIGHT_VAL_STEP 8 | 24 | #define RGBLIGHT_VAL_STEP 8 |
25 | 25 | ||
26 | #ifdef AUDIO_ENABLE | ||
27 | #define C6_AUDIO | ||
28 | #endif | ||
29 | |||
26 | #endif | 30 | #endif |
diff --git a/layouts/community/ortho_4x12/bakingpy/keymap.c b/layouts/community/ortho_4x12/bakingpy/keymap.c index e00351331..b34e57cbe 100644 --- a/layouts/community/ortho_4x12/bakingpy/keymap.c +++ b/layouts/community/ortho_4x12/bakingpy/keymap.c | |||
@@ -203,8 +203,8 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |||
203 | case KC_ASTR: | 203 | case KC_ASTR: |
204 | if (record->event.pressed) { | 204 | if (record->event.pressed) { |
205 | #ifdef AUDIO_ENABLE | 205 | #ifdef AUDIO_ENABLE |
206 | SEND_STRING("Hey now, you're an all-star, get your game on, go play. Hey now, you're a rock star, get the show on, get paid. All that glitters is gold. Only shooting stars break the mold."); | ||
207 | PLAY_SONG(all_star_song); | 206 | PLAY_SONG(all_star_song); |
207 | SEND_STRING("Hey now, you're an all-star, get your game on, go play. Hey now, you're a rock star, get the show on, get paid. All that glitters is gold. Only shooting stars break the mold."); | ||
208 | #endif | 208 | #endif |
209 | } | 209 | } |
210 | return false; | 210 | return false; |
diff --git a/quantum/audio/song_list.h b/quantum/audio/song_list.h index 01cc6f4ed..2bee6d633 100644 --- a/quantum/audio/song_list.h +++ b/quantum/audio/song_list.h | |||
@@ -436,13 +436,13 @@ | |||
436 | Q__NOTE(_C6), \ | 436 | Q__NOTE(_C6), \ |
437 | 437 | ||
438 | #define ALL_STAR \ | 438 | #define ALL_STAR \ |
439 | E__NOTE(_AS4), Q__NOTE(_FS4), S__NOTE(_FS4), S__NOTE(_DS4), E__NOTE(_FS4), Q__NOTE(_FS4), S__NOTE(_FS4), S__NOTE(_DS4), \ | 439 | H__NOTE(_AS4), W__NOTE(_FS4), Q__NOTE(_FS4), Q__NOTE(_DS4), H__NOTE(_FS4), W__NOTE(_FS4), Q__NOTE(_FS4), Q__NOTE(_DS4), \ |
440 | E__NOTE(_FS4), Q__NOTE(_FS4), Q__NOTE(_FS4), QD_NOTE(_AS4), \ | 440 | H__NOTE(_FS4), W__NOTE(_FS4), W__NOTE(_FS4), QD_NOTE(_AS4), \ |
441 | E__NOTE(_AS4), Q__NOTE(_FS4), S__NOTE(_FS4), S__NOTE(_DS4), E__NOTE(_FS4), Q__NOTE(_FS4), S__NOTE(_FS4), S__NOTE(_DS4), \ | 441 | H__NOTE(_AS4), W__NOTE(_FS4), Q__NOTE(_FS4), Q__NOTE(_DS4), H__NOTE(_FS4), W__NOTE(_FS4), Q__NOTE(_FS4), Q__NOTE(_DS4), \ |
442 | E__NOTE(_FS4), Q__NOTE(_FS4), Q__NOTE(_FS4), Q__NOTE(_AS4), E__NOTE(_REST),\ | 442 | H__NOTE(_FS4), W__NOTE(_FS4), W__NOTE(_FS4), W__NOTE(_AS4), H__NOTE(_REST),\ |
443 | Q__NOTE(_AS4), Q__NOTE(_CS5), E__NOTE(_B4), E__NOTE(_CS5), E__NOTE(_DS5), Q__NOTE(_FS5), \ | 443 | W__NOTE(_AS4), W__NOTE(_CS5), H__NOTE(_B4), H__NOTE(_CS5), H__NOTE(_DS5), W__NOTE(_FS5), \ |
444 | E__NOTE(_GS5), Q__NOTE(_GS5), E__NOTE(_FS4), E__NOTE(_FS4), E__NOTE(_GS4), E__NOTE(_FS4), \ | 444 | H__NOTE(_GS5), W__NOTE(_GS5), H__NOTE(_FS4), H__NOTE(_FS4), H__NOTE(_GS4), H__NOTE(_FS4), \ |
445 | E__NOTE(_AS4), Q__NOTE(_GS4), Q__NOTE(_GS4), Q__NOTE(_FS4), Q__NOTE(_GS4), \ | 445 | H__NOTE(_AS4), W__NOTE(_GS4), W__NOTE(_GS4), W__NOTE(_FS4), W__NOTE(_GS4), \ |
446 | E__NOTE(_AS4), HD_NOTE(_DS4) | 446 | H__NOTE(_AS4), WD_NOTE(_DS4) |
447 | 447 | ||
448 | #endif | 448 | #endif |