Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to make the LED's react to music input? #57

Open
Loxitation opened this issue Jan 30, 2021 · 11 comments
Open

Is there a way to make the LED's react to music input? #57

Loxitation opened this issue Jan 30, 2021 · 11 comments

Comments

@Loxitation
Copy link

Hey, as the title says, is there, or will there be a way? 馃懐 :)

@tom-2015
Copy link
Owner

tom-2015 commented Feb 1, 2021

At this moment it's not implemented in the program, main reason is I don't know how to convert audio into commands to change the led color/brightness :(.

@Bigdeath
Copy link

Bigdeath commented Feb 1, 2021

Is there a way to convert the Mic Signal into a wave Form? Then for high, mid and Bass Set colors and fade them random. I hope you understand what I mean. It where good to know how other products work with Sound 2 Light 馃

@Loxitation
Copy link
Author

@tom-2015 What if you don't have to convert the audio into commands? I mean the audio signal needs to be processed, thats right. But depending on the amplitude of the track, it can send or it will send "values" or a graph. Your part would be to grab parts of the path every x ms and read a value, lets say 1-10. 1 = low, nothing happens, maybe little voice part, where 10 would be the base kick while the song drops. Now to transfer that into a command you could use if(value=10){DoStuff}. Audio Input for the pi could come trough cheap usb soundcards, I'll google a bit in my spare time, maybe I can come up with some more help :/ Thats the only feature I'm missing, being able to run my "shows" sound activated 馃懐

@tom-2015
Copy link
Owner

tom-2015 commented Feb 2, 2021

馃you mean make the brightness change with amplitude of audio signal?

Edit, found this on youtube 馃榾:
https://www.youtube.com/watch?v=xFt-ya-8GAw

@Loxitation
Copy link
Author

$499.99, definetly not :D

@Loxitation
Copy link
Author

@Loxitation
Copy link
Author

https://github.com/scottlawsonbc/audio-reactive-led-strip the dsp.py should be interesting. Its the digital signal processing.

@tom-2015
Copy link
Owner

tom-2015 commented Feb 4, 2021

Yes that can be interesting but will take some time to implement.

@Bigdeath
Copy link

Bigdeath commented Jun 6, 2021

Any Updates? Possible?

@tom-2015
Copy link
Owner

tom-2015 commented Jun 8, 2021

Didn't have time to start with audio support.
Now finishing 2D matrix support first, after this I'll take a look at audio input.

@tom-2015
Copy link
Owner

Release 6.1 has 3 new functions for audio effects.
It's still a beginning and the DSP is probably far from perfect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants