Exemplo n.º 1
0
  /** @param _instrument */
  public void setInstrument(Instrument _instrument) {
    instrument = _instrument;

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