You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
1.3 KiB

  1. /*
  2. Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) 2020 Max Drasbeck
  3. *
  4. * You are free to:
  5. *
  6. * Share copy and redistribute the material in any medium or format
  7. * Adapt remix, transform, and build upon the material
  8. * for any purpose, even commercially.
  9. *
  10. * The licensor cannot revoke these freedoms as long as you follow the license terms.
  11. */
  12. #pragma once
  13. #ifdef AUDIO_ENABLE
  14. #define STARTUP_SONG SONG(PREONIC_SOUND)
  15. // #define STARTUP_SONG SONG(NO_SOUND)
  16. #define DEFAULT_LAYER_SONGS { SONG(QWERTY_SOUND) }//,
  17. // SONG(COLEMAK_SOUND),
  18. // SONG(DVORAK_SOUND)
  19. //}
  20. #endif
  21. #define MUSIC_MASK (keycode != KC_NO)
  22. /*
  23. * MIDI options
  24. */
  25. /* Prevent use of disabled MIDI features in the keymap */
  26. //#define MIDI_ENABLE_STRICT 1
  27. /* enable basic MIDI features:
  28. - MIDI notes can be sent when in Music mode is on
  29. */
  30. #define MIDI_BASIC
  31. /* enable advanced MIDI features:
  32. - MIDI notes can be added to the keymap
  33. - Octave shift and transpose
  34. - Virtual sustain, portamento, and modulation wheel
  35. - etc.
  36. */
  37. //#define MIDI_ADVANCED
  38. /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
  39. //#define MIDI_TONE_KEYCODE_OCTAVES 2