Quantcast
Channel: NAudio
Viewing all articles
Browse latest Browse all 5831

New Post: MIDI IN letters notes, insetad numbers?..... a big problem

$
0
0

I see exactly same problem with MIDI CC.

Example instead retrun value like this:

0 ControlChange Ch:10 Controller 1 Value 127

Righ now midievent report:       0 ControlChange Ch:10 Modulation Value 127

Modulation?

Really this not have sense, number value should be returned no words, for imformatve ropsoe show not letters and CC with names  is ok, but forwork with incoming midi signal this is a nightmare ; (

Please Mark can fix this for MIDI notes and MIDI CC?

 

The best way is add this:

e.MidiEvent.Channel , inform the chanel where midi is incoming
e.MidiEvent.Number , show number of MIDI note, or midi CC,

example, if mide note incoming is 126 should show:
NOTE126
is is midi CC 126, should show, CC126

Anyway, show number only is more than ok, if somebdoyneed indetificate kind of note can use e.MidiEvent

e.MidiEvent.Value  , value show the volume form 0 to 127 midi note or midi CC

e.MidiEvent.Port, this indicate number of port weher midi come, not 100% needed but usefull.
Best regards.


Viewing all articles
Browse latest Browse all 5831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>