jacdac.midi_output

Submodules

Package Contents

Classes

MidiOutputClient

A MIDI output device.

class jacdac.midi_output.MidiOutputClient(bus: jacdac.bus.Bus, role: str)

Bases: jacdac.bus.Client

A MIDI output device. Implements a client for the MIDI output service.

property enabled Optional[bool]

Opens or closes the port to the MIDI device,

clear() None

Clears any pending send data that has not yet been sent from the MIDIOutput’s queue.

send(data: bytes) None

Enqueues the message to be sent to the corresponding MIDI port