com.sun.media.sound
Class DLSModulator
java.lang.Object
com.sun.media.sound.DLSModulator
public class DLSModulator
- extends java.lang.Object
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.
- Author:
- Karl Helgason
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONN_DST_NONE
public static final int CONN_DST_NONE
- See Also:
- Constant Field Values
CONN_DST_GAIN
public static final int CONN_DST_GAIN
- See Also:
- Constant Field Values
CONN_DST_PITCH
public static final int CONN_DST_PITCH
- See Also:
- Constant Field Values
CONN_DST_PAN
public static final int CONN_DST_PAN
- See Also:
- Constant Field Values
CONN_DST_LFO_FREQUENCY
public static final int CONN_DST_LFO_FREQUENCY
- See Also:
- Constant Field Values
CONN_DST_LFO_STARTDELAY
public static final int CONN_DST_LFO_STARTDELAY
- See Also:
- Constant Field Values
CONN_DST_EG1_ATTACKTIME
public static final int CONN_DST_EG1_ATTACKTIME
- See Also:
- Constant Field Values
CONN_DST_EG1_DECAYTIME
public static final int CONN_DST_EG1_DECAYTIME
- See Also:
- Constant Field Values
CONN_DST_EG1_RELEASETIME
public static final int CONN_DST_EG1_RELEASETIME
- See Also:
- Constant Field Values
CONN_DST_EG1_SUSTAINLEVEL
public static final int CONN_DST_EG1_SUSTAINLEVEL
- See Also:
- Constant Field Values
CONN_DST_EG2_ATTACKTIME
public static final int CONN_DST_EG2_ATTACKTIME
- See Also:
- Constant Field Values
CONN_DST_EG2_DECAYTIME
public static final int CONN_DST_EG2_DECAYTIME
- See Also:
- Constant Field Values
CONN_DST_EG2_RELEASETIME
public static final int CONN_DST_EG2_RELEASETIME
- See Also:
- Constant Field Values
CONN_DST_EG2_SUSTAINLEVEL
public static final int CONN_DST_EG2_SUSTAINLEVEL
- See Also:
- Constant Field Values
CONN_DST_KEYNUMBER
public static final int CONN_DST_KEYNUMBER
- See Also:
- Constant Field Values
CONN_DST_LEFT
public static final int CONN_DST_LEFT
- See Also:
- Constant Field Values
CONN_DST_RIGHT
public static final int CONN_DST_RIGHT
- See Also:
- Constant Field Values
CONN_DST_CENTER
public static final int CONN_DST_CENTER
- See Also:
- Constant Field Values
CONN_DST_LEFTREAR
public static final int CONN_DST_LEFTREAR
- See Also:
- Constant Field Values
CONN_DST_RIGHTREAR
public static final int CONN_DST_RIGHTREAR
- See Also:
- Constant Field Values
CONN_DST_LFE_CHANNEL
public static final int CONN_DST_LFE_CHANNEL
- See Also:
- Constant Field Values
CONN_DST_CHORUS
public static final int CONN_DST_CHORUS
- See Also:
- Constant Field Values
CONN_DST_REVERB
public static final int CONN_DST_REVERB
- See Also:
- Constant Field Values
CONN_DST_VIB_FREQUENCY
public static final int CONN_DST_VIB_FREQUENCY
- See Also:
- Constant Field Values
CONN_DST_VIB_STARTDELAY
public static final int CONN_DST_VIB_STARTDELAY
- See Also:
- Constant Field Values
CONN_DST_EG1_DELAYTIME
public static final int CONN_DST_EG1_DELAYTIME
- See Also:
- Constant Field Values
CONN_DST_EG1_HOLDTIME
public static final int CONN_DST_EG1_HOLDTIME
- See Also:
- Constant Field Values
CONN_DST_EG1_SHUTDOWNTIME
public static final int CONN_DST_EG1_SHUTDOWNTIME
- See Also:
- Constant Field Values
CONN_DST_EG2_DELAYTIME
public static final int CONN_DST_EG2_DELAYTIME
- See Also:
- Constant Field Values
CONN_DST_EG2_HOLDTIME
public static final int CONN_DST_EG2_HOLDTIME
- See Also:
- Constant Field Values
CONN_DST_FILTER_CUTOFF
public static final int CONN_DST_FILTER_CUTOFF
- See Also:
- Constant Field Values
CONN_DST_FILTER_Q
public static final int CONN_DST_FILTER_Q
- See Also:
- Constant Field Values
CONN_SRC_NONE
public static final int CONN_SRC_NONE
- See Also:
- Constant Field Values
CONN_SRC_LFO
public static final int CONN_SRC_LFO
- See Also:
- Constant Field Values
CONN_SRC_KEYONVELOCITY
public static final int CONN_SRC_KEYONVELOCITY
- See Also:
- Constant Field Values
CONN_SRC_KEYNUMBER
public static final int CONN_SRC_KEYNUMBER
- See Also:
- Constant Field Values
CONN_SRC_EG1
public static final int CONN_SRC_EG1
- See Also:
- Constant Field Values
CONN_SRC_EG2
public static final int CONN_SRC_EG2
- See Also:
- Constant Field Values
CONN_SRC_PITCHWHEEL
public static final int CONN_SRC_PITCHWHEEL
- See Also:
- Constant Field Values
CONN_SRC_CC1
public static final int CONN_SRC_CC1
- See Also:
- Constant Field Values
CONN_SRC_CC7
public static final int CONN_SRC_CC7
- See Also:
- Constant Field Values
CONN_SRC_CC10
public static final int CONN_SRC_CC10
- See Also:
- Constant Field Values
CONN_SRC_CC11
public static final int CONN_SRC_CC11
- See Also:
- Constant Field Values
CONN_SRC_RPN0
public static final int CONN_SRC_RPN0
- See Also:
- Constant Field Values
CONN_SRC_RPN1
public static final int CONN_SRC_RPN1
- See Also:
- Constant Field Values
CONN_SRC_RPN2
public static final int CONN_SRC_RPN2
- See Also:
- Constant Field Values
CONN_SRC_POLYPRESSURE
public static final int CONN_SRC_POLYPRESSURE
- See Also:
- Constant Field Values
CONN_SRC_CHANNELPRESSURE
public static final int CONN_SRC_CHANNELPRESSURE
- See Also:
- Constant Field Values
CONN_SRC_VIBRATO
public static final int CONN_SRC_VIBRATO
- See Also:
- Constant Field Values
CONN_SRC_MONOPRESSURE
public static final int CONN_SRC_MONOPRESSURE
- See Also:
- Constant Field Values
CONN_SRC_CC91
public static final int CONN_SRC_CC91
- See Also:
- Constant Field Values
CONN_SRC_CC93
public static final int CONN_SRC_CC93
- See Also:
- Constant Field Values
CONN_TRN_NONE
public static final int CONN_TRN_NONE
- See Also:
- Constant Field Values
CONN_TRN_CONCAVE
public static final int CONN_TRN_CONCAVE
- See Also:
- Constant Field Values
CONN_TRN_CONVEX
public static final int CONN_TRN_CONVEX
- See Also:
- Constant Field Values
CONN_TRN_SWITCH
public static final int CONN_TRN_SWITCH
- See Also:
- Constant Field Values
DST_FORMAT_CB
public static final int DST_FORMAT_CB
- See Also:
- Constant Field Values
DST_FORMAT_CENT
public static final int DST_FORMAT_CENT
- See Also:
- Constant Field Values
DST_FORMAT_TIMECENT
public static final int DST_FORMAT_TIMECENT
- See Also:
- Constant Field Values
DST_FORMAT_PERCENT
public static final int DST_FORMAT_PERCENT
- See Also:
- Constant Field Values
source
protected int source
control
protected int control
destination
protected int destination
transform
protected int transform
scale
protected int scale
version
protected int version
DLSModulator
public DLSModulator()
getControl
public int getControl()
setControl
public void setControl(int control)
getDestinationFormat
public static int getDestinationFormat(int destination)
getDestinationName
public static java.lang.String getDestinationName(int destination)
getSourceName
public static java.lang.String getSourceName(int source)
getDestination
public int getDestination()
setDestination
public void setDestination(int destination)
getScale
public int getScale()
setScale
public void setScale(int scale)
getSource
public int getSource()
setSource
public void setSource(int source)
getVersion
public int getVersion()
setVersion
public void setVersion(int version)
getTransform
public int getTransform()
setTransform
public void setTransform(int transform)