| Package | org.si.sion.module |
| Class | public class SiOPMModule |
| Inheritance | SiOPMModule Object |
| Property | Defined 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 | ||
| Method | Defined By | ||
|---|---|---|---|
Default constructor
| SiOPMModule | ||
get pipe buffer | SiOPMModule | ||
initialize(channelCount:int, bitRate:int, bufferLength:int):void Initialize module and all tone generators. | SiOPMModule | ||
reset():void Reset. | SiOPMModule | ||
| Constant | Defined By | ||
|---|---|---|---|
| PIPE_SIZE : int = 5 [static] pipe size | SiOPMModule | ||
| STREAM_SEND_SIZE : int = 8 [static] size of stream send | SiOPMModule | ||
| bitRate | property |
bitRate:int [read-only] Bit rate
public function get bitRate():int| bufferLength | property |
bufferLength:int [read-only] Buffer length
public function get bufferLength():int| channelCount | property |
channelCount:int [read-only] Buffer channel count
public function get channelCount():int| initOperatorParam | property |
public var initOperatorParam:SiOPMOperatorParamIntial values for operator parameters
| output | property |
output:Vector.<Number> [read-only] Buffer count
public function get output():Vector.<Number>| outputStream | property |
public var outputStream:SiOPMStreamoutput stream
| pcmVolume | property |
public var pcmVolume:Numberpcm module volume
The default value is 4.
| samplerVolume | property |
public var samplerVolume:Numbersampler module volume
The default value is 2.
| streamSlot | property |
public var streamSlot:Vector.<SiOPMStream>slot of global mixer
| zeroBuffer | property |
public var zeroBuffer:SLLintzero buffer
| SiOPMModule | () | Constructor |
public function SiOPMModule()Default constructor
| getPipe | () | method |
public function getPipe(pipeNum:int, index:int = 0):SLLintget pipe buffer
Parameters
pipeNum:int | |
index:int (default = 0) |
SLLint |
| initialize | () | method |
public function initialize(channelCount:int, bitRate:int, bufferLength:int):voidInitialize 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():voidReset.
| PIPE_SIZE | Constant |
public static const PIPE_SIZE:int = 5pipe size
| STREAM_SEND_SIZE | Constant |
public static const STREAM_SEND_SIZE:int = 8size of stream send