1 7 8 package javax.sound.midi; 9 10 import javax.sound.sampled.Control ; 11 12 13 61 public interface Synthesizer extends MidiDevice { 62 63 64 66 67 72 public int getMaxPolyphony(); 73 74 75 87 public long getLatency(); 88 89 90 103 public MidiChannel [] getChannels(); 104 105 106 119 public VoiceStatus [] getVoiceStatus(); 120 121 122 135 public boolean isSoundbankSupported(Soundbank soundbank); 136 137 138 166 public boolean loadInstrument(Instrument instrument); 167 168 169 181 public void unloadInstrument(Instrument instrument); 182 183 184 198 public boolean remapInstrument(Instrument from, Instrument to); 199 200 201 209 public Soundbank getDefaultSoundbank(); 210 211 212 231 public Instrument [] getAvailableInstruments(); 232 233 234 242 public Instrument [] getLoadedInstruments(); 243 244 245 259 public boolean loadAllInstruments(Soundbank soundbank); 260 261 262 263 271 public void unloadAllInstruments(Soundbank soundbank); 272 273 274 293 public boolean loadInstruments(Soundbank soundbank, Patch [] patchList); 294 295 307 public void unloadInstruments(Soundbank soundbank, Patch [] patchList); 308 309 310 312 316 318 319 326 328 329 332 334 335 340 344 345 351 358 364 } 366 | Popular Tags |