lily-mara / gvm-led-controller

Rust controller for GVM lighting
1 stars 0 forks source link

Use microphone input to control LED intensity? #1

Open videodoctor opened 5 months ago

videodoctor commented 5 months ago

Thank you for building this project for GVM LEDs! I'd like to experiment with using microphone intensity (basic dB levels, nothing fancy) to control LED intensity. I'm new to Rust, but I've programmed in other languages (Java, C#, Python, PHP). I'm gonna watch your YouTube video linked from the project, but any insights you have would be greatly appreciated. Thank you in advance!

lily-mara commented 3 weeks ago

I'm not familiar with audio programming in Rust, but I can't think of any reason why finding audio levels via Rust would be difficult. One issue you might run into is that the GVM LEDs have fairly slow update times for brightness instructions. They're programmed to slowly (~1.5s iirc) fade from the previous brightness to the next one, so you're going to probably have difficulty getting them to cleanly track the volume from a microphone.