Package | org.si.sion.sequencer |
Class | public class SiMMLData |
Inheritance | SiMMLData ![]() ![]() |
Subclasses | SiONData |
Property | Defined By | ||
---|---|---|---|
![]() | author : String Author | MMLData | |
![]() | bpm : Number Beat per minutes, set 0 when this data depends on driver's BPM. | MMLData | |
![]() | defaultExpressionMode : int default expression mode | MMLData | |
![]() | defaultFPS : int default FPS | MMLData | |
![]() | defaultVCommandShift : int default velocity command shift | MMLData | |
![]() | defaultVelocityMode : int default velocity mode | MMLData | |
envelopes : Vector.<SiMMLEnvelopTable> envelope tables | SiMMLData | ||
fmVoices : Vector.<SiMMLVoice> FM voice data | SiMMLData | ||
![]() | globalSequence : MMLSequence Global sequence | MMLData | |
![]() | hasRepeatAll : Boolean [read-only] does this song have all repeat comand ? | MMLData | |
pcmVoices : Vector.<SiMMLVoice> pcm data (log-transformed) | SiMMLData | ||
samplerTables : Vector.<SiOPMWaveSamplerTable> wave data | SiMMLData | ||
![]() | sequenceCount : int [read-only] sequence count | MMLData | |
![]() | sequenceGroup : MMLSequenceGroup Sequence group | MMLData | |
![]() | systemCommands : Array [read-only] system commands that can not be parsed. | MMLData | |
![]() | tcommandMode : int mode of t command | MMLData | |
![]() | tcommandResolution : Number resolution of t command | MMLData | |
![]() | tickCount : int [read-only] Get song length by tick count (1920 for wholetone). | MMLData | |
![]() | title : String Title | MMLData | |
voices : Vector.<SiMMLVoice> [read-only] [NOT RECOMMENDED] This property is for the compatibility of previous versions, please use fmVoices instead of this. | SiMMLData | ||
waveTables : Vector.<SiOPMWaveTable> wave tables | SiMMLData |
Method | Defined By | ||
---|---|---|---|
constructor. | SiMMLData | ||
![]() | 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 | ||
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 |
envelopes | property |
public var envelopes:Vector.<SiMMLEnvelopTable>
envelope tables
fmVoices | property |
public var fmVoices:Vector.<SiMMLVoice>
FM voice data
pcmVoices | property |
public var pcmVoices:Vector.<SiMMLVoice>
pcm data (log-transformed)
samplerTables | property |
public var samplerTables:Vector.<SiOPMWaveSamplerTable>
wave data
voices | property |
voices:Vector.<SiMMLVoice>
[read-only] [NOT RECOMMENDED] This property is for the compatibility of previous versions, please use fmVoices instead of this.
public function get voices():Vector.<SiMMLVoice>
See also
waveTables | property |
public var waveTables:Vector.<SiOPMWaveTable>
wave tables
SiMMLData | () | Constructor |
public function SiMMLData()
constructor.
clear | () | method |
override public function clear():void
Clear all parameters and free all sequence groups.
setEnvelopTable | () | method |
public function setEnvelopTable(index:int, envelope:SiMMLEnvelopTable):void
Set envelope table data refered by @@,na,np,nt,nf,_@@,_na,_np,_nt and _nf.
Parameters
index:int — envelope table number.
| |
envelope:SiMMLEnvelopTable — envelope table.
|
setVoice | () | method |
public function setVoice(index:int, voice:SiMMLVoice):void
Set wave table data refered by %6.
Parameters
index:int — wave table number.
| |
voice:SiMMLVoice — voice to register.
|
setWaveTable | () | method |
public function setWaveTable(index:int, data:Vector.<Number>):SiOPMWaveTable
Set wave table data refered by %4.
Parameters
index:int — wave table number.
| |
data:Vector.<Number> — Vector.<Number> wave shape data ranged from -1 to 1.
|
SiOPMWaveTable — created data instance
|