Packageorg.si.sound.synthesizers
Classpublic class PMGuitarSynth
InheritancePMGuitarSynth Inheritance BasicSynth Inheritance VoiceReference Inheritance Object

Physical Modeling Guitar Synthesizer



Public Properties
 PropertyDefined By
 InheritedamplitudeModulation : int
amplitude modulation.
BasicSynth
  attackTime : Number
[override] attack time of plunk noise (0-1).
PMGuitarSynth
 Inheritedcutoff : Number
low-pass filter cutoff(0-1).
BasicSynth
 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
 InheritedpitchModulation : int
pitch modulation.
BasicSynth
  plunkVelocity : Number
plunk velocity [0-1].
PMGuitarSynth
  releaseTime : Number
[override] release time of guitar synthesizer is equal to (1-tension).
PMGuitarSynth
 Inheritedresonance : Number
low-pass filter resonance(0-1).
BasicSynth
  seedPitch : int
pitch of plunk noise.
PMGuitarSynth
  seedWaveShape : int
wave shape of plunk noise.
PMGuitarSynth
  tensoin : Number
string tensoin [0-1].
PMGuitarSynth
 Inheritedvoice : SiONVoice
voice setting
VoiceReference
Protected Properties
 PropertyDefined By
 Inherited_tracks : Vector.<SiMMLTrack>
tracks to control
BasicSynth
Public Methods
 MethodDefined By
  
PMGuitarSynth(tension:Number = 0.125)
constructor
PMGuitarSynth
 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
  
setPMSGuitar(ar:int = 48, dr:int = 48, tl:int = 0, fixedPitch:int = 68, ws:int = 20, tension:int = 8):PMGuitarSynth
Set all parameters of phisical modeling synth guitar voice.
PMGuitarSynth
Property Detail
attackTimeproperty
attackTime:Number[override]

attack time of plunk noise (0-1).


Implementation
    public function get attackTime():Number
    public function set attackTime(value:Number):void
plunkVelocityproperty 
plunkVelocity:Number

plunk velocity [0-1].


Implementation
    public function get plunkVelocity():Number
    public function set plunkVelocity(value:Number):void
releaseTimeproperty 
releaseTime:Number[override]

release time of guitar synthesizer is equal to (1-tension).


Implementation
    public function get releaseTime():Number
    public function set releaseTime(value:Number):void
seedPitchproperty 
seedPitch:int

pitch of plunk noise.

The default value is 68.


Implementation
    public function get seedPitch():int
    public function set seedPitch(value:int):void
seedWaveShapeproperty 
seedWaveShape:int

wave shape of plunk noise.

The default value is 20 (SiOPMTable.PG_NOISE_PINK).


Implementation
    public function get seedWaveShape():int
    public function set seedWaveShape(value:int):void
tensoinproperty 
tensoin:Number

string tensoin [0-1].


Implementation
    public function get tensoin():Number
    public function set tensoin(value:Number):void
Constructor Detail
PMGuitarSynth()Constructor
public function PMGuitarSynth(tension:Number = 0.125)

constructor

Parameters
tension:Number (default = 0.125) — sustain rate of the tone
Method Detail
setPMSGuitar()method
public function setPMSGuitar(ar:int = 48, dr:int = 48, tl:int = 0, fixedPitch:int = 68, ws:int = 20, tension:int = 8):PMGuitarSynth

Set all parameters of phisical modeling synth guitar voice.

Parameters

ar:int (default = 48) — attack rate of plunk energy
 
dr:int (default = 48) — decay rate of plunk energy
 
tl:int (default = 0) — total level of plunk energy
 
fixedPitch:int (default = 68) — plunk noise pitch
 
ws:int (default = 20) — wave shape of plunk
 
tension:int (default = 8) — sustain rate of the tone

Returns
PMGuitarSynth