Examples of emitProgramChange()


Examples of jrackattack.midi.MidiThread.emitProgramChange()

  private void nameFieldKeyPressed(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_nameFieldKeyPressed
// TODO add your handling code here:
    MidiThread mt=MidiThread.getInstance();
    String name=nameField.getText();
    for (int i=0;i<16&&i<name.length();i++) {
      mt.emitProgramChange(this,
        getProgramBuffer().getActiveProgramNumber(),
        RackAttack.PARAM_NAME_AH_AL[i],
        (byte)name.charAt(i));
    }
  }//GEN-LAST:event_nameFieldKeyPressed
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.