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
class MidiLoader { | |
/** | |
*loads a midi file from disk and stores all notes in a nested Array List, using the Helper class "Note" | |
* needs some cleanup though | |
*/ | |
ArrayList<ArrayList<Note>> tracks; | |
long maxTicks = 0; | |
final boolean DO_PRINT = false; | |
MidiLoader(String fileName) { |
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
PImage myImage; | |
void setup() { | |
size(400,300); | |
myImage = loadImage("image.jpg"); | |
} | |
void draw() { |
NewerOlder