| Package | org.si.sound.synthesizers | 
| Class | public class PMGuitarSynth | 
| Inheritance | PMGuitarSynth    BasicSynth   VoiceReference   Object | 
| Property | Defined By | ||
|---|---|---|---|
![]()  | amplitudeModulation : int  amplitude modulation.  | BasicSynth | |
| attackTime : Number [override]  attack time of plunk noise (0-1).  | PMGuitarSynth | ||
![]()  | cutoff : Number  low-pass filter cutoff(0-1).  | BasicSynth | |
![]()  | 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 | |
![]()  | pitchModulation : 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 | ||
![]()  | resonance : 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 | ||
![]()  | voice : SiONVoice  voice setting   | VoiceReference | |
| Method | Defined By | ||
|---|---|---|---|
PMGuitarSynth(tension:Number = 0.125)  constructor 
            | PMGuitarSynth | ||
![]()  | 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 | |
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 | ||
| attackTime | property | 
attackTime:Number[override] attack time of plunk noise (0-1).
    public function get attackTime():Number    public function set attackTime(value:Number):void| plunkVelocity | property | 
plunkVelocity:Numberplunk velocity [0-1].
    public function get plunkVelocity():Number    public function set plunkVelocity(value:Number):void| releaseTime | property | 
releaseTime:Number[override] release time of guitar synthesizer is equal to (1-tension).
    public function get releaseTime():Number    public function set releaseTime(value:Number):void| seedPitch | property | 
seedPitch:intpitch of plunk noise.
 The default value is 68.
    public function get seedPitch():int    public function set seedPitch(value:int):void| seedWaveShape | property | 
seedWaveShape:intwave shape of plunk noise.
 The default value is 20 (SiOPMTable.PG_NOISE_PINK).
    public function get seedWaveShape():int    public function set seedWaveShape(value:int):void| tensoin | property | 
tensoin:Numberstring tensoin [0-1].
    public function get tensoin():Number    public function set tensoin(value:Number):void| PMGuitarSynth | () | Constructor | 
public function PMGuitarSynth(tension:Number = 0.125)constructor
Parameterstension:Number (default = 0.125) — sustain rate of the tone
          | 
| setPMSGuitar | () | method | 
 public function setPMSGuitar(ar:int = 48, dr:int = 48, tl:int = 0, fixedPitch:int = 68, ws:int = 20, tension:int = 8):PMGuitarSynthSet 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
          | 
PMGuitarSynth |