GithubHelp home page GithubHelp logo

niklasberlin / midicraft_extended_led_feedback Goto Github PK

View Code? Open in Web Editor NEW
6.0 6.0 1.0 299 KB

Lua script for grandMA2 Lighting Consoles to provide LED Feedback on Midi-Controllers from Midicraft

Lua 100.00%

midicraft_extended_led_feedback's People

Contributors

niklasberlin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

cristulian

midicraft_extended_led_feedback's Issues

Lock updateOnPageChange for the time needed to do a full Export/Update Cycle

When using the page change functionality changing pages fast could lead to undefined states of LED behavior from which the plugin does not recover until the update due to page change or timer.

It might be wise to lock the update on the page change routine for the time the plugin needs to perform an update. This way the plugin lags if pages are changed fast but it does not enter an undefined state.

This can be done by setting a flag once the plugin performs an export/update that is only cleared after all the data has successfully been processed.

The update on the page change routine then checks that flag before it performs another update.

Slim down the midi data output by only handling changes

To reduce the time the plugin needs to perform a full update cycle the plugin could check if an LED needs to be updated by tracking the states internally and only outputting the midi values needed to make the controller's appearance match the MA2 appearance.

For this, it's needed to track the LED states in a new array and check the results coming from the appearance import against that array only outputting midi data for the values that don't match anymore. After outputting the midi data the array is also updated with the changes.

add licance

hey,
it would be nice if a license was added to this repo that way the code can be used.

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.