Giter VIP home page Giter VIP logo

Comments (4)

jeremybernstein avatar jeremybernstein commented on August 29, 2024

These APIs are currently private and probably will remain so for the foreseeable future. What are you trying to do?

from max-sdk.

0x01011970 avatar 0x01011970 commented on August 29, 2024

Thank you for taking the time to answer.

I would like to develop an external in C or Rust (using https://github.com/Cycling74/median) that allows me to directly access the LOM : reading properties, updating some, subscribing.

I understand I can use "live.object" or the The LiveAPI Object and even a combination of an external and these two max objects.

But it would be less convoluted to be able to directly access the LOM in a C/Rust external :

  • Less objects to create, wire, test, debug,
  • Ability to quickly develop an algorithm in a language other than JS, with multi-threading (or not) and other language features (type safety, memory safety..)

I could probably build better arguments but if it's a company policy my one voice may not do much.

from max-sdk.

jeremybernstein avatar jeremybernstein commented on August 29, 2024

Couple of things: working with the LOM API from C is just as complex, if not more so, than from JS, since there is a fair amount of object management and message/state routing to deal with. JS hides quite a bit of that from you.

The LOM API is main thread only, that's an Ableton limitation, so if you expect to improve performance or execute background tasks, you're out of luck.

In short, it's not something we're eager to open up, and we'd need to do a lot of work to make it suitable for external use. If there are tasks which are annoying in JS we could help out with, in terms of building higher-level access or similar, please let us know.

from max-sdk.

0x01011970 avatar 0x01011970 commented on August 29, 2024

Thanks for these added details.

To simplify this task, my first intuition would be to re-use and expose in the SDK the C/C++ methods that are currently directly behind the javascript layer. But maybe there is a technical reason why it would not be possible.

And it still would require a good amount of work for something few or no people requested.

Thanks for the explanations 👍

from max-sdk.

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.