smdMidi codebase