fbpx
Skip to main content

MIDI Forum

MIDI 2.0 - Reading ...
 
Notifications
Clear all

MIDI 2.0 - Reading .mid file correctly

1 Posts
1 Users
0 Reactions
2,015 Views
Benoit
Posts: 1
New Member
Topic starter
 

Hello to all of you,

Since a few months now, I'm trying to decrypt a MIDI data to be able to play it on an external module.
First things first : I'm currently creating a custom giant-piano, and I'd like to add a midi-reading system on it to implement a learn-mode.
I've been able able to read a few MIDI files, mainly created by exporting MuseScore music sheets to MIDI files.
Today, I have a problem : In a MIDI file I have, I have a noteOn command which starts like this
[code type=markup]
00 90 53 50
00 58 50
81 6F 53 00
00 58 00
01 4C 50
81 6F 4C 00
01 4F 50
81 6F 4F 00
01 53 50
81 6F 53 00
01 58 50
81 6F 58 00
01 56 50
00 5A 50
81 6F 56 00
00 5A 00
01 54 50
00 58 50
00 5B 50
8B 1F 54 00
00 58 00
00 5B 00
[/code]
And I have a problem when I come to the '5B' data (which is the value of the note I want to start), as it also corresponds to an Effects Depth command...

Is there a way to know which kind of event it is ? NoteOn does not have any information to know when it stops...

Thank you very much to all of those who may help me, and sorry if my english is not totally correct (I'm not english native, so...)

 
Posted : 16/02/2020 4:38 am
Share: