Whole document tree
javax.sound.midi
|
Method Summary | |
String |
getDescription()
Obtains a textual description of the sound bank, suitable for display. |
Instrument |
getInstrument(Patch patch)
Obtains an Instrument from the given Patch . |
Instrument[] |
getInstruments()
Obtains a list of instruments contained in this sound bank. |
String |
getName()
Obtains the name of the sound bank. |
SoundbankResource[] |
getResources()
Extracts a list of non-Instrument resources contained in the sound bank. |
String |
getVendor()
Obtains a string naming the company that provides the
sound bank |
String |
getVersion()
Obtains the version string for the sound bank. |
Method Detail |
public String getName()
String
naming the sound bankpublic String getVersion()
String
that indicates the sound bank's versionpublic String getVendor()
string
naming the company that provides the
sound bankpublic String getDescription()
String
that describes the sound bankpublic SoundbankResource[] getResources()
public Instrument[] getInstruments()
Instruments
in this
SoundBank
If the sound bank contains no instruments, returns an array of length 0.Synthesizer.getLoadedInstruments()
,
getInstrument(Patch)
public Instrument getInstrument(Patch patch)
Instrument
from the given Patch
.patch
- a Patch
object specifying the bank index
and program change numbernull
if the
sound bank doesn't contain that instrumentgetInstruments()
,
Synthesizer.loadInstruments(Soundbank, Patch[])
|
JavaTM 2 Platform Std. Ed. v1.3.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2001 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.