Skip to content

Midi Thru#16

Open
earjuice wants to merge 3 commits into
brucelane:masterfrom
earjuice:master
Open

Midi Thru#16
earjuice wants to merge 3 commits into
brucelane:masterfrom
earjuice:master

Conversation

@earjuice

Copy link
Copy Markdown

I did this to forward the raw midi unsigned char to the midiOut low level sendMessage function. It works, but I'm not sure how stable it is... Perhaps there is a better way?

@brucelane

Copy link
Copy Markdown
Owner

@felixfaire could you like to have a look, please?
I'm currently busy on another project for 2 weeks...

@felixfaire

Copy link
Copy Markdown
Contributor

My only concern with this is that it posts 2 async functions to the ioservice for every callback instead 1. Which seems like overkill for what seems like quite a rare edge case.

If you think this is a valuable feature to others I might suggest adding another bool switch to enable raw midi instead of the midi message objects.

Ideally this would also work similar to (and alongside) mDispatchToMainThread so the user could specify whether they want raw messages and also which thread they want it to come from.

@brucelane

Copy link
Copy Markdown
Owner

yes, a boolean like mMidiThru would be the way

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.

3 participants