def SendDBUS(service, path, interface, method, *args): """ Send a DBUS message. Instead of a specific value, each data argument may also be a Python function that takes a single :class:`~.MidiEvent` parameter, and returns the value to be sent. """ return _Call(_SendDBUS(service, path, interface, method, args))
def SendOSC(target, path, *args): """ Send an OSC message. Parameters are the same as for :func:`liblo.send()`. Additionally, instead of a specific value, each data argument may also be a Python function that takes a single :class:`~.MidiEvent` parameter, and returns the value to be sent. """ return _Call(_SendOSC(target, path, args))
def Quit(): """ Call :func:`.engine.quit()`. """ return _Call(lambda ev: _engine.quit())
def Restart(): """ Call :func:`.engine.restart()`. """ return _Call(lambda ev: _engine.restart())