Lightpack
Lightpack copied to clipboard
Delay sending data by configurable amount
Some TV sets add a post-processing delay to the video that they display. This can result in the LEDs performing "faster" than the TV. For a given frame of video, the LED will display the color data before the frame is displayed by the TV. This can be jarring for the viewer, especially in TV shows with a lot of camera cuts.
Please consider adding a delay option to your port of Prismatik. This function would delay sending the color data to the hardware (Lightpack, Adalight, etc.) for a chosen amount of time (micro or milliseconds). This would allow the user to "sync" the output of Prismatik with the video that appears on their TV, similar to a lip-sync adjustment on a TV set.
In my mind, this could work by queueing the color data with timestamps and transmitting after the delay has passed. Unfortunately, I'm not familiar enough with C++ to implement this myself.
As you might have guessed, I don't have a lot of time for this project at the moment...
As a workaround, a lower capture rate should work.
Also it would be a great feature for the Sound visualization mode while using a bluetooth speaker, so we could compensate for the bluetooth audio delay.