javax.sound.midi
28 classes of the module java.desktop.
Load them with:
using {
"javax.sound.midi"
}
ControllerEventListener#
interface · javax.sound.midi.ControllerEventListener
Extends: EventListener
Methods
| Method | Ring call | Java overloads |
|---|---|---|
controlChange | controlChange(event) | void controlChange(ShortMessage event) |
Instrument#
abstract · extends SoundbankResource · javax.sound.midi.Instrument
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getPatch | getPatch() | Patch getPatch() |
The methods and fields of SoundbankResource are inherited.
InvalidMidiDataException#
class · extends Exception · javax.sound.midi.InvalidMidiDataException
Constructors
new InvalidMidiDataException() |
new InvalidMidiDataException(String message) |
Ring: new InvalidMidiDataException(args) uses the constructor with the fewest parameters (at least one); new InvalidMidiDataException makes the object with the constructor without parameters; the others: (new InvalidMidiDataException).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of Exception are inherited.
MetaEventListener#
interface · javax.sound.midi.MetaEventListener
Extends: EventListener
Methods
| Method | Ring call | Java overloads |
|---|---|---|
meta | meta(meta) | void meta(MetaMessage meta) |
MetaMessage#
class · extends MidiMessage · javax.sound.midi.MetaMessage
Constructors
new MetaMessage() |
new MetaMessage(int type, byte[] data, int length) |
Ring: new MetaMessage(args) uses the constructor with the fewest parameters (at least one); new MetaMessage makes the object with the constructor without parameters; the others: (new MetaMessage).@New([ :param = value ]) or .@New([v1,v2]).
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
META | int | constant · static | o.META |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getData | getData() | byte[] getData() |
getType | getType() | int getType() |
setMessage | setMessage(type,data,length) | void setMessage(int type, byte[] data, int length) |
The methods and fields of MidiMessage are inherited.
MidiChannel#
interface · javax.sound.midi.MidiChannel
Methods
| Method | Ring call | Java overloads |
|---|---|---|
allNotesOff | allNotesOff() | void allNotesOff() |
allSoundOff | allSoundOff() | void allSoundOff() |
controlChange | controlChange(controller,value) | void controlChange(int controller, int value) |
getChannelPressure | getChannelPressure() | int getChannelPressure() |
getController | getController(controller) | int getController(int controller) |
getMono | getMono() | boolean getMono() |
getMute | getMute() | boolean getMute() |
getOmni | getOmni() | boolean getOmni() |
getPitchBend | getPitchBend() | int getPitchBend() |
getPolyPressure | getPolyPressure(noteNumber) | int getPolyPressure(int noteNumber) |
getProgram | getProgram() | int getProgram() |
getSolo | getSolo() | boolean getSolo() |
localControl | localControl(on) | boolean localControl(boolean on) |
noteOff | noteOff(noteNumber)noteOff([noteNumber,velocity])noteOff([ :noteNumber = v, :velocity = v ]) | void noteOff(int noteNumber)void noteOff(int noteNumber, int velocity) |
noteOn | noteOn(noteNumber,velocity) | void noteOn(int noteNumber, int velocity) |
programChange | programChange(program)programChange([bank,program])programChange([ :bank = v, :program = v ]) | void programChange(int program)void programChange(int bank, int program) |
resetAllControllers | resetAllControllers() | void resetAllControllers() |
setChannelPressure | setChannelPressure(pressure) | void setChannelPressure(int pressure) |
setMono | setMono(on) | void setMono(boolean on) |
setMute | setMute(mute) | void setMute(boolean mute) |
setOmni | setOmni(on) | void setOmni(boolean on) |
setPitchBend | setPitchBend(bend) | void setPitchBend(int bend) |
setPolyPressure | setPolyPressure(noteNumber,pressure) | void setPolyPressure(int noteNumber, int pressure) |
setSolo | setSolo(soloState) | void setSolo(boolean soloState) |
MidiDevice#
interface · javax.sound.midi.MidiDevice
Extends: AutoCloseable
Methods
| Method | Ring call | Java overloads |
|---|---|---|
close | close() | void close() |
getDeviceInfo | getDeviceInfo() | Info getDeviceInfo() |
getMaxReceivers | getMaxReceivers() | int getMaxReceivers() |
getMaxTransmitters | getMaxTransmitters() | int getMaxTransmitters() |
getMicrosecondPosition | getMicrosecondPosition() | long getMicrosecondPosition() |
getReceiver | getReceiver() | Receiver getReceiver() |
getReceivers | getReceivers() | List getReceivers() |
getTransmitter | getTransmitter() | Transmitter getTransmitter() |
getTransmitters | getTransmitters() | List getTransmitters() |
isOpen | isOpen() | boolean isOpen() |
open | open() | void open() |
MidiDeviceInfo#
class · extends Object · javax.sound.midi.MidiDevice$Info
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getDescription | getDescription() | String getDescription() |
getName | getName() | String getName() |
getVendor | getVendor() | String getVendor() |
getVersion | getVersion() | String getVersion() |
The methods and fields of Object are inherited.
MidiDeviceReceiver#
interface · javax.sound.midi.MidiDeviceReceiver
Extends: Receiver
Methods
| Method | Ring call | Java overloads |
|---|---|---|
close | close() | void close() |
getMidiDevice | getMidiDevice() | MidiDevice getMidiDevice() |
send | send(message,timeStamp) | void send(MidiMessage message, long timeStamp) |
MidiDeviceTransmitter#
interface · javax.sound.midi.MidiDeviceTransmitter
Extends: Transmitter
Methods
| Method | Ring call | Java overloads |
|---|---|---|
close | close() | void close() |
getMidiDevice | getMidiDevice() | MidiDevice getMidiDevice() |
getReceiver | getReceiver() | Receiver getReceiver() |
setReceiver | setReceiver(receiver) | void setReceiver(Receiver receiver) |
MidiEvent#
class · extends Object · javax.sound.midi.MidiEvent
Constructors
new MidiEvent(MidiMessage message, long tick) |
Ring: new MidiEvent(args) uses the constructor with the fewest parameters (at least one); new MidiEvent makes the object with the constructor without parameters; the others: (new MidiEvent).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getMessage | getMessage() | MidiMessage getMessage() |
getTick | getTick() | long getTick() |
setTick | setTick(tick) | void setTick(long tick) |
The methods and fields of Object are inherited.
MidiFileFormat#
class · extends Object · javax.sound.midi.MidiFileFormat
Constructors
new MidiFileFormat(int type, float divisionType, int resolution, int bytes, long microseconds) |
new MidiFileFormat(int type, float divisionType, int resolution, int bytes, long microseconds, Map properties) |
Ring: new MidiFileFormat(args) uses the constructor with the fewest parameters (at least one); new MidiFileFormat makes the object with the constructor without parameters; the others: (new MidiFileFormat).@New([ :param = value ]) or .@New([v1,v2]).
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
UNKNOWN_LENGTH | int | constant · static | o.UNKNOWN_LENGTH |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getByteLength | getByteLength() | int getByteLength() |
getDivisionType | getDivisionType() | float getDivisionType() |
getMicrosecondLength | getMicrosecondLength() | long getMicrosecondLength() |
getProperty | getProperty(key) | Object getProperty(String key) |
getResolution | getResolution() | int getResolution() |
getType | getType() | int getType() |
properties | properties() | Map properties() |
The methods and fields of Object are inherited.
MidiMessage#
abstract · extends Object · javax.sound.midi.MidiMessage
MidiSystem#
class · extends Object · javax.sound.midi.MidiSystem
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@getMidiFileTypes | @getMidiFileTypes(sequence) | static int[] getMidiFileTypes(Sequence sequence) |
@getSequencer | @getSequencer(connected) | static Sequencer getSequencer(boolean connected) |
getMidiDevice | getMidiDevice(info) | static MidiDevice getMidiDevice(Info info) |
getMidiDeviceInfo | getMidiDeviceInfo() | static Info[] getMidiDeviceInfo() |
getMidiFileFormat | getMidiFileFormat(url) | static MidiFileFormat getMidiFileFormat(URL url)static MidiFileFormat getMidiFileFormat(File file)static MidiFileFormat getMidiFileFormat(InputStream stream) |
getMidiFileTypes | getMidiFileTypes() | static int[] getMidiFileTypes() |
getReceiver | getReceiver() | static Receiver getReceiver() |
getSequence | getSequence(stream) | static Sequence getSequence(InputStream stream)static Sequence getSequence(File file)static Sequence getSequence(URL url) |
getSequencer | getSequencer() | static Sequencer getSequencer() |
getSoundbank | getSoundbank(stream) | static Soundbank getSoundbank(InputStream stream)static Soundbank getSoundbank(File file)static Soundbank getSoundbank(URL url) |
getSynthesizer | getSynthesizer() | static Synthesizer getSynthesizer() |
getTransmitter | getTransmitter() | static Transmitter getTransmitter() |
isFileTypeSupported | isFileTypeSupported(fileType)isFileTypeSupported([fileType,sequence])isFileTypeSupported([ :fileType = v, :sequence = v ]) | static boolean isFileTypeSupported(int fileType)static boolean isFileTypeSupported(int fileType, Sequence sequence) |
write | write(in,fileType,out) | static int write(Sequence in, int fileType, OutputStream out)static int write(Sequence in, int type, File out) |
The methods and fields of Object are inherited.
MidiUnavailableException#
class · extends Exception · javax.sound.midi.MidiUnavailableException
Constructors
new MidiUnavailableException() |
new MidiUnavailableException(String message) |
Ring: new MidiUnavailableException(args) uses the constructor with the fewest parameters (at least one); new MidiUnavailableException makes the object with the constructor without parameters; the others: (new MidiUnavailableException).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of Exception are inherited.
Patch#
class · extends Object · javax.sound.midi.Patch
Constructors
new Patch(int bank, int program) |
Ring: new Patch(args) uses the constructor with the fewest parameters (at least one); new Patch makes the object with the constructor without parameters; the others: (new Patch).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getBank | getBank() | int getBank() |
getProgram | getProgram() | int getProgram() |
The methods and fields of Object are inherited.
Receiver#
interface · javax.sound.midi.Receiver
Extends: AutoCloseable
Methods
| Method | Ring call | Java overloads |
|---|---|---|
close | close() | void close() |
send | send(message,timeStamp) | void send(MidiMessage message, long timeStamp) |
Sequence#
class · extends Object · javax.sound.midi.Sequence
Constructors
new Sequence(float divisionType, int resolution) |
new Sequence(float divisionType, int resolution, int numTracks) |
Ring: new Sequence(args) uses the constructor with the fewest parameters (at least one); new Sequence makes the object with the constructor without parameters; the others: (new Sequence).@New([ :param = value ]) or .@New([v1,v2]).
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
PPQ | float | constant · static | o.PPQ |
SMPTE_24 | float | constant · static | o.SMPTE_24 |
SMPTE_25 | float | constant · static | o.SMPTE_25 |
SMPTE_30DROP | float | constant · static | o.SMPTE_30DROP |
SMPTE_30 | float | constant · static | o.SMPTE_30 |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
createTrack | createTrack() | Track createTrack() |
deleteTrack | deleteTrack(track) | boolean deleteTrack(Track track) |
getDivisionType | getDivisionType() | float getDivisionType() |
getMicrosecondLength | getMicrosecondLength() | long getMicrosecondLength() |
getPatchList | getPatchList() | Patch[] getPatchList() |
getResolution | getResolution() | int getResolution() |
getTickLength | getTickLength() | long getTickLength() |
getTracks | getTracks() | Track[] getTracks() |
The methods and fields of Object are inherited.
Sequencer#
interface · javax.sound.midi.Sequencer
Extends: MidiDevice
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
LOOP_CONTINUOUSLY | int | constant · static | o.LOOP_CONTINUOUSLY |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
addControllerEventListener | addControllerEventListener(listener,controllers) | int[] addControllerEventListener(ControllerEventListener listener, int[] controllers) |
addMetaEventListener | addMetaEventListener(listener) | boolean addMetaEventListener(MetaEventListener listener) |
close | close() | void close() |
getDeviceInfo | getDeviceInfo() | Info getDeviceInfo() |
getLoopCount | getLoopCount() | int getLoopCount() |
getLoopEndPoint | getLoopEndPoint() | long getLoopEndPoint() |
getLoopStartPoint | getLoopStartPoint() | long getLoopStartPoint() |
getMasterSyncMode | getMasterSyncMode() | SyncMode getMasterSyncMode() |
getMasterSyncModes | getMasterSyncModes() | SyncMode[] getMasterSyncModes() |
getMaxReceivers | getMaxReceivers() | int getMaxReceivers() |
getMaxTransmitters | getMaxTransmitters() | int getMaxTransmitters() |
getMicrosecondLength | getMicrosecondLength() | long getMicrosecondLength() |
getMicrosecondPosition | getMicrosecondPosition() | long getMicrosecondPosition() |
getReceiver | getReceiver() | Receiver getReceiver() |
getReceivers | getReceivers() | List getReceivers() |
getSequence | getSequence() | Sequence getSequence() |
getSlaveSyncMode | getSlaveSyncMode() | SyncMode getSlaveSyncMode() |
getSlaveSyncModes | getSlaveSyncModes() | SyncMode[] getSlaveSyncModes() |
getTempoFactor | getTempoFactor() | float getTempoFactor() |
getTempoInBPM | getTempoInBPM() | float getTempoInBPM() |
getTempoInMPQ | getTempoInMPQ() | float getTempoInMPQ() |
getTickLength | getTickLength() | long getTickLength() |
getTickPosition | getTickPosition() | long getTickPosition() |
getTrackMute | getTrackMute(track) | boolean getTrackMute(int track) |
getTrackSolo | getTrackSolo(track) | boolean getTrackSolo(int track) |
getTransmitter | getTransmitter() | Transmitter getTransmitter() |
getTransmitters | getTransmitters() | List getTransmitters() |
isOpen | isOpen() | boolean isOpen() |
isRecording | isRecording() | boolean isRecording() |
isRunning | isRunning() | boolean isRunning() |
open | open() | void open() |
recordDisable | recordDisable(track) | void recordDisable(Track track) |
recordEnable | recordEnable(track,channel) | void recordEnable(Track track, int channel) |
removeControllerEventListener | removeControllerEventListener(listener,controllers) | int[] removeControllerEventListener(ControllerEventListener listener, int[] controllers) |
removeMetaEventListener | removeMetaEventListener(listener) | void removeMetaEventListener(MetaEventListener listener) |
setLoopCount | setLoopCount(count) | void setLoopCount(int count) |
setLoopEndPoint | setLoopEndPoint(tick) | void setLoopEndPoint(long tick) |
setLoopStartPoint | setLoopStartPoint(tick) | void setLoopStartPoint(long tick) |
setMasterSyncMode | setMasterSyncMode(sync) | void setMasterSyncMode(SyncMode sync) |
setMicrosecondPosition | setMicrosecondPosition(microseconds) | void setMicrosecondPosition(long microseconds) |
setSequence | setSequence(sequence) | void setSequence(Sequence sequence)void setSequence(InputStream stream) |
setSlaveSyncMode | setSlaveSyncMode(sync) | void setSlaveSyncMode(SyncMode sync) |
setTempoFactor | setTempoFactor(factor) | void setTempoFactor(float factor) |
setTempoInBPM | setTempoInBPM(bpm) | void setTempoInBPM(float bpm) |
setTempoInMPQ | setTempoInMPQ(mpq) | void setTempoInMPQ(float mpq) |
setTickPosition | setTickPosition(tick) | void setTickPosition(long tick) |
setTrackMute | setTrackMute(track,mute) | void setTrackMute(int track, boolean mute) |
setTrackSolo | setTrackSolo(track,solo) | void setTrackSolo(int track, boolean solo) |
start | start() | void start() |
startRecording | startRecording() | void startRecording() |
stop | stop() | void stop() |
stopRecording | stopRecording() | void stopRecording() |
SequencerSyncMode#
class · extends Object · javax.sound.midi.Sequencer$SyncMode
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
INTERNAL_CLOCK | SyncMode | constant · static | o.INTERNAL_CLOCK |
MIDI_SYNC | SyncMode | constant · static | o.MIDI_SYNC |
MIDI_TIME_CODE | SyncMode | constant · static | o.MIDI_TIME_CODE |
NO_SYNC | SyncMode | constant · static | o.NO_SYNC |
The methods and fields of Object are inherited.
ShortMessage#
class · extends MidiMessage · javax.sound.midi.ShortMessage
Constructors
new ShortMessage() |
new ShortMessage(int status) |
new ShortMessage(int status, int data1, int data2) |
new ShortMessage(int command, int channel, int data1, int data2) |
Ring: new ShortMessage(args) uses the constructor with the fewest parameters (at least one); new ShortMessage makes the object with the constructor without parameters; the others: (new ShortMessage).@New([ :param = value ]) or .@New([v1,v2]).
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
MIDI_TIME_CODE | int | constant · static | o.MIDI_TIME_CODE |
SONG_POSITION_POINTER | int | constant · static | o.SONG_POSITION_POINTER |
SONG_SELECT | int | constant · static | o.SONG_SELECT |
TUNE_REQUEST | int | constant · static | o.TUNE_REQUEST |
END_OF_EXCLUSIVE | int | constant · static | o.END_OF_EXCLUSIVE |
TIMING_CLOCK | int | constant · static | o.TIMING_CLOCK |
START | int | constant · static | o.START |
CONTINUE | int | constant · static | o.@CONTINUE |
STOP | int | constant · static | o.STOP |
ACTIVE_SENSING | int | constant · static | o.ACTIVE_SENSING |
SYSTEM_RESET | int | constant · static | o.SYSTEM_RESET |
NOTE_OFF | int | constant · static | o.NOTE_OFF |
NOTE_ON | int | constant · static | o.NOTE_ON |
POLY_PRESSURE | int | constant · static | o.POLY_PRESSURE |
CONTROL_CHANGE | int | constant · static | o.CONTROL_CHANGE |
PROGRAM_CHANGE | int | constant · static | o.PROGRAM_CHANGE |
CHANNEL_PRESSURE | int | constant · static | o.CHANNEL_PRESSURE |
PITCH_BEND | int | constant · static | o.PITCH_BEND |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getChannel | getChannel() | int getChannel() |
getCommand | getCommand() | int getCommand() |
getData1 | getData1() | int getData1() |
getData2 | getData2() | int getData2() |
setMessage | setMessage(status)setMessage([status,data1,data2])setMessage([ :status = v, :data1 = v, :data2 = v ])setMessage([command,channel,data1,data2])setMessage([ :command = v, :channel = v, :data1 = v, :data2 = v ]) | void setMessage(int status)void setMessage(int status, int data1, int data2)void setMessage(int command, int channel, int data1, int data2) |
The methods and fields of MidiMessage are inherited.
Soundbank#
interface · javax.sound.midi.Soundbank
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getDescription | getDescription() | String getDescription() |
getInstrument | getInstrument(patch) | Instrument getInstrument(Patch patch) |
getInstruments | getInstruments() | Instrument[] getInstruments() |
getName | getName() | String getName() |
getResources | getResources() | SoundbankResource[] getResources() |
getVendor | getVendor() | String getVendor() |
getVersion | getVersion() | String getVersion() |
SoundbankResource#
abstract · extends Object · javax.sound.midi.SoundbankResource
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getData | getData() | Object getData() |
getDataClass | getDataClass() | Class getDataClass() |
getName | getName() | String getName() |
getSoundbank | getSoundbank() | Soundbank getSoundbank() |
The methods and fields of Object are inherited.
Synthesizer#
interface · javax.sound.midi.Synthesizer
Extends: MidiDevice
Methods
| Method | Ring call | Java overloads |
|---|---|---|
close | close() | void close() |
getAvailableInstruments | getAvailableInstruments() | Instrument[] getAvailableInstruments() |
getChannels | getChannels() | MidiChannel[] getChannels() |
getDefaultSoundbank | getDefaultSoundbank() | Soundbank getDefaultSoundbank() |
getDeviceInfo | getDeviceInfo() | Info getDeviceInfo() |
getLatency | getLatency() | long getLatency() |
getLoadedInstruments | getLoadedInstruments() | Instrument[] getLoadedInstruments() |
getMaxPolyphony | getMaxPolyphony() | int getMaxPolyphony() |
getMaxReceivers | getMaxReceivers() | int getMaxReceivers() |
getMaxTransmitters | getMaxTransmitters() | int getMaxTransmitters() |
getMicrosecondPosition | getMicrosecondPosition() | long getMicrosecondPosition() |
getReceiver | getReceiver() | Receiver getReceiver() |
getReceivers | getReceivers() | List getReceivers() |
getTransmitter | getTransmitter() | Transmitter getTransmitter() |
getTransmitters | getTransmitters() | List getTransmitters() |
getVoiceStatus | getVoiceStatus() | VoiceStatus[] getVoiceStatus() |
isOpen | isOpen() | boolean isOpen() |
isSoundbankSupported | isSoundbankSupported(soundbank) | boolean isSoundbankSupported(Soundbank soundbank) |
loadAllInstruments | loadAllInstruments(soundbank) | boolean loadAllInstruments(Soundbank soundbank) |
loadInstrument | loadInstrument(instrument) | boolean loadInstrument(Instrument instrument) |
loadInstruments | loadInstruments(soundbank,patchList) | boolean loadInstruments(Soundbank soundbank, Patch[] patchList) |
open | open() | void open() |
remapInstrument | remapInstrument(from,to) | boolean remapInstrument(Instrument from, Instrument to) |
unloadAllInstruments | unloadAllInstruments(soundbank) | void unloadAllInstruments(Soundbank soundbank) |
unloadInstrument | unloadInstrument(instrument) | void unloadInstrument(Instrument instrument) |
unloadInstruments | unloadInstruments(soundbank,patchList) | void unloadInstruments(Soundbank soundbank, Patch[] patchList) |
SysexMessage#
class · extends MidiMessage · javax.sound.midi.SysexMessage
Constructors
new SysexMessage() |
new SysexMessage(byte[] data, int length) |
new SysexMessage(int status, byte[] data, int length) |
Ring: new SysexMessage(args) uses the constructor with the fewest parameters (at least one); new SysexMessage makes the object with the constructor without parameters; the others: (new SysexMessage).@New([ :param = value ]) or .@New([v1,v2]).
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
SYSTEM_EXCLUSIVE | int | constant · static | o.SYSTEM_EXCLUSIVE |
SPECIAL_SYSTEM_EXCLUSIVE | int | constant · static | o.SPECIAL_SYSTEM_EXCLUSIVE |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getData | getData() | byte[] getData() |
setMessage | setMessage([data,length])setMessage([ :data = v, :length = v ])setMessage([status,data,length])setMessage([ :status = v, :data = v, :length = v ]) | void setMessage(byte[] data, int length)void setMessage(int status, byte[] data, int length) |
The methods and fields of MidiMessage are inherited.
Track#
class final · extends Object · javax.sound.midi.Track
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@get | @get(index) | MidiEvent get(int index) |
add | add(event) | boolean add(MidiEvent event) |
remove | remove(event) | boolean remove(MidiEvent event) |
size | size() | int size() |
ticks | ticks() | long ticks() |
The methods and fields of Object are inherited.
Transmitter#
interface · javax.sound.midi.Transmitter
Extends: AutoCloseable
Methods
| Method | Ring call | Java overloads |
|---|---|---|
close | close() | void close() |
getReceiver | getReceiver() | Receiver getReceiver() |
setReceiver | setReceiver(receiver) | void setReceiver(Receiver receiver) |
VoiceStatus#
class · extends Object · javax.sound.midi.VoiceStatus
Constructors
new VoiceStatus() |
Ring: new VoiceStatus(args) uses the constructor with the fewest parameters (at least one); new VoiceStatus makes the object with the constructor without parameters; the others: (new VoiceStatus).@New([ :param = value ]) or .@New([v1,v2]).
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
active | boolean | read, write | o.active o.active = v |
channel | int | read, write | o.channel o.channel = v |
bank | int | read, write | o.bank o.bank = v |
program | int | read, write | o.program o.program = v |
note | int | read, write | o.note o.note = v |
volume | int | read, write | o.volume o.volume = v |
The methods and fields of Object are inherited.