If you change the 0xB0 to 0x90, it would send a NoteOn
If you change the 0xB0 to 0x80, it would send a NoteOff
If you configure a local projects in WebIDE and copy the module there, it will load that version of the module. Then you can try the changes. Look at the Gear-like Icon in the upper right of WebIDE. Select Project and define a location on your hard drive. Use you explorer to find that folder and a sub -folder called modules.
Add a new function to the module:
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Here's a link that reveals a bit more about the MIDI message format
NoteOnOff
If you change the 0xB0 to 0x90, it would send a NoteOn
If you change the 0xB0 to 0x80, it would send a NoteOff
If you configure a local projects in WebIDE and copy the module there, it will load that version of the module. Then you can try the changes. Look at the Gear-like Icon in the upper right of WebIDE. Select Project and define a location on your hard drive. Use you explorer to find that folder and a sub -folder called modules.
Add a new function to the module:
Similar function for noteOff.
Worth a try.
The channel is the channel number, controller is the Midi note, and value is the velocity.