Example #1
0
def play():
    data = request.form.to_dict()

    if 'sFlag' not in data:
        data['sFlag'] = 0
    if 'wFlag' not in data:
        data['wFlag'] = 0

    osccontroller.send_message('play', data)
    return '', 204
Example #2
0
def notes():
    osccontroller.send_message('edm_notes', 0)
    return '', 204
Example #3
0
def edm():
    osccontroller.send_message('edm', 0)
    return '', 204
Example #4
0
def index2():
    osccontroller.send_message('test', 0)
    return 'Hello'
Example #5
0
def reset():
    osccontroller.send_message('reset', None)
    return '', 204
Example #6
0
def live():
    osccontroller.send_message('live', None)
    return '', 204
Example #7
0
def stop():
    osccontroller.send_message('stop', None)
    return '', 204