ideoforms / AbletonOSC

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

Introduce missing Clip properties to run-console.py + view.py #143

Open esaruoho opened 1 month ago

esaruoho commented 1 month ago

Hi @ideoforms Since I can't wrap my mind around the "view clip or view device on track" mode change, but you did point me to the unofficial PythonLiveAPI - I'm trying to do the lowest hanging fruit, which is this:

this PR introduces the following properties to clip.py + autocomplete in run-console.py:

has_groove
is_overdubbing
sample_length
start_time
will_record_on_start
color_index
launch_mode
launch_quantization
legato
muted
position
ram_mode
velocity_amount
warp_mode

i also added some comments to the code that might help with where it could be taken later - i.e. since some of the commented away properties actually return something that is not processed properly by run-console.py - i.e. error "Infered arg_value type is not supported" - maybe someone can take that over the finishing line.

do let me know if this type of stuff is welcome. i think the position one is amazing! warp_mode was weird tho, with number 5 shooting errors whereas 6 shoots "Complex Pro" without issues.

if this is welcome, I'll run through the rest of the functions and try and make small increment tweaks until they amount to something.

esaruoho commented 1 month ago

added clip properties to documentation too.

esaruoho commented 1 month ago

@ideoforms what do you think, is this good to go?

esaruoho commented 2 weeks ago

@ideoforms ping - does this PR make any sense for you? it seems to me that this was a good start at adding more stuff in there, and i left the TODOs documented for someone else to pick up.

I'd love to continue working on adding more missing properties/controls for other parts of AbletonOSC - but just need your green light really.