1 7 8 package javax.sound.midi; 9 10 11 49 50 public interface MidiChannel { 51 52 63 public void noteOn(int noteNumber, int velocity); 64 65 84 public void noteOff(int noteNumber, int velocity); 85 86 93 public void noteOff(int noteNumber); 94 95 114 public void setPolyPressure(int noteNumber, int pressure); 115 116 130 public int getPolyPressure(int noteNumber); 131 132 152 public void setChannelPressure(int pressure); 153 154 165 public int getChannelPressure(); 166 167 214 public void controlChange(int controller, int value); 215 216 237 public int getController(int controller); 238 239 262 public void programChange(int program); 263 264 285 public void programChange(int bank, int program); 286 287 294 public int getProgram(); 295 296 320 public void setPitchBend(int bend); 321 322 332 public int getPitchBend(); 333 334 339 public void resetAllControllers(); 340 341 353 public void allNotesOff(); 354 355 362 public void allSoundOff(); 363 364 385 public boolean localControl(boolean on); 386 387 410 public void setMono(boolean on); 411 412 422 public boolean getMono(); 423 424 441 public void setOmni(boolean on); 442 443 453 public boolean getOmni(); 454 455 475 public void setMute(boolean mute); 476 477 488 public boolean getMute(); 489 490 506 public void setSolo(boolean soloState); 507 508 519 public boolean getSolo(); 520 } 521 | Popular Tags |