Mercurial > hg > movesynth
view HeresyBigBangDone/application.macosx/source/Track.java @ 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 source
class Track{ // the track class boolean polyphonic; int loopLength; int trackNumber; static int currentNumberOfTracks; boolean selected; NoteEvent[][] sequence; int quantize; boolean forceLegato; String name; boolean ducking; boolean cycled; int cycledPosition; boolean mute; boolean muteDone; int muteIn; public Track(String name, boolean polyphonic, int loopLength, int quantize, boolean forceLegato, boolean increment){ if (polyphonic) this.polyphonic = true; else this.polyphonic = false; this.name = name; this.ducking = false; this.cycled = true; this.forceLegato = forceLegato; this.quantize = quantize; this.loopLength = loopLength; if (increment) this.trackNumber = currentNumberOfTracks++; this.selected = false; this.mute = false; this.muteIn = 0; sequence = new NoteEvent[16][loopLength]; } }