| Property | Defined By | ||
|---|---|---|---|
| data : int = 0 Event data. | MMLEvent | ||
| id : int = 0 Event ID. | MMLEvent | ||
| jump : MMLEvent Pointer refered by repeating. | MMLEvent | ||
| length : int = 0 Prcessing length. | MMLEvent | ||
| next : MMLEvent Next event pointer in an event chain. | MMLEvent | ||
| nopEvent : MMLEvent [static] NOP event | MMLEvent | ||
| Method | Defined By | ||
|---|---|---|---|
MMLEvent(id:int = 0, data:int = 0, length:int = 0) Constructor | MMLEvent | ||
free():void free this event to reuse. | MMLEvent | ||
getParameters(param:Vector.<int>, length:int):MMLEvent Get parameters as an array. | MMLEvent | ||
initialize(id:int, data:int, length:int):MMLEvent Initializes
| MMLEvent | ||
pack():int Pack to int. | MMLEvent | ||
toString():String Format as "#id; data" | MMLEvent | ||
unpack(d:int):void Unpack from int. | MMLEvent | ||
| Constant | Defined By | ||
|---|---|---|---|
| COMMAND_MAX : int = 128 [static] Maximum value of event id. | MMLEvent | ||
| DEBUG_INFO : int = 34 [static] | MMLEvent | ||
| DRIVER_NOTE : int = 37 [static] | MMLEvent | ||
| FINE_VOLUME : int = 13 [static] | MMLEvent | ||
| GLOBAL_WAIT : int = 30 [static] | MMLEvent | ||
| INPUT_PIPE : int = 22 [static] | MMLEvent | ||
| INTERNAL_CALL : int = 35 [static] | MMLEvent | ||
| INTERNAL_WAIT : int = 36 [static] | MMLEvent | ||
| KEY_ON_DELAY : int = 8 [static] | MMLEvent | ||
| MOD_PARAM : int = 21 [static] | MMLEvent | ||
| MOD_TYPE : int = 20 [static] | MMLEvent | ||
| NOP : int = 0 [static] | MMLEvent | ||
| NOTE : int = 3 [static] | MMLEvent | ||
| OUTPUT_PIPE : int = 23 [static] | MMLEvent | ||
| PARAMETER : int = 25 [static] | MMLEvent | ||
| PITCHBEND : int = 16 [static] | MMLEvent | ||
| PROCESS : int = 1 [static] | MMLEvent | ||
| QUANT_COUNT : int = 10 [static] | MMLEvent | ||
| QUANT_RATIO : int = 9 [static] | MMLEvent | ||
| REGISTER : int = 33 [static] | MMLEvent | ||
| REPEAT_ALL : int = 24 [static] | MMLEvent | ||
| REPEAT_BEGIN : int = 17 [static] | MMLEvent | ||
| REPEAT_BREAK : int = 18 [static] | MMLEvent | ||
| REPEAT_END : int = 19 [static] | MMLEvent | ||
| REST : int = 2 [static] | MMLEvent | ||
| SEQUENCE_HEAD : int = 26 [static] | MMLEvent | ||
| SEQUENCE_TAIL : int = 27 [static] | MMLEvent | ||
| SLUR : int = 14 [static] | MMLEvent | ||
| SLUR_WEAK : int = 15 [static] | MMLEvent | ||
| SYSTEM_EVENT : int = 28 [static] | MMLEvent | ||
| TABLE_EVENT : int = 29 [static] | MMLEvent | ||
| TEMPO : int = 31 [static] | MMLEvent | ||
| TIMER : int = 32 [static] | MMLEvent | ||
| USER_DEFINE : int = 64 [static] Event id for the first user defined command. | MMLEvent | ||
| VOLUME : int = 11 [static] | MMLEvent | ||
| VOLUME_SHIFT : int = 12 [static] | MMLEvent | ||
| data | property |
public var data:int = 0Event data.
| id | property |
public var id:int = 0Event ID.
| jump | property |
public var jump:MMLEventPointer refered by repeating.
| length | property |
public var length:int = 0Prcessing length.
| next | property |
public var next:MMLEventNext event pointer in an event chain.
| nopEvent | property |
public static var nopEvent:MMLEventNOP event
| MMLEvent | () | Constructor |
public function MMLEvent(id:int = 0, data:int = 0, length:int = 0)Constructor
Parametersid:int (default = 0) | |
data:int (default = 0) | |
length:int (default = 0) |
| free | () | method |
public function free():voidfree this event to reuse.
| getParameters | () | method |
public function getParameters(param:Vector.<int>, length:int):MMLEventGet parameters as an array.
Parameters
param:Vector.<int> — Reference to get parameters.
| |
length:int — Max parameters count to get.
|
MMLEvent — The last parameter event.
|
| initialize | () | method |
public function initialize(id:int, data:int, length:int):MMLEventInitializes
Parameters
id:int — Event ID.
| |
data:int — Event data. Recommend that the value <= 0xffffff.
| |
length:int |
MMLEvent |
| pack | () | method |
public function pack():intPack to int.
Returnsint |
| toString | () | method |
public function toString():StringFormat as "#id; data"
ReturnsString |
| unpack | () | method |
public function unpack(d:int):voidUnpack from int.
Parameters
d:int |
| COMMAND_MAX | Constant |
public static const COMMAND_MAX:int = 128Maximum value of event id.
| DEBUG_INFO | Constant |
public static const DEBUG_INFO:int = 34| DRIVER_NOTE | Constant |
public static const DRIVER_NOTE:int = 37| FINE_VOLUME | Constant |
public static const FINE_VOLUME:int = 13| GLOBAL_WAIT | Constant |
public static const GLOBAL_WAIT:int = 30| INPUT_PIPE | Constant |
public static const INPUT_PIPE:int = 22| INTERNAL_CALL | Constant |
public static const INTERNAL_CALL:int = 35| INTERNAL_WAIT | Constant |
public static const INTERNAL_WAIT:int = 36| KEY_ON_DELAY | Constant |
public static const KEY_ON_DELAY:int = 8| MOD_PARAM | Constant |
public static const MOD_PARAM:int = 21| MOD_TYPE | Constant |
public static const MOD_TYPE:int = 20| NOP | Constant |
public static const NOP:int = 0| NOTE | Constant |
public static const NOTE:int = 3| OUTPUT_PIPE | Constant |
public static const OUTPUT_PIPE:int = 23| PARAMETER | Constant |
public static const PARAMETER:int = 25| PITCHBEND | Constant |
public static const PITCHBEND:int = 16| PROCESS | Constant |
public static const PROCESS:int = 1| QUANT_COUNT | Constant |
public static const QUANT_COUNT:int = 10| QUANT_RATIO | Constant |
public static const QUANT_RATIO:int = 9| REGISTER | Constant |
public static const REGISTER:int = 33| REPEAT_ALL | Constant |
public static const REPEAT_ALL:int = 24| REPEAT_BEGIN | Constant |
public static const REPEAT_BEGIN:int = 17| REPEAT_BREAK | Constant |
public static const REPEAT_BREAK:int = 18| REPEAT_END | Constant |
public static const REPEAT_END:int = 19| REST | Constant |
public static const REST:int = 2| SEQUENCE_HEAD | Constant |
public static const SEQUENCE_HEAD:int = 26| SEQUENCE_TAIL | Constant |
public static const SEQUENCE_TAIL:int = 27| SLUR | Constant |
public static const SLUR:int = 14| SLUR_WEAK | Constant |
public static const SLUR_WEAK:int = 15| SYSTEM_EVENT | Constant |
public static const SYSTEM_EVENT:int = 28| TABLE_EVENT | Constant |
public static const TABLE_EVENT:int = 29| TEMPO | Constant |
public static const TEMPO:int = 31| TIMER | Constant |
public static const TIMER:int = 32| USER_DEFINE | Constant |
public static const USER_DEFINE:int = 64Event id for the first user defined command.
| VOLUME | Constant |
public static const VOLUME:int = 11| VOLUME_SHIFT | Constant |
public static const VOLUME_SHIFT:int = 12