annotate 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
rev   line source
andrew@50 1 class VPArray{ // the virtual playing array for Heresy AI to play with
andrew@50 2
andrew@50 3 VPNote[] VPArrayNotes;
andrew@50 4
andrew@50 5 public VPArray(){
andrew@50 6 VPArrayNotes = new VPNote[16];
andrew@50 7 for (int i = 0; i < 16; i++)
andrew@50 8 VPArrayNotes[i] = new VPNote();
andrew@50 9 }
andrew@50 10 }
andrew@50 11
andrew@50 12 class VPNote{
andrew@50 13
andrew@50 14 boolean played;
andrew@50 15 boolean VPNoteOn;
andrew@50 16 boolean done;
andrew@50 17 int extension;
andrew@50 18 int VPNotePitch;
andrew@50 19 int VPNoteVelocity;
andrew@50 20
andrew@50 21 public VPNote(){
andrew@50 22 VPNoteOn = false;
andrew@50 23 played = true;
andrew@50 24 extension = 0;
andrew@50 25 VPNotePitch = 0;
andrew@50 26 VPNoteVelocity = 0;
andrew@50 27 }
andrew@50 28 }
andrew@50 29
andrew@50 30
andrew@50 31