config.h 910 B

123456789101112131415161718192021222324252627282930313233343536
  1. #ifdef AUDIO_ENABLE
  2. # if __has_include("copyright.h")
  3. # include "copyright.h"
  4. # endif
  5. # define AUDIO_CLICKY_DELAY_DURATION 0
  6. # define AUDIO_CLICKY_FREQ_DEFAULT 100.0f
  7. # define AUDIO_CLICKY_FREQ_MIN 61.0f
  8. # define AUDIO_CLICKY_FREQ_RANDOMNESS 0.2f
  9. # define DAC_SAMPLE_MAX 7000U
  10. # define STARTUP_SONG SONG(WORKMAN_SOUND)
  11. # define GOODBYE_SONG SONG(COIN_SOUND)
  12. #endif
  13. #define MUSIC_MASK (keycode != KC_NO)
  14. /*
  15. * MIDI options
  16. */
  17. /* enable basic MIDI features:
  18. - MIDI notes can be sent when in Music mode is on
  19. */
  20. #define MIDI_BASIC
  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