⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 noteallocator.html

📁 这个是java的quicktime for java 的详细使用文档
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/music/NoteAllocator.html#registerMusicDevice_SoundBank(quicktime.io.QTFile)">registerMusicDevice_SoundBank</A></B>(<A HREF="../../../quicktime/io/QTFile.html">QTFile</A>&nbsp;soundBankFile)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Registers a music component with the NoteAllocator, where the MusicComponent will use the supplied SoundBank for its sample data.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/music/NoteAllocator.html#registerMusicDevice(int, java.lang.String, quicktime.std.music.SynthesizerConnections)">registerMusicDevice</A></B>(int&nbsp;synthType,                    java.lang.String&nbsp;name,                    <A HREF="../../../quicktime/std/music/SynthesizerConnections.html">SynthesizerConnections</A>&nbsp;connections)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Registers a music component with the NoteAllocator.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/music/NoteAllocator.html#saveMusicConfiguration()">saveMusicConfiguration</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Saves the current list of registered devices to the QuickTime default file.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/music/NoteAllocator.html#setDefaultMIDIInput(quicktime.std.music.SynthesizerConnections)">setDefaultMIDIInput</A></B>(<A HREF="../../../quicktime/std/music/SynthesizerConnections.html">SynthesizerConnections</A>&nbsp;sc)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Initializes an external MIDI device that is used to receive external MIDI information.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/music/NoteAllocator.html#task()">task</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Call periodically to allow the note allocator to perform tasks.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/music/NoteAllocator.html#unregisterMusicDevice(int)">unregisterMusicDevice</A></B>(int&nbsp;index)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes a previously registered music component from the NoteAllocator.</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_quicktime.std.comp.Component"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class quicktime.std.comp.<A HREF="../../../quicktime/std/comp/Component.html">Component</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../quicktime/std/comp/Component.html#count()">count</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_quicktime.std.comp.ComponentIdentifier"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class quicktime.std.comp.<A HREF="../../../quicktime/std/comp/ComponentIdentifier.html">ComponentIdentifier</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../quicktime/std/comp/ComponentIdentifier.html#find(quicktime.std.comp.ComponentDescription)">find</A>, <A HREF="../../../quicktime/std/comp/ComponentIdentifier.html#find(quicktime.std.comp.ComponentIdentifier, quicktime.std.comp.ComponentDescription)">find</A>, <A HREF="../../../quicktime/std/comp/ComponentIdentifier.html#getInfo()">getInfo</A>, <A HREF="../../../quicktime/std/comp/ComponentIdentifier.html#toString()">toString</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_quicktime.QTObject"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class quicktime.<A HREF="../../../quicktime/QTObject.html">QTObject</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../quicktime/QTObject.html#disposeQTObject()">disposeQTObject</A>, <A HREF="../../../quicktime/QTObject.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../quicktime/QTObject.html#ID(quicktime.QTObject)">ID</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.Object</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><!-- ========= 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="NoteAllocator()"><!-- --></A><H3>NoteAllocator</H3><PRE>public <B>NoteAllocator</B>()              throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Opens the NoteAllocator component.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refComponentMgr.8.htm#28411">QuickTime::OpenADefaultComponent</a> </b><BR><BR><HR><A NAME="NoteAllocator(int)"><!-- --></A><H3>NoteAllocator</H3><PRE>public <B>NoteAllocator</B>(int&nbsp;subType)              throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Opens the NoteAllocator component with a specified subType.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refComponentMgr.8.htm#28411">QuickTime::OpenADefaultComponent</a> </b><BR><BR><!-- ============ 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="getDefault()"><!-- --></A><H3>getDefault</H3><PRE>public static <A HREF="../../../quicktime/std/music/NoteAllocator.html">NoteAllocator</A> <B>getDefault</B>()                                throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Returns a system created NoteAllocator instance that can be used by applications.<DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a NoteAllocator</DL></DD></DL><HR><A NAME="numNoteChannels()"><!-- --></A><H3>numNoteChannels</H3><PRE>public int <B>numNoteChannels</B>()                    throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Returns the number of NoteChannels handled by the specific NoteAllocator instance.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/tp_qtma_qtmaref.37.htm#16076">QuickTime::NAGetIndNoteChannel</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>number of NoteChannels</DL></DD></DL><HR><A NAME="getIndNoteChannel(int)"><!-- --></A><H3>getIndNoteChannel</H3><PRE>public <A HREF="../../../quicktime/std/music/NoteChannel.html">NoteChannel</A> <B>getIndNoteChannel</B>(int&nbsp;index)                              throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Returns a new NoteChannel as indexed into the NoteAllocator instance.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/tp_qtma_qtmaref.37.htm#16076">QuickTime::NAGetIndNoteChannel</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the index of the NoteChannel<DT><B>Returns:</B><DD>a new NoteChannel instance</DL></DD></DL><HR><A NAME="task()"><!-- --></A><H3>task</H3><PRE>public void <B>task</B>()          throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Call periodically to allow the note allocator to perform tasks.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/tp_qtma_qtmaref.39.htm#28612">QuickTime::NATask</a> </b><BR><BR></DL></DD></DL><HR><A NAME="pickArrangement(java.lang.String, quicktime.std.movies.Track, java.lang.String)"><!-- --></A><H3>pickArrangement</H3><PRE>public void <B>pickArrangement</B>(java.lang.String&nbsp;prompt,                            <A HREF="../../../quicktime/std/movies/Track.html">Track</A>&nbsp;track,                            java.lang.String&nbsp;songName)                     throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Displays a dialog to allow instrument selection.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/tp_qtma_qtmaref.38.htm#28873">QuickTime::NAPickArrangement</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>prompt</CODE> - dialog box prompt.<DD><CODE>track</CODE> - a movie track<DD><CODE>songName</CODE> - the name of the song to display</DL></DD></DL><HR><A NAME="copyrightDialog(quicktime.qd.Pict, java.lang.String, java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>copyrightDialog</H3><PRE>public void <B>copyrightDialog</B>(<A HREF="../../../quicktime/qd/Pict.html">Pict</A>&nbsp;p,                            java.lang.String&nbsp;author,                            java.lang.String&nbsp;copyright,                            java.lang.String&nbsp;other,                            java.lang.String&nbsp;title)                     throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Displays a copyright dialog with information specific to a music device.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/tp_qtma_qtmaref.38.htm#17832">QuickTime::NACopyrightDialog</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>p</CODE> - picture for dialog<DD><CODE>author</CODE> - author information<DD><CODE>copyright</CODE> - copyright information<DD><CODE>other</CODE> - and additional information<DD><CODE>title</CODE> - title information</DL>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -