Drag[en]gine Script Module DragonScript Script API
1.0
|
SynthesizerSource source. More...
Public Member Functions | |
Management | |
void | setEnabled (bool enabled) |
Source is enabled. More... | |
void | setMixMode (int mixMode) |
Set if source is enabled. More... | |
void | setBlendFactor (float factor) |
Set mixing mode. More... | |
void | setMinVolume (float volume) |
Set minimum volume relative to speaker volume in the range from 0 to 1. More... | |
void | setMaxVolume (float volume) |
Set maximum volume relative to speaker volume in the range from 0 to 1. More... | |
void | setMinPanning (float panning) |
Set minimum panning in the range from -1(left) to 1(right). More... | |
void | setMaxPanning (float panning) |
Set maximum panning in the range from -1(left) to 1(right). More... | |
Effects | |
void | addEffect (SynthesizerEffect effect) |
Add effect. More... | |
void | removeAllEffects () |
Remove all effects. More... | |
Static Public Attributes | |
Mixing modes. | |
static final int | BLEND = 0 |
Blend sound output of this source over the previous sound. More... | |
static final int | ADD = 1 |
Add sound output to the previous sounds clipping if too loud. More... | |
Protected Member Functions | |
Constructors | |
SynthesizerSource | new () |
Create animator source. More... | |
SynthesizerSource source.
This is a native class. It can not be instanced directly.
void addEffect | ( | SynthesizerEffect | effect | ) |
Add effect.
|
protected |
Create animator source.
void removeAllEffects | ( | ) |
Remove all effects.
void setBlendFactor | ( | float | factor | ) |
Set mixing mode.
void setEnabled | ( | bool | enabled | ) |
Source is enabled.
void setMaxPanning | ( | float | panning | ) |
Set maximum panning in the range from -1(left) to 1(right).
void setMaxVolume | ( | float | volume | ) |
Set maximum volume relative to speaker volume in the range from 0 to 1.
void setMinPanning | ( | float | panning | ) |
Set minimum panning in the range from -1(left) to 1(right).
void setMinVolume | ( | float | volume | ) |
Set minimum volume relative to speaker volume in the range from 0 to 1.
void setMixMode | ( | int | mixMode | ) |
Set if source is enabled.
|
static |
Add sound output to the previous sounds clipping if too loud.
|
static |
Blend sound output of this source over the previous sound.