seq <- Midi.Sequence()
// [add some events]
seq[0] // the first Midi.MessageEvent
foreach(event in seq) {
// event.message, event.measure
}
Sequence() |
add(Midi.Message message, float measure) | add a Midi.Message to this sequence |
add(Midi.Note message, float measure) | add a Midi.Note to this sequence |
add(Midi.Pattern pattern, float measure) | add the events from a Midi.Pattern to this sequence |
add(Midi.Sequence pattern, float measure) | add the events from another Midi.Sequence to this sequence |
filter(function filter) | filter the events in this sequence to create a new Midi.Sequence |
len() | the number of MIDI events in this sequence |
pattern() | create and return a new Midi.Pattern from the Midi.NoteOn and Midi.NoteOff events in this sequence |
Add a Midi.Message to this sequence.
Add a Midi.Note to this sequence.
Add the events from a Midi.Pattern to this sequence.
Add the events from another Midi.Sequence to this sequence.
Filter the events in this sequence to create a new Midi.Sequence
The number of MIDI events in this sequence
Create and return a new Midi.Pattern from the Midi.NoteOn and Midi.NoteOff events in this sequence.