| Package | org.si.sion.module.channels | 
| Class | public class SiOPMChannelKS | 
| Inheritance | SiOPMChannelKS    SiOPMChannelFM   SiOPMChannelBase   Object | 
| Property | Defined By | ||
|---|---|---|---|
![]()  | activeOperator : SiOPMOperator  active operator   | SiOPMChannelFM | |
![]()  | activeOperatorIndex : int [override] [write-only]  active operator index (i)   | SiOPMChannelFM | |
![]()  | bufferIndex : int [read-only]  buffer index   | SiOPMChannelBase | |
![]()  | channelType : int [read-only]  channel type   | SiOPMChannelBase | |
![]()  | detune : int [override] [write-only]  detune (@dt)   | SiOPMChannelFM | |
![]()  | erst : Boolean [override] [write-only]  envelop reset (@er)   | SiOPMChannelFM | |
![]()  | filterType : int  filter mode   | SiOPMChannelBase | |
| fixedPitch : int [override] [write-only]  fixed pitch (@fx)   | SiOPMChannelKS | ||
![]()  | fmul : int [override] [write-only]  fine multiple (@ml)   | SiOPMChannelFM | |
![]()  | isFilterActive : Boolean [read-only]  Is filter active ?   | SiOPMChannelBase | |
![]()  | isIdling : Boolean [read-only]  Is idling ?   | SiOPMChannelBase | |
![]()  | isNoteOn : Boolean [read-only]  is this channel note on ?   | SiOPMChannelBase | |
![]()  | masterVolume : int  Master volume (0-128)   | SiOPMChannelBase | |
![]()  | mute : Boolean  Mute   | SiOPMChannelBase | |
![]()  | operator : Vector.<SiOPMOperator>  operators   | SiOPMChannelFM | |
![]()  | pan : int  Pan (-64-64 left=-64, center=0, right=64).
          [left volume]  = cos((pan+64)/128I.5) volume;
          [right volume] = sin((pan+64)/128I.5) volume;
           | SiOPMChannelBase | |
![]()  | phase : int [override] [write-only]  phase  (@ph)   | SiOPMChannelFM | |
| pitch : int [override]  pitch = (note << 6) | (kf & 63) [0,8191]   | SiOPMChannelKS | ||
| rr : int [override] [write-only]  release rate (@rr)   | SiOPMChannelKS | ||
![]()  | ssgec : int [override] [write-only]  ssgec (@se)   | SiOPMChannelFM | |
![]()  | tl : int [override] [write-only]  total level (@tl)   | SiOPMChannelFM | |
| Method | Defined By | ||
|---|---|---|---|
SiOPMChannelKS(chip:SiOPMModule)  constructor   | SiOPMChannelKS | ||
![]()  | activateFilter(b:Boolean):void  Filter activation   | SiOPMChannelBase | |
buffer(len:int):void [override]  Buffering   | SiOPMChannelKS | ||
![]()  | getSiOPMChannelParam(param:SiOPMChannelParam):void [override]  Get SiOPMChannelParam.  | SiOPMChannelFM | |
![]()  | getStreamSend(streamNum:int):Number  get stream send.  | SiOPMChannelBase | |
initialize(prev:SiOPMChannelBase, bufferIndex:int):void [override]  Initialize.  | SiOPMChannelKS | ||
![]()  | initializeLFO(waveform:int, customWaveTable:Vector.<int> = null):void [override]  initialize low frequency oscillator.  | SiOPMChannelFM | |
![]()  | nop(len:int):void  Buffering without processnig   | SiOPMChannelBase | |
noteOff():void [override]  Note off.  | SiOPMChannelKS | ||
noteOn():void [override]  Note on.  | SiOPMChannelKS | ||
![]()  | offsetFilter(i:int):void  LP Filter cutoff offset controled by table envelop (nf)   | SiOPMChannelBase | |
offsetVolume(expression:int, velocity:int):void [override]  update all tl offsets of final carriors   | SiOPMChannelKS | ||
reset():void [override]  Reset.  | SiOPMChannelKS | ||
resetChannelBufferStatus():void [override]  Prepare buffering   | SiOPMChannelKS | ||
![]()  | setAlgorism(cnt:int, alg:int):void [override]  Set algorism (@al) 
            | SiOPMChannelFM | |
setAllAttackRate(ar:int):void [override]  Attack rate   | SiOPMChannelKS | ||
setAllReleaseRate(rr:int):void [override]  Release rate (s)   | SiOPMChannelKS | ||
![]()  | setAllStreamSendLevels(param:Vector.<int>):void  set all stream send levels by Vector.<int>.  | SiOPMChannelBase | |
![]()  | setAmplitudeModulation(depth:int):void [override]  Amplitude modulation.  | SiOPMChannelFM | |
![]()  | setChannelNumber(channelNum:int):void [override]  set channel number (2nd argument of %)   | SiOPMChannelFM | |
![]()  | setFeedBack(fb:int, fbc:int):void [override]  Set feedback(@fb).  | SiOPMChannelFM | |
![]()  | setFrequencyRatio(ratio:int):void [override]  set chip "PSEUDO" frequency ratio by [%].  | SiOPMChannelFM | |
![]()  | setInput(level:int, pipeIndex:int):void  Set input pipe (@i).  | SiOPMChannelBase | |
setKarplusStrongParam(ar:int = 48, dr:int = 48, tl:int = 0, fixedPitch:int = 0, ws:int = -1, tension:int = 8):void  Set Karplus Strong parameters
            | SiOPMChannelKS | ||
![]()  | setLFOCycleTime(ms:Number):void  set LFO cycle time (@lfo).  | SiOPMChannelBase | |
![]()  | setOutput(outputMode:int, pipeIndex:int):void  Set output pipe (@o).  | SiOPMChannelBase | |
setParameters(param:Vector.<int>):void [override]  Set parameters (@ commands 2nd-15th args.).  | SiOPMChannelKS | ||
![]()  | setPitchModulation(depth:int):void [override]  Pitch modulation.  | SiOPMChannelFM | |
![]()  | setRegister(addr:int, data:int):void [override]  set register   | SiOPMChannelFM | |
![]()  | setRingModulation(level:int, pipeIndex:int):void  Set ring modulation pipe (@r).  | SiOPMChannelBase | |
![]()  | setSiOPMChannelParam(param:SiOPMChannelParam, withVolume:Boolean, withModulation:Boolean = true):void [override]  Set by SiOPMChannelParam.  | SiOPMChannelFM | |
![]()  | setSiOPMParameters(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 sound by 14 basic params.  | SiOPMChannelFM | |
![]()  | setStreamBuffer(streamNum:int, stream:SiOPMStream = null):void  set stream buffer.  | SiOPMChannelBase | |
![]()  | setStreamSend(streamNum:int, volume:Number):void  set stream send.  | SiOPMChannelBase | |
![]()  | setSVFilter(cutoff:int = 128, resonance:int = 0, ar:int = 0, dr1:int = 0, dr2:int = 0, rr:int = 0, dc1:int = 128, dc2:int = 128, sc:int = 128, rc:int = 128):void  SVFilter envelop (@f).  | SiOPMChannelBase | |
setType(pgType:int, ptType:int):void [override]  pgType and ptType (@ commands 1st arg except for %6,7)   | SiOPMChannelKS | ||
![]()  | setVolumeTables(vtable:Vector.<int>, xtable:Vector.<int>):void  set velocity and expression tables
            | SiOPMChannelBase | |
![]()  | setWaveData(waveData:SiOPMWaveBase):void [override]  Set wave data.  | SiOPMChannelFM | |
toString():String [override]  Output parameters.  | SiOPMChannelKS | ||
| fixedPitch | property | 
fixedPitch:int  [write-only] [override] fixed pitch (@fx)
    public function set fixedPitch(value:int):void| pitch | property | 
pitch:int[override] pitch = (note << 6) | (kf & 63) [0,8191]
    public function get pitch():int    public function set pitch(value:int):void| rr | property | 
rr:int  [write-only] [override] release rate (@rr)
    public function set rr(value:int):void| SiOPMChannelKS | () | Constructor | 
| buffer | () | method | 
override public function buffer(len:int):voidBuffering
Parameters
len:int | 
| initialize | () | method | 
override public function initialize(prev:SiOPMChannelBase, bufferIndex:int):voidInitialize.
Parameters
prev:SiOPMChannelBase | |
bufferIndex:int | 
| noteOff | () | method | 
override public function noteOff():voidNote off.
| noteOn | () | method | 
override public function noteOn():voidNote on.
| offsetVolume | () | method | 
override public function offsetVolume(expression:int, velocity:int):voidupdate all tl offsets of final carriors
Parameters
expression:int | |
velocity:int | 
| reset | () | method | 
override public function reset():voidReset.
| resetChannelBufferStatus | () | method | 
override public function resetChannelBufferStatus():voidPrepare buffering
| setAllAttackRate | () | method | 
override public function setAllAttackRate(ar:int):voidAttack rate
Parameters
ar:int | 
| setAllReleaseRate | () | method | 
override public function setAllReleaseRate(rr:int):voidRelease rate (s)
Parameters
rr:int | 
| setKarplusStrongParam | () | method | 
 public function setKarplusStrongParam(ar:int = 48, dr:int = 48, tl:int = 0, fixedPitch:int = 0, ws:int = -1, tension:int = 8):voidSet Karplus Strong parameters
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 = 0) — plunk noise pitch
           | |
ws:int (default = -1) — wave shape of plunk
           | |
tension:int (default = 8) — sustain rate of the tone
          | 
| setParameters | () | method | 
override public function setParameters(param:Vector.<int>):voidSet parameters (@ commands 2nd-15th args.). (@alg,ar,dr,tl,fix,ws)
Parameters
param:Vector.<int> | 
| setType | () | method | 
override public function setType(pgType:int, ptType:int):voidpgType and ptType (@ commands 1st arg except for %6,7)
Parameters
pgType:int | |
ptType:int | 
| toString | () | method | 
override public function toString():StringOutput parameters.
ReturnsString |