Skip to content
Discussion options

You must be logged in to vote

Thank you very much for your quick response.
I found the solution to change the channel, which by default is channel 0.
Here's my code snippet:

 new NoteOnEvent(
     new Melanchall.DryWetMidi.Common.SevenBitNumber((byte)note), 
     new Melanchall.DryWetMidi.Common.SevenBitNumber((byte)Velocity)  
     )
 {Channel= new Melanchall.DryWetMidi.Common.FourBitNumber((Byte)Channel) }
 );

Now everything works perfectly.
Thank you.

Replies: 2 comments 1 reply

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

Answer selected by melanchall
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