|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--quicktime.util.QTByteObject | +--quicktime.std.music.SynthesizerConnections
Describes how a MIDI device is connected to the computer.
Field Summary | |
static int |
kNativeSize
This is the size (the number of bytes) that are required for this class |
Fields inherited from interface quicktime.jdirect.PrimitivesLib |
JDirect_MacOSX, libraryInstance |
Constructor Summary | |
SynthesizerConnections()
Create a connections class with all slots set to zero. |
|
SynthesizerConnections(QTFile soundBankFile)
This is used to create a connections structure that describes a sound bank file (DLS or SF2) that will be used to supply sample information to a soft-synth music component. |
Method Summary | |
java.lang.Object |
clone()
Return a copy of this object. |
int |
getClientID()
Return the MIDIManager client ID or 'OMS ' for OpenMIDISystem. |
int |
getFlags()
Return information about the type of connection. |
int |
getInputID()
Return the ID of the port that receives MIDI information. |
int |
getMIDIChannel()
Return the system MIDI channel, or a slot number. |
int |
getOutputID()
Return the ID of the port that sends MIDI information. |
QTFile |
getSoundBankFile()
Returns a QTFile that represents a sound bank file (DLS or SF2) that will be used to supply sample information to a soft-synth music component (or null if none set). |
int |
getUniqueID()
Return the unique id which may be used instead of an index to getinfo and unregister calls |
void |
setClientID(int id)
Set the MIDIManager client ID. |
void |
setFlags(int flag)
Set information about the type of connection. |
void |
setInputID(int id)
Set the ID of the port that receives MIDI information. |
void |
setMIDIChannel(int channel)
Set the system MIDI channel, or a slot number. |
void |
setOutputID(int id)
Set the ID of the port that sends MIDI information. |
void |
setSoundBankFile(QTFile soundBankFile)
This is used to create a connections structure that describes a sound bank file (DLS or SF2) that will be used to supply sample information to a soft-synth music component. |
void |
setUniqueID(int id)
Set the unique id which may be used instead of an index to getinfo and unregister calls |
java.lang.String |
toString()
String representation. |
Methods inherited from class quicktime.util.QTByteObject |
equals, fromArray, getBytes, getSize |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int kNativeSize
Constructor Detail |
public SynthesizerConnections()
public SynthesizerConnections(QTFile soundBankFile) throws QTException
soundBankFile
- the fileMethod Detail |
public void setSoundBankFile(QTFile soundBankFile) throws QTException
soundBankFile
- the filepublic QTFile getSoundBankFile() throws QTException
public final int getClientID()
public final void setClientID(int id)
public final int getInputID()
public final void setInputID(int id)
public final int getOutputID()
public final void setOutputID(int id)
public final int getMIDIChannel()
public final void setMIDIChannel(int channel)
public final int getFlags()
public final void setFlags(int flag)
public final int getUniqueID()
public final void setUniqueID(int id)
public java.lang.String toString()
toString
in class QTByteObject
public java.lang.Object clone()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |