Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@westrary
Created October 14, 2019 17:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save westrary/75d817c546c3002ab1d1f4905477e4e2 to your computer and use it in GitHub Desktop.
Save westrary/75d817c546c3002ab1d1f4905477e4e2 to your computer and use it in GitHub Desktop.
MIDI
void setup()
{
byte b[] = loadBytes("ih.mid");
for (int i = 0; i < b.length; i++)
{
if ((i % 10) == 0)
{
println();
}
String a = hex(b[i]);
print(a + " ");
}
println();
}
void draw()
{
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment