Package | org.si.sound.synthesizers |
Class | public class WaveTableSynth |
Inheritance | WaveTableSynth ![]() ![]() ![]() |
Property | Defined By | ||
---|---|---|---|
![]() | amplitudeModulation : int amplitude modulation. | BasicSynth | |
![]() | attackTime : Number attack rate (0-1), lower value makes attack slow. | BasicSynth | |
color : uint wave color. | WaveTableSynth | ||
![]() | cutoff : Number low-pass filter cutoff(0-1). | BasicSynth | |
![]() | filterType : int filter type (0:lowpass, 1:bandpass, 2:highpass) | BasicSynth | |
layerDetune : int layer detune, 1 = halftone | WaveTableSynth | ||
layerType : String layering type | WaveTableSynth | ||
![]() | lfoCycleFrames : int modulation (low-frequency oscillator) cycle frames. | BasicSynth | |
![]() | lfoWaveShape : int modulation (low-frequency oscillator) wave shape, 0=saw, 1=square, 2=triangle, 3=random. | BasicSynth | |
![]() | pitchModulation : int pitch modulation. | BasicSynth | |
![]() | releaseTime : Number release rate (0-1), lower value makes release slow. | BasicSynth | |
![]() | resonance : Number low-pass filter resonance(0-1). | BasicSynth | |
![]() | voice : SiONVoice voice setting | VoiceReference | |
wavelet : Vector.<Number> [read-only] wave data. | WaveTableSynth |
Property | Defined By | ||
---|---|---|---|
_layerDetune : int layering detune | WaveTableSynth | ||
_layerType : String layering type | WaveTableSynth | ||
_operatorPitch : Array layering type | WaveTableSynth | ||
_operatorSetting : * [static] operator settings | WaveTableSynth | ||
![]() | _tracks : Vector.<SiMMLTrack> tracks to control | BasicSynth | |
_waveColor : uint wave color | WaveTableSynth | ||
_wavelet : Vector.<Number> wavelet | WaveTableSynth | ||
_waveTable : SiOPMWaveTable wave table | WaveTableSynth |
Method | Defined By | ||
---|---|---|---|
WaveTableSynth(layerType:String = single, waveColor:uint = 0x1000000f) constructor | WaveTableSynth | ||
![]() | setAmplitudeModulation(depth:int = 0, end_depth:int = 0, delay:int = 0, term:int = 0):void Set amplitude modulation parameters (same as "ma" command in MML). | BasicSynth | |
![]() | setFilterEnvelop(filterType:int = 0, cutoff:Number = 1, resonance:Number = 0, far:int = 0, fdr1:int = 0, fdr2:int = 0, frr:int = 0, fdc1:Number = 1, fdc2:Number = 0.5, fsc:Number = 0.25, frc:Number = 1):void set filter envelop (same as '@f' command in MML). | BasicSynth | |
![]() | setLPFEnvelop(cutoff:Number = 1, resonance:Number = 0, far:int = 0, fdr1:int = 0, fdr2:int = 0, frr:int = 0, fdc1:Number = 1, fdc2:Number = 0.5, fsc:Number = 0.25, frc:Number = 1):void [Please use setFilterEnvelop instead of this function]. | BasicSynth | |
![]() | setPitchModulation(depth:int = 0, end_depth:int = 0, delay:int = 0, term:int = 0):void Set amplitude modulation parameters (same as "mp" command in MML). | BasicSynth | |
updateWavelet():void update wavelet | WaveTableSynth |
Constant | Defined By | ||
---|---|---|---|
DETUNE : String = detune [static] detuned layer mode with double operators | WaveTableSynth | ||
DETUNE_POWER : String = detunePower [static] layered by closed detuned power code (4operators) | WaveTableSynth | ||
POWER : String = power [static] layered by closed power code (2operators) | WaveTableSynth | ||
SINGLE : String = single [static] single layer mode | WaveTableSynth | ||
SUS2 : String = sus2 [static] layered by closed sus2 code (3operators) | WaveTableSynth | ||
SUS4 : String = sus4 [static] layered by closed sus4 code (3operators) | WaveTableSynth | ||
TRIPLE_DETUNE : String = tripleDetune [static] detune layer mode with triple operators | WaveTableSynth |
_layerDetune | property |
protected var _layerDetune:int
layering detune
_layerType | property |
protected var _layerType:String
layering type
_operatorPitch | property |
protected var _operatorPitch:Array
layering type
_operatorSetting | property |
protected static var _operatorSetting:*
operator settings
_waveColor | property |
protected var _waveColor:uint
wave color
_wavelet | property |
protected var _wavelet:Vector.<Number>
wavelet
_waveTable | property |
protected var _waveTable:SiOPMWaveTable
wave table
color | property |
color:uint
wave color.
public function get color():uint
public function set color(value:uint):void
layerDetune | property |
layerDetune:int
layer detune, 1 = halftone
public function get layerDetune():int
public function set layerDetune(value:int):void
layerType | property |
layerType:String
layering type
public function get layerType():String
public function set layerType(value:String):void
wavelet | property |
wavelet:Vector.<Number>
[read-only] wave data.
public function get wavelet():Vector.<Number>
WaveTableSynth | () | Constructor |
public function WaveTableSynth(layerType:String = single, waveColor:uint = 0x1000000f)
constructor
ParameterslayerType:String (default = single )
| |
waveColor:uint (default = 0x1000000f )
|
updateWavelet | () | method |
public function updateWavelet():void
update wavelet
DETUNE | Constant |
public static const DETUNE:String = detune
detuned layer mode with double operators
DETUNE_POWER | Constant |
public static const DETUNE_POWER:String = detunePower
layered by closed detuned power code (4operators)
POWER | Constant |
public static const POWER:String = power
layered by closed power code (2operators)
SINGLE | Constant |
public static const SINGLE:String = single
single layer mode
SUS2 | Constant |
public static const SUS2:String = sus2
layered by closed sus2 code (3operators)
SUS4 | Constant |
public static const SUS4:String = sus4
layered by closed sus4 code (3operators)
TRIPLE_DETUNE | Constant |
public static const TRIPLE_DETUNE:String = tripleDetune
detune layer mode with triple operators