Package com.sun.media.sound
Class ModelConnectionBlock
java.lang.Object
com.sun.media.sound.ModelConnectionBlock
Connection blocks are used to connect source variable
to a destination variable.
For example Note On velocity can be connected to output gain.
In DLS this is called articulator and in SoundFonts (SF2) a modulator.
-
Constructor Summary
ConstructorDescriptionModelConnectionBlock
(double scale, ModelDestination destination) ModelConnectionBlock
(ModelSource source, double scale, ModelDestination destination) ModelConnectionBlock
(ModelSource source, ModelDestination destination) ModelConnectionBlock
(ModelSource source, ModelSource control, double scale, ModelDestination destination) ModelConnectionBlock
(ModelSource source, ModelSource control, ModelDestination destination) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addSource
(ModelSource source) double
getScale()
void
setDestination
(ModelDestination destination) void
setScale
(double scale) void
setSources
(ModelSource[] source)
-
Constructor Details
-
ModelConnectionBlock
public ModelConnectionBlock() -
ModelConnectionBlock
-
ModelConnectionBlock
-
ModelConnectionBlock
-
ModelConnectionBlock
-
ModelConnectionBlock
public ModelConnectionBlock(ModelSource source, ModelSource control, double scale, ModelDestination destination)
-
-
Method Details
-
getDestination
-
setDestination
-
getScale
public double getScale() -
setScale
public void setScale(double scale) -
getSources
-
setSources
-
addSource
-