Example of real-time MIDI use?

Oh, and you mention “real-time”. Depending on your use case, you may want to use Session().run_as_server(). See the discussion here:

1 Like