📄 noterequestinfo.html
字号:
<P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="kNativeSize"><!-- --></A><H3>kNativeSize</H3><PRE>public static final int <B>kNativeSize</B></PRE><DL><DD>This is the size (the number of bytes) that are required for this class</DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="NoteRequestInfo()"><!-- --></A><H3>NoteRequestInfo</H3><PRE>public <B>NoteRequestInfo</B>()</PRE><DL><DD>Creates a NoteRequestInfo instance with the default values. Polyphony is set to 1.</DL><HR><A NAME="NoteRequestInfo(int)"><!-- --></A><H3>NoteRequestInfo</H3><PRE>public <B>NoteRequestInfo</B>(int poly) throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Create a NoteRequestInfo from the given polyphony value.<DD><DL><DT><B>Parameters:</B><DD><CODE>poly</CODE> - 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.</DL></DD></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="getFlags()"><!-- --></A><H3>getFlags</H3><PRE>public final int <B>getFlags</B>()</PRE><DL><DD>Gets the flags of the NoteRequestInfo<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>flags</DL></DD></DL><HR><A NAME="setFlags(int)"><!-- --></A><H3>setFlags</H3><PRE>public final void <B>setFlags</B>(int flags)</PRE><DL><DD>Sets the flags of the NoteRequestInfo<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>flags</CODE> - flags to set</DL></DD></DL><HR><A NAME="getMIDIChannel()"><!-- --></A><H3>getMIDIChannel</H3><PRE>public final int <B>getMIDIChannel</B>()</PRE><DL><DD>Gets the MIDIChannel - a value of zero indicates an unassigned channel and QTMA will then use the first free channel if required.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>MIDIChannel</DL></DD></DL><HR><A NAME="setMIDIChannel(int)"><!-- --></A><H3>setMIDIChannel</H3><PRE>public final void <B>setMIDIChannel</B>(int chan)</PRE><DL><DD>Sets the MIDIChannel - a value of zero indicates an unassigned channel and QTMA will then use the first free channel if required.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>chan</CODE> - MIDIChannel</DL></DD></DL><HR><A NAME="getPolyphony()"><!-- --></A><H3>getPolyphony</H3><PRE>public final int <B>getPolyphony</B>()</PRE><DL><DD>Gets the polyphony of the NoteRequestInfo<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>polyphony</DL></DD></DL><HR><A NAME="setPolyphony(int)"><!-- --></A><H3>setPolyphony</H3><PRE>public final void <B>setPolyphony</B>(int poly)</PRE><DL><DD>Sets the polyphony of the NoteRequestInfo<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>poly</CODE> - polyphony to set</DL></DD></DL><HR><A NAME="getTypicalPolyphony()"><!-- --></A><H3>getTypicalPolyphony</H3><PRE>public final float <B>getTypicalPolyphony</B>()</PRE><DL><DD>Gets the typicalPolyphony of the NoteRequestInfo<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>typicalPolyphony</DL></DD></DL><HR><A NAME="setTypicalPolyphony(float)"><!-- --></A><H3>setTypicalPolyphony</H3><PRE>public final void <B>setTypicalPolyphony</B>(float poly)</PRE><DL><DD>Sets the typicalPolyphony of the NoteRequestInfo<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>poly</CODE> - typicalPolyphony to set</DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><DD><B>Description copied from class: <CODE><A HREF="../../../quicktime/util/QTByteObject.html">QTByteObject</A></CODE></B></DD><DD>Returns a string representation of this object<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../quicktime/util/QTByteObject.html#toString()">toString</A></CODE> in class <CODE><A HREF="../../../quicktime/util/QTByteObject.html">QTByteObject</A></CODE></DL></DD></DL><HR><A NAME="clone()"><!-- --></A><H3>clone</H3><PRE>public java.lang.Object <B>clone</B>()</PRE><DL><DD>Makes a copy of a NoteRequestInfo object.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a NoteRequestInfo</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/NoteRequestInfo.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../quicktime/std/music/NoteRequest.html"><B>PREV CLASS</B></A> <A HREF="../../../quicktime/std/music/QTMIDIPort.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="NoteRequestInfo.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -