All Packages Class Hierarchy This Package Previous Next Index
Class quicktime.std.music.NoteRequestInfo
java.lang.Object
|
+----quicktime.util.QTByteObject
|
+----quicktime.std.music.NoteRequestInfo
- public class NoteRequestInfo
- extends QTByteObject
- implements PrimitivesLib, Cloneable
Provides the basic information that is used to create a NoteChannel.
Typically an application uses the complete NoteRequest (subclass) when using QT Music
services.
-
kNativeSize
- This is the size (the number of bytes) that are required for this class
-
NoteRequestInfo()
- Creates a NoteRequestInfo instance with the default values.
-
NoteRequestInfo(int)
-
Create a NoteRequestInfo from the given polyphony value.
-
clone()
- Makes a copy of a NoteRequestInfo object.
-
getFlags()
- Gets the flags of the NoteRequestInfo
-
getPolyphony()
- Gets the polyphony of the NoteRequestInfo
-
getTypicalPolyphony()
- Gets the typicalPolyphony of the NoteRequestInfo
-
setFlags(int)
- Sets the flags of the NoteRequestInfo
-
setPolyphony(int)
- Sets the polyphony of the NoteRequestInfo
-
setTypicalPolyphony(float)
- Sets the typicalPolyphony of the NoteRequestInfo
-
toString()
- Returns a string representation of this object
kNativeSize
public static final int kNativeSize
- This is the size (the number of bytes) that are required for this class
NoteRequestInfo
public NoteRequestInfo()
- Creates a NoteRequestInfo instance with the default values.
Polyphony is set to 1.
NoteRequestInfo
public NoteRequestInfo(int poly) throws QTException
- Create a NoteRequestInfo from the given polyphony value.
- Parameters:
- 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.
getFlags
public final int getFlags()
- Gets the flags of the NoteRequestInfo
- Returns:
- flags
setFlags
public final void setFlags(int flags)
- Sets the flags of the NoteRequestInfo
- Parameters:
- flags - flags to set
getPolyphony
public final int getPolyphony()
- Gets the polyphony of the NoteRequestInfo
- Returns:
- polyphony
setPolyphony
public final void setPolyphony(int poly)
- Sets the polyphony of the NoteRequestInfo
- Parameters:
- poly - polyphony to set
getTypicalPolyphony
public final float getTypicalPolyphony()
- Gets the typicalPolyphony of the NoteRequestInfo
- Returns:
- typicalPolyphony
setTypicalPolyphony
public final void setTypicalPolyphony(float poly)
- Sets the typicalPolyphony of the NoteRequestInfo
- Parameters:
- poly - typicalPolyphony to set
toString
public String toString()
- Returns a string representation of this object
- Overrides:
- toString in class QTByteObject
clone
public Object clone()
- Makes a copy of a NoteRequestInfo object.
- Returns:
- a NoteRequestInfo
- Overrides:
- clone in class Object
All Packages Class Hierarchy This Package Previous Next Index