diff options
author | Jack Humbert <jack.humb@gmail.com> | 2017-07-21 01:02:32 -0400 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2017-07-23 14:59:29 -0400 |
commit | fe113ebad56e758d635724dc35f2a4e26a6985ee (patch) | |
tree | 5a56d684acda911c31457008a42b1317b05d4e7a /docs/modding_your_keyboard.md | |
parent | 6a3c66776cb10888b24400526241b46deeb051a8 (diff) | |
download | qmk_firmware-fe113ebad56e758d635724dc35f2a4e26a6985ee.tar.gz qmk_firmware-fe113ebad56e758d635724dc35f2a4e26a6985ee.zip |
start updating audio docs
Diffstat (limited to 'docs/modding_your_keyboard.md')
-rw-r--r-- | docs/modding_your_keyboard.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/modding_your_keyboard.md b/docs/modding_your_keyboard.md index 44e6e6e72..30ff4f91a 100644 --- a/docs/modding_your_keyboard.md +++ b/docs/modding_your_keyboard.md | |||
@@ -41,7 +41,8 @@ Wherein we bind predefined songs (from [quantum/audio/song_list.h](https://githu | |||
41 | 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: | 41 | 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: |
42 | 42 | ||
43 | ``` | 43 | ``` |
44 | PLAY_NOTE_ARRAY(tone_plover, false, 0); // Signature is: Song name, repeat, rest style | 44 | PLAY_NOTE_ARRAY(tone_plover, false, LEGATO); // song name, repeat, rest style |
45 | PLAY_SONG(tone_plover); // song name (repeat is false, rest is STACCATO) | ||
45 | ``` | 46 | ``` |
46 | 47 | ||
47 | This is inside one of the macros. So when that macro executes, your keyboard plays that particular chime. | 48 | This is inside one of the macros. So when that macro executes, your keyboard plays that particular chime. |