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