javax.sound.midi

Interface Soundbank

public interface Soundbank

A Soundbank is a container for instruments which may be loaded into a Synthesizer.

Since: 1.3

Method Summary
StringgetDescription()
Get the sound bank description.
InstrumentgetInstrument(Patch patch)
Get the Instrument for the given Patch.
Instrument[]getInstruments()
Get an array of Instruments in this sound bank.
StringgetName()
Get the sound bank name.
SoundbankResource[]getResources()
Get an array of non-Instrument resources in this sound bank.
StringgetVendor()
Get the sound bank vendor.
StringgetVersion()
Get the sound bank version.

Method Detail

getDescription

public String getDescription()
Get the sound bank description.

Returns: the sound bank description

getInstrument

public Instrument getInstrument(Patch patch)
Get the Instrument for the given Patch.

Parameters: patch the Patch to search for

Returns: the Instrument corresponding to patch

getInstruments

public Instrument[] getInstruments()
Get an array of Instruments in this sound bank.

Returns: an array of instruments in this sound bank

getName

public String getName()
Get the sound bank name.

Returns: the sound bank name

getResources

public SoundbankResource[] getResources()
Get an array of non-Instrument resources in this sound bank.

Returns: an array of non-instrument resources in this sound bank

getVendor

public String getVendor()
Get the sound bank vendor.

Returns: the sound bank vendor

getVersion

public String getVersion()
Get the sound bank version.

Returns: the sound bank version