Converts a melody to a control signal, containing velocity information from the melody. This is useful to control effect parameters based on note velocity.
A melody to convert to a control signal. This can be a real-time melody source, such as that from the MIDI Keyboard Node, or a connection from a non-live source, such as a Piano Roll Node.
Keep the value from the last note for this duration, in seconds, or until another note overrides it
For example, if set to 5, the output will continue to output the velocity of the last note for 5 seconds, or until another note overrides it.
This is useful for custom audio synthesis with a long ADSR release duration.
The current velocity value, from 0 to 1. Outputs 0 if no notes are playing at the moment.
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).