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
def notes(): osccontroller.send_message('edm_notes', 0) return '', 204
def edm(): osccontroller.send_message('edm', 0) return '', 204
def index2(): osccontroller.send_message('test', 0) return 'Hello'
def reset(): osccontroller.send_message('reset', None) return '', 204
def live(): osccontroller.send_message('live', None) return '', 204
def stop(): osccontroller.send_message('stop', None) return '', 204