Class Midi.Output

implements Midi.Sink

A MIDI system output.

Constructors

Output(string name, string connection)

Properties

midiin Audio.Connection inputs as an array

Methods

clear(float from) clear all scheduled events starting from the given measure
schedule(Midi.Message message, float measure, Time.Clock clock) schedule a MIDI message
schedule(Midi.Note note, float measure, Time.Clock clock) schedule a MIDI note
schedule(Midi.Pattern pattern, float measure, Time.Clock clock) schedule a MIDI Pattern
schedule(Midi.Sequence sequence, float measure, Time.Clock clock) schedule a MIDI sequence

Constructor Documentation


Output(string name, string connection)

Parameters

Property Documentation


array midiin

Audio.Connection inputs as an array. Adding or removing elements to this array has no effect on the underlying audio component.

Method Documentation


void clear(float from)

Clear all scheduled events starting from the given measure

Parameters


void schedule(Midi.Message message, float measure, Time.Clock clock)

Schedule a MIDI message

Parameters


void schedule(Midi.Note note, float measure, Time.Clock clock)

Schedule a MIDI note

Parameters


void schedule(Midi.Pattern pattern, float measure, Time.Clock clock)

Schedule a MIDI Pattern

Parameters


void schedule(Midi.Sequence sequence, float measure, Time.Clock clock)

Schedule a MIDI sequence

Parameters



Creative Commons Logo This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.