예제 #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();
 }