Share via

Problem using Midi with VBA application.

SERGIO MEDUGNO 1 Reputation point
2021-10-11T01:54:06.523+00:00

Problem using Midi with VBA application.

I Use

mlngMidiMsg = &H90 + (Vvelocity * &H100) + (Vnote * &H10000) + (Vch)

&H90 is for Note On (144)

Then

midiOutShortMsg mlngHmidi, mlngMidiMsg

If I increases Vch in 1 , the message for note on changes from 144 to 145... How come?
How to fix it?

Developer technologies | Visual Basic for Applications

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.