Open hatf0 opened 6 years ago
Well, the way colorchord outputs video is really primitive. It is unsurprising that it would use a lot of CPU using the voronoi algorithm. You could just verify that it isn't something else in the system by not using the voronoi as an output and verifying size is irrelevant.
Maybe (i know, committing a sin) using OpenGL might be interesting?https://stackoverflow.com/questions/42405420/how-to-draw-a-single-pixel-in-opengl https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/ I mean, pretty much everything and their sister supports OpenGL. Might be an enhancement and just meant for the side, since this was meant for driving LEDs, though.
You could write a project that uses libsurvive and implments it into that...
Also, the new version of rawdraw I think can use OpenGL as a backend, but I haven't tried porting colorchord with it yet...
Colorchord config: https://hastebin.com/icehafarun.config Demonstration/cpu usage https://cdn.discordapp.com/attachments/262128321314291712/422647281720754176/2018-03-12_00-49-00.mkv
Windows audio config: https://i.imgur.com/ZVqrJy0.png https://i.imgur.com/HPq97eU.png https://i.imgur.com/TpzepKe.png
Some things I immediately noticed:
Overall, though, it's workable. Very dope program.