I have a fixture with 6 bars (120 LEDs each) and would like to run a VU meter across it :)
I picked up this formula from a sample project - if(music.1.band(x+1) > py, 50, 0) to control the power.
The result somewhat resembles a VU meter but I wonder whether I can improve on this. As I understand this, the formula assigns a different frequency band across the x-axis and returns 50 if the value is higher than py or 0 if not. Where is py defined and how many frequency bands are there?