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

MidiNote Op

Ops.Devices.Midi.MidiNote


MidiNote

Read a single midi note


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.



Inputs

MIDI

MIDI Event In (Object)

Midi event in

MIDI Channel index (integer /Number)

Note

Note index (integer /Number)
Normalize Velocity index (integer /Number)
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.

Velocity Array (Array)
Caught a mistake or want to contribute to the documentation?

Edit Documentation 

Midi ops example

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

Open Example In Editor

Youtube Video Tutorial

Patches using MidiNote

Changelog


bugfixlearned input parameter are transfered to remote viewer
2022-12-14 - pandur