Package com.sun.media.sound
Class SF2Region
java.lang.Object
com.sun.media.sound.SF2Region
- Direct Known Subclasses:
SF2GlobalRegion
,SF2InstrumentRegion
,SF2LayerRegion
Soundfont general region.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
protected List<SF2Modulator>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
contains
(int generator) byte[]
getBytes
(int generator) static short
getDefaultValue
(int generator) int
getInteger
(int generator) short
getShort
(int generator) void
putBytes
(int generator, byte[] bytes) void
putInteger
(int generator, int value) void
putShort
(int generator, short value)
-
Field Details
-
GENERATOR_STARTADDRSOFFSET
public static final int GENERATOR_STARTADDRSOFFSET- See Also:
-
GENERATOR_ENDADDRSOFFSET
public static final int GENERATOR_ENDADDRSOFFSET- See Also:
-
GENERATOR_STARTLOOPADDRSOFFSET
public static final int GENERATOR_STARTLOOPADDRSOFFSET- See Also:
-
GENERATOR_ENDLOOPADDRSOFFSET
public static final int GENERATOR_ENDLOOPADDRSOFFSET- See Also:
-
GENERATOR_STARTADDRSCOARSEOFFSET
public static final int GENERATOR_STARTADDRSCOARSEOFFSET- See Also:
-
GENERATOR_MODLFOTOPITCH
public static final int GENERATOR_MODLFOTOPITCH- See Also:
-
GENERATOR_VIBLFOTOPITCH
public static final int GENERATOR_VIBLFOTOPITCH- See Also:
-
GENERATOR_MODENVTOPITCH
public static final int GENERATOR_MODENVTOPITCH- See Also:
-
GENERATOR_INITIALFILTERFC
public static final int GENERATOR_INITIALFILTERFC- See Also:
-
GENERATOR_INITIALFILTERQ
public static final int GENERATOR_INITIALFILTERQ- See Also:
-
GENERATOR_MODLFOTOFILTERFC
public static final int GENERATOR_MODLFOTOFILTERFC- See Also:
-
GENERATOR_MODENVTOFILTERFC
public static final int GENERATOR_MODENVTOFILTERFC- See Also:
-
GENERATOR_ENDADDRSCOARSEOFFSET
public static final int GENERATOR_ENDADDRSCOARSEOFFSET- See Also:
-
GENERATOR_MODLFOTOVOLUME
public static final int GENERATOR_MODLFOTOVOLUME- See Also:
-
GENERATOR_UNUSED1
public static final int GENERATOR_UNUSED1- See Also:
-
GENERATOR_CHORUSEFFECTSSEND
public static final int GENERATOR_CHORUSEFFECTSSEND- See Also:
-
GENERATOR_REVERBEFFECTSSEND
public static final int GENERATOR_REVERBEFFECTSSEND- See Also:
-
GENERATOR_PAN
public static final int GENERATOR_PAN- See Also:
-
GENERATOR_UNUSED2
public static final int GENERATOR_UNUSED2- See Also:
-
GENERATOR_UNUSED3
public static final int GENERATOR_UNUSED3- See Also:
-
GENERATOR_UNUSED4
public static final int GENERATOR_UNUSED4- See Also:
-
GENERATOR_DELAYMODLFO
public static final int GENERATOR_DELAYMODLFO- See Also:
-
GENERATOR_FREQMODLFO
public static final int GENERATOR_FREQMODLFO- See Also:
-
GENERATOR_DELAYVIBLFO
public static final int GENERATOR_DELAYVIBLFO- See Also:
-
GENERATOR_FREQVIBLFO
public static final int GENERATOR_FREQVIBLFO- See Also:
-
GENERATOR_DELAYMODENV
public static final int GENERATOR_DELAYMODENV- See Also:
-
GENERATOR_ATTACKMODENV
public static final int GENERATOR_ATTACKMODENV- See Also:
-
GENERATOR_HOLDMODENV
public static final int GENERATOR_HOLDMODENV- See Also:
-
GENERATOR_DECAYMODENV
public static final int GENERATOR_DECAYMODENV- See Also:
-
GENERATOR_SUSTAINMODENV
public static final int GENERATOR_SUSTAINMODENV- See Also:
-
GENERATOR_RELEASEMODENV
public static final int GENERATOR_RELEASEMODENV- See Also:
-
GENERATOR_KEYNUMTOMODENVHOLD
public static final int GENERATOR_KEYNUMTOMODENVHOLD- See Also:
-
GENERATOR_KEYNUMTOMODENVDECAY
public static final int GENERATOR_KEYNUMTOMODENVDECAY- See Also:
-
GENERATOR_DELAYVOLENV
public static final int GENERATOR_DELAYVOLENV- See Also:
-
GENERATOR_ATTACKVOLENV
public static final int GENERATOR_ATTACKVOLENV- See Also:
-
GENERATOR_HOLDVOLENV
public static final int GENERATOR_HOLDVOLENV- See Also:
-
GENERATOR_DECAYVOLENV
public static final int GENERATOR_DECAYVOLENV- See Also:
-
GENERATOR_SUSTAINVOLENV
public static final int GENERATOR_SUSTAINVOLENV- See Also:
-
GENERATOR_RELEASEVOLENV
public static final int GENERATOR_RELEASEVOLENV- See Also:
-
GENERATOR_KEYNUMTOVOLENVHOLD
public static final int GENERATOR_KEYNUMTOVOLENVHOLD- See Also:
-
GENERATOR_KEYNUMTOVOLENVDECAY
public static final int GENERATOR_KEYNUMTOVOLENVDECAY- See Also:
-
GENERATOR_INSTRUMENT
public static final int GENERATOR_INSTRUMENT- See Also:
-
GENERATOR_RESERVED1
public static final int GENERATOR_RESERVED1- See Also:
-
GENERATOR_KEYRANGE
public static final int GENERATOR_KEYRANGE- See Also:
-
GENERATOR_VELRANGE
public static final int GENERATOR_VELRANGE- See Also:
-
GENERATOR_STARTLOOPADDRSCOARSEOFFSET
public static final int GENERATOR_STARTLOOPADDRSCOARSEOFFSET- See Also:
-
GENERATOR_KEYNUM
public static final int GENERATOR_KEYNUM- See Also:
-
GENERATOR_VELOCITY
public static final int GENERATOR_VELOCITY- See Also:
-
GENERATOR_INITIALATTENUATION
public static final int GENERATOR_INITIALATTENUATION- See Also:
-
GENERATOR_RESERVED2
public static final int GENERATOR_RESERVED2- See Also:
-
GENERATOR_ENDLOOPADDRSCOARSEOFFSET
public static final int GENERATOR_ENDLOOPADDRSCOARSEOFFSET- See Also:
-
GENERATOR_COARSETUNE
public static final int GENERATOR_COARSETUNE- See Also:
-
GENERATOR_FINETUNE
public static final int GENERATOR_FINETUNE- See Also:
-
GENERATOR_SAMPLEID
public static final int GENERATOR_SAMPLEID- See Also:
-
GENERATOR_SAMPLEMODES
public static final int GENERATOR_SAMPLEMODES- See Also:
-
GENERATOR_RESERVED3
public static final int GENERATOR_RESERVED3- See Also:
-
GENERATOR_SCALETUNING
public static final int GENERATOR_SCALETUNING- See Also:
-
GENERATOR_EXCLUSIVECLASS
public static final int GENERATOR_EXCLUSIVECLASS- See Also:
-
GENERATOR_OVERRIDINGROOTKEY
public static final int GENERATOR_OVERRIDINGROOTKEY- See Also:
-
GENERATOR_UNUSED5
public static final int GENERATOR_UNUSED5- See Also:
-
GENERATOR_ENDOPR
public static final int GENERATOR_ENDOPR- See Also:
-
generators
-
modulators
-
-
Constructor Details
-
SF2Region
public SF2Region()
-
-
Method Details
-
getGenerators
-
contains
public boolean contains(int generator) -
getDefaultValue
public static short getDefaultValue(int generator) -
getShort
public short getShort(int generator) -
putShort
public void putShort(int generator, short value) -
getBytes
public byte[] getBytes(int generator) -
putBytes
public void putBytes(int generator, byte[] bytes) -
getInteger
public int getInteger(int generator) -
putInteger
public void putInteger(int generator, int value) -
getModulators
-