Set a range of notes, and convert any note input within that range to a CC value.
The note at the bottom of the range will send a value of 0, the note at the top of the range will send a value of 127.
The value sent by each note in the range depends on the size of the range.
The MIDI value of C at each octave is listed in the description for your convenience.
