cwilso / WebMIDIAPIShim

Polyfill using the Jazz NPAPI MIDI plugin to implement the Web MIDI API on Mac and Windows.
380 stars 53 forks source link

Not receiving any sustain pedal message #35

Closed jaycliff closed 11 years ago

jaycliff commented 11 years ago

I made a small script to listen to midi inputs (similar to the one found in tests/multi.html) and found out that it doesn't seem to listen to any sustain pedal messages. The regular notes are working fine though. This could be a potential bug in the Jazz plugin, or I'm just a horrible coder :)

notator commented 11 years ago

I have no problem getting control messages from Jazz, and can't see where Jazz might treat the pedal message differently from any other. So the problem is probably yours. :-) Or could it be that your output device/instrument doesn't support them?

jaycliff commented 11 years ago

Thanks James, I was actually using this Vanillin midi keyboard (www.vanilin.org/software/midikb.html‎). Turns out that this software doesn't send a real sustain pedal message (it just doesn't send a note off message when the 'pedal' is on).