Code Monkey home page Code Monkey logo

Comments (5)

thomasf avatar thomasf commented on May 28, 2024

I want to help out with lp95 but it's probably the least suitable project to learn the API in because of it's inherent complexity, other scripts I've been tinkering with are generally easier to understand. Lp95 seems to do alot of things spread out all over the places that actually has implementations in the _Framework classes.. I guess that this might be because of legacy reasons.

from launchpad95.

hdavid avatar hdavid commented on May 28, 2024

please test and let me know if this works for you.
i did a quick fix while on travel :)
as you can see the bug was original launchpad script code :)

from launchpad95.

thomasf avatar thomasf commented on May 28, 2024

Thanks alot, much better.I

At first my lp's just stopped responding quickly after starting live but that ended, Apple might be the responsible part there, maybe.

There is still an issue when two launchpads are connected.
The script mixes up the led lights between the two, however they do the right thing when pressed.

And also, I do learn alot about the API's from my lp95 debug sessions even if I haven't yet found a solution to any of the bugs I've been looking for.

thanks again

from launchpad95.

hdavid avatar hdavid commented on May 28, 2024

some weird stuff in a python script can kill live. i had that in the past. you can also have infinite loops etc.
i had that in the past.
so programming python remote scripts is not totally safe in that regards.

about the linked sessions, i will have a look when i got a second launchpad at hand.

from launchpad95.

thomasf avatar thomasf commented on May 28, 2024

I have understood that the live python interpreter is a bit special in some places.. Amongst other things I guess that it is using some kind evented concurrency scheduler (or similar concept) since imports done at the top of the file isn't always available inside functions later on.

I jammed with a friend for quite some hours yesterday and all seemed stable then.

from launchpad95.

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.