config.h 729 B

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