ideoforms / AbletonOSC

Control Ableton Live 11 via Open Sound Control (OSC)
MIT License
406 stars 68 forks source link

Methods for switching between session, arrangement, device and clip view #97

Open esaruoho opened 1 year ago

esaruoho commented 1 year ago

hi, is it possible to add api calls for these:

  1. open arrange view
  2. open session view
  3. show device view
  4. show clip view unfortunately these seem to be tied together, i.e. tab will do arrange or session. and shift-tab will do device or clip. but i'd prefer to separate them so can call device-view at will, or session-view at will.
ideoforms commented 1 year ago

I've just had a quick look at the docs. Not exactly sure how this is achieved but I suspect using Live.Application.Application.View.focused_document_viewProperty.

This won't be a priority for me right now I'm afraid, as I have a big backlog of other issues and only have limited time to work on the project, but I always welcome code submissions!

esaruoho commented 4 days ago

i tried to figure this out myself but so far i can't make any sense of pythonosc + abletonosc and the different handlers and live.py clip.py and run-console.py but let's see if there's some way of o1-previewing it up