config.h 956 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. #ifndef CONFIG_USER_H
  2. #define CONFIG_USER_H
  3. #include "../../config.h"
  4. /*
  5. * MIDI options
  6. */
  7. /* Prevent use of disabled MIDI features in the keymap */
  8. //#define MIDI_ENABLE_STRICT 1
  9. /* enable basic MIDI features:
  10. - MIDI notes can be sent when in Music mode is on
  11. */
  12. #define MIDI_BASIC
  13. #ifdef AUDIO_ENABLE
  14. #define STARTUP_SONG SONG(PLANCK_SOUND)
  15. // #define STARTUP_SONG SONG(NO_SOUND)
  16. #define DEFAULT_LAYER_SONGS { SONG(QWERTY_SOUND), \
  17. SONG(COLEMAK_SOUND), \
  18. SONG(DVORAK_SOUND) \
  19. }
  20. #endif
  21. /* enable advanced MIDI features:
  22. - MIDI notes can be added to the keymap
  23. - Octave shift and transpose
  24. - Virtual sustain, portamento, and modulation wheel
  25. - etc.
  26. */
  27. //#define MIDI_ADVANCED
  28. /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
  29. //#define MIDI_TONE_KEYCODE_OCTAVES 2
  30. #endif