Audio and MIDI library for .NET
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.

42 lines
1.3 KiB

  1. using System;
  2. namespace NAudio.Midi
  3. {
  4. /// <summary>
  5. /// MidiController enumeration
  6. /// http://www.midi.org/techspecs/midimessages.php#3
  7. /// </summary>
  8. public enum MidiController : byte
  9. {
  10. /// <summary>Bank Select (MSB)</summary>
  11. BankSelect = 0,
  12. /// <summary>Modulation (MSB)</summary>
  13. Modulation = 1,
  14. /// <summary>Breath Controller</summary>
  15. BreathController = 2,
  16. /// <summary>Foot controller (MSB)</summary>
  17. FootController = 4,
  18. /// <summary>Main volume</summary>
  19. MainVolume = 7,
  20. /// <summary>Pan</summary>
  21. Pan = 10,
  22. /// <summary>Expression</summary>
  23. Expression = 11,
  24. /// <summary>Bank Select LSB</summary>
  25. BankSelectLsb = 32,
  26. /// <summary>Sustain</summary>
  27. Sustain = 64,
  28. /// <summary>Portamento On/Off</summary>
  29. Portamento = 65,
  30. /// <summary>Sostenuto On/Off</summary>
  31. Sostenuto = 66,
  32. /// <summary>Soft Pedal On/Off</summary>
  33. SoftPedal = 67,
  34. /// <summary>Legato Footswitch</summary>
  35. LegatoFootswitch = 68,
  36. /// <summary>Reset all controllers</summary>
  37. ResetAllControllers = 121,
  38. /// <summary>All notes off</summary>
  39. AllNotesOff = 123,
  40. }
  41. }