aboutsummaryrefslogtreecommitdiffstats
path: root/keyboard/planck/keymap_midi.h
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2015-08-31 12:39:53 -0400
committerJack Humbert <jack.humb@gmail.com>2015-08-31 12:39:53 -0400
commited384bd4376398887a95942b7d6750d5bc4833e8 (patch)
tree004cdce88ebd1967a4abe53b53cc04b31d42cbae /keyboard/planck/keymap_midi.h
parent91176d854b8c9e49e88d494ba02c8e9c54fec914 (diff)
downloadfirmware-ed384bd4376398887a95942b7d6750d5bc4833e8.tar.gz
firmware-ed384bd4376398887a95942b7d6750d5bc4833e8.tar.bz2
firmware-ed384bd4376398887a95942b7d6750d5bc4833e8.zip
beeps update
Diffstat (limited to 'keyboard/planck/keymap_midi.h')
-rw-r--r--keyboard/planck/keymap_midi.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/keyboard/planck/keymap_midi.h b/keyboard/planck/keymap_midi.h
index 02bf35c24..c5917f884 100644
--- a/keyboard/planck/keymap_midi.h
+++ b/keyboard/planck/keymap_midi.h
@@ -23,7 +23,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define CHNL(note, channel) (note + (channel << 8))
-#define SCALE (int []){ 0, 2, 4, 5, 7, 9, 11, 12, 14, 16, 17, 19, 21, 23, 24, 26, 28, 29, 31, 33, 35, 36}
+#define SCALE (int []){ 0 + (12*0), 2 + (12*0), 4 + (12*0), 5 + (12*0), 7 + (12*0), 9 + (12*0), 11 + (12*0), \
+ 0 + (12*1), 2 + (12*1), 4 + (12*1), 5 + (12*1), 7 + (12*1), 9 + (12*1), 11 + (12*1), \
+ 0 + (12*2), 2 + (12*2), 4 + (12*2), 5 + (12*2), 7 + (12*2), 9 + (12*2), 11 + (12*2), \
+ 0 + (12*3), 2 + (12*3), 4 + (12*3), 5 + (12*3), 7 + (12*3), 9 + (12*3), 11 + (12*3), \
+ 0 + (12*4), 2 + (12*4), 4 + (12*4), 5 + (12*4), 7 + (12*4), 9 + (12*4), 11 + (12*4), }
#define N_CN1 (0x600C + (12 * -1) + 0 )
#define N_CN1S (0x600C + (12 * -1) + 1 )