API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.sound.midi. MidiChannel View Source
Author(s)
David Rivas
Kara Kytle
Since
Version
1.44, 11/17/05
Serial
Hierarchy
 MidiChannel
Subinterfaces
Description
public interface MidiChannel
  A MidiChannel object represents a single MIDI channel.
See also:    Synthesizer.getChannels()
Methods
Hide/Show inherited methods
public void allNotesOff ()
  Turns off all notes that are currently sounding on this channel.
public void allSoundOff ()
  Immediately turns off all sounding notes on this channel, ignoring the state of the Hold Pedal and the internal decay rate of the current Instrument.
public void controlChange (int controller, int value)
  Reacts to a change in the specified controller's value.
public int getChannelPressure ()
  Obtains the channel's keyboard pressure.
public int getController (int controller)
  Obtains the current value of the specified controller.
public boolean getMono ()
  Obtains the current mono/poly mode.
public boolean getMute ()
  Obtains the current mute state for this channel.
public boolean getOmni ()
  Obtains the current omni mode.
public int getPitchBend ()
  Obtains the upward or downward pitch offset for this channel.
public int getPolyPressure (int noteNumber)
  Obtains the pressure with which the specified key is being depressed.
public int getProgram ()
  Obtains the current program number for this channel.
public boolean getSolo ()
  Obtains the current solo state for this channel.
public boolean localControl (boolean on)
  Turns local control on or off.
public void noteOff (int noteNumber)
  Turns the specified note off.
public void noteOff (int noteNumber, int velocity)
  Turns the specified note off.
public void noteOn (int noteNumber, int velocity)
  Starts the specified note sounding.
public void programChange (int program)
  Changes a program (patch).
public void programChange (int bank, int program)
  Changes the program using bank and program (patch) numbers.
public void resetAllControllers ()
  Resets all the implemented controllers to their default values.
public void setChannelPressure (int pressure)
  Reacts to a change in the keyboard pressure.
public void setMono (boolean on)
  Turns mono mode on or off.
public void setMute (boolean mute)
  Sets the mute state for this channel.
public void setOmni (boolean on)
  Turns omni mode on or off.
public void setPitchBend (int bend)
  Changes the pitch offset for all notes on this channel.
public void setPolyPressure (int noteNumber, int pressure)
  Reacts to a change in the specified note's key pressure.
public void setSolo (boolean soloState)
  Sets the solo state for this channel.
Fields
Hide/Show inherited fields
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar