Packageorg.si.sion.sequencer
Classpublic class SiMMLData
InheritanceSiMMLData Inheritance MMLData Inheritance Object
Subclasses SiONData

SiMML data class.



Public Properties
 PropertyDefined By
 Inheritedauthor : String
Author
MMLData
 Inheritedbpm : Number
Beat per minutes, set 0 when this data depends on driver's BPM.
MMLData
 InheriteddefaultExpressionMode : int
default expression mode
MMLData
 InheriteddefaultFPS : int
default FPS
MMLData
 InheriteddefaultVCommandShift : int
default velocity command shift
MMLData
 InheriteddefaultVelocityMode : int
default velocity mode
MMLData
  envelopes : Vector.<SiMMLEnvelopTable>
envelope tables
SiMMLData
  fmVoices : Vector.<SiMMLVoice>
FM voice data
SiMMLData
 InheritedglobalSequence : MMLSequence
Global sequence
MMLData
 InheritedhasRepeatAll : 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
 InheritedsequenceCount : int
[read-only] sequence count
MMLData
 InheritedsequenceGroup : MMLSequenceGroup
Sequence group
MMLData
 InheritedsystemCommands : Array
[read-only] system commands that can not be parsed.
MMLData
 InheritedtcommandMode : int
mode of t command
MMLData
 InheritedtcommandResolution : Number
resolution of t command
MMLData
 InheritedtickCount : int
[read-only] Get song length by tick count (1920 for wholetone).
MMLData
 Inheritedtitle : 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
Public Methods
 MethodDefined By
  
constructor.
SiMMLData
 Inherited
appendNewSequence(sequence:Vector.<MMLEvent> = null):MMLSequence
Append new sequence.
MMLData
  
clear():void
[override] Clear all parameters and free all sequence groups.
SiMMLData
 Inherited
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
Public Constants
 ConstantDefined By
 InheritedTCOMMAND_BPM : int = 0
[static] specify tcommand argument by BPM
MMLData
 InheritedTCOMMAND_FRAME : int = 2
[static] specify tcommand argument by frame count
MMLData
 InheritedTCOMMAND_TIMERB : int = 1
[static] specify tcommand argument by OPNA's TIMERB with 48ticks/beat
MMLData
Property Detail
envelopesproperty
public var envelopes:Vector.<SiMMLEnvelopTable>

envelope tables

fmVoicesproperty 
public var fmVoices:Vector.<SiMMLVoice>

FM voice data

pcmVoicesproperty 
public var pcmVoices:Vector.<SiMMLVoice>

pcm data (log-transformed)

samplerTablesproperty 
public var samplerTables:Vector.<SiOPMWaveSamplerTable>

wave data

voicesproperty 
voices:Vector.<SiMMLVoice>  [read-only]

[NOT RECOMMENDED] This property is for the compatibility of previous versions, please use fmVoices instead of this.


Implementation
    public function get voices():Vector.<SiMMLVoice>

See also

waveTablesproperty 
public var waveTables:Vector.<SiOPMWaveTable>

wave tables

Constructor Detail
SiMMLData()Constructor
public function SiMMLData()

constructor.

Method Detail
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.

Returns
SiOPMWaveTable — created data instance