beta
cables is under heavy development.
There might be one or another bug, please let us know about it!
Read a single midi note

summary (oneliner)

This op replaces the older MidiButton op

Gets incoming midi notes from the selected midi channel.
Notes can be selected with a dropdown menu or you can click "learn" and press a midi key to automatically map the correct note.

Velocity values come in between 0-127
These values can be normalised between
0 to 1 or -1 to 1 with a dropdown menu.

doc

issues

youtube id

collections

related ops

Inputs

MIDI

MIDI Event In (Object)

Midi event in


MIDI Channel (string Number)

Pick a midi channel from 1 to 16


Note

Note (string Number)

The selected note to output


Normalize Velocity (String)

Enable to normalize values from 0 to 1 or -1 to 1


Toggle Gate (boolean Number)

When activated, playing a note turns the gate on. Playing it again turns it off.


learn (Trigger)

Click and then press a midi note to automatically select it


clear (Trigger)

reset op to default state


Outputs

MIDI Event Out (Object)

Midi event out - passes all midi data through to allow midi ops to be stacked


Trigger Out (Trigger)

Triggers when the selected midi note comes in


Current Note (Number)

If no note has been selected it will output all changing note numbers else it outputs selected note


Velocity (Number)

Velocity is normally between 0-127 unless Normalise velocity is enabled


Gate (boolean Number)

True when the note is on else false. When toggle is activated, true when note comes in. False when note comes in again.


Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save
Midi ops example:
Op example patch is not public domain!

This example file demonstrates how to use all the new midi ops.



video tutorial:

Credits


Examples using MidiNote

Public Patches using MidiNote