public class

DLSModulator

extends Object
java.lang.Object
   ↳ com.sun.media.sound.DLSModulator

Class Overview

This class is used to store modulator/artiuclation data. A modulator connects one synthesizer source to a destination. For example a note on velocity can be mapped to the gain of the synthesized voice. It is stored as a "art1" or "art2" chunk inside DLS files.

Summary

Constants
int CONN_DST_CENTER
int CONN_DST_CHORUS
int CONN_DST_EG1_ATTACKTIME
int CONN_DST_EG1_DECAYTIME
int CONN_DST_EG1_DELAYTIME
int CONN_DST_EG1_HOLDTIME
int CONN_DST_EG1_RELEASETIME
int CONN_DST_EG1_SHUTDOWNTIME
int CONN_DST_EG1_SUSTAINLEVEL
int CONN_DST_EG2_ATTACKTIME
int CONN_DST_EG2_DECAYTIME
int CONN_DST_EG2_DELAYTIME
int CONN_DST_EG2_HOLDTIME
int CONN_DST_EG2_RELEASETIME
int CONN_DST_EG2_SUSTAINLEVEL
int CONN_DST_FILTER_CUTOFF
int CONN_DST_FILTER_Q
int CONN_DST_GAIN
int CONN_DST_KEYNUMBER
int CONN_DST_LEFT
int CONN_DST_LEFTREAR
int CONN_DST_LFE_CHANNEL
int CONN_DST_LFO_FREQUENCY
int CONN_DST_LFO_STARTDELAY
int CONN_DST_NONE
int CONN_DST_PAN
int CONN_DST_PITCH
int CONN_DST_REVERB
int CONN_DST_RIGHT
int CONN_DST_RIGHTREAR
int CONN_DST_VIB_FREQUENCY
int CONN_DST_VIB_STARTDELAY
int CONN_SRC_CC1
int CONN_SRC_CC10
int CONN_SRC_CC11
int CONN_SRC_CC7
int CONN_SRC_CC91
int CONN_SRC_CC93
int CONN_SRC_CHANNELPRESSURE
int CONN_SRC_EG1
int CONN_SRC_EG2
int CONN_SRC_KEYNUMBER
int CONN_SRC_KEYONVELOCITY
int CONN_SRC_LFO
int CONN_SRC_MONOPRESSURE
int CONN_SRC_NONE
int CONN_SRC_PITCHWHEEL
int CONN_SRC_POLYPRESSURE
int CONN_SRC_RPN0
int CONN_SRC_RPN1
int CONN_SRC_RPN2
int CONN_SRC_VIBRATO
int CONN_TRN_CONCAVE
int CONN_TRN_CONVEX
int CONN_TRN_NONE
int CONN_TRN_SWITCH
int DST_FORMAT_CB
int DST_FORMAT_CENT
int DST_FORMAT_PERCENT
int DST_FORMAT_TIMECENT
Fields
protected int control
protected int destination
protected int scale
protected int source
protected int transform
protected int version
Public Constructors
DLSModulator()
Public Methods
int getControl()
int getDestination()
static int getDestinationFormat(int destination)
static String getDestinationName(int destination)
int getScale()
int getSource()
static String getSourceName(int source)
int getTransform()
int getVersion()
void setControl(int control)
void setDestination(int destination)
void setScale(int scale)
void setSource(int source)
void setTransform(int transform)
void setVersion(int version)
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int CONN_DST_CENTER

Constant Value: 18 (0x00000012)

public static final int CONN_DST_CHORUS

Constant Value: 128 (0x00000080)

public static final int CONN_DST_EG1_ATTACKTIME

Constant Value: 518 (0x00000206)

public static final int CONN_DST_EG1_DECAYTIME

Constant Value: 519 (0x00000207)

public static final int CONN_DST_EG1_DELAYTIME

Constant Value: 523 (0x0000020b)

public static final int CONN_DST_EG1_HOLDTIME

Constant Value: 524 (0x0000020c)

public static final int CONN_DST_EG1_RELEASETIME

Constant Value: 521 (0x00000209)

public static final int CONN_DST_EG1_SHUTDOWNTIME

Constant Value: 525 (0x0000020d)

public static final int CONN_DST_EG1_SUSTAINLEVEL

Constant Value: 522 (0x0000020a)

public static final int CONN_DST_EG2_ATTACKTIME

Constant Value: 778 (0x0000030a)

public static final int CONN_DST_EG2_DECAYTIME

Constant Value: 779 (0x0000030b)

public static final int CONN_DST_EG2_DELAYTIME

Constant Value: 783 (0x0000030f)

public static final int CONN_DST_EG2_HOLDTIME

Constant Value: 784 (0x00000310)

public static final int CONN_DST_EG2_RELEASETIME

Constant Value: 781 (0x0000030d)

public static final int CONN_DST_EG2_SUSTAINLEVEL

Constant Value: 782 (0x0000030e)

public static final int CONN_DST_FILTER_CUTOFF

Constant Value: 1280 (0x00000500)

public static final int CONN_DST_FILTER_Q

Constant Value: 1281 (0x00000501)

public static final int CONN_DST_GAIN

Constant Value: 1 (0x00000001)

public static final int CONN_DST_KEYNUMBER

Constant Value: 5 (0x00000005)

public static final int CONN_DST_LEFT

Constant Value: 16 (0x00000010)

public static final int CONN_DST_LEFTREAR

Constant Value: 19 (0x00000013)

public static final int CONN_DST_LFE_CHANNEL

Constant Value: 21 (0x00000015)

public static final int CONN_DST_LFO_FREQUENCY

Constant Value: 260 (0x00000104)

public static final int CONN_DST_LFO_STARTDELAY

Constant Value: 261 (0x00000105)

public static final int CONN_DST_NONE

Constant Value: 0 (0x00000000)

public static final int CONN_DST_PAN

Constant Value: 4 (0x00000004)

public static final int CONN_DST_PITCH

Constant Value: 3 (0x00000003)

public static final int CONN_DST_REVERB

Constant Value: 129 (0x00000081)

public static final int CONN_DST_RIGHT

Constant Value: 17 (0x00000011)

public static final int CONN_DST_RIGHTREAR

Constant Value: 20 (0x00000014)

public static final int CONN_DST_VIB_FREQUENCY

Constant Value: 276 (0x00000114)

public static final int CONN_DST_VIB_STARTDELAY

Constant Value: 277 (0x00000115)

public static final int CONN_SRC_CC1

Constant Value: 129 (0x00000081)

public static final int CONN_SRC_CC10

Constant Value: 138 (0x0000008a)

public static final int CONN_SRC_CC11

Constant Value: 139 (0x0000008b)

public static final int CONN_SRC_CC7

Constant Value: 135 (0x00000087)

public static final int CONN_SRC_CC91

Constant Value: 219 (0x000000db)

public static final int CONN_SRC_CC93

Constant Value: 221 (0x000000dd)

public static final int CONN_SRC_CHANNELPRESSURE

Constant Value: 8 (0x00000008)

public static final int CONN_SRC_EG1

Constant Value: 4 (0x00000004)

public static final int CONN_SRC_EG2

Constant Value: 5 (0x00000005)

public static final int CONN_SRC_KEYNUMBER

Constant Value: 3 (0x00000003)

public static final int CONN_SRC_KEYONVELOCITY

Constant Value: 2 (0x00000002)

public static final int CONN_SRC_LFO

Constant Value: 1 (0x00000001)

public static final int CONN_SRC_MONOPRESSURE

Constant Value: 10 (0x0000000a)

public static final int CONN_SRC_NONE

Constant Value: 0 (0x00000000)

public static final int CONN_SRC_PITCHWHEEL

Constant Value: 6 (0x00000006)

public static final int CONN_SRC_POLYPRESSURE

Constant Value: 7 (0x00000007)

public static final int CONN_SRC_RPN0

Constant Value: 256 (0x00000100)

public static final int CONN_SRC_RPN1

Constant Value: 257 (0x00000101)

public static final int CONN_SRC_RPN2

Constant Value: 258 (0x00000102)

public static final int CONN_SRC_VIBRATO

Constant Value: 9 (0x00000009)

public static final int CONN_TRN_CONCAVE

Constant Value: 1 (0x00000001)

public static final int CONN_TRN_CONVEX

Constant Value: 2 (0x00000002)

public static final int CONN_TRN_NONE

Constant Value: 0 (0x00000000)

public static final int CONN_TRN_SWITCH

Constant Value: 3 (0x00000003)

public static final int DST_FORMAT_CB

Constant Value: 1 (0x00000001)

public static final int DST_FORMAT_CENT

Constant Value: 1 (0x00000001)

public static final int DST_FORMAT_PERCENT

Constant Value: 3 (0x00000003)

public static final int DST_FORMAT_TIMECENT

Constant Value: 2 (0x00000002)

Fields

protected int control

protected int destination

protected int scale

protected int source

protected int transform

protected int version

Public Constructors

public DLSModulator ()

Public Methods

public int getControl ()

public int getDestination ()

public static int getDestinationFormat (int destination)

public static String getDestinationName (int destination)

public int getScale ()

public int getSource ()

public static String getSourceName (int source)

public int getTransform ()

public int getVersion ()

public void setControl (int control)

public void setDestination (int destination)

public void setScale (int scale)

public void setSource (int source)

public void setTransform (int transform)

public void setVersion (int version)