Package | org.si.sound.synthesizers |
Class | public class PSGSynth |
Inheritance | PSGSynth ![]() ![]() ![]() |
Property | Defined By | ||
---|---|---|---|
![]() | amplitudeModulation : int amplitude modulation. | BasicSynth | |
![]() | attackTime : Number attack rate (0-1), lower value makes attack slow. | BasicSynth | |
channelGain : int PSG channel gain (db) (0=0db, 7=14db, 15=mute) | PSGSynth | ||
channelMode : int PSG channel mode (0=mute, 1=PSG, 2=noise, 3=PSG+noise). | PSGSynth | ||
channelNumber : int [read-only] PSG channel number | PSGSynth | ||
![]() | cutoff : Number low-pass filter cutoff(0-1). | BasicSynth | |
envelopControlMode : int SSG Envelop control mode, only 8-17 are valiable, 0-7 set as no envelop. | PSGSynth | ||
envelopFreq : int envelop frequency ... | PSGSynth | ||
![]() | 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 | |
noiseFreq : int noise frequency | PSGSynth | ||
![]() | 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 |
Property | Defined By | ||
---|---|---|---|
_channelMode : int PSG channel mode (0=mute, 1=PSG, 2=noise, 3=PSG+noise). | PSGSynth | ||
_channelTL : int PSG channel gain (db) (0=0db, 7=14db, 15=mute) | PSGSynth | ||
_evelopRate : int SSG envelop controling rate | PSGSynth | ||
_opp0 : SiOPMOperatorParam operator parameter for op0 | PSGSynth | ||
_opp1 : SiOPMOperatorParam operator parameter for op1 | PSGSynth | ||
![]() | _tracks : Vector.<SiMMLTrack> tracks to control | BasicSynth |
Method | Defined By | ||
---|---|---|---|
PSGSynth(channelNumber:int = 0) constructor
| PSGSynth | ||
![]() | 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 |
_channelMode | property |
protected var _channelMode:int
PSG channel mode (0=mute, 1=PSG, 2=noise, 3=PSG+noise).
_channelTL | property |
protected var _channelTL:int
PSG channel gain (db) (0=0db, 7=14db, 15=mute)
_evelopRate | property |
protected var _evelopRate:int
SSG envelop controling rate
_opp0 | property |
protected var _opp0:SiOPMOperatorParam
operator parameter for op0
_opp1 | property |
protected var _opp1:SiOPMOperatorParam
operator parameter for op1
channelGain | property |
channelGain:int
PSG channel gain (db) (0=0db, 7=14db, 15=mute)
public function get channelGain():int
public function set channelGain(value:int):void
channelMode | property |
channelMode:int
PSG channel mode (0=mute, 1=PSG, 2=noise, 3=PSG+noise).
public function get channelMode():int
public function set channelMode(value:int):void
channelNumber | property |
channelNumber:int
[read-only] PSG channel number
public function get channelNumber():int
envelopControlMode | property |
envelopControlMode:int
SSG Envelop control mode, only 8-17 are valiable, 0-7 set as no envelop. The ssgec number of 16th and 17th are the extention of SiOPM.
public function get envelopControlMode():int
public function set envelopControlMode(value:int):void
envelopFreq | property |
envelopFreq:int
envelop frequency ... currently dishonesty.
public function get envelopFreq():int
public function set envelopFreq(value:int):void
noiseFreq | property |
noiseFreq:int
noise frequency
public function get noiseFreq():int
public function set noiseFreq(value:int):void
PSGSynth | () | Constructor |
public function PSGSynth(channelNumber:int = 0)
constructor
ParameterschannelNumber:int (default = 0 ) — pseudo channel number.
|