renoise.Midi.MidiDevice
Baseclass of renoise.Midi.MidiIn/OutDevice with common properties for MIDI input and output devices.
Properties
is_open : boolean
Returns true while the device is open (ready to send or receive messages). Your device refs will never be auto-closed, "is_open" will only be false if you explicitly call "midi_device:close()" to release a device.
name : string
The name of a device. This is the name you create a device with via
renoise.Midi.create_input_device
orrenoise.Midi.create_output_device
.
Functions
close(self)
Close a running MIDI device. When no other client is using a device, Renoise will also shut off the device driver so that, for example, Windows OS other applications can use the device again. This is automatically done when scripts are closed or your device objects are garbage collected.