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
 String getDescription()
          Get the sound bank description.
 Instrument getInstrument(Patch patch)
          Get the Instrument for the given Patch.
 Instrument[] getInstruments()
          Get an array of Instruments in this sound bank.
 String getName()
          Get the sound bank name.
 SoundbankResource[] getResources()
          Get an array of non-Instrument resources in this sound bank.
 String getVendor()
          Get the sound bank vendor.
 String getVersion()
          Get the sound bank version.
 

Method Detail

getName

String getName()
Get the sound bank name.

Returns:
the sound bank name

getVersion

String getVersion()
Get the sound bank version.

Returns:
the sound bank version

getVendor

String getVendor()
Get the sound bank vendor.

Returns:
the sound bank vendor

getDescription

String getDescription()
Get the sound bank description.

Returns:
the sound bank description

getResources

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

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

getInstruments

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

Returns:
an array of instruments in this sound bank

getInstrument

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

Parameters:
patch - the Patch to search for
Returns:
the Instrument corresponding to patch