Class Midi.Output

implements Midi.Sink

A MIDI system output.

Constructors

Output(string name)

Output(string name, string connection)

Methods

void clear(float from)

clear all scheduled events starting from the given measure

void connectMidi(Midi.Source source)

integer midiChannel()

Get or set the MIDI channel.

integer midiChannel(integer channel)

Get or set the MIDI channel.

void schedule(Midi.Message message, float measure)

schedule a MIDI message

void schedule(Midi.Message message, float measure, integer channel)

schedule a MIDI message

void schedule(Midi.Note note, float measure)

schedule a MIDI note

void schedule(Midi.Note note, float measure, integer channel)

schedule a MIDI note

void schedule(Midi.Pattern pattern, float measure)

schedule a MIDI Pattern

void schedule(Midi.Pattern pattern, float measure, integer channel)

schedule a MIDI Pattern

Method Documentation

void clear(float from)

clear all scheduled events starting from the given measure

Parameters

void connectMidi(Midi.Source source)

Parameters

integer midiChannel()

Get or set the MIDI channel.

Parameters

Returns

integer midiChannel(integer channel)

Get or set the MIDI channel.

Parameters

Returns

void schedule(Midi.Message message, float measure)

schedule a MIDI message

Parameters

void schedule(Midi.Message message, float measure, integer channel)

schedule a MIDI message

Parameters

void schedule(Midi.Note note, float measure)

schedule a MIDI note

Parameters

void schedule(Midi.Note note, float measure, integer channel)

schedule a MIDI note

Parameters

void schedule(Midi.Pattern pattern, float measure)

schedule a MIDI Pattern

Parameters

void schedule(Midi.Pattern pattern, float measure, integer channel)

schedule a MIDI Pattern

Parameters



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