cnlohr / colorchord

Chromatic Sound to Light Conversion System
Other
663 stars 114 forks source link

Windows support with Cable/Virtual Audio Cable #61

Open hatf0 opened 6 years ago

hatf0 commented 6 years ago

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.

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

hatf0 commented 6 years ago

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.

cnlohr commented 6 years ago

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