Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save binki/a19bf55c21fe71b2775e957cdb69a53d to your computer and use it in GitHub Desktop.
Save binki/a19bf55c21fe71b2775e957cdb69a53d 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 < 16; 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