config.h 794 B

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