Please enable JavaScript.
Coggle requires JavaScript to display documents.
MIDI DECODING SCRIPT, Account for running status, Account for variable…
MIDI DECODING SCRIPT
Recompile File
Group raw data into tracks
Group tracks into events
Group events into elements
Delta Time
RECURSIVE
Variable Length Quantity
Index Position
Event Type
Event ID
Meta Event ID
Index Position
Data Bytes
Event ID
Index Position
Read header chunk
Output File
Header
Time Sig
Key Sig
Tempo
BPM
Raw
Data
Event Type
Time Since Start
Meta Event Type
Data in correct format
Note
Integer
Text
String
Deconstruct File
Use struct to return raw data of midi file
Account for running status
Account for variable length quantity