notein
Examples
Arguments
channel [number]
A number in the right inlet will set the MIDI channel for notein. A value of will receive MIDI note messages on all channels.
Inlets
input [number]
The notein object can receive MIDI input through the left inlet, but will also automatically add a MIDI inlet to the containing rnbo~ object and receive all note messages in the incoming MIDI stream.
channel [number]
A number in the right inlet will set the MIDI channel for notein. A value of will receive MIDI note messages on all channels.
Outlets
notenumber [number]
Out left outlet: The number is the pitch value of the incoming note message.
velocity [number]
Out 2nd outlet: The number is the velocity of the incoming note-on message if non-zero, 0 for a note-off message.
releasevelocity [number]
Out 3rd outlet: The number is the release velocity of incoming note-off messages.
outchannel [number]
Out 4th outlet: The number is the MIDI channel of the incoming note message.
Dynamic Attributes
These attributes can be modified in the code during execution using the set object
channel [number]
A number in the right inlet will set the MIDI channel for notein. A value of will receive MIDI note messages on all channels.
input [number]
The notein object can receive MIDI input through the left inlet, but will also automatically add a MIDI inlet to the containing rnbo~ object and receive all note messages in the incoming MIDI stream.
See Also
| Name | Description |
|---|---|
| midiin | Output raw MIDI data |
| notein | Receive MIDI note messages |
| noteout | transmit MIDI note messages |
| bendin | Receive MIDI pitch bend events |
| ctlin | MIDI controller input |
| sysexin | Receive MIDI System Exclusive messages |
| midiin | MIDI input stream |