Package | org.si.sion |
Class | public class SiONData |
Inheritance | SiONData ![]() ![]() ![]() |
Implements | ISiOPMWaveInterface |
Subclasses | SiONDataConverterSMF |
Method | Defined By | ||
---|---|---|---|
SiONData() | SiONData | ||
![]() | Append new sequence. | MMLData | |
![]() | clear():void [override] Clear all parameters and free all sequence groups. | SiMMLData | |
![]() | getSequence(index:int):MMLSequence Get sequence. | MMLData | |
![]() | setEnvelopTable(index:int, envelope:SiMMLEnvelopTable):void Set envelope table data refered by @@,na,np,nt,nf,_@@,_na,_np,_nt and _nf. | SiMMLData | |
setPCMData(index:int, data:Vector.<Number>, samplingOctave:int = 5, keyRangeFrom:int = 0, keyRangeTo:int = 127, isSourceDataStereo:Boolean = false):SiOPMWavePCMData [NOT RECOMMENDED] This function is for a compatibility with previous versions, please use setPCMWave instead of this function. | SiONData | ||
setPCMSound(index:int, sound:Sound, samplingOctave:int = 5, keyRangeFrom:int = 0, keyRangeTo:int = 127):SiOPMWavePCMData [NOT RECOMMENDED] This function is for a compatibility with previous versions, please use setPCMWave instead of this function. | SiONData | ||
setPCMVoice(index:int, voice:SiONVoice):void Set pcm voice
| SiONData | ||
setPCMWave(index:int, data:*, samplingNote:Number = 69, keyRangeFrom:int = 0, keyRangeTo:int = 127, srcChannelCount:int = 2, channelCount:int = 0):SiOPMWavePCMData Set PCM wave data rederd by %7. | SiONData | ||
setSamplerData(index:int, data:Vector.<Number>, ignoreNoteOff:Boolean = false, channelCount:int = 1):SiOPMWaveSamplerData [NOT RECOMMENDED] This function is for a compatibility with previous versions, please use setSamplerWave instead of this function. | SiONData | ||
setSamplerSound(index:int, sound:Sound, ignoreNoteOff:Boolean = false, channelCount:int = 2):SiOPMWaveSamplerData [NOT RECOMMENDED] This function is for a compatibility with previous versions, please use setSamplerWave instead of this function. | SiONData | ||
setSamplerTable(bank:int, table:SiOPMWaveSamplerTable):void Set sampler table
| SiONData | ||
setSamplerWave(index:int, data:*, ignoreNoteOff:Boolean = false, pan:int = 0, srcChannelCount:int = 2, channelCount:int = 0):SiOPMWaveSamplerData Set sampler wave data refered by %10. | SiONData | ||
![]() | setVoice(index:int, voice:SiMMLVoice):void Set wave table data refered by %6. | SiMMLData | |
![]() | setWaveTable(index:int, data:Vector.<Number>):SiOPMWaveTable Set wave table data refered by %4. | SiMMLData |
SiONData | () | Constructor |
public function SiONData()
setPCMData | () | method |
public function setPCMData(index:int, data:Vector.<Number>, samplingOctave:int = 5, keyRangeFrom:int = 0, keyRangeTo:int = 127, isSourceDataStereo:Boolean = false):SiOPMWavePCMData
[NOT RECOMMENDED] This function is for a compatibility with previous versions, please use setPCMWave instead of this function.
Parameters
index:int | |
data:Vector.<Number> | |
samplingOctave:int (default = 5 )
| |
keyRangeFrom:int (default = 0 )
| |
keyRangeTo:int (default = 127 )
| |
isSourceDataStereo:Boolean (default = false )
|
SiOPMWavePCMData |
See also
setPCMSound | () | method |
public function setPCMSound(index:int, sound:Sound, samplingOctave:int = 5, keyRangeFrom:int = 0, keyRangeTo:int = 127):SiOPMWavePCMData
[NOT RECOMMENDED] This function is for a compatibility with previous versions, please use setPCMWave instead of this function.
Parameters
index:int | |
sound:Sound | |
samplingOctave:int (default = 5 )
| |
keyRangeFrom:int (default = 0 )
| |
keyRangeTo:int (default = 127 )
|
SiOPMWavePCMData |
See also
setPCMVoice | () | method |
public function setPCMVoice(index:int, voice:SiONVoice):void
Set pcm voice
Parameters
index:int — PCM data number.
| |
voice:SiONVoice — pcm voice to set, ussualy from SiONSoundFont
|
setPCMWave | () | method |
public function setPCMWave(index:int, data:*, samplingNote:Number = 69, keyRangeFrom:int = 0, keyRangeTo:int = 127, srcChannelCount:int = 2, channelCount:int = 0):SiOPMWavePCMData
Set PCM wave data rederd by %7.
Parameters
index:int — PCM data number.
| |
data:* — wave data, Sound, Vector.<Number> or Vector.<int> is available. The Sound instance is extracted internally, the maximum length to extract is SiOPMWavePCMData.maxSampleLengthFromSound[samples].
| |
samplingNote:Number (default = 69 ) — Sampling wave's original note number, this allows decimal number
| |
keyRangeFrom:int (default = 0 ) — Assigning key range starts from (not implemented in current version)
| |
keyRangeTo:int (default = 127 ) — Assigning key range ends at (not implemented in current version)
| |
srcChannelCount:int (default = 2 ) — channel count of source data, 1 for monoral, 2 for stereo.
| |
channelCount:int (default = 0 ) — channel count of this data, 1 for monoral, 2 for stereo, 0 sets same with srcChannelCount.
|
SiOPMWavePCMData |
See also
setSamplerData | () | method |
public function setSamplerData(index:int, data:Vector.<Number>, ignoreNoteOff:Boolean = false, channelCount:int = 1):SiOPMWaveSamplerData
[NOT RECOMMENDED] This function is for a compatibility with previous versions, please use setSamplerWave instead of this function.
Parameters
index:int | |
data:Vector.<Number> | |
ignoreNoteOff:Boolean (default = false )
| |
channelCount:int (default = 1 )
|
SiOPMWaveSamplerData |
See also
setSamplerSound | () | method |
public function setSamplerSound(index:int, sound:Sound, ignoreNoteOff:Boolean = false, channelCount:int = 2):SiOPMWaveSamplerData
[NOT RECOMMENDED] This function is for a compatibility with previous versions, please use setSamplerWave instead of this function.
Parameters
index:int | |
sound:Sound | |
ignoreNoteOff:Boolean (default = false )
| |
channelCount:int (default = 2 )
|
SiOPMWaveSamplerData |
See also
setSamplerTable | () | method |
public function setSamplerTable(bank:int, table:SiOPMWaveSamplerTable):void
Set sampler table
Parameters
bank:int — bank number
| |
table:SiOPMWaveSamplerTable — sampler table class, ussualy from SiONSoundFont
|
See also
setSamplerWave | () | method |
public function setSamplerWave(index:int, data:*, ignoreNoteOff:Boolean = false, pan:int = 0, srcChannelCount:int = 2, channelCount:int = 0):SiOPMWaveSamplerData
Set sampler wave data refered by %10.
Parameters
index:int — note number. 0-127 for bank0, 128-255 for bank1.
| |
data:* — wave data, Sound, Vector.<Number> or Vector.<int> is available. The Sound is extracted when the length is shorter than SiOPMWaveSamplerData.extractThreshold[msec].
| |
ignoreNoteOff:Boolean (default = false ) — True to set ignoring note off.
| |
pan:int (default = 0 ) — pan of this sample [-64 - 64].
| |
srcChannelCount:int (default = 2 ) — channel count of source data, 1 for monoral, 2 for stereo.
| |
channelCount:int (default = 0 ) — channel count of this data, 1 for monoral, 2 for stereo, 0 sets same with srcChannelCount.
|
SiOPMWaveSamplerData — created data instance
|
See also