Code Monkey home page Code Monkey logo

Comments (1)

bramdebouvere avatar bramdebouvere commented on September 26, 2024

Instead of "link to controller" you have to use "override global link" to make it work when you switch to another instance of the effect.
I have already been working on automatically showing the plugin values on the faders/encoders for this as well, but I had some weird bugs at times when working with the remoteFindEventValue() function.

So I decided to first work on refactoring the scripts a bit, so I can have a clearer picture of what was going on.

These are the changes I did last time:

in on refresh:

            if flags & midi.HW_Dirty_RemoteLinkValues:
                print('dirty remote link values!')
                for n in range(0, len(self.ColT)):
                    self.UpdateCol(n)

in updatecol:

                    d = mixer.remoteFindEventValue(baseID + int(self.ColT[Num].TrackNum) * 8 + 7, 1)
                    m = 0
                    if d >= 0:
                        m = min(round(d * 16384), 16384)
                    else:

I'm still not finished refactoring, so I haven't really continued trying to make this work properly. However, input should already be working when you use the "override global link".

I'd also like to make some stuff possible with the Effects tab (I would love some automatically assigned values), but I'm still thinking about how I'll tackle this (and I would also first like to finish some of the refactoring).

Sorry if development is a little slow, I'm also doing this in my very limited free time :)

from fltouch.

Related Issues (19)

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.