📄 soundbank.html
字号:
<BR> Obtains a <code>string</code> naming the company that provides the sound bank</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../java/lang/String.html">String</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/sound/midi/Soundbank.html#getVersion()">getVersion</A></B>()</CODE><BR> Obtains the version string for the sound bank.</TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><!-- ============ 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="getName()"><!-- --></A><H3>getName</H3><PRE>public <A HREF="../../../java/lang/String.html">String</A> <B>getName</B>()</PRE><DL><DD>Obtains the name of the sound bank.<DD><DL><DT><B>Returns:</B><DD>a <code>String</code> naming the sound bank</DL></DD></DL><HR><A NAME="getVersion()"><!-- --></A><H3>getVersion</H3><PRE>public <A HREF="../../../java/lang/String.html">String</A> <B>getVersion</B>()</PRE><DL><DD>Obtains the version string for the sound bank.<DD><DL><DT><B>Returns:</B><DD>a <code>String</code> that indicates the sound bank's version</DL></DD></DL><HR><A NAME="getVendor()"><!-- --></A><H3>getVendor</H3><PRE>public <A HREF="../../../java/lang/String.html">String</A> <B>getVendor</B>()</PRE><DL><DD>Obtains a <code>string</code> naming the company that provides the sound bank<DD><DL><DT><B>Returns:</B><DD>the vendor string</DL></DD></DL><HR><A NAME="getDescription()"><!-- --></A><H3>getDescription</H3><PRE>public <A HREF="../../../java/lang/String.html">String</A> <B>getDescription</B>()</PRE><DL><DD>Obtains a textual description of the sound bank, suitable for display.<DD><DL><DT><B>Returns:</B><DD>a <code>String</code> that describes the sound bank</DL></DD></DL><HR><A NAME="getResources()"><!-- --></A><H3>getResources</H3><PRE>public <A HREF="../../../javax/sound/midi/SoundbankResource.html">SoundbankResource</A>[] <B>getResources</B>()</PRE><DL><DD>Extracts a list of non-Instrument resources contained in the sound bank.<DD><DL><DT><B>Returns:</B><DD>an array of resources, exclusing instruments. If the sound bank contains no resources (other than instruments), returns an array of length 0.</DL></DD></DL><HR><A NAME="getInstruments()"><!-- --></A><H3>getInstruments</H3><PRE>public <A HREF="../../../javax/sound/midi/Instrument.html">Instrument</A>[] <B>getInstruments</B>()</PRE><DL><DD>Obtains a list of instruments contained in this sound bank.<DD><DL><DT><B>Returns:</B><DD>an array of the <code>Instruments</code> in this <code>SoundBank</code> If the sound bank contains no instruments, returns an array of length 0.<DT><B>See Also: </B><DD><A HREF="../../../javax/sound/midi/Synthesizer.html#getLoadedInstruments()"><CODE>Synthesizer.getLoadedInstruments()</CODE></A>, <A HREF="../../../javax/sound/midi/Soundbank.html#getInstrument(javax.sound.midi.Patch)"><CODE>getInstrument(Patch)</CODE></A></DL></DD></DL><HR><A NAME="getInstrument(javax.sound.midi.Patch)"><!-- --></A><H3>getInstrument</H3><PRE>public <A HREF="../../../javax/sound/midi/Instrument.html">Instrument</A> <B>getInstrument</B>(<A HREF="../../../javax/sound/midi/Patch.html">Patch</A> patch)</PRE><DL><DD>Obtains an <code>Instrument</code> from the given <code>Patch</code>.<DD><DL><DT><B>Parameters:</B><DD><CODE>patch</CODE> - a <code>Patch</code> object specifying the bank index and program change number<DT><B>Returns:</B><DD>the requested instrument, or <code>null</code> if the sound bank doesn't contain that instrument<DT><B>See Also: </B><DD><A HREF="../../../javax/sound/midi/Soundbank.html#getInstruments()"><CODE>getInstruments()</CODE></A>, <A HREF="../../../javax/sound/midi/Synthesizer.html#loadInstruments(javax.sound.midi.Soundbank, javax.sound.midi.Patch[])"><CODE>Synthesizer.loadInstruments(Soundbank, Patch[])</CODE></A></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/Soundbank.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-files/index-1.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><b>Java<sup><font size=-2>TM</font></sup> 2 Platform<br>Std. Ed. v1.3</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../javax/sound/midi/Sequencer.html"><B>PREV CLASS</B></A> <A HREF="../../../javax/sound/midi/Synthesizer.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="Soundbank.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><font size="-1"><a href="http://java.sun.com/cgi-bin/bugreport.cgi">Submit a bug or feature</a><br>For further API reference and developer documentation, see <a href="http://java.sun.com/products/jdk/1.3/devdocs-vs-specs.html">Java 2 SDK SE Developer Documentation</a>. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples. <p>Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.<br>Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road<br>Palo Alto, California, 94303, U.S.A. All Rights Reserved.</font></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -