RNBO Objects & Operators stripnote
Open Help

stripnote

Filter out note-off messages

Description

Filters note-off messages (MIDI messages with a velocity of 0) and pass note-on messages.

Inlets

notenumber [number]

An incoming number is treated as a pitch value. If the velocity value currently held by stripnote is not 0, then the velocity is sent out the right outlet and the pitch is sent out the left outlet.

velocity [number]

In right inlet: The incoming number is stored as a velocity to be paired with pitch numbers received in the left inlet.

Outlets

notenumber_out [number]

Out left outlet: The pitch value received in the left inlet is sent out, provided the velocity is not 0.

velocity_out [number]

Out right outlet: The velocity value of a note-on pair is sent out, provided it is not 0.

Dynamic Attributes

These attributes can be modified in the code during execution using the set object

notenumber [number]

An incoming number is treated as a pitch value. If the velocity value currently held by stripnote is not 0, then the velocity is sent out the right outlet and the pitch is sent out the left outlet.

velocity [number]

In right inlet: The incoming number is stored as a velocity to be paired with pitch numbers received in the left inlet.

See Also

Name Description
stripnote
midiout
makenote Generate a note-on/note-off pair