Package | org.si.sion.sequencer.base |
Class | public class MMLExecutor |
Inheritance | MMLExecutor ![]() |
Property | Defined 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 |
Method | Defined 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(seq:MMLSequence):void Initialize. | MMLExecutor | ||
resetPointer():void Reset pointer to sequence head | MMLExecutor | ||
singleNote(note:int, tickLength:int):void execute single note. | MMLExecutor | ||
stop():void stop execute sequence | MMLExecutor |
currentEvent | property |
currentEvent:MMLEvent
[read-only] Current event
public function get currentEvent():MMLEvent
endRepeatCount | property |
endRepeatCount:int
[read-only] Repeating count by segno
public function get endRepeatCount():int
noteWaitingFor | property |
noteWaitingFor:int
[read-only] Note that wait for note on execution ? -1 for not waiting
public function get noteWaitingFor():int
pointer | property |
public var pointer:MMLEvent
Current MMLEvent to process
sequence | property |
sequence:MMLSequence
[read-only] Executing MMLSequence
public function get sequence():MMLSequence
MMLExecutor | () | Constructor |
public function MMLExecutor()
Constructor.
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.
|
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