Skip to content

MIDI output

Graham Wakefield edited this page Mar 31, 2021 · 10 revisions

MIDI note output

Note output requires multiple objects, at minimum for a pitch and velocity. In Oopsy this is handled polyphonically by use of midi_noteN prefixes. [history midi_note1_pitch_out] and [history midi_note1_vel_out] are the minimum for a monophonic app.

[history midi_noteN_pitch_out]: set the pitch of voice N (counting from 1, 2, 3...) using a MIDI pitch value 0, 1, 2...

[history midi_noteN_vel_out]: set the velocity (loudness) of voice N (counting from 1, 2, 3...) from 0 to 1. A velocity of 0 means note off, any other value greater than zero means note on.

MIDI Thru

If you want any MIDI received on the hardware input to be forwarded ot the hardware output, create an [in N midithru] object. (This object will also give you the raw MIDI input scaled by 1/256, just like [in N midi]). Here, N means any integer that is not being used for audio input, e.g. 5 on a Daisy Patch, or 3 on most other targets.

Clone this wiki locally