implements Audio.Source Midi.Source Midi.Sink
Represents an LV2 Plugin| Plugin(IO.File statefile) |
| Plugin(string uri) |
| Plugin(string uri, Lv2.State state) |
| Plugin(string uri, string preset) |
| void addController(Midi.Source source, integer cc, string symbol)
add a MIDI controller |
| void addController(Midi.Source source, integer cc, string symbol, integer mininum)
add a MIDI controller |
| void addController(Midi.Source source, integer cc, string symbol, integer mininum, integer maximum)
add a MIDI controller |
| void clear(float from)
clear all scheduled events starting from the given measure |
| void connect(Audio.Source source) |
| void connectMidi(Midi.Source source) |
| Audio.Connection connection(integer channel)
Returns a single channel of audio output from this component. |
| integer midiChannel()
Get or set the MIDI channel. |
| integer midiChannel(integer channel)
Get or set the MIDI channel. |
| Midi.Connection midiConnection(integer index) |
| void onControl(function handler) |
| void onNoteOff(function handler) |
| void onNoteOn(function handler) |
| void onProgramChange(function handler) |
| void saveState(string path) |
| void scheduleControl(string control, float value, float measure)
schedule a control value change |
| 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 |
| void setControl(string control, float value)
set a control value |
add a MIDI controller
add a MIDI controller
add a MIDI controller
clear all scheduled events starting from the given measure
Returns a single channel of audio output from this component.
Get or set the MIDI channel.
Get or set the MIDI channel.
schedule a control value change
schedule a MIDI message
schedule a MIDI message
schedule a MIDI note
schedule a MIDI note
schedule a MIDI Pattern
schedule a MIDI Pattern
set a control value
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.