summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael F. Lamb <mike@datagrok.org>2019-06-28 10:50:49 -0700
committerDrashna Jaelre <drashna@live.com>2019-06-28 10:50:49 -0700
commitb802c0c8df4f09be322f47cbed2f595ea983929c (patch)
treec0f1ac5537ce76a50fa01449bc3e4829f5b10aa3
parent8c1900a658b4f99c0201008b6832ea71e5e9396f (diff)
downloadqmk_firmware-b802c0c8df4f09be322f47cbed2f595ea983929c.tar.gz
qmk_firmware-b802c0c8df4f09be322f47cbed2f595ea983929c.zip
[Keymap] mitosis:datagrok: use non-copyrighted songs, add workman ditty (#6205)
-rw-r--r--keyboards/mitosis/keymaps/datagrok/config.h14
-rw-r--r--quantum/audio/song_list.h11
2 files changed, 18 insertions, 7 deletions
diff --git a/keyboards/mitosis/keymaps/datagrok/config.h b/keyboards/mitosis/keymaps/datagrok/config.h
index 1c70a3791a..0e82b628b4 100644
--- a/keyboards/mitosis/keymaps/datagrok/config.h
+++ b/keyboards/mitosis/keymaps/datagrok/config.h
@@ -27,13 +27,13 @@
//#define NO_ACTION_FUNCTION
#ifdef AUDIO_ENABLE
-#define STARTUP_SONG SONG(MARIO_MUSHROOM)
-#define DEFAULT_LAYER_SONGS { \
- SONG(QWERTY_SOUND), \
- SONG(COLEMAK_SOUND), \
- SONG(DVORAK_SOUND), \
- SONG(ZELDA_TREASURE), \
- }
+#define STARTUP_SONG SONG(STARTUP_SOUND)
+#define DEFAULT_LAYER_SONGS { \
+ SONG(QWERTY_SOUND), \
+ SONG(COLEMAK_SOUND), \
+ SONG(DVORAK_SOUND), \
+ SONG(WORKMAN_SOUND), \
+ }
#define AUDIO_VOICES
#define AUDIO_CLICKY
#define C6_AUDIO
diff --git a/quantum/audio/song_list.h b/quantum/audio/song_list.h
index 7ba57b0569..33dbcfcb1d 100644
--- a/quantum/audio/song_list.h
+++ b/quantum/audio/song_list.h
@@ -103,6 +103,17 @@
S__NOTE(_REST), \
E__NOTE(_E7 ),
+#define WORKMAN_SOUND \
+ E__NOTE(_GS6 ), \
+ E__NOTE(_A6 ), \
+ S__NOTE(_REST), \
+ E__NOTE(_GS6 ), \
+ E__NOTE(_A6 ), \
+ S__NOTE(_REST), \
+ ED_NOTE(_FS7 ), \
+ S__NOTE(_REST), \
+ ED_NOTE(_A7 ),
+
#define PLOVER_SOUND \
E__NOTE(_GS6 ), \
E__NOTE(_A6 ), \