config.h 833 B

1234567891011121314151617181920212223242526272829303132333435
  1. #pragma once
  2. #ifdef AUDIO_ENABLE
  3. #define STARTUP_SONG SONG(PLANCK_SOUND)
  4. #endif
  5. /*
  6. * MIDI options
  7. */
  8. /* enable basic MIDI features:
  9. - MIDI notes can be sent when in Music mode is on
  10. */
  11. #define MIDI_BASIC
  12. #define AUDIO_CLICKY
  13. #define AUDIO_CLICKY_FREQ_DEFAULT 2360.0f
  14. #define AUDIO_CLICKY_FREQ_MAX 9500.0f
  15. #define AUDIO_CLICKY_FREQ_RANDOMNESS 0.05f
  16. #define DAC_SAMPLE_MAX 9754U
  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. #define ORYX_CONFIGURATOR