📄 tonedescription.html
字号:
<!-- ========= 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="ToneDescription()"><!-- --></A><H3>ToneDescription</H3><PRE>public <B>ToneDescription</B>()</PRE><DL><DD>Creates a ToneDescription object with no initial settings.</DL><HR><A NAME="ToneDescription(int)"><!-- --></A><H3>ToneDescription</H3><PRE>public <B>ToneDescription</B>(int gmNumber) throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Initializes the ToneDescription instance with the appropriate instrument based on the specified gmNumber. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/tp_qtma_qtmaref.38.htm#33072">QuickTime::NAStuffToneDescription</a> </b><BR><BR><DT><B>Parameters:</B><DD><CODE>gmNumber</CODE> - instrument number</DL></DD></DL><HR><A NAME="ToneDescription(quicktime.std.music.NoteAllocator, int)"><!-- --></A><H3>ToneDescription</H3><PRE>public <B>ToneDescription</B>(<A HREF="../../../quicktime/std/music/NoteAllocator.html">NoteAllocator</A> na, int gmNumber) throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Initializes the ToneDescription instance with the appropriate instrument based on the specified gmNumber. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/tp_qtma_qtmaref.38.htm#33072">QuickTime::NAStuffToneDescription</a> </b><BR><BR><DT><B>Parameters:</B><DD><CODE>na</CODE> - the NoteAllocator component instance to use<DD><CODE>gmNumber</CODE> - instrument number</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="getSynthesizerType()"><!-- --></A><H3>getSynthesizerType</H3><PRE>public final int <B>getSynthesizerType</B>()</PRE><DL><DD>Returns the current OSType of the described instrument's synthesiser.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the OSType</DL></DD></DL><HR><A NAME="setSynthesizerType(int)"><!-- --></A><H3>setSynthesizerType</H3><PRE>public final void <B>setSynthesizerType</B>(int type)</PRE><DL><DD>Sets the current OSType of the described instrument's synthesiser.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>type</CODE> - the OSType</DL></DD></DL><HR><A NAME="getSynthesizerName()"><!-- --></A><H3>getSynthesizerName</H3><PRE>public final java.lang.String <B>getSynthesizerName</B>() throws <A HREF="../../../quicktime/util/UtilException.html">UtilException</A></PRE><DL><DD>Returns the current name of the described instrument's synthesiser.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the Synthesizer name</DL></DD></DL><HR><A NAME="setSynthesizerName(java.lang.String)"><!-- --></A><H3>setSynthesizerName</H3><PRE>public final void <B>setSynthesizerName</B>(java.lang.String name) throws <A HREF="../../../quicktime/util/UtilException.html">UtilException</A></PRE><DL><DD>Sets the current name of the described instrument's synthesiser.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - the Synthesizer name</DL></DD></DL><HR><A NAME="getInstrumentName()"><!-- --></A><H3>getInstrumentName</H3><PRE>public final java.lang.String <B>getInstrumentName</B>() throws <A HREF="../../../quicktime/util/UtilException.html">UtilException</A></PRE><DL><DD>Returns the current name of the described instrument.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the instrumentName</DL></DD></DL><HR><A NAME="setInstrumentName(java.lang.String)"><!-- --></A><H3>setInstrumentName</H3><PRE>public final void <B>setInstrumentName</B>(java.lang.String name) throws <A HREF="../../../quicktime/util/UtilException.html">UtilException</A></PRE><DL><DD>Sets the current name of the described instrument.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - the instrumentName</DL></DD></DL><HR><A NAME="getInstrumentNumber()"><!-- --></A><H3>getInstrumentNumber</H3><PRE>public final int <B>getInstrumentNumber</B>()</PRE><DL><DD>Returns the current number of the described instrument.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the instrumentNumber</DL></DD></DL><HR><A NAME="setInstrumentNumber(int)"><!-- --></A><H3>setInstrumentNumber</H3><PRE>public final void <B>setInstrumentNumber</B>(int num)</PRE><DL><DD>Sets the current number of the described instrument.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>num</CODE> - the instrumentNumber</DL></DD></DL><HR><A NAME="getGMNumber()"><!-- --></A><H3>getGMNumber</H3><PRE>public final int <B>getGMNumber</B>()</PRE><DL><DD>Returns the current gm Number of the described instrument's synthesiser.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the gm Number</DL></DD></DL><HR><A NAME="setGMNumber(int)"><!-- --></A><H3>setGMNumber</H3><PRE>public final void <B>setGMNumber</B>(int gmNumber)</PRE><DL><DD>Sets the current gm Number of the described instrument's synthesiser.<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>gmNumber</CODE> - the gm Number</DL></DD></DL><HR><A NAME="stuff(quicktime.std.music.NoteAllocator, int)"><!-- --></A><H3>stuff</H3><PRE>public final void <B>stuff</B>(<A HREF="../../../quicktime/std/music/NoteAllocator.html">NoteAllocator</A> na, int gmNumber) throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Initializes the calling ToneDescription instance with the details of the note channel specified by the gmNumber. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/tp_qtma_qtmaref.38.htm#33072">QuickTime::NAStuffToneDescription</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>na</CODE> - the Note Allocator component to use<DD><CODE>gmNumber</CODE> - instrument number</DL></DD></DL><HR><A NAME="pickInstrument(quicktime.std.music.NoteAllocator, java.lang.String, int)"><!-- --></A><H3>pickInstrument</H3><PRE>public final void <B>pickInstrument</B>(<A HREF="../../../quicktime/std/music/NoteAllocator.html">NoteAllocator</A> na, java.lang.String prompt, int flags) throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Initialises the tone description structure through providing the user with a dialog that allows the user to choose the instrument. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/tp_qtma_qtmaref.38.htm#15607">QuickTime::NAPickInstrument</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>na</CODE> - the Note Allocator component to use<DD><CODE>prompt</CODE> - Dialog box prompt "New Instrument..."<DD><CODE>flags</CODE> - flags to limit user options</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 ToneDescription object.<DD><DL></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/ToneDescription.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/SynthesizerDescription.html"><B>PREV CLASS</B></A> <A HREF="../../../quicktime/std/music/TunePlayer.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="ToneDescription.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 + -