Packageorg.si.sound.synthesizers
Classpublic class FMSynthOperator
InheritanceFMSynthOperator Inheritance Object

Operator instance of FMSynth



Public Properties
 PropertyDefined 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
Public Methods
 MethodDefined 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
Property Detail
amsproperty
ams:int

AMS; Amp modulation shift [0-3].


Implementation
    public function get ams():int
    public function set ams(value:int):void
arproperty 
ar:int

AR; attack rate [0-63].


Implementation
    public function get ar():int
    public function set ar(value:int):void
detproperty 
det:int

DET; detune (64 for 1halftone).


Implementation
    public function get det():int
    public function set det(value:int):void
drproperty 
dr:int

DR; decay rate [0-63].


Implementation
    public function get dr():int
    public function set dr(value:int):void
dt1property 
dt1:int

DT1; detune 1 (OPM/OPNA) [0-7].


Implementation
    public function get dt1():int
    public function set dt1(value:int):void
dt2property 
dt2:int

DT2; detune 2 (OPM) [0-3].


Implementation
    public function get dt2():int
    public function set dt2(value:int):void
erstproperty 
erst:Boolean

ERST; envelop reset on attack [t/f].


Implementation
    public function get erst():Boolean
    public function set erst(value:Boolean):void
fnproperty 
fn:int

FN; fixed note [0-127].


Implementation
    public function get fn():int
    public function set fn(value:int):void
kslproperty 
ksl:int

KSL; total level [0-3].


Implementation
    public function get ksl():int
    public function set ksl(value:int):void
ksrproperty 
ksr:int

KSR; sustain level [0-3].


Implementation
    public function get ksr():int
    public function set ksr(value:int):void
mulproperty 
mul:int

MUL; multiple [0-15].


Implementation
    public function get mul():int
    public function set mul(value:int):void
muteproperty 
mute:Boolean

mute; mute [t/f].


Implementation
    public function get mute():Boolean
    public function set mute(value:Boolean):void
phproperty 
ph:int

PH; Key on phase [0-255].


Implementation
    public function get ph():int
    public function set ph(value:int):void
rrproperty 
rr:int

RR; release rate [0-63].


Implementation
    public function get rr():int
    public function set rr(value:int):void
slproperty 
sl:int

SL; sustain level [0-15].


Implementation
    public function get sl():int
    public function set sl(value:int):void
srproperty 
sr:int

SR; sustain rate [0-63].


Implementation
    public function get sr():int
    public function set sr(value:int):void
ssgecproperty 
ssgec:int

SSGEC; SSG type envelop control [0-17].


Implementation
    public function get ssgec():int
    public function set ssgec(value:int):void
tlproperty 
tl:int

TL; total level [0-127].


Implementation
    public function get tl():int
    public function set tl(value:int):void
wsproperty 
ws:int

WS; wave shape [0-512].


Implementation
    public function get ws():int
    public function set ws(value:int):void
Constructor Detail
FMSynthOperator()Constructor
public function FMSynthOperator(owner:FMSynth, opeIndex:int)

Constructor, But you cannot create new instance of this class.

Parameters
owner:FMSynth
 
opeIndex:int
Method Detail
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):void

Set 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