MidiNote Op

MidiNote

Read a single midi note


<p>This op replaces the older <code>MidiButton op</code></p> <p>Gets incoming midi notes from the selected midi channel. Notes can be selected with a dropdown menu or you can click &quot;learn&quot; and press a midi key to automatically map the correct note.</p> <p>Velocity values come in between 0-127 These values can be normalised between 0 to 1 or -1 to 1 with a dropdown menu.</p>


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)

<p>Midi event in</p>

MIDI Channel index (Number:

<i>integer</i>

)

Note

Note index (Number:

<i>integer</i>

)

Normalize Velocity index (Number:

<i>integer</i>

)

Toggle Gate (Number:

<i>boolean</i>

)

<p>When activated, playing a note turns the gate on. Playing it again turns it off.</p>

learn (Trigger)

<p>Click and then press a midi note to automatically select it</p>

clear (Trigger)

<p>reset op to default state</p>

OUTPUT PORTS


MIDI Event Out (Object)

<p>Midi event out - passes all midi data through to allow midi ops to be stacked</p>

Trigger Out (Trigger)

<p>Triggers when the selected midi note comes in</p>

Current Note (Number)

<p>If no note has been selected it will output all changing note numbers else it outputs selected note</p>

Velocity (Number)

<p>Velocity is normally between 0-127 unless Normalise velocity is enabled</p>

Gate (

<i>boolean</i>

Number)

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

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