chrisbrasington / ruby-music-theory

Analysis of musical scales/chords using midi I/O and ruby. Circle of 5ths/4ths transposing.
2 stars 0 forks source link

KeyPress Up/Down Wrong #7

Closed chrisbrasington closed 10 years ago

chrisbrasington commented 10 years ago

Current detect of key presses is broken for weighted keys. :P

Weighted keys can be lightly touched and don't register pressing all the way down. keyPress[0][:data][0] should be reconsidered for keyPress boolean.

chrisbrasington commented 10 years ago

Works for the Akai MPK midi controller just fine. Partially works for the Casio Privia. Completely broken on MX-49.

chrisbrasington commented 10 years ago

Ah.. better midi devices will send note presses in one message, which I didn't account for. The synth is sending a continual stream of its beat clock for synchronization purposes. For now, I should ignore the beat clock and handle reception of multiple notes at one time.