Packageorg.si.sound.synthesizers
Classpublic class WaveTableSynth
InheritanceWaveTableSynth Inheritance BasicSynth Inheritance VoiceReference Inheritance Object

Wave Table Synthesizer



Public Properties
 PropertyDefined By
 InheritedamplitudeModulation : int
amplitude modulation.
BasicSynth
 InheritedattackTime : Number
attack rate (0-1), lower value makes attack slow.
BasicSynth
  color : uint
wave color.
WaveTableSynth
 Inheritedcutoff : Number
low-pass filter cutoff(0-1).
BasicSynth
 InheritedfilterType : int
filter type (0:lowpass, 1:bandpass, 2:highpass)
BasicSynth
  layerDetune : int
layer detune, 1 = halftone
WaveTableSynth
  layerType : String
layering type
WaveTableSynth
 InheritedlfoCycleFrames : int
modulation (low-frequency oscillator) cycle frames.
BasicSynth
 InheritedlfoWaveShape : int
modulation (low-frequency oscillator) wave shape, 0=saw, 1=square, 2=triangle, 3=random.
BasicSynth
 InheritedpitchModulation : int
pitch modulation.
BasicSynth
 InheritedreleaseTime : Number
release rate (0-1), lower value makes release slow.
BasicSynth
 Inheritedresonance : Number
low-pass filter resonance(0-1).
BasicSynth
 Inheritedvoice : SiONVoice
voice setting
VoiceReference
  wavelet : Vector.<Number>
[read-only] wave data.
WaveTableSynth
Protected Properties
 PropertyDefined By
  _layerDetune : int
layering detune
WaveTableSynth
  _layerType : String
layering type
WaveTableSynth
  _operatorPitch : Array
layering type
WaveTableSynth
  _operatorSetting : *
[static] operator settings
WaveTableSynth
 Inherited_tracks : Vector.<SiMMLTrack>
tracks to control
BasicSynth
  _waveColor : uint
wave color
WaveTableSynth
  _wavelet : Vector.<Number>
wavelet
WaveTableSynth
  _waveTable : SiOPMWaveTable
wave table
WaveTableSynth
Public Methods
 MethodDefined By
  
WaveTableSynth(layerType:String = single, waveColor:uint = 0x1000000f)
constructor
WaveTableSynth
 Inherited
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
 Inherited
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
 Inherited
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
 Inherited
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
  
update wavelet
WaveTableSynth
Public Constants
 ConstantDefined 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
Property Detail
_layerDetuneproperty
protected var _layerDetune:int

layering detune

_layerTypeproperty 
protected var _layerType:String

layering type

_operatorPitchproperty 
protected var _operatorPitch:Array

layering type

_operatorSettingproperty 
protected static var _operatorSetting:*

operator settings

_waveColorproperty 
protected var _waveColor:uint

wave color

_waveletproperty 
protected var _wavelet:Vector.<Number>

wavelet

_waveTableproperty 
protected var _waveTable:SiOPMWaveTable

wave table

colorproperty 
color:uint

wave color.


Implementation
    public function get color():uint
    public function set color(value:uint):void
layerDetuneproperty 
layerDetune:int

layer detune, 1 = halftone


Implementation
    public function get layerDetune():int
    public function set layerDetune(value:int):void
layerTypeproperty 
layerType:String

layering type


Implementation
    public function get layerType():String
    public function set layerType(value:String):void
waveletproperty 
wavelet:Vector.<Number>  [read-only]

wave data.


Implementation
    public function get wavelet():Vector.<Number>
Constructor Detail
WaveTableSynth()Constructor
public function WaveTableSynth(layerType:String = single, waveColor:uint = 0x1000000f)

constructor

Parameters
layerType:String (default = single)
 
waveColor:uint (default = 0x1000000f)
Method Detail
updateWavelet()method
public function updateWavelet():void

update wavelet

Constant Detail
DETUNEConstant
public static const DETUNE:String = detune

detuned layer mode with double operators

DETUNE_POWERConstant 
public static const DETUNE_POWER:String = detunePower

layered by closed detuned power code (4operators)

POWERConstant 
public static const POWER:String = power

layered by closed power code (2operators)

SINGLEConstant 
public static const SINGLE:String = single

single layer mode

SUS2Constant 
public static const SUS2:String = sus2

layered by closed sus2 code (3operators)

SUS4Constant 
public static const SUS4:String = sus4

layered by closed sus4 code (3operators)

TRIPLE_DETUNEConstant 
public static const TRIPLE_DETUNE:String = tripleDetune

detune layer mode with triple operators