This XML file should only be used for documentation purposes.
0
MidiChannel
MidiChannel
Initialize
Initializes the object. You can add parameters to this method if needed.
SetObject
Class is a subclass with no constructor, we need to set the object on which JavaObject will operate.
Target
JavaObject
AllNotesOff
Turns off all notes that are currently sounding on this channel.
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.
ControlChange
Reacts to a change in the specified controller's value.
Controller
Int
Value
Int
GetChannelPressure
Obtains the channel's keyboard pressure.
Int
GetController
Obtains the current value of the specified controller.
Int
Controller
Int
GetMono
Obtains the current mono/poly mode.
Boolean
GetMute
Obtains the current mute state for this channel.
Boolean
GetOmni
Obtains the current omni mode.
Boolean
GetPitchBend
Obtains the upward or downward pitch offset for this channel.
Int
GetPolyPressure
Obtains the pressure with which the specified key is being depressed.
Int
NoteNumber
Int
GetProgram
Obtains the current program number for this channel.
Int
GetSolo
Obtains the current solo state for this channel.
Boolean
LocalControl
Turns local control on or off.
Boolean
On
Boolean
NoteOff
Turns the specified note off.
NoteNumber
Int
NoteOff2
Turns the specified note off.
NoteNumber
Int
Velocity
Int
NoteOn
Starts the specified note sounding.
NoteNumber
Int
Velocity
Int
ProgramChange
Changes a program (patch).
Program
Int
ProgramChange2
Changes the program using bank and program (patch) numbers.
Bank
Int
Program
Int
ResetAllControllers
Resets all the implemented controllers to their default values.
SetChannelPressure
Reacts to a change in the keyboard pressure.
Pressure
Int
SetMono
Turns mono mode on or off.
On
Boolean
SetMute
Sets the mute state for this channel.
Mute
Boolean
SetOmni
Turns omni mode on or off.
On
Boolean
SetPitchBend
Changes the pitch offset for all notes on this channel.
Bend
Int
SetPolyPressure
Reacts to a change in the specified note's key pressure.
NoteNumber
Int
Pressure
Int
SetSolo
Sets the solo state for this channel.
SoloState
Boolean
GetObject
Get the unwrapped object
Object
GetObjectJO
Get the unwrapped object As a JavaObject
JavaObject
SetTag
Set the Tag for this object
Tag
Object
GetTag
Get the Tag for this object
Object
MidiDevice
MidiDevice
Initialize
Initializes the object. You can add parameters to this method if needed.
AsSynthesizer
MidiSoundbank
Close
Closes the device, indicating that the device should now release any system resources it is using.
GetDeviceInfo
Obtains information about the device, including its Java class and Strings containing its name, vendor, and description.
MidiDeviceInfo
GetMaxReceivers
Obtains the maximum number of MIDI IN connections available on this MIDI device for receiving MIDI data.
Int
GetMaxTransmitters
Obtains the maximum number of MIDI OUT connections available on this MIDI device for transmitting MIDI data.
Int
GetMicrosecondPosition
Obtains the current time-stamp of the device, in microseconds.
Long
GetReceiver
Obtains a MIDI IN receiver through which the MIDI device may receive MIDI data.
MidiReceiver
GetReceivers
Returns all currently active, non-closed receivers connected with this MidiDevice.
List
GetTransmitter
Obtains a MIDI OUT connection from which the MIDI device will transmit MIDI data The returned transmitter must be closed when the application has finished using it.
MidiTransmitter
GetTransmitters
Returns all currently active, non-closed transmitters connected with this MidiDevice.
List
IsOpen
Reports whether the device is open.
Boolean
Open
Opens the device, indicating that it should now acquire any system resources it requires and become operational.
GetObject
Get the unwrapped object
Object
GetObjectJO
Get the unwrapped object As a JavaObject
JavaObject
SetObject
Set the underlying Object, must be of correct type
Obj
Object
SetTag
Set the Tag for this object
Tag
Object
GetTag
Get the Tag for this object
Object
IsSynthesizer
Boolean
IsSequencer
Boolean
IsTransmitter
Boolean
IsReceiver
Boolean
MidiDeviceInfo
MidiDeviceInfo
Initialize
Initializes the object. You can add parameters to this method if needed.
SetObject
Class is a subclass with no constructor, we need to set the object on which JavaObject will operate.
Target
JavaObject
Equals
Reports whether two objects are equal.
Boolean
MDI
MidiDeviceInfo
GetDescription
Obtains the description of the device.
String
GetName
Obtains the name of the device.
String
GetVendor
Obtains the name of the company who supplies the device.
String
GetVersion
Obtains the version of the device.
String
HashCode
Finalizes the hashcode method.
Int
ToString
Provides a string representation of the device information.
String
GetObject
Get the unwrapped object
Object
GetObjectJO
Get the unwrapped object As a JavaObject
JavaObject
SetTag
Set the Tag for this object
Tag
Object
GetTag
Get the Tag for this object
Object
MidiEvent
MidiEvent
Initialize
Initializes the object. You can add parameters to this method if needed.
MidiEvent
CreateSysex
Constructs a new MidiEvent for sysex Message.
Message
MidiSysexMessage
Tick
Long
CreateMeta
Constructs a new MidiEvent for sysex Message.
Message
MidiMetaMessage
Tick
Long
CreateShort
Constructs a new MidiEvent for Short Message.
Message
MidiShortMessage
Tick
Long
CreateShort2
Constructs a new MidiEvent With a Short Message.
Status
Int
Data1
Int
Data2
Int
Tick
Long
GetMessage
Obtains the MIDI message contained in the event.
MidiMessage
GetTick
Obtains the time-stamp for the event, in MIDI ticks
Long
SetTick
Sets the time-stamp for the event, in MIDI ticks
Tick
Long
GetObject
Get the unwrapped object
Object
GetObjectJO
Get the unwrapped object As a JavaObject
JavaObject
SetObject
Set the underlying Object, must be of correct type
Obj
Object
SetTag
Set the Tag for this object
Tag
Object
GetTag
Get the Tag for this object
Object
MidiEventBuilder
MidiEventBuilder
TempoEvent
Create tempo Midi Event
MidiEvent
BPM
Float
Tick
Long
TextEvent
Create Text Midi Event
MidiEvent
Text
String
Tick
Long
CuepointEvent
Create Cuepoit Midi Event
MidiEvent
Text
String
Tick
Long
Lyric
Create Lyric Midi Event
MidiEvent
Text
String
Tick
Long
TrackNameEvent
Create Track Name Midi Event
MidiEvent
TrackName
String
Tick
Long
NoteOn
MidiEvent
Channel
Int
Note
Int
Velocity
Int
Tick
Long
WrapNativeEvent
MidiEvent
Event
Object
WrapShortMessage
MidiShortMessage
Msg
Object
NoteOff
MidiEvent
Channel
Int
Note
Int
Tick
Long
ProgramChangeEvent
MidiEvent
Channel
Int
Program
Int
Tick
Long
Sysex
MidiEvent
B
Byte
Tick
Long
EndOfTrack
MidiEvent
Tick
Long
MidiEventStatic
MidiEventStatic
TempoEvent
Helper sub to create tempo Midi Event
MidiEvent
BPM
Int
Tick
Long
TrackNameEvent
Helper sub to create Track Name Midi Event
MidiEvent
TrackName
String
Tick
Long
MidiFileFormat
MidiFileFormat
Initialize
Initializes the object. You can add parameters to this method if needed.
Create
Constructs a MidiFileFormat.
TType
Int
DivisionType
Float
Resolution
Int
Bytes
Int
Microseconds
Long
Create2
Construct a MidiFileFormat with a set of properties.
TType
Int
DivisionType
Float
Resolution
Int
Bytes
Int
Microseconds
Long
ThisProperties
Map
GetByteLength
Obtains the length of the MIDI file, expressed in 8-bit bytes.
Int
GetDivisionType
Obtains the timing division type for the MIDI file.
Float
GetMicrosecondLength
Obtains the length of the MIDI file, expressed in microseconds.
Long
GetProperty
Obtain the property value specified by the key.
Object
Key
String
GetResolution
Obtains the timing resolution for the MIDI file.
Int
GetType_
Obtains the MIDI file type.
Int
Properties
Obtain an unmodifiable map of properties.
Map
GetObject
Get the unwrapped object
Object
GetObjectJO
Get the unwrapped object As a JavaObject
JavaObject
SetObject
Set the underlying Object, must be of correct type
Obj
Object
SetTag
Set the Tag for this object
Tag
Object
GetTag
Get the Tag for this object
Object
MidiInstrument
MidiInstrument
Initialize
Initializes the object. You can add parameters to this method if needed.
SetObject
Class is a subclass with no constructor, we need to set the object on which JavaObject will operate.
Target
JavaObject
GetPatch
Obtains the Patch object that indicates the bank and program numbers where this instrument is to be stored in the synthesizer.
MidiPatch
GetData
Obtains the sampled audio that is stored in this SoundbankResource.
Object
GetDataClass
Obtains the class used by this sample to represent its data.
JavaObject
GetName
Obtains the name of the resource.
String
GetSoundbank
Obtains the sound bank that contains this SoundbankResource.
MidiSoundbank
GetObject
Get the unwrapped object
Object
GetObjectJO
Get the unwrapped object As a JavaObject
JavaObject
SetTag
Set the Tag for this object
Tag
Object
GetTag
Get the Tag for this object
Object
MidiListenerClass
MidiListenerClass
Initialize
Callback
Object
EventName
String
Callback
Object
EventName
String
MidiMessage
MidiMessage
Initialize
Initializes the object. You can add parameters to this method if needed.
Clone
Creates a new object of the same class and with the same contents as this object.
Object
GetLength
Obtains the total length of the MIDI message in bytes.
Int
GetMessage
Obtains the MIDI message data.
Byte()
GetStatus
Obtains the status byte for the MIDI message.
Int
GetTypeName
String
SetMessage
Sets the data for the MIDI message.
bdata
Byte
ThisLength
Int
GetObject
Get the unwrapped object
Object
GetObjectJO
Get the unwrapped object As a JavaObject
JavaObject
SetObject
Set the underlying Object, must be of correct type
Obj
Object
SetTag
Set the Tag for this object
Tag
Object
GetTag
Get the Tag for this object
Object
IsShortMessage
Boolean
AsShortMessage
MidiShortMessage
IsMidiMetaMessage
Boolean
AsMidiMetaMessage
MidiMetaMessage
IsSysexMessage
Boolean
AsSysexMessage
MidiSysexMessage
MidiMessageBuilder
MidiMessageBuilder
NoteOn
MidiShortMessage
Channel
Int
Note
Int
Velocity
Int
WrapMidiShortMessage
MidiShortMessage
Msg
Object
NoteOff
MidiShortMessage
Channel
Int
Note
Int
ProgramChangeEvent
MidiShortMessage
Channel
Int
Program
Int
Tick
Long
MidiMessage_Static
MidiMessage_Static
Clone
Creates a new object of the same class and with the same contents as this object.
Object
Msg
JavaObject
GetLength
Obtains the total length of the MIDI message in bytes.
Int
Msg
JavaObject
GetMessage
Obtains the MIDI message data.
Byte()
Msg
JavaObject
GetStatus
Obtains the status byte for the MIDI message.
Int
Msg
JavaObject
SetMessage
Sets the data for the MIDI message.
Msg
JavaObject
bdata
Byte
ThisLength
Int
GetTypeName
String
Msg
Object
MidiMetaMessage
MidiMetaMessage
Initialize
Initializes the object. You can add parameters to this method if needed.
Create
Constructs a new MidiMetaMessage.
Create2
Constructs a new MidiMetaMessage and sets the message parameters.
TType
Int
Data
Byte
Length
Int
AsJavaObject
Returns the wrapped object as JavaObject
JavaObject
GetObject
Returns the wrapped object as Object
Object
Clone
Creates a new object of the same class and with the same contents as this object.
Object
Create3
Constructs a new MidiMetaMessage and sets the message parameters.
ThisType
Int
Msg
String
Encoding
String
GetData
Obtains a copy of the data for the meta message.
Byte()
GetLength
Obtains the total length of the MIDI message in bytes.
Int
GetMessage
Obtains the MIDI message data.
Byte()
GetStatus
Obtains the status byte for the MIDI message.
Int
GetType_
Obtains the type of the MidiMetaMessage.
Int
GetTypeName
String
GetMetaText
String
Encoding
String
SetMessage
Sets the message parameters for a MidiMetaMessage.
TType
Int
Data
Byte
Length
Int
SetMetaText
Text
String
Encoding
String
SetObject
Comment if not needed
Set the underlying Object, must be of correct type
Obj
Object
SetTag
Set the Tag for this object
Tag
Object
GetTag
Get the Tag for this object
Object
MidiMetaMessage_Static
MidiMetaMessage_Static
Initialize
Initializes the object. You can add parameters to this method if needed.
TempoMsg
Helper sub to create tempo Meta Message
MidiMetaMessage
BPM
Int
EOTMsg
Helper sub to create End of Track Meta Message
MidiMetaMessage
GetTypeName
String
MMSg
MidiMetaMessage
META
Constants / Fields are defined here and initialized in Sub UpdateConstants
Status byte for MidiMetaMessage (0xFF, or 255), which is used in MIDI files.
Int
MidiPatch
MidiPatch
Initialize
Initializes the object. You can add parameters to this method if needed.
Create
Constructs a new patch object from the specified bank and program numbers.
Bank
Int
Program
Int
GetBank
Returns the number of the bank that contains the instrument whose location this Patch specifies.
Int
GetProgram
Returns the index, within a bank, of the instrument whose location this Patch specifies.
Int
GetObject
Get the unwrapped object
Object
GetObjectJO
Get the unwrapped object As a JavaObject
JavaObject
SetObject
Set the underlying Object, must be of correct type
Obj
Object
SetTag
Set the Tag for this object
Tag
Object
GetTag
Get the Tag for this object
Object
MidiReceiver
MidiReceiver
Initialize
Initializes the object. You can add parameters to this method if needed.
Close
Indicates that the application has finished using the receiver, and that limited resources it requires may be released or made available.
Send
Sends a MIDI message and time-stamp to this receiver.
Message
Object
TimeStamp
Long
GetObject
Get the unwrapped object
Object
GetObjectJO
Get the unwrapped object As a JavaObject
JavaObject
SetObject
Set the underlying Object, must be of correct type
Obj
Object
SetTag
Set the Tag for this object
Tag
Object
GetTag
Get the Tag for this object
Object
MidiSequence
MidiSequence
Initialize
Initializes the object. You can add parameters to this method if needed.
Create
Constructs a new MIDI sequence with the specified timing division type and timing resolution.
divType
Float
ThisResolution
Int
Create2
Constructs a new MIDI sequence with the specified timing division type, timing resolution, and number of tracks.
divType
Float
ThisResolution
Int
NumTracks
Int
CreateTrack
Creates a new, initially empty track as part of this sequence.
MidiTrack
DeleteTrack
Removes the specified track from the sequence.
Boolean
ThisTrack
MidiTrack
GetDivisionType
Obtains the timing division type for this sequence.
Float
GetMicrosecondLength
Obtains the duration of this sequence, expressed in microseconds.
Long
GetPatchList
Obtains a list of patches referenced in this sequence.
List
GetResolution
Obtains the timing resolution for this sequence.
Int
GetTickLength
Obtains the duration of this sequence, expressed in MIDI ticks.
Long
GetTracks
Obtains an array containing all the tracks in this sequence.
MidiTrack()
GetObject
Get the unwrapped object
Object
GetObjectJO
Get the unwrapped object As a JavaObject
JavaObject
SetObject
Set the underlying Object, must be of correct type
Obj
Object
SetTag
Set the Tag for this object
Tag
Object
GetTag
Get the Tag for this object
Object
MidiSequencer
MidiSequencer
MetaEvent(Msg As MidiMetaMessage)
ControllerEvent(Msg As MidiShortMessage)
Initialize
Initializes the object. You can add parameters to this method if needed.
AddControllerEventListener
Registers a meta-event listener to receive notification whenever a meta-event is encountered in the sequence and processed by the sequencer.
Object
Module
Object
EventName
String
RemoveControlListener
Removes a controller event listener's interest in one or more types of controller event.
Boolean
Module
Object
EventName
String
AddMetaEventListener
Registers a meta-event listener to receive notification whenever a meta-event is encountered in the sequence and processed by the sequencer.
Module
Object
EventName
String
RemoveMetaListener
Removes the specified meta-event listener from this sequencer's list of registered listeners, if in fact the listener is registered.
Boolean
Module
Object
EventName
String
GetLoopCount
Obtains the number of repetitions for playback.
Int
GetLoopEndPoint
Obtains the end position of the loop, in MIDI ticks.
Long
GetLoopStartPoint
Obtains the start position of the loop, in MIDI ticks.
Long
GetMasterSyncMode
Obtains the current master synchronization mode for this sequencer.
JavaObject
GetMasterSyncModes
Obtains the set of master synchronization modes supported by this sequencer.
JavaObject
GetMicrosecondLength
Obtains the length of the current sequence, expressed in microseconds, or 0 if no sequence is set.
Long
GetMicrosecondPosition
Obtains the current position in the sequence, expressed in microseconds.
Long
GetSequence
Obtains the sequence on which the Sequencer is currently operating.
MidiSequence
GetSlaveSyncMode
Obtains the current slave synchronization mode for this sequencer.
JavaObject
GetSlaveSyncModes
Obtains the set of slave synchronization modes supported by the sequencer.
JavaObject
GetTempoFactor
Returns the current tempo factor for the sequencer.
Float
GetTempoInBPM
Obtains the current tempo, expressed in beats per minute.
Float
GetTempoInMPQ
Obtains the current tempo, expressed in microseconds per quarter note.
Float
GetTickLength
Obtains the length of the current sequence, expressed in MIDI ticks, or 0 if no sequence is set.
Long
GetTickPosition
Obtains the current position in the sequence, expressed in MIDI ticks.
Long
GetTrackMute
Obtains the current mute state for a track.
Boolean
T
Int
GetTrackSolo
Obtains the current solo state for a track.
Boolean
T
Int
IsRecording
Indicates whether the Sequencer is currently recording.
Boolean
IsRunning
Indicates whether the Sequencer is currently running.
Boolean
RecordDisable
Disables recording to the specified track.
T
MidiTrack
RecordEnable
Prepares the specified track for recording events received on a particular channel.
T
MidiTrack
Channel
Int
SetLoopCount
Sets the number of repetitions of the loop for playback.
Count
Int
SetLoopEndPoint
Sets the last MIDI tick that will be played in the loop.
Tick
Long
SetLoopStartPoint
Sets the first MIDI tick that will be played in the loop.
Tick
Long
SetMasterSyncMode
Sets the source of timing information used by this sequencer.
Sync
JavaObject
SetMicrosecondPosition
Sets the current position in the sequence, expressed in microseconds
Microseconds
Long
SetSequence
Sets the current sequence on which the sequencer operates.
Stream
InputStream
SetSequence2
Sets the current sequence on which the sequencer operates.
S
MidiSequence
SetSlaveSyncMode
Sets the slave synchronization mode for the sequencer.
Sync
JavaObject
SetTempoFactor
Scales the sequencer's actual playback tempo by the factor provided.
Factor
Float
SetTempoInBPM
Sets the tempo in beats per minute.
Bpm
Float
SetTempoInMPQ
Sets the tempo in microseconds per quarter note.
Mpq
Float
SetTickPosition
Sets the current sequencer position in MIDI ticks
Tick
Long
SetTrackMute
Sets the mute state for a track.
T
Int
Mute
Boolean
SetTrackSolo
Sets the solo state for a track.
T
Int
Solo
Boolean
Start
Starts playback of the MIDI data in the currently loaded sequence.
StartRecording
Starts recording and playback of MIDI data.
Stop
Stops recording, if active, and playback of the currently loaded sequence, if any.
StopRecording
Stops recording, if active.
GetObject
Get the unwrapped object
Object
GetObjectJO
Get the unwrapped object As a JavaObject
JavaObject
SetObject
Set the underlying Object, must be of correct type
Obj
Object
Close
Closes the device, indicating that the device should now release any system resources it is using.
GetDeviceInfo
Obtains information about the device, including its Java class and Strings containing its name, vendor, and description.
JavaObject
GetMaxReceivers
Obtains the maximum number of MIDI IN connections available on this MIDI device for receiving MIDI data.
Int
GetMaxTransmitters
Obtains the maximum number of MIDI OUT connections available on this MIDI device for transmitting MIDI data.
Int
GetReceiver
Obtains a MIDI IN receiver through which the MIDI device may receive MIDI data.
MidiReceiver
GetReceivers
Returns all currently active, non-closed receivers connected with this MidiDevice.
List
GetTransmitter
Obtains a MIDI OUT connection from which the MIDI device will transmit MIDI data The returned transmitter must be closed when the application has finished using it.
MidiTransmitter
GetTransmitters
Returns all currently active, non-closed transmitters connected with this MidiDevice.
List
IsOpen
Reports whether the device is open.
Boolean
Open
Opens the device, indicating that it should now acquire any system resources it requires and become operational.
Tag
Set the Tag for this object
Tag
Object
MidiSequence_Static
MidiSequence_Static
Initialize
Initializes the object. You can add parameters to this method if needed.
PPQ
Constants / Fields are defined here and initialized in Sub UpdateConstants
The tempo-based timing type, for which the resolution is expressed in pulses (ticks) per quarter note.
Float
SMPTE_24
The SMPTE-based timing type with 24 frames per second (resolution is expressed in ticks per frame).
Float
SMPTE_25
The SMPTE-based timing type with 25 frames per second (resolution is expressed in ticks per frame).
Float
SMPTE_30
The SMPTE-based timing type with 30 frames per second (resolution is expressed in ticks per frame).
Float
SMPTE_30DROP
The SMPTE-based timing type with 29.97 frames per second (resolution is expressed in ticks per frame).
Float
MidiShortMessage
MidiShortMessage
Initialize
Initializes the object. You can add parameters to this method if needed.
CreateEmpty
Constructs a new Empty MidiShortMessage.
CreateStatus
Constructs a new MidiShortMessage which represents a MIDI message that takes no data bytes.
Status
Int
Create1Byte
Constructs a new MidiShortMessage which represents a MIDI message that takes one data bytes.
Status
Int
Data1
Int
Create2Bytes
Constructs a new MidiShortMessage which represents a MIDI message that takes two data bytes.
Status
Int
Data1
Int
Data2
Int
Create3
Constructs a new MidiShortMessage which represents a channel MIDI message that takes one data bytes.
Command
Int
Channel
Int
Data1
Int
Create4
Constructs a new MidiShortMessage which represents a channel MIDI message that takes up to two data bytes.
Command
Int
Channel
Int
Data1
Int
Data2
Int
Clone
Creates a new object of the same class and with the same contents as this object.
Object
GetChannel
Obtains the MIDI channel associated with this event.
Int
GetCommand
Obtains the MIDI command associated with this event.
Int
GetData1
Obtains the first data byte in the message.
Int
GetData2
Obtains the second data byte in the message.
Int
SetMessage
Sets the parameters for a MIDI message that takes no data bytes.
Status
Int
SetMessage2
Sets the parameters for a MIDI message that takes one or two data bytes.
Status
Int
Data1
Int
Data2
Int
SetMessage3
Sets the short message parameters for a channel message which takes up to two data bytes.
Command
Int
Channel
Int
Data1
Int
Data2
Int
GetLength
Obtains the total length of the MIDI message in bytes.
Int
GetMessage
Obtains the MIDI message data.
Byte()
GetStatus
Obtains the status byte for the MIDI message.
Int
GetTypeName
String
GetObject
Get the unwrapped object
Object
GetObjectJO
Get the unwrapped object As a JavaObject
JavaObject
SetObject
Set the underlying Object, must be of correct type
Obj
Object
SetTag
Set the Tag for this object
Tag
Object
GetTag
Get the Tag for this object
Object
MidiSoundbank
MidiSoundbank
Initialize
Initializes the object. You can add parameters to this method if needed.
GetDescription
Obtains a textual description of the sound bank, suitable for display.
String
GetInstrument
Obtains an Instrument from the given Patch.
MidiInstrument
TPatch
MidiPatch
GetInstruments
Obtains a list of instruments contained in this sound bank.
MidiInstrument()
GetName
Obtains the name of the sound bank.
String
GetResources
Extracts a list of non-Instrument resources contained in the sound bank.
JavaObject
GetVendor
Obtains a string naming the company that provides the sound bank
String
GetVersion
Obtains the version string for the sound bank.
String
GetObject
Get the unwrapped object
Object
GetObjectJO
Get the unwrapped object As a JavaObject
JavaObject
SetObject
Set the underlying Object, must be of correct type
Obj
Object
SetTag
Set the Tag for this object
Tag
Object
GetTag
Get the Tag for this object
Object
MidiStatus
MidiStatus
Initialize
Initializes the object. You can add parameters to this method if needed.
IsInitilized
Boolean
ToString
String
Status
Int
ACTIVE_SENSING
Constants / Fields are defined here and initialized in Sub UpdateConstants
Status byte for Active Sensing message (0xFE, or 254).
Int
CHANNEL_PRESSURE
Command value for Channel Pressure (Aftertouch) message (0xD0, or 208)
Int
CONT
Status byte for Continue message (0xFB, or 251).
Int
CONTROL_CHANGE
Command value for Control Change message (0xB0, or 176)
Int
END_OF_EXCLUSIVE
Status byte for End of System Exclusive message (0xF7, or 247).
Int
MIDI_TIME_CODE
Status byte for MIDI Time Code Quarter Frame message (0xF1, or 241).
Int
NOTE_OFF
Command value for Note Off message (0x80, or 128)
Int
NOTE_ON
Command value for Note On message (0x90, or 144)
Int
PITCH_BEND
Command value for Pitch Bend message (0xE0, or 224)
Int
POLY_PRESSURE
Command value for Polyphonic Key Pressure (Aftertouch) message (0xA0, or 160)
Int
PROGRAM_CHANGE
Command value for Program Change message (0xC0, or 192)
Int
SONG_POSITION_POINTER
Status byte for Song Position Pointer message (0xF2, or 242).
Int
SONG_SELECT
Status byte for MIDI Song Select message (0xF3, or 243).
Int
START
Status byte for Start message (0xFA, or 250).
Int
STOP
Status byte for Stop message (0xFC, or 252).
Int
SYSTEM_RESET
Status byte for System Reset message (0xFF, or 255).
Int
TIMING_CLOCK
Status byte for Timing Clock messagem (0xF8, or 248).
Int
TUNE_REQUEST
Status byte for Tune Request message (0xF6, or 246).
Int
SYSTEM_EXCLUSIVE
Status byte for System Exclusive message (0xF0, or 240).
Int
SPECIAL_SYSTEM_EXCLUSIVE
Status byte for Special System Exclusive message (0xF7, or 247), which is used in MIDI files. It has the same value as END_OF_EXCLUSIVE, which is used in the real-time "MIDI wire" protocol.
Int
MidiSynthesizer
MidiSynthesizer
Initialize
Initializes the object. You can add parameters to this method if needed.
GetAvailableInstruments
Obtains a list of instruments that come with the synthesizer.
MidiInstrument()
GetChannels
Obtains the set of MIDI channels controlled by this synthesizer.
MidiChannel()
GetDefaultSoundbank
Obtains the default soundbank for the synthesizer, if one exists.
MidiSoundbank
GetLatency
Obtains the processing latency incurred by this synthesizer, expressed in microseconds.
Long
GetLoadedInstruments
Obtains a list of the instruments that are currently loaded onto this Synthesizer.
MidiInstrument()
GetMaxPolyphony
Obtains the maximum number of notes that this synthesizer can sound simultaneously.
Int
GetVoiceStatus
Obtains the current status of the voices produced by this synthesizer.
JavaObject
IsSoundbankSupported
Informs the caller whether this synthesizer is capable of loading instruments from the specified soundbank.
Boolean
TSoundbank
MidiSoundbank
LoadAllInstruments
Loads onto the Synthesizer all instruments contained in the specified Soundbank.
Boolean
TSoundbank
MidiSoundbank
LoadInstrument
Makes a particular instrument available for synthesis.
Boolean
TInstrument
MidiInstrument
LoadInstruments
Loads the instruments referenced by the specified patches, from the specified Soundbank.
Boolean
TSoundbank
MidiSoundbank
PatchList
Object
RemapInstrument
Remaps an instrument.
Boolean
From
MidiInstrument
Target
MidiInstrument
UnloadAllInstruments
Unloads all instruments contained in the specified Soundbank.
TSoundbank
MidiSoundbank
UnloadInstrument
Unloads a particular instrument.
TInstrument
MidiInstrument
UnloadInstruments
Unloads the instruments referenced by the specified patches, from the MIDI sound bank specified.
TSoundbank
MidiSoundbank
PatchList
MidiPatch
Close
From MidiDevice
Closes the device, indicating that the device should now release any system resources it is using.
GetDeviceInfo
Obtains information about the device, including its Java class and Strings containing its name, vendor, and description.
MidiDeviceInfo
GetMaxReceivers
Obtains the maximum number of MIDI IN connections available on this MIDI device for receiving MIDI data.
Int
GetMaxTransmitters
Obtains the maximum number of MIDI OUT connections available on this MIDI device for transmitting MIDI data.
Int
GetMicrosecondPosition
Obtains the current time-stamp of the device, in microseconds.
Long
GetReceiver
Obtains a MIDI IN receiver through which the MIDI device may receive MIDI data.
MidiReceiver
GetReceivers
Returns all currently active, non-closed receivers connected with this MidiDevice.
List
GetTransmitter
Obtains a MIDI OUT connection from which the MIDI device will transmit MIDI data The returned transmitter must be closed when the application has finished using it.
MidiTransmitter
GetTransmitters
Returns all currently active, non-closed transmitters connected with this MidiDevice.
List
IsOpen
Reports whether the device is open.
Boolean
Open
Opens the device, indicating that it should now acquire any system resources it requires and become operational.
GetObject
Get the unwrapped object
Object
GetObjectJO
Get the unwrapped object As a JavaObject
JavaObject
SetObject
Set the underlying Object, must be of correct type
Obj
Object
SetTag
Set the Tag for this object
Tag
Object
GetTag
Get the Tag for this object
Object
MidiSysexMessage
MidiSysexMessage
Initialize
Initializes the object. You can add parameters to this method if needed.
Create
Constructs a new MidiShortMessage.
Create2
Constructs a new MidiShortMessage.
Data
Byte
Create3
Constructs a new MidiShortMessage and sets the data for the message.
Data
Byte
Length
Int
Create4
Constructs a new MidiShortMessage and sets the data for the message.
Status
Int
Data
Byte
Length
Int
Clone
Creates a new object of the same class and with the same contents as this object.
Object
GetData
Obtains a copy of the data for the system exclusive message.
Byte()
SetMessage
Sets the data for the system exclusive message.
Data
Byte
Length
Int
SetMessage2
Sets the data for the system exclusive message.
Status
Int
Data
Byte
Length
Int
GetLength
Obtains the total length of the MIDI message in bytes.
Int
GetMessage
Obtains the MIDI message data.
Byte()
GetStatus
Obtains the status byte for the MIDI message.
Int
GetObject
Get the unwrapped object
Object
GetObjectJO
Get the unwrapped object As a JavaObject
JavaObject
SetObject
Set the underlying Object, must be of correct type
Obj
Object
SetTag
Set the Tag for this object
Tag
Object
GetTag
Get the Tag for this object
Object
MidiSysexMessage_Static
MidiSysexMessage_Static
Initialize
Initializes the object. You can add parameters to this method if needed.
SPECIAL_SYSTEM_EXCLUSIVE
Constants / Fields are defined here and initialized in Sub UpdateConstants
Status byte for Special System Exclusive message (0xF7, or 247), which is used in MIDI files.
Int
SYSTEM_EXCLUSIVE
Status byte for System Exclusive message (0xF0, or 240).
Int
MidiSystemStatic
MidiSystemStatic
Initialize
Initializes the object. You can add parameters to this method if needed.
GetMidiDevice
Obtains the requested MIDI device.
MidiDevice
Info
MidiDeviceInfo
GetMidiDeviceInfo
Obtains an array of information objects representing the set of all MIDI devices available on the system.
MidiDeviceInfo()
GetMidiFileFormat
Obtains the MIDI file format of the specified File.
MidiFileFormat
DirName
String
FileName
String
GetMidiFileFormat2
Obtains the MIDI file format of the data in the specified input stream.
MidiFileFormat
Stream
InputStream
GetMidiFileFormat3
Obtains the MIDI file format of the data in the specified URL.
MidiFileFormat
Url
JavaObject
GetMidiFileTypes
Obtains the set of MIDI file types for which file writing support is provided by the system.
Int()
GetMidiFileTypes2
Obtains the set of MIDI file types that the system can write from the sequence specified.
Int()
ThisSequence
MidiSequence
GetReceiver
Obtains a MIDI receiver from an external MIDI port or other default device.
MidiReceiver
GetSequence
Obtains a MIDI sequence from the specified File.
MidiSequence
DirName
String
FileName
String
GetSequence2
Obtains a MIDI sequence from the specified input stream.
MidiSequence
Stream
InputStream
GetSequence3
Obtains a MIDI sequence from the specified URL.
MidiSequence
Url
JavaObject
GetSequencer
Obtains the default Sequencer, connected to a default device.
DO NOT use this method if you want to control midi in real time.
Use Getsequencer2 and get the synthesizer separately. That way you can pass
messages to it.
<code>
Seqr = MidiSystemStatic.GetSequencer2(False)
Seqr.Open
'Get a Synth To connect
Dim Synth As MidiSynthesizer = MidiSystemStatic.GetSynthesizer
Synth.Open
'Connect the synth To the sequencer
Seqr.GetTransmitter.SetReceiver(Synth.GetReceiver)</code>
MidiSequencer
GetSequencer2
Obtains the default Sequencer, optionally connected to a default device.
Use this method if you want to control midi in real time.
Use Getsequencer2 and get the synthesizer separately. That way you can pass
messages to it.
<code>
Seqr = MidiSystemStatic.GetSequencer2(False)
Seqr.Open
'Get a Synth To connect
Dim Synth As MidiSynthesizer = MidiSystemStatic.GetSynthesizer
Synth.Open
'Connect the synth To the sequencer
Seqr.GetTransmitter.SetReceiver(Synth.GetReceiver)</code>
MidiSequencer
Connected
Boolean
GetSoundbank
Constructs a Soundbank by reading it from the specified File.
MidiSoundbank
DirName
String
FileName
String
GetSoundbank2
Constructs a MIDI sound bank by reading it from the specified stream.
MidiSoundbank
Stream
InputStream
GetSoundbank3
Constructs a Soundbank by reading it from the specified URL.
MidiSoundbank
Url
JavaObject
GetSynthesizer
Obtains the default synthesizer.
MidiSoundbank
GetTransmitter
Obtains a MIDI transmitter from an external MIDI port or other default source.
MidiTransmitter
IsFileTypeSupported
Indicates whether file writing support for the specified MIDI file type is provided by the system.
Boolean
FileType
Int
IsFileTypeSupported2
Indicates whether a MIDI file of the file type specified can be written from the sequence indicated.
Boolean
FileType
Int
ThisSequence
MidiSequence
Write
Writes a stream of bytes representing a file of the MIDI file type indicated to the external file provided.
Int
Seq
MidiSequence
FileType
Int
DirName
String
FileName
String
Write2
Writes a stream of bytes representing a file of the MIDI file type indicated to the output stream provided.
Int
Seq
MidiSequence
FileType
Int
Out
OutputStream
MidiTrack
MidiTrack
Initialize
Initializes the object. You can add parameters to this method if needed.
Add
Adds a new event to the track.
Boolean
Event
MidiEvent
Get
Obtains the event at the specified index.
MidiEvent
Index
Int
Remove
Removes the specified event from the track.
Boolean
Event
MidiEvent
Size
Obtains the number of events in this track.
Int
Ticks
Obtains the length of the track, expressed in MIDI ticks.
Long
GetObject
Get the unwrapped object
Object
GetObjectJO
Get the unwrapped object As a JavaObject
JavaObject
SetObject
Set the underlying Object, must be of correct type
Obj
Object
SetTag
Set the Tag for this object
Tag
Object
GetTag
Get the Tag for this object
Object
GetTrackName
String
GetInstrumentName
String
MidiTransmitter
MidiTransmitter
Received(Msg As MidiShortMessage, TimeStamp As Long)
Initialize
Initializes the object. You can add parameters to this method if needed.
Close
Indicates that the application has finished using the transmitter, and that limited resources it requires may be released or made available.
GetReceiver
Obtains the current receiver to which this transmitter will deliver MIDI messages.
MidiReceiver
SetReceiver
Sets the receiver to which this transmitter will deliver MIDI messages.
TReceiver
MidiReceiver
AddListener
MidiReceiver
Callback
Object
EventName
String
RemoveListener
R
MidiReceiver
GetObject
Get the unwrapped object
Object
GetObjectJO
Get the unwrapped object As a JavaObject
JavaObject
SetObject
Set the underlying Object, must be of correct type
Obj
Object
SetTag
Set the Tag for this object
Tag
Object
GetTag
Get the Tag for this object
Object
MidiTypeNames_Static
MidiTypeNames_Static
Initialize
Initializes the object.
MidiUtils
MidiUtils
int24bit
Byte()
Val
Int
NewPatch
MidiPatch
Bank
Int
Prog
Int
GetMsgType
String
Msg
Object
TransposeTrack
TTrack
MidiTrack
Semitones
Int
Midi_GM
Midi_GM
Initialize
GetProgNo
Get the General Midi Program Number from a Name (0 based)
Int
ProgName
String
GetProgName
Get the General Midi Name for a Program Number (0 based)
String
ProgNo
Int
GetPatchNames
Get a list of patch names defined
List
GetFilteredProgs
Get Filtered map or patches
Map
Filter
String
GetProgNumbers
Get a list or program numbers defined
List
GetDrumName
Get the drum name from it's note number
String
NoteNum
Int
GetDrumNoteNum
Get the drum note number from it's name
Int
DrumName
String
GetDrumNames
Get a list of available Durm Names
List
GetDrumNotes
Get a list of available Drum Note Numbers
List
Midi_GM_Drums
Midi_GM_Drums
1.0
Stevel05