Music Theory – Overview
DryWetMIDI provides types and methods to work with music theory objects like scale or chord progression, and provides ways to use them within MIDI. Following list shows what objects you can work with:
Note that DryWetMIDI uses Scientific Pitch Notation so the middle C note is the C4 one. Octave.Middle returns that 4th octave. You can read an interesting discussion about different notations here: MIDI Octave and Note Numbering Standard.
All corresponding classes have Parse
and TryParse
methods so you can get an instance of a class from string. For example, you can parse "C#"
string to C# note.