instance that is attatched to the same object.
|
override void | AllNotesOff () |
| Triggers note off events for all notes currently on in the referenced Sampler. More...
|
|
override void | NoteOn (int note, float velocity=1.0f) |
| Triggers a note on event for the referenced sampler. If the AudioSource is set to loop, you must trigger a note off event later for this note by calling NoteOff. More...
|
|
override void | NoteOff (int note) |
| Triggers a note off event for the referenced Sampler. More...
|
|
override void | StartOnNextCycle () |
| Starts the sequencer on the start next cycle. This is useful if you have multiple synced sequencers and you want to start this one on the next go around. More...
|
|
delegate void | NoteAction (Note note) |
| A note event. More...
|
|
delegate void | BeatAction (int index) |
| A beat event. More...
|
|
void | StartScheduled (double dspTime) |
|
void | OnBeforeSerialize () |
|
void | OnAfterDeserialize () |
|
virtual IntPtr | Reference () |
| Reference to the native sequencer instance memory (if any). More...
|
|
float | GetDivisionLength () |
| Gets the length of the division measured in sixteenth notes. More...
|
|
void | NotifyNoteKeyChanged (Note note, int oldKey) |
| Notifies the sequencer of a change to the key of one of the notes. More...
|
|
void | NotifyNoteStartChanged (Note note, float oldStart) |
| Notifies the sequencer of a change to one of the note start positions. More...
|
|
void | NotifyNoteEndChanged (Note note, float oldEnd) |
| Notifies the sequencer of a change to one of the note end positions. More...
|
|
void | RemoveNote (Note note) |
| Removes a note from the sequencer. More...
|
|
bool | NoteExistsInRange (int note, float start, float end) |
| Check if a note exists within a given range in the sequencer. More...
|
|
Note | GetNoteInRange (int note, float start, float end, Note ignore=null) |
| Gets the first note in a given range in the sequencer. More...
|
|
List< Note > | GetAllNoteOnsInRange (float start, float end) |
| Get all Note objects that have a note on in the given range in this sequencer. More...
|
|
List< Note > | GetAllNoteOffsInRange (float start, float end) |
| Get all Note objects that have a note off in the given range in this sequencer. More...
|
|
void | RemoveNotesInRange (int note, float start, float end) |
| Removes all notes that overlap a given range. More...
|
|
void | RemoveNotesContainedInRange (int note, float start, float end, Note ignore=null) |
| Removes all notes that are fully contained in a given range. More...
|
|
void | ClampNotesInRange (int note, float start, float end, Note ignore=null) |
| Removes all notes that are fully contained and trim notes that partially overlap range by removing the time inside the range. More...
|
|
Note | AddNote (int note, float start, float end, float velocity=1.0f) |
| Add a note to the sequencer. More...
|
|
void | ReadMidiFile (Stream midiStream) |
| Read a MIDI file's tracks into this sequencer. Currently in Beta. This may not work for all MIDI files or as expected. More...
|
|
void | ReadMidiFile (MidiFile midiFile) |
| Read a MIDI file object into this sequencer. Currently in Beta. This may not work for all MIDI files or as expected. More...
|
|
void | Clear () |
| Clear the sequencer of all notes. More...
|
|
float | GetSixteenthTime () |
| Gets the time in seconds of a single sixteenth note in the sequencer. More...
|
|
double | GetSequencerPosition () |
| Gets the current position of the sequencer measured in sixteenth notes. More...
|
|
A sequencer of notes over time that will send its note on/off events to a Sampler instance that is attatched to the same object.