bendin
Receive MIDI pitch bend events
Description
Receive incoming MIDI pitch bend events from an external source. Outlets provide for centered (-1. - 1.), normalized (0. - 1.), and 14-bit (0 - 16383) output.
Inlets
input [number]
No connection to the input is required. Incoming MIDI pitch bend events are automatically passed to bendin.
Outlets
value [number]
Pitch bend value (scaled as specified by the bendmode attribute).
channel [number]
The MIDI channel of the incoming pitch bend data.
Dynamic Attributes
These attributes can be modified in the code during execution using the set object
bendmode [enum] (default: lores)
When the attribute is set to 0, the pitch bend inlet will accept integer values in the standard MIDI range of 0 to 127. When the attribute is set to 1, it accepts float values in the audio signal range of -1 to 1. When the attribute is set to 2, it accepts integer values in the range of 0-16384 (14-bit MIDI high resolution pitch bend range).
Possible values:0 = 'lores'
1 = 'float'
2 = 'hires'
input [number]
No connection to the input is required. Incoming MIDI pitch bend events are automatically passed to bendin.
See Also
Name | Description |
---|---|
midiin | |
bendin | |
bendout | Generate MIDI pitch bend events |
ctlin | MIDI controller input |
midiin | MIDI input stream |
notein | Receive MIDI note messages |