Use MIT license file.
Cb0 is an invalid MIDI note and should have a sentinel value of 255u.
Add extern statement. Also fix the strlwr definition on Windows.
_strlwr is not present on non-Windows platforms.
Add files with test program.