We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/live/song/get/num_tracks works flawlessly, but I can't seem to get the similar /live/song/get/track_names working
The text was updated successfully, but these errors were encountered:
``def osc_handler(*args):
n = args[-2] if args[0] == '/live/song/get/num_tracks': print('Number of tracks - '+str(args[1])) global number_of_tracks number_of_tracks = int(args[1]) elif args[0] == '/live/song/get/track_names': print('track_names - '+str(args)) elif args[0] == '/live/track/get/output_meter_level': with open("Track_"+str(n)+"_status.txt", "w") as file: file.write(str(args[-1])) file.close() else: print(args[0])
used with
server_thread = threading.Thread(target=server.serve_forever).start() disp.map("/live/track/get/output_meter_level", osc_handler) client.send_message("/live/song/get/num_tracks", 99) disp.map("/live/song/get/num_tracks", osc_handler) disp.map("/live/song/get/track_data", osc_handler) ```
Sorry, something went wrong.
No branches or pull requests
/live/song/get/num_tracks works flawlessly, but I can't seem to get the similar /live/song/get/track_names working
The text was updated successfully, but these errors were encountered: