A newer version of Max is available. Click here to access the latest version of the Max documentation

bendout Reference

Generate MIDI pitch bend events

bendout

Examples

Inlets

value [number]

Interprets input value based on bendmode.

channel [number]

Set channel number for MIDI output.

port [number]

Select the MIDI port the events will be sent to using the port index number.

Outlets

midiout [number]

Outputs properly formatted MIDI pitch bend event messages. Connect to a midiout object to pass these messages to the MIDI outport.

Fixed Attributes

These attributes must be set in the object box and determine the behavior of the object at runtime.

bendmode [enum] (default: float)

0 for Pitch Bend (0-127), 1 for Pitch Bend (-1. to 1.), 2 for Pitch Bend (-8192 to 8191) Possible values:

0 = 'lores'
1 = 'float'
2 = 'hires'

Dynamic Attributes

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

channel [number]

Set channel number for MIDI output.

port [number]

Select the MIDI port the events will be sent to using the port index number.

value [number]

Interprets input value based on bendmode.

See Also

Name Description
midiin Output raw MIDI data
bendin Output MIDI pitch bend values
bendin Receive MIDI pitch bend events
ctlout Transmit MIDI controller messages
midiout MIDI output stream
bendout Generate MIDI pitch bend events