ideoforms / AbletonOSC

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

Adding Audio Clips (importing audio files) #123

Open nlahmi opened 8 months ago

nlahmi commented 8 months ago

Hi, I wanted to use this project (actually pylive, which uses it) to bootstrap new recording sessions, and automatically include backing tracks from existing audio files. From what I've seen in the documentation it doesn't seem to be possible, unless I'm missing something. Is it even technically possible?

I don't know much about OSC but I have some Python background, willing to help with implementation if needed.

ideoforms commented 8 months ago

Hi @nlahmi, could you say more about the steps you'd be looking to accomplish? Would this be something like the below?

  1. create a new audio track
  2. load one or more audio clips onto that track
  3. position those clips with the arrangement view

Currently, (1) is straightforward; (2) is not yet implemented as it requires implementation of the Live Browser, which is a significant and complex piece of work; (3) is not yet implemented, should be possible by adding a setter that modifies the Track arrangement_clips property, although this is labelled as const within the API docs so would need some investigation.

nlahmi commented 8 months ago

Thanks for the quick response :) Yes that's exactly it! Though for my specific use case, I can do with the audio clip being the only one on the track, positioned at the very beginning. Is the Browser implementation being worked on? If so, how much of it is done? And what kind of knowlege would be required to contribute to it (or this project in general)?