summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanny <nooges@users.noreply.github.com>2018-07-12 19:35:51 +0200
committerDrashna Jaelre <drashna@live.com>2018-07-12 19:35:51 +0200
commit1236eac4f2ca220c21cc73b0bc4e39d0b2d9df63 (patch)
tree1cb36bb22b580fc02c9a2a3c7998184c8d93ab93
parentde7d1d35c8904d20c5d8ae4fc8c2263b4dff5d43 (diff)
downloadqmk_firmware-1236eac4f2ca220c21cc73b0bc4e39d0b2d9df63.tar.gz
qmk_firmware-1236eac4f2ca220c21cc73b0bc4e39d0b2d9df63.tar.xz
Slow down speed of All Star song by factor of 4 (#3383)
-rw-r--r--layouts/community/ortho_4x12/bakingpy/config.h4
-rw-r--r--layouts/community/ortho_4x12/bakingpy/keymap.c2
-rw-r--r--quantum/audio/song_list.h16
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 @@
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8
+#ifdef AUDIO_ENABLE
+#define C6_AUDIO
+#endif
+
#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) {
case KC_ASTR:
if (record->event.pressed) {
#ifdef AUDIO_ENABLE
- 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.");
PLAY_SONG(all_star_song);
+ 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.");
#endif
}
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 @@
Q__NOTE(_C6), \
#define ALL_STAR \
- E__NOTE(_AS4), Q__NOTE(_FS4), S__NOTE(_FS4), S__NOTE(_DS4), E__NOTE(_FS4), Q__NOTE(_FS4), S__NOTE(_FS4), S__NOTE(_DS4), \
- E__NOTE(_FS4), Q__NOTE(_FS4), Q__NOTE(_FS4), QD_NOTE(_AS4), \
- E__NOTE(_AS4), Q__NOTE(_FS4), S__NOTE(_FS4), S__NOTE(_DS4), E__NOTE(_FS4), Q__NOTE(_FS4), S__NOTE(_FS4), S__NOTE(_DS4), \
- E__NOTE(_FS4), Q__NOTE(_FS4), Q__NOTE(_FS4), Q__NOTE(_AS4), E__NOTE(_REST),\
- Q__NOTE(_AS4), Q__NOTE(_CS5), E__NOTE(_B4), E__NOTE(_CS5), E__NOTE(_DS5), Q__NOTE(_FS5), \
- E__NOTE(_GS5), Q__NOTE(_GS5), E__NOTE(_FS4), E__NOTE(_FS4), E__NOTE(_GS4), E__NOTE(_FS4), \
- E__NOTE(_AS4), Q__NOTE(_GS4), Q__NOTE(_GS4), Q__NOTE(_FS4), Q__NOTE(_GS4), \
- E__NOTE(_AS4), HD_NOTE(_DS4)
+ H__NOTE(_AS4), W__NOTE(_FS4), Q__NOTE(_FS4), Q__NOTE(_DS4), H__NOTE(_FS4), W__NOTE(_FS4), Q__NOTE(_FS4), Q__NOTE(_DS4), \
+ H__NOTE(_FS4), W__NOTE(_FS4), W__NOTE(_FS4), QD_NOTE(_AS4), \
+ H__NOTE(_AS4), W__NOTE(_FS4), Q__NOTE(_FS4), Q__NOTE(_DS4), H__NOTE(_FS4), W__NOTE(_FS4), Q__NOTE(_FS4), Q__NOTE(_DS4), \
+ H__NOTE(_FS4), W__NOTE(_FS4), W__NOTE(_FS4), W__NOTE(_AS4), H__NOTE(_REST),\
+ W__NOTE(_AS4), W__NOTE(_CS5), H__NOTE(_B4), H__NOTE(_CS5), H__NOTE(_DS5), W__NOTE(_FS5), \
+ H__NOTE(_GS5), W__NOTE(_GS5), H__NOTE(_FS4), H__NOTE(_FS4), H__NOTE(_GS4), H__NOTE(_FS4), \
+ H__NOTE(_AS4), W__NOTE(_GS4), W__NOTE(_GS4), W__NOTE(_FS4), W__NOTE(_GS4), \
+ H__NOTE(_AS4), WD_NOTE(_DS4)
#endif