From 198fded20e083b7ee2270a84cab5e11a8ae9c664 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Sun, 29 Mar 2026 18:56:27 -0400 Subject: [PATCH] Enable MIDI clock/transport reception (ignore_types timing=False) Co-Authored-By: Claude Opus 4.6 (1M context) --- pytheory/live.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pytheory/live.py b/pytheory/live.py index a4d98e9..9d09d36 100644 --- a/pytheory/live.py +++ b/pytheory/live.py @@ -476,6 +476,8 @@ class LiveEngine: break self._midi_in.open_port(port) + # Enable system realtime messages (clock, start, stop) + self._midi_in.ignore_types(sysex=True, timing=False, active_sense=True) self._midi_in.set_callback(self._midi_callback) port_name = ports[port] if isinstance(port, int) else port