Packageorg.si.sion.module.channels
Classpublic class SiOPMChannelSampler
InheritanceSiOPMChannelSampler Inheritance SiOPMChannelBase Inheritance Object

Sampler pad channel.



Public Properties
 PropertyDefined By
 InheritedactiveOperatorIndex : int
[write-only] active operator index (i).
SiOPMChannelBase
 InheritedbufferIndex : int
[read-only] buffer index
SiOPMChannelBase
 InheritedchannelType : int
[read-only] channel type
SiOPMChannelBase
 Inheriteddetune : int
[write-only] detune (@dt)
SiOPMChannelBase
 Inheritederst : Boolean
[write-only] envelop reset (@er)
SiOPMChannelBase
 InheritedfilterType : int
filter mode
SiOPMChannelBase
 InheritedfixedPitch : int
[write-only] fixed pitch (@fx)
SiOPMChannelBase
 Inheritedfmul : int
[write-only] fine multiple (@ml)
SiOPMChannelBase
 InheritedisFilterActive : Boolean
[read-only] Is filter active ?
SiOPMChannelBase
 InheritedisIdling : Boolean
[read-only] Is idling ?
SiOPMChannelBase
 InheritedisNoteOn : Boolean
[read-only] is this channel note on ?
SiOPMChannelBase
 InheritedmasterVolume : int
Master volume (0-128)
SiOPMChannelBase
 Inheritedmute : Boolean
Mute
SiOPMChannelBase
 Inheritedpan : 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
 Inheritedrr : int
[write-only] Release rate (@rr)
SiOPMChannelBase
 Inheritedssgec : int
[write-only] ssgec (@se)
SiOPMChannelBase
 Inheritedtl : int
[write-only] total level (@tl)
SiOPMChannelBase
Protected Properties
 PropertyDefined By
  _bankNumber : int
bank number
SiOPMChannelSampler
 Inherited_basePipe : SLLint
base pipe
SiOPMChannelBase
 Inherited_bufferIndex : int
buffering index
SiOPMChannelBase
 Inherited_chip : SiOPMModule
chip
SiOPMChannelBase
 Inherited_cutoff : int
cutoff frequency
SiOPMChannelBase
 Inherited_cutoff_offset : int
cutoff frequency
SiOPMChannelBase
  _expression : Number
expression
SiOPMChannelSampler
 Inherited_expressionTable : Vector.<int>
expression table
SiOPMChannelBase
  _extractedByteArray : ByteArray
ByteArray to extract
SiOPMChannelSampler
  _extractedSample : Vector.<Number>
sample data
SiOPMChannelSampler
 Inherited_filter_eg_cutoff : Vector.<int>
eg level
SiOPMChannelBase
 Inherited_filter_eg_cutoff_inc : int
eg direction
SiOPMChannelBase
 Inherited_filter_eg_next : int
eg phase shift l.
SiOPMChannelBase
 Inherited_filter_eg_state : int
eg state
SiOPMChannelBase
 Inherited_filter_eg_step : int
eg step
SiOPMChannelBase
 Inherited_filter_eg_time : Vector.<int>
eg rate
SiOPMChannelBase
 Inherited_filterOn : Boolean
filter switch
SiOPMChannelBase
 Inherited_filterType : int
filter type
SiOPMChannelBase
 Inherited_filterVriables : Vector.<Number>
filter Variables
SiOPMChannelBase
 Inherited_freq_ratio : int
frequency ratio
SiOPMChannelBase
 Inherited_funcProcess : Function
functor to process
SiOPMChannelBase
 Inherited_hasEffectSend : Boolean
effect send flag
SiOPMChannelBase
 Inherited_inPipe : SLLint
in pipe
SiOPMChannelBase
 Inherited_inputLevel : int
input level
SiOPMChannelBase
 Inherited_inputMode : int
input level
SiOPMChannelBase
 Inherited_isIdling : Boolean
idling flag
SiOPMChannelBase
 Inherited_isNoteOn : Boolean
note on flag
SiOPMChannelBase
 Inherited_lfo_on : int
lfo switch
SiOPMChannelBase
 Inherited_lfo_phase : int
lfo phase
SiOPMChannelBase
 Inherited_lfo_timer : int
lfo timer
SiOPMChannelBase
 Inherited_lfo_timer_step_ : int
lfo step buffer
SiOPMChannelBase
 Inherited_lfo_timer_step : int
lfo timer step
SiOPMChannelBase
 Inherited_lfo_waveShape : int
lfo wave shape
SiOPMChannelBase
 Inherited_lfo_waveTable : Vector.<int>
lfo wave table
SiOPMChannelBase
 Inherited_mute : Boolean
mute
SiOPMChannelBase
 Inherited_outPipe : SLLint
out pipe
SiOPMChannelBase
 Inherited_outputMode : int
output mode
SiOPMChannelBase
 Inherited_pan : int
pan
SiOPMChannelBase
 Inherited_prevStepRemain : int
eg step residue
SiOPMChannelBase
 Inherited_resonance : Number
resonance
SiOPMChannelBase
 Inherited_ringmodLevel : Number
ringmod level
SiOPMChannelBase
 Inherited_ringPipe : SLLint
ringmod pipe
SiOPMChannelBase
  _sampleData : SiOPMWaveSamplerData
sample table
SiOPMChannelSampler
  _sampleIndex : int
sample index
SiOPMChannelSampler
  _samplerTable : SiOPMWaveSamplerTable
sample table
SiOPMChannelSampler
  _sampleStartPhase : int
phase reset
SiOPMChannelSampler
 Inherited_streams : Vector.<SiOPMStream>
stream
SiOPMChannelBase
 Inherited_table : SiOPMTable
table
SiOPMChannelBase
 Inherited_veocityTable : Vector.<int>
veocity table
SiOPMChannelBase
 Inherited_volumes : Vector.<Number>
volume
SiOPMChannelBase
  _waveNumber : int
wave number
SiOPMChannelSampler
Public Methods
 MethodDefined By
  
constructor
SiOPMChannelSampler
 Inherited
activateFilter(b:Boolean):void
Filter activation
SiOPMChannelBase
  
buffer(len:int):void
[override] Buffering
SiOPMChannelSampler
  
[override] Get SiOPMChannelParam.
SiOPMChannelSampler
 Inherited
getStreamSend(streamNum:int):Number
get stream send.
SiOPMChannelBase
  
initialize(prev:SiOPMChannelBase, bufferIndex:int):void
[override] Initialize.
SiOPMChannelSampler
 Inherited
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
 Inherited
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
 Inherited
reset channel buffering status
SiOPMChannelBase
  
setAlgorism(cnt:int, alg:int):void
[override] Set algorism (@al)
SiOPMChannelSampler
 Inherited
setAllAttackRate(ar:int):void
Attack rate
SiOPMChannelBase
 Inherited
setAllReleaseRate(rr:int):void
Release rate (s)
SiOPMChannelBase
 Inherited
setAllStreamSendLevels(param:Vector.<int>):void
set all stream send levels by Vector.<int>.
SiOPMChannelBase
 Inherited
setAmplitudeModulation(depth:int):void
amplitude modulation (ma)
SiOPMChannelBase
 Inherited
setChannelNumber(channelNum:int):void
channel number (2nd argument of %)
SiOPMChannelBase
 Inherited
setFeedBack(fb:int, fbc:int):void
feedback (@fb)
SiOPMChannelBase
 Inherited
setFrequencyRatio(ratio:int):void
set chip "PSEUDO" frequency ratio by [%] (@clock).
SiOPMChannelBase
 Inherited
setInput(level:int, pipeIndex:int):void
Set input pipe (@i).
SiOPMChannelBase
 Inherited
setLFOCycleTime(ms:Number):void
set LFO cycle time (@lfo).
SiOPMChannelBase
 Inherited
setOutput(outputMode:int, pipeIndex:int):void
Set output pipe (@o).
SiOPMChannelBase
 Inherited
setParameters(param:Vector.<int>):void
parameters (@ call from SiMMLTrack._setChannelParameters())
SiOPMChannelBase
 Inherited
setPitchModulation(depth:int):void
pitch modulation (mp)
SiOPMChannelBase
 Inherited
setRegister(addr:int, data:int):void
set register
SiOPMChannelBase
 Inherited
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
 Inherited
setStreamBuffer(streamNum:int, stream:SiOPMStream = null):void
set stream buffer.
SiOPMChannelBase
 Inherited
setStreamSend(streamNum:int, volume:Number):void
set stream send.
SiOPMChannelBase
 Inherited
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
 Inherited
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
Protected Methods
 MethodDefined By
 Inherited
_applyRingModulation(pointer:SLLint, len:int):void
ring modulation
SiOPMChannelBase
 Inherited
_applySVFilter(pointer:SLLint, len:int, variables:Vector.<Number> = null):void
state variable filter
SiOPMChannelBase
 Inherited
_nop(len:int):void
No process (default functor of _funcProcess).
SiOPMChannelBase
 Inherited
reset SVFilter
SiOPMChannelBase
 Inherited
shiftSVFilterState(state:int):void
shift SVFilter state
SiOPMChannelBase
Public Constants
 ConstantDefined By
 InheritedFILTER_BP : int = 1
[static] band pass filter
SiOPMChannelBase
 InheritedFILTER_HP : int = 2
[static] high pass filter
SiOPMChannelBase
 InheritedFILTER_LP : int = 0
[static] low pass filter
SiOPMChannelBase
 InheritedINPUT_FEEDBACK : int = 2
[static] input from feedback
SiOPMChannelBase
 InheritedINPUT_PIPE : int = 1
[static] input from pipe
SiOPMChannelBase
 InheritedINPUT_ZERO : int = 0
[static] no input from pipe
SiOPMChannelBase
 InheritedOUTPUT_ADD : int = 2
[static] add to pipe
SiOPMChannelBase
 InheritedOUTPUT_OVERWRITE : int = 1
[static] overwrite pipe
SiOPMChannelBase
 InheritedOUTPUT_STANDARD : int = 0
[static] standard output
SiOPMChannelBase
Property Detail
_bankNumberproperty
protected var _bankNumber:int

bank number

_expressionproperty 
protected var _expression:Number

expression

_extractedByteArrayproperty 
protected var _extractedByteArray:ByteArray

ByteArray to extract

_extractedSampleproperty 
protected var _extractedSample:Vector.<Number>

sample data

_sampleDataproperty 
protected var _sampleData:SiOPMWaveSamplerData

sample table

_sampleIndexproperty 
protected var _sampleIndex:int

sample index

_samplerTableproperty 
protected var _samplerTable:SiOPMWaveSamplerTable

sample table

_sampleStartPhaseproperty 
protected var _sampleStartPhase:int

phase reset

_waveNumberproperty 
protected var _waveNumber:int

wave number

phaseproperty 
phase:int  [write-only] [override]

phase (@ph)


Implementation
    public function set phase(value:int):void
pitchproperty 
pitch:int[override]

pitch = (note << 6) | (kf & 63) [0,8191]


Implementation
    public function get pitch():int
    public function set pitch(value:int):void
Constructor Detail
SiOPMChannelSampler()Constructor
public function SiOPMChannelSampler(chip:SiOPMModule)

constructor

Parameters
chip:SiOPMModule
Method Detail
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.

Returns
String