Skip to content

SEnding MIDI message command #240

Answered by melanchall
Bipman1 asked this question in Q&A
Feb 16, 2023 · 6 comments · 2 replies
Discussion options

You must be logged in to vote

Hi,

mapped to a specific MIDI number

Can you please clarify what do you mean? Are you talking about MIDI controller numbers (MIDI CC)? If yes, just try to send ControlChangeEvent like this:

_outputDevice.SendEvent(new ControlChangeEvent(
    (SevenBitNumber)controllerNumber,
    (SevenBitNumber)controllerValue) { Channel = (FourBitNumber)channel });

Set controllerNumber, controllerValue and channel to required values. Please note that channel in DryWetMIDI is a number from 0 to 15, not from 1 to 16.

Thanks,
Max

Replies: 6 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by melanchall
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@melanchall
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@melanchall
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Just question about the library
2 participants