![]() |
uvi-script
Musical event scripting with Lua
|
Public Member Functions | |
| MidiEvent (number timestamp, int status, int channel, int byte1, int byte2) | |
| creates a MidiEvent. | |
Public Attributes | |
| int | byte1 |
| MIDI byte 1 in range [0;127]. | |
| int | byte2 |
| MIDI byte 2 in range [0;127]. | |
| int | channel |
| MIDI channel in range [0;15]. | |
| int | type |
| MIDI event type (Event.NoteOn | Event.NoteOff | Event.ControlChange | Event.ProgramChange | Event.PitchBend | Event.AfterTouch | Event.PolyAfterTouch) | |
| int | status |
| alias for type | |
| number | timestamp |
| event timestamp in midi ticks, resolution is given by the MidiSequence's division. | |
A Midi Event.
| MidiEvent::MidiEvent | ( | number | timestamp, |
| int | status, | ||
| int | channel, | ||
| int | byte1, | ||
| int | byte2 ) |
creates a MidiEvent.
| timestamp | event timestamp in midi ticks |
| status | MIDI status (Event.NoteOn | Event.NoteOff | Event.ControlChange | Event.ProgramChange | Event.PitchBend | Event.AfterTouch | Event.PolyAfterTouch) |
| channel | MIDI channel in range [0;15] |
| byte1 | MIDI byte 1 in range [0;127] |
| byte2 | MIDI byte 2 in range [0;127] |