示例#1
0
文件: Staff.java 项目: makyo/lywriter
  /** @param _instrument */
  public void setInstrument(Instrument _instrument) {
    instrument = _instrument;

    for (Voice v : voices) {
      if (v instanceof Voice) {
        v.setInstrument(instrument);
      }
    }
  }
示例#2
0
 public void voiceEvent(Voice arg0) {
   layer = arg0.getVoice();
 }