diff options
author | Jack Humbert <jack.humb@gmail.com> | 2017-05-15 22:29:17 -0400 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2017-05-15 22:29:17 -0400 |
commit | 997a847f8cd3579824009822a125e64507cf6595 (patch) | |
tree | 42eb90bc63ac63039cbef3efcc8332f4e95db8a5 /Modding-your-keyboard.md | |
parent | 60daffbe5df7284e83e092c26bb6b4b32a61f33a (diff) |
update links
Diffstat (limited to 'Modding-your-keyboard.md')
-rw-r--r-- | Modding-your-keyboard.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modding-your-keyboard.md b/Modding-your-keyboard.md index 43cc81945f..9d3e0319d5 100644 --- a/Modding-your-keyboard.md +++ b/Modding-your-keyboard.md @@ -3,7 +3,7 @@ Your keyboard can make sounds! If you've got a Planck, Preonic, or basically any keyboard that allows access to the C6 port, you can hook up a simple speaker and make it beep. You can use those beeps to indicate layer transitions, modifiers, special keys, or just to play some funky 8bit tunes. -The audio code lives in [quantum/audio/audio.h](/quantum/audio/audio.h) and in the other files in the audio directory. It's enabled by default on the Planck [stock keymap](/keyboards/planck/keymaps/default/keymap.c). Here are the important bits: +The audio code lives in [quantum/audio/audio.h](https://github.com/qmk/qmk_firmware/blob/master/quantum/audio/audio.h) and in the other files in the audio directory. It's enabled by default on the Planck [stock keymap](https://github.com/qmk/qmk_firmware/blob/master/keyboards/planck/keymaps/default/keymap.c). Here are the important bits: ``` #include "audio.h" @@ -36,7 +36,7 @@ float music_scale[][2] = SONG(MUSIC_SCALE_SOUND); float goodbye[][2] = SONG(GOODBYE_SOUND); ``` -Wherein we bind predefined songs (from [quantum/audio/song_list.h](/quantum/audio/song_list.h)) into named variables. This is one optimization that helps save on memory: These songs only take up memory when you reference them in your keymap, because they're essentially all preprocessor directives. +Wherein we bind predefined songs (from [quantum/audio/song_list.h](https://github.com/qmk/qmk_firmware/blob/master/quantum/audio/song_list.h)) into named variables. This is one optimization that helps save on memory: These songs only take up memory when you reference them in your keymap, because they're essentially all preprocessor directives. 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: |