-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
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
Clips not returning #41
Comments
@jcc-dhudson How many clips are in the set? I've just tried to replicate this with a set containing 16 tracks with 320 clips each, and it scans and displays OK. Are you running on Windows or macOS? Is there anything else unusual in your setup? Does it scan OK when you create a fresh set with a few clips in it? |
Thanks for the reply. See below for an example set which returns 0 clips in pylive set.dump(). I think about 17 clips among the 18 tracks in the screenshot. I also tried with a fresh set and just double-clicked on a midi track to make a single midi clip, no luck. I've tried on two different Windows 11 machines, one with a fresh Python 3.11 install. Thanks again! |
Digging in a little more, it seems that I do get clips that are in clip slots in the Session View, but nothing in Arrangement View. The same thing happens using your run-console.py querying AbletonOSC directly, so clearly not a bug in pylive. Is this just a limitation or am I using it wrong? /live/song/get/track_data 0 2 clip.name Thank you! |
I believe I have found my answer in AbletonOSC documentation. While it doesn't look like it is implemented in pylive, /live/track/get/arrangement_clips/ seems to do what I need:
@ideoforms - sorry for wasting your time. Hopefully this will be useful to someone. Thank you for all your work on this project! |
Thanks for digging, that's useful feedback! I'll leave this issue open and add a clarification note in the README/pydocs that these functions specifically apply to Session View. |
I am running pylive 0.4.0, Ableton Live 11.3.2, and AbletonOSC downloaded 2/29/24.
When I open a set with many clips, I cannot seem to get any clips. Even when I create a brand new MIDI track, create a clip, and name it, it doesn't appear in a dump(). When I tried creating a clip with pylive, it returns just fine, but I do not see it in the Ableton GUI.
`import live
import logging
set = live.Set(scan=True)
set.logger.setLevel(logging.DEBUG)
set.dump()`
`───────────────────────────────────────────────────────
Live set with 16 tracks in 0 groups, total 0 clips
────────────────────────────────────────────────────────`
Thank you for this super helpful package!
The text was updated successfully, but these errors were encountered: