Save This Page
Home » openjdk-7 » com.sun.media » sound » [javadoc | source]
com.sun.media.sound
public class: SF2Soundbank [javadoc | source]
java.lang.Object
   com.sun.media.sound.SF2Soundbank

All Implemented Interfaces:
    Soundbank

A SoundFont 2.04 soundbank reader. Based on SoundFont 2.04 specification from:

http://developer.creative.com
http://www.soundfont.com/ ;

Field Summary
protected  int major     
protected  int minor     
protected  String targetEngine     
protected  String name     
protected  String romName     
protected  int romVersionMajor     
protected  int romVersionMinor     
protected  String creationDate     
protected  String engineers     
protected  String product     
protected  String copyright     
protected  String comments     
protected  String tools     
Constructor:
 public SF2Soundbank() 
 public SF2Soundbank(URL url) throws IOException 
 public SF2Soundbank(File file) throws IOException 
 public SF2Soundbank(InputStream inputstream) throws IOException 
Method from com.sun.media.sound.SF2Soundbank Summary:
addInstrument,   addResource,   getCreationDate,   getDescription,   getInstrument,   getInstruments,   getLayers,   getName,   getProduct,   getResources,   getRomName,   getRomVersionMajor,   getRomVersionMinor,   getSamples,   getTargetEngine,   getTools,   getVendor,   getVersion,   removeInstrument,   removeResource,   save,   save,   save,   setCreationDate,   setDescription,   setName,   setProduct,   setRomName,   setRomVersionMajor,   setRomVersionMinor,   setTargetEngine,   setTools,   setVendor
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.sun.media.sound.SF2Soundbank Detail:
 public  void addInstrument(SF2Instrument resource) 
 public  void addResource(SoundbankResource resource) 
 public String getCreationDate() 
 public String getDescription() 
 public Instrument getInstrument(Patch patch) 
 public SF2Instrument[] getInstruments() 
 public SF2Layer[] getLayers() 
 public String getName() 
 public String getProduct() 
 public SoundbankResource[] getResources() 
 public String getRomName() 
 public int getRomVersionMajor() 
 public int getRomVersionMinor() 
 public SF2Sample[] getSamples() 
 public String getTargetEngine() 
 public String getTools() 
 public String getVendor() 
 public String getVersion() 
 public  void removeInstrument(SF2Instrument resource) 
 public  void removeResource(SoundbankResource resource) 
 public  void save(String name) throws IOException 
 public  void save(File file) throws IOException 
 public  void save(OutputStream out) throws IOException 
 public  void setCreationDate(String creationDate) 
 public  void setDescription(String s) 
 public  void setName(String s) 
 public  void setProduct(String product) 
 public  void setRomName(String romName) 
 public  void setRomVersionMajor(int romVersionMajor) 
 public  void setRomVersionMinor(int romVersionMinor) 
 public  void setTargetEngine(String targetEngine) 
 public  void setTools(String tools) 
 public  void setVendor(String s)