Packageorg.si.sion.sequencer.base
Classpublic class MMLExecutor
InheritanceMMLExecutor Inheritance Object

MMLExecutor has MMLSequence and executing pointer. One track has one executor, and sequencer also has one for global sequence.



Public Properties
 PropertyDefined By
  currentEvent : MMLEvent
[read-only] Current event
MMLExecutor
  endRepeatCount : int
[read-only] Repeating count by segno
MMLExecutor
  noteWaitingFor : int
[read-only] Note that wait for note on execution ? -1 for not waiting
MMLExecutor
  pointer : MMLEvent
Current MMLEvent to process
MMLExecutor
  sequence : MMLSequence
[read-only] Executing MMLSequence
MMLExecutor
Public Methods
 MethodDefined By
  
Constructor.
MMLExecutor
  
bendingFrom(note:int, tickLength:int):Boolean
pitch bending, this function only is avilable after calling singleNote().
MMLExecutor
  
clear():void
Clear contents.
MMLExecutor
  
Initialize.
MMLExecutor
  
Reset pointer to sequence head
MMLExecutor
  
singleNote(note:int, tickLength:int):void
execute single note.
MMLExecutor
  
stop():void
stop execute sequence
MMLExecutor
Property Detail
currentEventproperty
currentEvent:MMLEvent  [read-only]

Current event


Implementation
    public function get currentEvent():MMLEvent
endRepeatCountproperty 
endRepeatCount:int  [read-only]

Repeating count by segno


Implementation
    public function get endRepeatCount():int
noteWaitingForproperty 
noteWaitingFor:int  [read-only]

Note that wait for note on execution ? -1 for not waiting


Implementation
    public function get noteWaitingFor():int
pointerproperty 
public var pointer:MMLEvent

Current MMLEvent to process

sequenceproperty 
sequence:MMLSequence  [read-only]

Executing MMLSequence


Implementation
    public function get sequence():MMLSequence
Constructor Detail
MMLExecutor()Constructor
public function MMLExecutor()

Constructor.

Method Detail
bendingFrom()method
public function bendingFrom(note:int, tickLength:int):Boolean

pitch bending, this function only is avilable after calling singleNote().

Parameters

note:int — Note number bending to.
 
tickLength:int — length of bending.

Returns
Boolean
clear()method 
public function clear():void

Clear contents.

initialize()method 
public function initialize(seq:MMLSequence):void

Initialize.

Parameters

seq:MMLSequence — Sequence to execute. Sets the pointer at the head of this sequence, when this argument is not null.

resetPointer()method 
public function resetPointer():void

Reset pointer to sequence head

singleNote()method 
public function singleNote(note:int, tickLength:int):void

execute single note.

Parameters

note:int — Note number.
 
tickLength:int — length in tick count. The argument of 0 sets no key off.

stop()method 
public function stop():void

stop execute sequence