Exemple #1
0
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))
Exemple #2
0
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))
Exemple #3
0
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))
Exemple #4
0
def Quit():
    """
    Call :func:`.engine.quit()`.
    """
    return _Call(lambda ev: _engine.quit())
Exemple #5
0
def Restart():
    """
    Call :func:`.engine.restart()`.
    """
    return _Call(lambda ev: _engine.restart())
Exemple #6
0
def Quit():
    """
    Call :func:`.engine.quit()`.
    """
    return _Call(lambda ev: _engine.quit())
Exemple #7
0
def Restart():
    """
    Call :func:`.engine.restart()`.
    """
    return _Call(lambda ev: _engine.restart())