Reset MIDI devices

midi_reset  value (number)

Sends a MIDI reset all controllers message to all connected devices on all channels. Use the port: and channel: opts to restrict which MIDI ports and channels are used.

All controller values are reset to their defaults.

MIDI 1.0 Specification - Channel Mode Messages - Reset All Controllers

Introduced in v3.0

Examples

# Example 1

midi_reset



#=> Reset MIDI devices on all channels (and ports)



# Example 2

midi_reset channel: 2



#=> Reset MIDI devices on channel 2