Converts a melody to a control signal, containing velocity information from the melody. This is useful to control effect parameters based on velocity.
Inputs
Melody Input
A melody to convert to a control signal, containing its velocity information. This can be a real-time melody signal, such as that from the MIDI Keyboard Node, or a connection from a non-live source, such as a Piano Roll Node.
Outputs
Control Output
The current velocity value, from 0 to 1. Outputs 0 if no notes are playing at the moment.
Technical Details
This Node always outputs a single velocity value. If a polyphonic melody is connected, the output is the velocity from the most recently started note (i.e. when a note starts playing, it overrides earlier ones).