昔作ったキーボードで音を鳴らすWindows向けプロジェクト(Msys2でビルドしているためMakefile)
これ以上いじる予定はないのでほぼアーカイブ目的
XキーをC4として、押されたときに音を鳴らします スペースキーはピアノのペダルと同等の動作をします
Pを押すとパーカッション(MIDIのCH9)になります
Rキーで楽器変えたり、Q/Wキーで音程変えたりできます
テンキーでも音変わります
TでModulation、UでReleaseTimeをいじれます
Iを押すとC4のキーをずらせます
Escを押すと終了します