lichen-community-systems / flocking-midi

A collection of MIDI components for Infusion and Flocking
1 stars 2 forks source link

The MIDI sendRaw demo can't send zero-valued bytes #13

Closed colinbdclark closed 4 years ago

colinbdclark commented 5 years ago

There is a bug in the implementation of flock.demo.rawMidiParser that causes it to fail to include any MIDI bytes that fail a standard JavaScript falsey check, such as, umm, zeros:

https://github.com/colinbdclark/Flocking/blob/master/demos/midi/sendRaw/sendRaw-midi-demo.js#L81-L83