Package | org.si.sound.synthesizers |
Class | public class FMSynth |
Inheritance | FMSynth ![]() ![]() ![]() |
Property | Defined By | ||
---|---|---|---|
alg : int ALG; connection algorism [0-15]. | FMSynth | ||
![]() | amplitudeModulation : int amplitude modulation. | BasicSynth | |
![]() | attackTime : Number attack rate (0-1), lower value makes attack slow. | BasicSynth | |
![]() | cutoff : Number low-pass filter cutoff(0-1). | BasicSynth | |
fb : int FB; feedback [0-7]. | FMSynth | ||
fbc : int FBC; feedback connection [0-3]. | FMSynth | ||
![]() | filterType : int filter type (0:lowpass, 1:bandpass, 2:highpass) | BasicSynth | |
![]() | 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 | |
operators : Vector.<FMSynthOperator> FM Operators vector [m1,c1,m2,c2] | FMSynth | ||
![]() | 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 |
Method | Defined By | ||
---|---|---|---|
FMSynth(channelNumber:int = 0) constructor
| FMSynth | ||
![]() | 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 |
alg | property |
alg:int
ALG; connection algorism [0-15].
public function get alg():int
public function set alg(value:int):void
fb | property |
fb:int
FB; feedback [0-7].
public function get fb():int
public function set fb(value:int):void
fbc | property |
fbc:int
FBC; feedback connection [0-3].
public function get fbc():int
public function set fbc(value:int):void
operators | property |
public var operators:Vector.<FMSynthOperator>
FM Operators vector [m1,c1,m2,c2]
FMSynth | () | Constructor |
public function FMSynth(channelNumber:int = 0)
constructor
ParameterschannelNumber:int (default = 0 ) — pseudo channel number.
|