91 |
* @return true if the instrument was loaded and false otherwise |
* @return true if the instrument was loaded and false otherwise |
92 |
* @throws IllegalArgumentException if this synth doesn't support instrument |
* @throws IllegalArgumentException if this synth doesn't support instrument |
93 |
*/ |
*/ |
94 |
public boolean loadInstrument(Instrument instrument) |
public boolean loadInstrument(Instrument instrument); |
|
throws IllegalArgumentException; |
|
95 |
|
|
96 |
/** |
/** |
97 |
* Unload an instrument from this synth. |
* Unload an instrument from this synth. |
99 |
* @param instrument the Instrument to unload |
* @param instrument the Instrument to unload |
100 |
* @throws IllegalArgumentException if this synth doesn't support instrument |
* @throws IllegalArgumentException if this synth doesn't support instrument |
101 |
*/ |
*/ |
102 |
public void unloadInstrument(Instrument instrument) |
public void unloadInstrument(Instrument instrument); |
|
throws IllegalArgumentException; |
|
103 |
|
|
104 |
/** |
/** |
105 |
* Move an intrument from one place to another. The instrument at the |
* Move an intrument from one place to another. The instrument at the |
110 |
* @return if from was remapped |
* @return if from was remapped |
111 |
* @throws IllegalArgumentException |
* @throws IllegalArgumentException |
112 |
*/ |
*/ |
113 |
public boolean remapInstrument(Instrument from, Instrument to) |
public boolean remapInstrument(Instrument from, Instrument to); |
|
throws IllegalArgumentException; |
|
114 |
|
|
115 |
/** |
/** |
116 |
* Get the default Soundbank for this synth. Return null if there is no |
* Get the default Soundbank for this synth. Return null if there is no |
141 |
* @return true if all instruments were loaded, false othewise |
* @return true if all instruments were loaded, false othewise |
142 |
* @throws IllegalArgumentException if the soundbank isn't supported by this |
* @throws IllegalArgumentException if the soundbank isn't supported by this |
143 |
*/ |
*/ |
144 |
public boolean loadAllInstruments(Soundbank soundbank) |
public boolean loadAllInstruments(Soundbank soundbank); |
|
throws IllegalArgumentException; |
|
145 |
|
|
146 |
/** |
/** |
147 |
* Unload all soundbank instruments from this synthesizer. |
* Unload all soundbank instruments from this synthesizer. |
149 |
* @param soundbank the Soundbank containing the instruments to unload |
* @param soundbank the Soundbank containing the instruments to unload |
150 |
* @throws IllegalArgumentException if the soundbank isn't supported by this |
* @throws IllegalArgumentException if the soundbank isn't supported by this |
151 |
*/ |
*/ |
152 |
public void unloadAllInstruments(Soundbank soundbank) |
public void unloadAllInstruments(Soundbank soundbank); |
|
throws IllegalArgumentException; |
|
153 |
|
|
154 |
/** |
/** |
155 |
* Load a subset of soundbank instruments into this synthesizer. The |
* Load a subset of soundbank instruments into this synthesizer. The |
160 |
* @return true if instruments were loaded, false otherwise |
* @return true if instruments were loaded, false otherwise |
161 |
* @throws IllegalArgumentException if the soundbank isn't supported by this |
* @throws IllegalArgumentException if the soundbank isn't supported by this |
162 |
*/ |
*/ |
163 |
public boolean loadInstruments(Soundbank soundbank, Patch[] patchList) |
public boolean loadInstruments(Soundbank soundbank, Patch[] patchList); |
|
throws IllegalArgumentException; |
|
164 |
|
|
165 |
/** |
/** |
166 |
* Unload a subset of soundbank instruments from this synthesizer. |
* Unload a subset of soundbank instruments from this synthesizer. |
169 |
* @param patchList the array of patches identifying instruments to unload |
* @param patchList the array of patches identifying instruments to unload |
170 |
* @throws IllegalArgumentException if the soundbank isn't supported by this |
* @throws IllegalArgumentException if the soundbank isn't supported by this |
171 |
*/ |
*/ |
172 |
public void unloadInstruments(Soundbank soundbank, Patch[] patchList) |
public void unloadInstruments(Soundbank soundbank, Patch[] patchList); |
|
throws IllegalArgumentException; |
|
173 |
} |
} |