Code Monkey home page Code Monkey logo

Comments (8)

onlaj avatar onlaj commented on June 10, 2024

Hello, I'm working on a feature that will add support for any kind of leds density, stay tuned.
Or if you want to change it right now for yourself, take a look at this commit

from piano-led-visualizer.

David-Guow avatar David-Guow commented on June 10, 2024

Thanks a lot for the fast reply, I will stay tuned for sure.
Tried to follow the steps from the commit and a few different density for my case. However the Led strip will not light up the right most 30 or so leds. I'm guessing it has a limit for leds set by the 144 /m strips? I'm not too good with coding, it's really appreciated to know you are working on this feature!

from piano-led-visualizer.

onlaj avatar onlaj commented on June 10, 2024

You have to change number of leds,it can be done through web interface, lcd screen's menu or by editing config/settings.xml
Screenshot 2023-07-14 at 15 45 59

from piano-led-visualizer.

David-Guow avatar David-Guow commented on June 10, 2024

I changed the led counts to 196 for my case. The leds distances are "shrinked" and would not light up the parts corresponding the the right most 5 or 6 white keys. Adjust the density didn't work for my case.

from piano-led-visualizer.

onlaj avatar onlaj commented on June 10, 2024

Yep, without editing the code it won't align properly with that led strip.
Basically you need to change
leds_per_meter = 144
to
leds_per_meter = 160

Then you can use LED Note Offset for final adjustments.

from piano-led-visualizer.

onlaj avatar onlaj commented on June 10, 2024

@David-Guow I updated the code. Now, instead of "low density" you can specify how many leds there are per meter on your led strip.

from piano-led-visualizer.

David-Guow avatar David-Guow commented on June 10, 2024

from piano-led-visualizer.

David-Guow avatar David-Guow commented on June 10, 2024

from piano-led-visualizer.

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.