Skip to content

Mixing BLE and Hardware MIDI, MID thru? #91

Closed Answered by lukewakeford
lukewakeford asked this question in Q&A
Discussion options

You must be logged in to vote

Ok so I found an example here, for merging sources like this we can just forward messages to another instance

if (midiA.read())
{
    // Thru on A has already pushed the input message to out A.
    // Forward the message to out B as well.
    midiB.send(midiA.getType(),
               midiA.getData1(),
               midiA.getData2(),
               midiA.getChannel());
}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lukewakeford
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant