Skip to content

Emit velocity as a raw value for all events#102

Open
pdillon wants to merge 1 commit intogrimmdude:masterfrom
pdillon:consistent-velocity
Open

Emit velocity as a raw value for all events#102
pdillon wants to merge 1 commit intogrimmdude:masterfrom
pdillon:consistent-velocity

Conversation

@pdillon
Copy link

@pdillon pdillon commented Nov 18, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant