Instrument currInst = (Instrument)inst.peek();
currInst.setBlock(false);
currInst.setFinished(true);
currInst.renderNote(new_note,((double)time+ntime));
currInst.setFinished(false);
currInst.iterateChain();
ntime += phrase_ratio * note.getRhythmValue();
}
System.out.println();
// remove phrase instrument from stack