Uses of Interface
javax.sound.midi.Soundbank
Packages that use Soundbank
包
描述
Provides interfaces and classes for I/O, sequencing, and synthesis of MIDI
(Musical Instrument Digital Interface) data.
Supplies interfaces for service providers to implement when offering new MIDI
devices, MIDI file readers and writers, or sound bank readers.
-
Uses of Soundbank in javax.sound.midi
Methods in javax.sound.midi that return Soundbank修饰符和类方法描述Synthesizer.getDefaultSoundbank()Obtains the default soundbank for the synthesizer, if one exists.static SoundbankMidiSystem.getSoundbank(File file) Constructs aSoundbankby reading it from the specifiedFile.static SoundbankMidiSystem.getSoundbank(InputStream stream) Constructs a MIDI sound bank by reading it from the specified stream.static SoundbankMidiSystem.getSoundbank(URL url) Constructs aSoundbankby reading it from the specified URL.SoundbankResource.getSoundbank()Obtains the sound bank that contains thisSoundbankResource.Methods in javax.sound.midi with parameters of type Soundbank修饰符和类方法描述booleanSynthesizer.isSoundbankSupported(Soundbank soundbank) Informs the caller whether this synthesizer is capable of loading instruments from the specified soundbank.booleanSynthesizer.loadAllInstruments(Soundbank soundbank) Loads onto theSynthesizerall instruments contained in the specifiedSoundbank.booleanSynthesizer.loadInstruments(Soundbank soundbank, Patch[] patchList) Loads the instruments referenced by the specified patches, from the specifiedSoundbank.voidSynthesizer.unloadAllInstruments(Soundbank soundbank) Unloads all instruments contained in the specifiedSoundbank.voidSynthesizer.unloadInstruments(Soundbank soundbank, Patch[] patchList) Unloads the instruments referenced by the specified patches, from the MIDI sound bank specified.Constructors in javax.sound.midi with parameters of type SoundbankModifierConstructor描述protectedInstrument(Soundbank soundbank, Patch patch, String name, Class<?> dataClass) Constructs a new MIDI instrument from the specifiedPatch.protectedSoundbankResource(Soundbank soundBank, String name, Class<?> dataClass) Constructs a newSoundbankResourcefrom the given sound bank and wavetable index. -
Uses of Soundbank in javax.sound.midi.spi
Methods in javax.sound.midi.spi that return Soundbank修饰符和类方法描述abstract SoundbankSoundbankReader.getSoundbank(File file) Obtains a soundbank object from theFileprovided.abstract SoundbankSoundbankReader.getSoundbank(InputStream stream) Obtains a soundbank object from theInputStreamprovided.abstract SoundbankSoundbankReader.getSoundbank(URL url) Obtains a soundbank object from theURLprovided.