cnlohr / colorchord

Chromatic Sound to Light Conversion System

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Windows support with Cable/Virtual Audio Cable

hatf0 opened this issue · comments

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:

  • It gets really slow if you have a size that's bigger then 640x480
  • FPS count is permanently broken
  • Slight delay sometimes with the audio (related to the resolution problem)

Overall, though, it's workable. Very dope program.

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...

https://github.com/cnlohr/rawdraw