public class

SF2Region

extends Object
java.lang.Object
   ↳ com.sun.media.sound.SF2Region
Known Direct Subclasses

Class Overview

Soundfont general region.

Summary

Constants
int GENERATOR_ATTACKMODENV
int GENERATOR_ATTACKVOLENV
int GENERATOR_CHORUSEFFECTSSEND
int GENERATOR_COARSETUNE
int GENERATOR_DECAYMODENV
int GENERATOR_DECAYVOLENV
int GENERATOR_DELAYMODENV
int GENERATOR_DELAYMODLFO
int GENERATOR_DELAYVIBLFO
int GENERATOR_DELAYVOLENV
int GENERATOR_ENDADDRSCOARSEOFFSET
int GENERATOR_ENDADDRSOFFSET
int GENERATOR_ENDLOOPADDRSCOARSEOFFSET
int GENERATOR_ENDLOOPADDRSOFFSET
int GENERATOR_ENDOPR
int GENERATOR_EXCLUSIVECLASS
int GENERATOR_FINETUNE
int GENERATOR_FREQMODLFO
int GENERATOR_FREQVIBLFO
int GENERATOR_HOLDMODENV
int GENERATOR_HOLDVOLENV
int GENERATOR_INITIALATTENUATION
int GENERATOR_INITIALFILTERFC
int GENERATOR_INITIALFILTERQ
int GENERATOR_INSTRUMENT
int GENERATOR_KEYNUM
int GENERATOR_KEYNUMTOMODENVDECAY
int GENERATOR_KEYNUMTOMODENVHOLD
int GENERATOR_KEYNUMTOVOLENVDECAY
int GENERATOR_KEYNUMTOVOLENVHOLD
int GENERATOR_KEYRANGE
int GENERATOR_MODENVTOFILTERFC
int GENERATOR_MODENVTOPITCH
int GENERATOR_MODLFOTOFILTERFC
int GENERATOR_MODLFOTOPITCH
int GENERATOR_MODLFOTOVOLUME
int GENERATOR_OVERRIDINGROOTKEY
int GENERATOR_PAN
int GENERATOR_RELEASEMODENV
int GENERATOR_RELEASEVOLENV
int GENERATOR_RESERVED1
int GENERATOR_RESERVED2
int GENERATOR_RESERVED3
int GENERATOR_REVERBEFFECTSSEND
int GENERATOR_SAMPLEID
int GENERATOR_SAMPLEMODES
int GENERATOR_SCALETUNING
int GENERATOR_STARTADDRSCOARSEOFFSET
int GENERATOR_STARTADDRSOFFSET
int GENERATOR_STARTLOOPADDRSCOARSEOFFSET
int GENERATOR_STARTLOOPADDRSOFFSET
int GENERATOR_SUSTAINMODENV
int GENERATOR_SUSTAINVOLENV
int GENERATOR_UNUSED1
int GENERATOR_UNUSED2
int GENERATOR_UNUSED3
int GENERATOR_UNUSED4
int GENERATOR_UNUSED5
int GENERATOR_VELOCITY
int GENERATOR_VELRANGE
int GENERATOR_VIBLFOTOPITCH
Fields
protected Map<IntegerShort> generators
protected List<SF2Modulator> modulators
Public Constructors
SF2Region()
Public Methods
boolean contains(int generator)
byte[] getBytes(int generator)
static short getDefaultValue(int generator)
Map<IntegerShort> getGenerators()
int getInteger(int generator)
List<SF2Modulator> getModulators()
short getShort(int generator)
void putBytes(int generator, byte[] bytes)
void putInteger(int generator, int value)
void putShort(int generator, short value)
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int GENERATOR_ATTACKMODENV

Constant Value: 26 (0x0000001a)

public static final int GENERATOR_ATTACKVOLENV

Constant Value: 34 (0x00000022)

public static final int GENERATOR_CHORUSEFFECTSSEND

Constant Value: 15 (0x0000000f)

public static final int GENERATOR_COARSETUNE

Constant Value: 51 (0x00000033)

public static final int GENERATOR_DECAYMODENV

Constant Value: 28 (0x0000001c)

public static final int GENERATOR_DECAYVOLENV

Constant Value: 36 (0x00000024)

public static final int GENERATOR_DELAYMODENV

Constant Value: 25 (0x00000019)

public static final int GENERATOR_DELAYMODLFO

Constant Value: 21 (0x00000015)

public static final int GENERATOR_DELAYVIBLFO

Constant Value: 23 (0x00000017)

public static final int GENERATOR_DELAYVOLENV

Constant Value: 33 (0x00000021)

public static final int GENERATOR_ENDADDRSCOARSEOFFSET

Constant Value: 12 (0x0000000c)

public static final int GENERATOR_ENDADDRSOFFSET

Constant Value: 1 (0x00000001)

public static final int GENERATOR_ENDLOOPADDRSCOARSEOFFSET

Constant Value: 50 (0x00000032)

public static final int GENERATOR_ENDLOOPADDRSOFFSET

Constant Value: 3 (0x00000003)

public static final int GENERATOR_ENDOPR

Constant Value: 60 (0x0000003c)

public static final int GENERATOR_EXCLUSIVECLASS

Constant Value: 57 (0x00000039)

public static final int GENERATOR_FINETUNE

Constant Value: 52 (0x00000034)

public static final int GENERATOR_FREQMODLFO

Constant Value: 22 (0x00000016)

public static final int GENERATOR_FREQVIBLFO

Constant Value: 24 (0x00000018)

public static final int GENERATOR_HOLDMODENV

Constant Value: 27 (0x0000001b)

public static final int GENERATOR_HOLDVOLENV

Constant Value: 35 (0x00000023)

public static final int GENERATOR_INITIALATTENUATION

Constant Value: 48 (0x00000030)

public static final int GENERATOR_INITIALFILTERFC

Constant Value: 8 (0x00000008)

public static final int GENERATOR_INITIALFILTERQ

Constant Value: 9 (0x00000009)

public static final int GENERATOR_INSTRUMENT

Constant Value: 41 (0x00000029)

public static final int GENERATOR_KEYNUM

Constant Value: 46 (0x0000002e)

public static final int GENERATOR_KEYNUMTOMODENVDECAY

Constant Value: 32 (0x00000020)

public static final int GENERATOR_KEYNUMTOMODENVHOLD

Constant Value: 31 (0x0000001f)

public static final int GENERATOR_KEYNUMTOVOLENVDECAY

Constant Value: 40 (0x00000028)

public static final int GENERATOR_KEYNUMTOVOLENVHOLD

Constant Value: 39 (0x00000027)

public static final int GENERATOR_KEYRANGE

Constant Value: 43 (0x0000002b)

public static final int GENERATOR_MODENVTOFILTERFC

Constant Value: 11 (0x0000000b)

public static final int GENERATOR_MODENVTOPITCH

Constant Value: 7 (0x00000007)

public static final int GENERATOR_MODLFOTOFILTERFC

Constant Value: 10 (0x0000000a)

public static final int GENERATOR_MODLFOTOPITCH

Constant Value: 5 (0x00000005)

public static final int GENERATOR_MODLFOTOVOLUME

Constant Value: 13 (0x0000000d)

public static final int GENERATOR_OVERRIDINGROOTKEY

Constant Value: 58 (0x0000003a)

public static final int GENERATOR_PAN

Constant Value: 17 (0x00000011)

public static final int GENERATOR_RELEASEMODENV

Constant Value: 30 (0x0000001e)

public static final int GENERATOR_RELEASEVOLENV

Constant Value: 38 (0x00000026)

public static final int GENERATOR_RESERVED1

Constant Value: 42 (0x0000002a)

public static final int GENERATOR_RESERVED2

Constant Value: 49 (0x00000031)

public static final int GENERATOR_RESERVED3

Constant Value: 55 (0x00000037)

public static final int GENERATOR_REVERBEFFECTSSEND

Constant Value: 16 (0x00000010)

public static final int GENERATOR_SAMPLEID

Constant Value: 53 (0x00000035)

public static final int GENERATOR_SAMPLEMODES

Constant Value: 54 (0x00000036)

public static final int GENERATOR_SCALETUNING

Constant Value: 56 (0x00000038)

public static final int GENERATOR_STARTADDRSCOARSEOFFSET

Constant Value: 4 (0x00000004)

public static final int GENERATOR_STARTADDRSOFFSET

Constant Value: 0 (0x00000000)

public static final int GENERATOR_STARTLOOPADDRSCOARSEOFFSET

Constant Value: 45 (0x0000002d)

public static final int GENERATOR_STARTLOOPADDRSOFFSET

Constant Value: 2 (0x00000002)

public static final int GENERATOR_SUSTAINMODENV

Constant Value: 29 (0x0000001d)

public static final int GENERATOR_SUSTAINVOLENV

Constant Value: 37 (0x00000025)

public static final int GENERATOR_UNUSED1

Constant Value: 14 (0x0000000e)

public static final int GENERATOR_UNUSED2

Constant Value: 18 (0x00000012)

public static final int GENERATOR_UNUSED3

Constant Value: 19 (0x00000013)

public static final int GENERATOR_UNUSED4

Constant Value: 20 (0x00000014)

public static final int GENERATOR_UNUSED5

Constant Value: 59 (0x0000003b)

public static final int GENERATOR_VELOCITY

Constant Value: 47 (0x0000002f)

public static final int GENERATOR_VELRANGE

Constant Value: 44 (0x0000002c)

public static final int GENERATOR_VIBLFOTOPITCH

Constant Value: 6 (0x00000006)

Fields

protected Map<IntegerShort> generators

protected List<SF2Modulator> modulators

Public Constructors

public SF2Region ()

Public Methods

public boolean contains (int generator)

public byte[] getBytes (int generator)

public static short getDefaultValue (int generator)

public Map<IntegerShort> getGenerators ()

public int getInteger (int generator)

public List<SF2Modulator> getModulators ()

public short getShort (int generator)

public void putBytes (int generator, byte[] bytes)

public void putInteger (int generator, int value)

public void putShort (int generator, short value)