Previous  Next          Package

Interface MIDICompose.Channelable

public interface Channelable

All instances that are Channelable have a MIDI-channel that can be read or set by the Channelable-methods.

Method Index

 o channel()
Returns current MIDI-channel
 o setChannel(int)
Sets MIDI-channel

Methods

 o channel
 public abstract int channel()
Returns the current MIDI-channel.

Returns:
an int between 0 and 15 (CHAN_1...CHAN_16).
 o setChannel
 public abstract void setChannel(int channel)
Sets the current MIDI-channel.

Parameters:
channel - a value between 0 and 15 (CHAN_1...CHAN_16).

 Previous  Next          Package