]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
start updating audio docs
authorJack Humbert <jack.humb@gmail.com>
Fri, 21 Jul 2017 05:02:32 +0000 (01:02 -0400)
committerJack Humbert <jack.humb@gmail.com>
Sun, 23 Jul 2017 18:59:29 +0000 (14:59 -0400)
docs/modding_your_keyboard.md
quantum/quantum.c

index 44e6e6e72ad6d7f176884ce7e55c77c653d280c7..30ff4f91af3c572d080fdae4cf71b13b7720a25a 100644 (file)
@@ -41,7 +41,8 @@ Wherein we bind predefined songs (from [quantum/audio/song_list.h](https://githu
 So now you have something called `tone_plover` for example. How do you make it play the Plover tune, then? If you look further down the keymap, you'll see this:
 
 ```
-PLAY_NOTE_ARRAY(tone_plover, false, 0); // Signature is: Song name, repeat, rest style
+PLAY_NOTE_ARRAY(tone_plover, false, LEGATO); // song name, repeat, rest style
+PLAY_SONG(tone_plover);                      // song name (repeat is false, rest is STACCATO)
 ```
 
 This is inside one of the macros. So when that macro executes, your keyboard plays that particular chime.
index 31a6fc713384380db40c96be9ff351702b9425f0..b76a1141868b2ee41aa9a56c2a3daa672c2f2624 100644 (file)
@@ -41,10 +41,7 @@ extern backlight_config_t backlight_config;
     #define AG_SWAP_SONG SONG(AG_SWAP_SOUND)
   #endif
   #ifndef DEFAULT_LAYER_SONGS
-        #define DEFAULT_LAYER_SONGS { SONG(QWERTY_SOUND), \
-                                  SONG(COLEMAK_SOUND) \
-                                  SONG(DVORAK_SOUND) \
-                                }
+    #define DEFAULT_LAYER_SONGS { }
   #endif
   float goodbye_song[][2] = GOODBYE_SONG;
   float ag_norm_song[][2] = AG_NORM_SONG;