You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
542 B

5 years ago
void setData() {
5 years ago
5 years ago
5 years ago
swing = 50;
5 years ago
duration = int((60/float(bpm))*1000);
beat = 0;
5 years ago
5 years ago
//println(bpm);
5 years ago
//println(patternLabel);
5 years ago
5 years ago
/*
5 years ago
samples = new boolean[numTracks][divider];
for(int i=0; i<numTracks; i++) {
boolean[] tmp = new boolean[divider];
for(int x=0; x<divider; x++) {
tmp[x] = false;
}
5 years ago
samples[i] = tmp;
}*/
5 years ago
// Load sound files
file = new SoundFile[numSounds];
for (int i = 0; i < numSounds; i++) {
5 years ago
file[i] = new SoundFile(this, "BANK" + bank + "/" + (i+1) + ".wav");
5 years ago
}
}