Packageorg.si.sound.synthesizers
Classpublic class FMSynth
InheritanceFMSynth Inheritance BasicSynth Inheritance VoiceReference Inheritance Object

Frequency Modulation Synthesizer



Public Properties
 PropertyDefined By
  alg : int
ALG; connection algorism [0-15].
FMSynth
 InheritedamplitudeModulation : int
amplitude modulation.
BasicSynth
 InheritedattackTime : Number
attack rate (0-1), lower value makes attack slow.
BasicSynth
 Inheritedcutoff : Number
low-pass filter cutoff(0-1).
BasicSynth
  fb : int
FB; feedback [0-7].
FMSynth
  fbc : int
FBC; feedback connection [0-3].
FMSynth
 InheritedfilterType : int
filter type (0:lowpass, 1:bandpass, 2:highpass)
BasicSynth
 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
  operators : Vector.<FMSynthOperator>
FM Operators vector [m1,c1,m2,c2]
FMSynth
 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
Protected Properties
 PropertyDefined By
 Inherited_tracks : Vector.<SiMMLTrack>
tracks to control
BasicSynth
Public Methods
 MethodDefined By
  
FMSynth(channelNumber:int = 0)
constructor
FMSynth
 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
Property Detail
algproperty
alg:int

ALG; connection algorism [0-15].


Implementation
    public function get alg():int
    public function set alg(value:int):void
fbproperty 
fb:int

FB; feedback [0-7].


Implementation
    public function get fb():int
    public function set fb(value:int):void
fbcproperty 
fbc:int

FBC; feedback connection [0-3].


Implementation
    public function get fbc():int
    public function set fbc(value:int):void
operatorsproperty 
public var operators:Vector.<FMSynthOperator>

FM Operators vector [m1,c1,m2,c2]

Constructor Detail
FMSynth()Constructor
public function FMSynth(channelNumber:int = 0)

constructor

Parameters
channelNumber:int (default = 0) — pseudo channel number.