예제 #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
파일: engine.py 프로젝트: Darko8/mididings
def Quit():
    """
    Call :func:`.engine.quit()`.
    """
    return _Call(lambda ev: _engine.quit())
예제 #7
0
파일: engine.py 프로젝트: Darko8/mididings
def Restart():
    """
    Call :func:`.engine.restart()`.
    """
    return _Call(lambda ev: _engine.restart())