API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.sound.midi. Instrument View Source
Author(s)
Kara Kytle
Since
Version
1.17, 05/11/17
Serial
Hierarchy
 Object
      SoundbankResource
          Instrument
Implements
Subclasses
Description
publicabstract abstract class Instrument
  An instrument is a sound-synthesis algorithm with certain parameter settings, usually designed to emulate a specific real-world musical instrument or to achieve a specific sort of sound effect.
Constructors
protected Instrument (Soundbank soundbank, Patch patch, String name, Class<Object> dataClass)
  Constructs a new MIDI instrument from the specified Patch.
Methods
Hide/Show inherited methods
publicabstract Object getData () [Inherited From SoundbankResource]
  Obtains the sampled audio that is stored in this SoundbankResource.
public Class<Object> getDataClass () [Inherited From SoundbankResource]
  Obtains the class used by this sample to represent its data.
public String getName () [Inherited From SoundbankResource]
  Obtains the name of the resource.
public Patch getPatch ()
  Obtains the Patch object that indicates the bank and program numbers where this instrument is to be stored in the synthesizer.
public Soundbank getSoundbank () [Inherited From SoundbankResource]
  Obtains the sound bank that contains this SoundbankResource.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar