Giter Site home page Giter Site logo

Clips not returning about pylive HOT 5 OPEN

ideoforms avatar ideoforms commented on July 26, 2024
Clips not returning

from pylive.

Comments (5)

ideoforms avatar ideoforms commented on July 26, 2024

@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?

from pylive.

jcc-dhudson avatar jcc-dhudson commented on July 26, 2024

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!

thumbnail_image

from pylive.

jcc-dhudson avatar jcc-dhudson commented on July 26, 2024

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!

from pylive.

jcc-dhudson avatar jcc-dhudson commented on July 26, 2024

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:

/live/track/get/arrangement_clips/name track_id track_id, [name, ....] Query all arrangement view clip names on track
/live/track/get/arrangement_clips/length track_id track_id, [length, ...] Query all arrangement view clip lengths on track
/live/track/get/arrangement_clips/start_time track_id track_id, [start_time, ...] Query all arrangement view clip times on track

@ideoforms - sorry for wasting your time. Hopefully this will be useful to someone. Thank you for all your work on this project!

from pylive.

ideoforms avatar ideoforms commented on July 26, 2024

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.

from pylive.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.