use of blue.soundObject.jmask.Field in project blue by kunstmusik.
the class JMask method generateNotes.
public NoteList generateNotes(double renderStart, double renderEnd) throws SoundObjectException {
Field temp = new Field(field);
Random rnd = seedUsed ? new Random(seed) : new Random();
NoteList nl = temp.generateNotes(this.getSubjectiveDuration(), rnd);
try {
ScoreUtilities.applyNoteProcessorChain(nl, this.npc);
} catch (NoteProcessorException e) {
throw new SoundObjectException(this, e);
}
ScoreUtilities.applyTimeBehavior(nl, this.getTimeBehavior(), this.getSubjectiveDuration(), this.getRepeatPoint());
ScoreUtilities.setScoreStart(nl, startTime);
return nl;
}
Aggregations