Packageorg.si.sion.module
Classpublic class SiOPMModule
InheritanceSiOPMModule Inheritance Object

SiOPM sound module



Public Properties
 PropertyDefined By
  bitRate : int
[read-only] Bit rate
SiOPMModule
  bufferLength : int
[read-only] Buffer length
SiOPMModule
  channelCount : int
[read-only] Buffer channel count
SiOPMModule
  initOperatorParam : SiOPMOperatorParam
Intial values for operator parameters
SiOPMModule
  output : Vector.<Number>
[read-only] Buffer count
SiOPMModule
  outputStream : SiOPMStream
output stream
SiOPMModule
  pcmVolume : Number
pcm module volume
SiOPMModule
  samplerVolume : Number
sampler module volume
SiOPMModule
  streamSlot : Vector.<SiOPMStream>
slot of global mixer
SiOPMModule
  zeroBuffer : SLLint
zero buffer
SiOPMModule
Public Methods
 MethodDefined By
  
Default constructor
SiOPMModule
  
getPipe(pipeNum:int, index:int = 0):SLLint
get pipe buffer
SiOPMModule
  
initialize(channelCount:int, bitRate:int, bufferLength:int):void
Initialize module and all tone generators.
SiOPMModule
  
reset():void
Reset.
SiOPMModule
Public Constants
 ConstantDefined By
  PIPE_SIZE : int = 5
[static] pipe size
SiOPMModule
  STREAM_SEND_SIZE : int = 8
[static] size of stream send
SiOPMModule
Property Detail
bitRateproperty
bitRate:int  [read-only]

Bit rate


Implementation
    public function get bitRate():int
bufferLengthproperty 
bufferLength:int  [read-only]

Buffer length


Implementation
    public function get bufferLength():int
channelCountproperty 
channelCount:int  [read-only]

Buffer channel count


Implementation
    public function get channelCount():int
initOperatorParamproperty 
public var initOperatorParam:SiOPMOperatorParam

Intial values for operator parameters

outputproperty 
output:Vector.<Number>  [read-only]

Buffer count


Implementation
    public function get output():Vector.<Number>
outputStreamproperty 
public var outputStream:SiOPMStream

output stream

pcmVolumeproperty 
public var pcmVolume:Number

pcm module volume

The default value is 4.

samplerVolumeproperty 
public var samplerVolume:Number

sampler module volume

The default value is 2.

streamSlotproperty 
public var streamSlot:Vector.<SiOPMStream>

slot of global mixer

zeroBufferproperty 
public var zeroBuffer:SLLint

zero buffer

Constructor Detail
SiOPMModule()Constructor
public function SiOPMModule()

Default constructor

Method Detail
getPipe()method
public function getPipe(pipeNum:int, index:int = 0):SLLint

get pipe buffer

Parameters

pipeNum:int
 
index:int (default = 0)

Returns
SLLint
initialize()method 
public function initialize(channelCount:int, bitRate:int, bufferLength:int):void

Initialize module and all tone generators.

Parameters

channelCount:int — ChannelCount
 
bitRate:int — bit rate
 
bufferLength:int — Maximum buffer size processing at once.

reset()method 
public function reset():void

Reset.

Constant Detail
PIPE_SIZEConstant
public static const PIPE_SIZE:int = 5

pipe size

STREAM_SEND_SIZEConstant 
public static const STREAM_SEND_SIZE:int = 8

size of stream send