|
|||||||||
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.NoteRequestInfo
Provides the basic information that is used to create a NoteChannel. Typically an application uses the complete NoteRequest (subclass) when using QT Music services.
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 | |
NoteRequestInfo()
Creates a NoteRequestInfo instance with the default values. |
|
NoteRequestInfo(int poly)
Create a NoteRequestInfo from the given polyphony value. |
Method Summary | |
java.lang.Object |
clone()
Makes a copy of a NoteRequestInfo object. |
int |
getFlags()
Gets the flags of the NoteRequestInfo |
int |
getMIDIChannel()
Gets the MIDIChannel - a value of zero indicates an unassigned channel and QTMA will then use the first free channel if required. |
int |
getPolyphony()
Gets the polyphony of the NoteRequestInfo |
float |
getTypicalPolyphony()
Gets the typicalPolyphony of the NoteRequestInfo |
void |
setFlags(int flags)
Sets the flags of the NoteRequestInfo |
void |
setMIDIChannel(int chan)
Sets the MIDIChannel - a value of zero indicates an unassigned channel and QTMA will then use the first free channel if required. |
void |
setPolyphony(int poly)
Sets the polyphony of the NoteRequestInfo |
void |
setTypicalPolyphony(float poly)
Sets the typicalPolyphony of the NoteRequestInfo |
java.lang.String |
toString()
Returns a string representation of this object |
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 NoteRequestInfo()
public NoteRequestInfo(int poly) throws QTException
poly
- the most number of simulateous notes maybe played at the same time. This
value is a suggestion to the music toolbox that is used to estimate the resources
a NoteChannel will be required to utilise.Method Detail |
public final int getFlags()
public final void setFlags(int flags)
flags
- flags to setpublic final int getMIDIChannel()
public final void setMIDIChannel(int chan)
chan
- MIDIChannelpublic final int getPolyphony()
public final void setPolyphony(int poly)
poly
- polyphony to setpublic final float getTypicalPolyphony()
public final void setTypicalPolyphony(float poly)
poly
- typicalPolyphony to setpublic java.lang.String toString()
QTByteObject
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 |