Drag[en]gine Script Module DragonScript Script API  1.0
SynthesizerSource Class Reference

SynthesizerSource source. More...

Inheritance diagram for SynthesizerSource:
SEStretch SSChain SSGroup SSSound SSSynthesizer SSWave

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...
 

Detailed Description

SynthesizerSource source.

This is a native class. It can not be instanced directly.

Author
Roland Pl├╝ss
Version
1.0
Date
2015

Member Function Documentation

§ addEffect()

void addEffect ( SynthesizerEffect  effect)

Add effect.

§ new()

SynthesizerSource new ( )
protected

Create animator source.

§ removeAllEffects()

void removeAllEffects ( )

Remove all effects.

§ setBlendFactor()

void setBlendFactor ( float  factor)

Set mixing mode.

§ setEnabled()

void setEnabled ( bool  enabled)

Source is enabled.

§ setMaxPanning()

void setMaxPanning ( float  panning)

Set maximum panning in the range from -1(left) to 1(right).

§ setMaxVolume()

void setMaxVolume ( float  volume)

Set maximum volume relative to speaker volume in the range from 0 to 1.

§ setMinPanning()

void setMinPanning ( float  panning)

Set minimum panning in the range from -1(left) to 1(right).

§ setMinVolume()

void setMinVolume ( float  volume)

Set minimum volume relative to speaker volume in the range from 0 to 1.

§ setMixMode()

void setMixMode ( int  mixMode)

Set if source is enabled.

Member Data Documentation

§ ADD

final int ADD = 1
static

Add sound output to the previous sounds clipping if too loud.

§ BLEND

final int BLEND = 0
static

Blend sound output of this source over the previous sound.


The documentation for this class was generated from the following file: