Instead of emitting a velocity as a percentage for specific cases, could the consumer handle the raw value as needed?
In my case, need the velocity set in the DAW before exporting MIDI to remain unchanged when handling the event and making decisions.
Based on this demo, the change shouldn't be a problem since the gain is calculated?
https://github.com/grimmdude/MidiPlayerJS/blob/master/demo/js/app.js#L75
Instead of emitting a velocity as a percentage for specific cases, could the consumer handle the raw value as needed? In my case, need the velocity set in the DAW before exporting MIDI to remain unchanged when handling the event and making decisions. Based on this demo, the change shouldn't be a problem since the gain is calculated? https://github.com/grimmdude/MidiPlayerJS/blob/master/demo/js/app.js#L75