Created
April 29, 2023 18:47
-
-
Save ashokc/bf072b9de15614d1e2a3665ebbb8d7fb to your computer and use it in GitHub Desktop.
Sample MIDI messages.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ "type": "set_tempo", "tempo": 600000, "time": 0}, # tick = 0.025 seconds, time is #ticks | |
... | |
... | |
{ "type": "note_on", "time": 0, "note": 60, "velocity": 127, "channel": 0}, # note 60 (Key C4) pressed down | |
{ "type": "note_on", "time": 18, "note": 60, "velocity": 0, "channel": 0}, # Release C4 after 18*0.025 sec | |
{ "type": "note_on", "time": 0, "note": 62, "velocity": 127, "channel": 0}, # Press D4 after 0 sec | |
{ "type": "note_on", "time": 6, "note": 62, "velocity": 0, "channel": 0}, | |
{ "type": "note_on", "time": 0, "note": 64, "velocity": 127, "channel": 0}, | |
{ "type": "note_on", "time": 12, "note": 64, "velocity": 0, "channel": 0}, | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment