Package | org.si.sion.module.channels |
Class | public class SiOPMChannelSampler |
Inheritance | SiOPMChannelSampler ![]() ![]() |
Property | Defined By | ||
---|---|---|---|
![]() | activeOperatorIndex : int [write-only] active operator index (i). | SiOPMChannelBase | |
![]() | bufferIndex : int [read-only] buffer index | SiOPMChannelBase | |
![]() | channelType : int [read-only] channel type | SiOPMChannelBase | |
![]() | detune : int [write-only] detune (@dt) | SiOPMChannelBase | |
![]() | erst : Boolean [write-only] envelop reset (@er) | SiOPMChannelBase | |
![]() | filterType : int filter mode | SiOPMChannelBase | |
![]() | fixedPitch : int [write-only] fixed pitch (@fx) | SiOPMChannelBase | |
![]() | fmul : int [write-only] fine multiple (@ml) | SiOPMChannelBase | |
![]() | 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 | |
![]() | 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) | SiOPMChannelSampler | ||
pitch : int [override] pitch = (note << 6) | (kf & 63) [0,8191] | SiOPMChannelSampler | ||
![]() | rr : int [write-only] Release rate (@rr) | SiOPMChannelBase | |
![]() | ssgec : int [write-only] ssgec (@se) | SiOPMChannelBase | |
![]() | tl : int [write-only] total level (@tl) | SiOPMChannelBase |
Method | Defined By | ||
---|---|---|---|
constructor | SiOPMChannelSampler | ||
![]() | activateFilter(b:Boolean):void Filter activation | SiOPMChannelBase | |
buffer(len:int):void [override] Buffering | SiOPMChannelSampler | ||
getSiOPMChannelParam(param:SiOPMChannelParam):void [override] Get SiOPMChannelParam. | SiOPMChannelSampler | ||
![]() | getStreamSend(streamNum:int):Number get stream send. | SiOPMChannelBase | |
initialize(prev:SiOPMChannelBase, bufferIndex:int):void [override] Initialize. | SiOPMChannelSampler | ||
![]() | initializeLFO(waveform:int, customWaveTable:Vector.<int> = null):void initialize LFO (@lfo). | SiOPMChannelBase | |
nop(len:int):void [override] Buffering without processnig | SiOPMChannelSampler | ||
noteOff():void [override] Note off. | SiOPMChannelSampler | ||
noteOn():void [override] Note on. | SiOPMChannelSampler | ||
![]() | 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 | SiOPMChannelSampler | ||
reset():void [override] Reset. | SiOPMChannelSampler | ||
![]() | resetChannelBufferStatus():void reset channel buffering status | SiOPMChannelBase | |
setAlgorism(cnt:int, alg:int):void [override] Set algorism (@al)
| SiOPMChannelSampler | ||
![]() | setAllAttackRate(ar:int):void Attack rate | SiOPMChannelBase | |
![]() | setAllReleaseRate(rr:int):void Release rate (s) | SiOPMChannelBase | |
![]() | setAllStreamSendLevels(param:Vector.<int>):void set all stream send levels by Vector.<int>. | SiOPMChannelBase | |
![]() | setAmplitudeModulation(depth:int):void amplitude modulation (ma) | SiOPMChannelBase | |
![]() | setChannelNumber(channelNum:int):void channel number (2nd argument of %) | SiOPMChannelBase | |
![]() | setFeedBack(fb:int, fbc:int):void feedback (@fb) | SiOPMChannelBase | |
![]() | setFrequencyRatio(ratio:int):void set chip "PSEUDO" frequency ratio by [%] (@clock). | SiOPMChannelBase | |
![]() | setInput(level:int, pipeIndex:int):void Set input pipe (@i). | SiOPMChannelBase | |
![]() | 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 parameters (@ call from SiMMLTrack._setChannelParameters()) | SiOPMChannelBase | |
![]() | setPitchModulation(depth:int):void pitch modulation (mp) | SiOPMChannelBase | |
![]() | setRegister(addr:int, data:int):void set register | SiOPMChannelBase | |
![]() | 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. | SiOPMChannelSampler | ||
![]() | 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 (@ call from SiMMLChannelSetting.selectTone()/initializeTone()) | SiOPMChannelSampler | ||
![]() | setVolumeTables(vtable:Vector.<int>, xtable:Vector.<int>):void set velocity and expression tables
| SiOPMChannelBase | |
setWaveData(waveData:SiOPMWaveBase):void [override] Set wave data. | SiOPMChannelSampler | ||
toString():String Output parameters. | SiOPMChannelSampler |
_bankNumber | property |
protected var _bankNumber:int
bank number
_expression | property |
protected var _expression:Number
expression
_extractedByteArray | property |
protected var _extractedByteArray:ByteArray
ByteArray to extract
_extractedSample | property |
protected var _extractedSample:Vector.<Number>
sample data
_sampleData | property |
protected var _sampleData:SiOPMWaveSamplerData
sample table
_sampleIndex | property |
protected var _sampleIndex:int
sample index
_samplerTable | property |
protected var _samplerTable:SiOPMWaveSamplerTable
sample table
_sampleStartPhase | property |
protected var _sampleStartPhase:int
phase reset
_waveNumber | property |
protected var _waveNumber:int
wave number
phase | property |
phase:int
[write-only] [override] phase (@ph)
public function set phase(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
SiOPMChannelSampler | () | Constructor |
buffer | () | method |
override public function buffer(len:int):void
Buffering
Parameters
len:int |
getSiOPMChannelParam | () | method |
override public function getSiOPMChannelParam(param:SiOPMChannelParam):void
Get SiOPMChannelParam.
Parameters
param:SiOPMChannelParam — SiOPMChannelParam.
|
initialize | () | method |
override public function initialize(prev:SiOPMChannelBase, bufferIndex:int):void
Initialize.
Parameters
prev:SiOPMChannelBase | |
bufferIndex:int |
nop | () | method |
override public function nop(len:int):void
Buffering without processnig
Parameters
len:int |
noteOff | () | method |
override public function noteOff():void
Note off.
noteOn | () | method |
override public function noteOn():void
Note on.
offsetVolume | () | method |
override public function offsetVolume(expression:int, velocity:int):void
update all tl offsets of final carriors
Parameters
expression:int | |
velocity:int |
reset | () | method |
override public function reset():void
Reset.
setAlgorism | () | method |
override public function setAlgorism(cnt:int, alg:int):void
Set algorism (@al)
Parameters
cnt:int — Operator count.
| |
alg:int — Algolism number of the operator's connection.
|
setSiOPMChannelParam | () | method |
override public function setSiOPMChannelParam(param:SiOPMChannelParam, withVolume:Boolean, withModulation:Boolean = true):void
Set by SiOPMChannelParam.
Parameters
param:SiOPMChannelParam — SiOPMChannelParam.
| |
withVolume:Boolean — Set volume when its true.
| |
withModulation:Boolean (default = true )
|
setType | () | method |
override public function setType(pgType:int, ptType:int):void
pgType and ptType (@ call from SiMMLChannelSetting.selectTone()/initializeTone())
Parameters
pgType:int | |
ptType:int |
setWaveData | () | method |
override public function setWaveData(waveData:SiOPMWaveBase):void
Set wave data.
Parameters
waveData:SiOPMWaveBase |
toString | () | method |
public function toString():String
Output parameters.
ReturnsString |