MidiNote Op

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.


Full Name
  • Ops.Devices.Midi.MidiNote
Visibility
  • Core Op - Official cables op
License
  • MIT
AuthorgithubTest Patches


Example Patch Midi ops example

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

Open In Editor

Youtube Video Tutorial

INPUT PORTS


MIDI

MIDI Event In (Object)

Midi event in

MIDI Channel index (Number: integer)

Note

Note index (Number: integer)
Normalize Velocity index (Number: integer)
Toggle Gate (Number: boolean)

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

OUTPUT PORTS


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 (booleanNumber)

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)

Patches using MidiNote

  • Examples
  • Public
  • My Patches

Changelog


bugfixlearned input parameter are transfered to remote vieweruser avatarpandur - 2022-12-14 17:18