config.h 839 B

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