ColorChord.NET icon indicating copy to clipboard operation
ColorChord.NET copied to clipboard

Too Flickery? Decay function

Open roboraptor opened this issue 3 years ago • 5 comments

I found the "TimeBased" and "SteadyBright" arguments, but it would be lovely to be able set the "Decay" as one extra input. ❤️

roboraptor avatar Aug 26 '22 19:08 roboraptor

"TimeBased" is only used for the Cells visualizer, and doesn't really smooth the visuals. However, multiple visualizers have "SteadyBright" as an option, including Linear and Cells, and this is what I'd recommend using. The data that gets used when "SteadyBright" is enabled is controlled by the "NoteAttachAmpIIR2" setting under the NoteFinder. Try lowering this from the default of 0.25 to have more smoothing applied, and let me know if that achieves your desired effect.

CaiB avatar Aug 27 '22 23:08 CaiB

I combined it with "DFTIIR" and it really looks less flickery already! ❤️
But still it looks like it just flashes different colors a bit epilepsy likely 😄

roboraptor avatar Aug 30 '22 22:08 roboraptor

I see the problem in how the color is changing. For example from yellow to blue. It changes from frame to frame without any blend. Is this possible to setup somewhere? Thank yooooou ❤️

roboraptor avatar Aug 30 '22 22:08 roboraptor

Would it be possible to get deeper into NoteFinder and Visualizers together so you can explain to me and I could understand more how it works? And maybe help more?

roboraptor avatar Sep 14 '22 09:09 roboraptor

Blending between colours is only done when the algorithm detects that a note is sliding (e.g. a singer smoothly changing their pitch), not when a note weakens/stops and gets replaced by another one (doing so would not make sense as the visuals would no longer show what was actually happening in the music).

I think this is only a problem due to the low number of individual lights you are using, making these transitions much more apparent. On something like an LED bar with 50 LEDs (what I use), each block of colour will shrink or fade out for a couple of frames as it gets replaced by another, making the transition much less jarring.

The NoteFinder algorithm is reasonably complex, but quite well-documented. You can find the source code here.

I'd suggest you read through that and let me know what questions you have afterwards. I should probably also write up a textual/visual explanation of how it works at some point, but my to-do list is already quite long so that might be a while...

CaiB avatar Sep 15 '22 06:09 CaiB