Mercurial > hg > movesynth
view HeresyBigBangDone/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 | 70dc11487078 |
children |
line wrap: on
line source
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; } }