ricardomatias / ableton-live

A library for communicating with Live via WebSockets, works both in NodeJS and in the Browser.
https://ricardomatias.net/ableton-live/
79 stars 10 forks source link

Missing function (delete_clip): How to call? #22

Closed Andonvr closed 1 year ago

Andonvr commented 1 year ago

I think there's a function definition missing in the Tracks class: delete_clip.
So I was wondering if I could call it myself. The .call function on the Tracks-object is protected, and if I want to use the .call function on the AbletonLive-object, I need the track's path, which is also protected. Is there another way to do this? There are other functions that aren't defined in this package either, so a way to call them "by hand" would be great.

ricardomatias commented 1 year ago

The "delete_clip" function is part of a class of functions which are more complicated to address due to the fact that they require an instance of an element which is to be used as an argument. Case in point, to use delete_clip we must provide a clip, but at the moment this library doesn't have a way to address this.

ricardomatias commented 1 year ago

It's now part of the latest release of v0.0.10