| Package | org.si.sound.synthesizers |
| Class | public class FMSynthOperator |
| Inheritance | FMSynthOperator Object |
| Property | Defined By | ||
|---|---|---|---|
| ams : int AMS; Amp modulation shift [0-3]. | FMSynthOperator | ||
| ar : int AR; attack rate [0-63]. | FMSynthOperator | ||
| det : int DET; detune (64 for 1halftone). | FMSynthOperator | ||
| dr : int DR; decay rate [0-63]. | FMSynthOperator | ||
| dt1 : int DT1; detune 1 (OPM/OPNA) [0-7]. | FMSynthOperator | ||
| dt2 : int DT2; detune 2 (OPM) [0-3]. | FMSynthOperator | ||
| erst : Boolean ERST; envelop reset on attack [t/f]. | FMSynthOperator | ||
| fn : int FN; fixed note [0-127]. | FMSynthOperator | ||
| ksl : int KSL; total level [0-3]. | FMSynthOperator | ||
| ksr : int KSR; sustain level [0-3]. | FMSynthOperator | ||
| mul : int MUL; multiple [0-15]. | FMSynthOperator | ||
| mute : Boolean mute; mute [t/f]. | FMSynthOperator | ||
| ph : int PH; Key on phase [0-255]. | FMSynthOperator | ||
| rr : int RR; release rate [0-63]. | FMSynthOperator | ||
| sl : int SL; sustain level [0-15]. | FMSynthOperator | ||
| sr : int SR; sustain rate [0-63]. | FMSynthOperator | ||
| ssgec : int SSGEC; SSG type envelop control [0-17]. | FMSynthOperator | ||
| tl : int TL; total level [0-127]. | FMSynthOperator | ||
| ws : int WS; wave shape [0-512]. | FMSynthOperator | ||
| Method | Defined By | ||
|---|---|---|---|
FMSynthOperator(owner:FMSynth, opeIndex:int) Constructor, But you cannot create new instance of this class. | FMSynthOperator | ||
setAllParameters(ws:int, ar:int, dr:int, sr:int, rr:int, sl:int, tl:int, ksr:int, ksl:int, mul:int, dt1:int, detune:int, ams:int, phase:int, fixNote:int):void Set all 15 FM parameters. | FMSynthOperator | ||
| ams | property |
ams:intAMS; Amp modulation shift [0-3].
public function get ams():int public function set ams(value:int):void| ar | property |
ar:intAR; attack rate [0-63].
public function get ar():int public function set ar(value:int):void| det | property |
det:intDET; detune (64 for 1halftone).
public function get det():int public function set det(value:int):void| dr | property |
dr:intDR; decay rate [0-63].
public function get dr():int public function set dr(value:int):void| dt1 | property |
dt1:intDT1; detune 1 (OPM/OPNA) [0-7].
public function get dt1():int public function set dt1(value:int):void| dt2 | property |
dt2:intDT2; detune 2 (OPM) [0-3].
public function get dt2():int public function set dt2(value:int):void| erst | property |
erst:BooleanERST; envelop reset on attack [t/f].
public function get erst():Boolean public function set erst(value:Boolean):void| fn | property |
fn:intFN; fixed note [0-127].
public function get fn():int public function set fn(value:int):void| ksl | property |
ksl:intKSL; total level [0-3].
public function get ksl():int public function set ksl(value:int):void| ksr | property |
ksr:intKSR; sustain level [0-3].
public function get ksr():int public function set ksr(value:int):void| mul | property |
mul:intMUL; multiple [0-15].
public function get mul():int public function set mul(value:int):void| mute | property |
mute:Booleanmute; mute [t/f].
public function get mute():Boolean public function set mute(value:Boolean):void| ph | property |
ph:intPH; Key on phase [0-255].
public function get ph():int public function set ph(value:int):void| rr | property |
rr:intRR; release rate [0-63].
public function get rr():int public function set rr(value:int):void| sl | property |
sl:intSL; sustain level [0-15].
public function get sl():int public function set sl(value:int):void| sr | property |
sr:intSR; sustain rate [0-63].
public function get sr():int public function set sr(value:int):void| ssgec | property |
ssgec:intSSGEC; SSG type envelop control [0-17].
public function get ssgec():int public function set ssgec(value:int):void| tl | property |
tl:intTL; total level [0-127].
public function get tl():int public function set tl(value:int):void| ws | property |
ws:intWS; wave shape [0-512].
public function get ws():int public function set ws(value:int):void| FMSynthOperator | () | Constructor |
public function FMSynthOperator(owner:FMSynth, opeIndex:int)Constructor, But you cannot create new instance of this class.
Parametersowner:FMSynth | |
opeIndex:int |
| setAllParameters | () | method |
public function setAllParameters(ws:int, ar:int, dr:int, sr:int, rr:int, sl:int, tl:int, ksr:int, ksl:int, mul:int, dt1:int, detune:int, ams:int, phase:int, fixNote:int):voidSet all 15 FM parameters. The value of int.MIN_VALUE does not change.
Parameters
ws:int — Attack rate [0-63].
| |
ar:int — Decay rate [0-63].
| |
dr:int — Sustain rate [0-63].
| |
sr:int — Release rate [0-63].
| |
rr:int — Sustain level [0-15].
| |
sl:int — Total level [0-127].
| |
tl:int — Key scaling [0-3].
| |
ksr:int — key scale level [0-3].
| |
ksl:int — Multiple [0-15].
| |
mul:int — Detune 1 [0-7].
| |
dt1:int — Detune.
| |
detune:int — Amplitude modulation shift [0-3].
| |
ams:int — Phase [0-255].
| |
phase:int — Fixed note number [0-127].
| |
fixNote:int |