Packageorg.si.sion.effector
Classpublic class SiEffectStream
InheritanceSiEffectStream Inheritance Object

SiON Effector stream.



Public Properties
 PropertyDefined By
  chain : Vector.<SiEffectBase>
effector chain
SiEffectStream
  pan : int
panning of output (-64:L - 0:C - 64:R).
SiEffectStream
  stream : SiOPMStream
[read-only] stream buffer
SiEffectStream
Public Methods
 MethodDefined By
  
SiEffectStream(module:SiOPMModule, stream:SiOPMStream = null)
Constructor, you should not create new EffectStream, you may call SiEffectModule.newLocalEffect() for these purpose.
SiEffectStream
  
connectTo(output:SiOPMStream = null):void
connect to another stream
SiEffectStream
  
free():void
free all of effector chain, called when effector module is initialized
SiEffectStream
  
getStreamSend(streamNum:int):Number
get stream send.
SiEffectStream
  
initialize(depth:int):void
initialize, called when allocated
SiEffectStream
  
parseMML(slot:int, mml:String, postfix:String):void
Parse MML for effector
SiEffectStream
  
prepare for process
SiEffectStream
  
process(startIndex:int, length:int, writeInStream:Boolean = true):int
processing
SiEffectStream
  
reset():void
reset all parameters except for effector chain, called when effector module is initialized
SiEffectStream
  
setAllStreamSendLevels(param:Vector.<int>):void
set all stream send levels by Vector.<int>.
SiEffectStream
  
setStreamSend(streamNum:int, volume:Number):void
set stream send.
SiEffectStream
Property Detail
chainproperty
public var chain:Vector.<SiEffectBase>

effector chain

panproperty 
pan:int

panning of output (-64:L - 0:C - 64:R).


Implementation
    public function get pan():int
    public function set pan(value:int):void
streamproperty 
stream:SiOPMStream  [read-only]

stream buffer


Implementation
    public function get stream():SiOPMStream
Constructor Detail
SiEffectStream()Constructor
public function SiEffectStream(module:SiOPMModule, stream:SiOPMStream = null)

Constructor, you should not create new EffectStream, you may call SiEffectModule.newLocalEffect() for these purpose.

Parameters
module:SiOPMModule
 
stream:SiOPMStream (default = null)
Method Detail
connectTo()method
public function connectTo(output:SiOPMStream = null):void

connect to another stream

Parameters

output:SiOPMStream (default = null) — stream connect to.

free()method 
public function free():void

free all of effector chain, called when effector module is initialized

getStreamSend()method 
public function getStreamSend(streamNum:int):Number

get stream send.

Parameters

streamNum:int — stream number[0-7]. The streamNum of 0 means master volume.

Returns
Number — send level[0-1].
initialize()method 
public function initialize(depth:int):void

initialize, called when allocated

Parameters

depth:int

parseMML()method 
public function parseMML(slot:int, mml:String, postfix:String):void

Parse MML for effector

Parameters

slot:int — MML string.
 
mml:String — Postfix string.
 
postfix:String

prepareProcess()method 
public function prepareProcess():int

prepare for process

Returns
int
process()method 
public function process(startIndex:int, length:int, writeInStream:Boolean = true):int

processing

Parameters

startIndex:int
 
length:int
 
writeInStream:Boolean (default = true)

Returns
int
reset()method 
public function reset():void

reset all parameters except for effector chain, called when effector module is initialized

setAllStreamSendLevels()method 
public function setAllStreamSendLevels(param:Vector.<int>):void

set all stream send levels by Vector.<int>.

Parameters

param:Vector.<int> — Vector.<int>(8) of all volumes[0-128].

setStreamSend()method 
public function setStreamSend(streamNum:int, volume:Number):void

set stream send.

Parameters

streamNum:int — stream number[0-7]. The streamNum of 0 means master volume.
 
volume:Number — send level[0-1].