Mercurial > hg > movesynth
diff HeresyBigBangDone/application.macosx/source/VirtualPlayingArray.pde @ 50:f4c6999ecfe9 tip
added the files on my computer that aren't aiff s> these shoudl be everything for the big bang fair 2011 - heresy, and tim's file's also here
author | Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk> |
---|---|
date | Sat, 08 Oct 2011 22:12:49 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/HeresyBigBangDone/application.macosx/source/VirtualPlayingArray.pde Sat Oct 08 22:12:49 2011 +0100 @@ -0,0 +1,31 @@ +class VPArray{ // the virtual playing array for Heresy AI to play with + + VPNote[] VPArrayNotes; + + public VPArray(){ + VPArrayNotes = new VPNote[16]; + for (int i = 0; i < 16; i++) + VPArrayNotes[i] = new VPNote(); + } +} + +class VPNote{ + + boolean played; + boolean VPNoteOn; + boolean done; + int extension; + int VPNotePitch; + int VPNoteVelocity; + + public VPNote(){ + VPNoteOn = false; + played = true; + extension = 0; + VPNotePitch = 0; + VPNoteVelocity = 0; + } +} + + +