Notifications
Clear all

What is the approach for Creating Light Shows synced to music

4 Posts
2 Users
1 Likes
678 Views
Sid
 Sid
(@sid)
Member
Joined: 3 years ago
Posts: 111
Topic starter  

Okay, WS LEDs this time.

I have a bunch of them now. And they are WS2812b and WS2811 (the Pixel Bulbs of 5v).

I have an Arduino Uno and now I also have a D1 Mini (I got this for some other thing like connecting to internet - Google Calendar to be specific, but by the time this was delivered, I have found a different method to get the Birthday and Task Alerts - and I do hope that I can spare the D1 Mini for the question I ask).

So my questions are -

1. Can I use Arduino Uno or even the D1 Mini to create light shows that are synced to music? If not, is there any other hadware that can be of help?

2. What else - in terms of Software would be needed - I mean, will it be something like Python or some other library?

My purpose is simple - I am creating a 4x4x4 cube using those WS2811 /Pixel Bulbs that I have. I do not plan to use those library functions that come in as examples from FastLED or even the AdaFruit Counterpart. I will be trying to port the regular codes for these cubes to run the Cube (raindrops being my favorite).

But then, when I am done, I would also love to have this small cube synced with audio (if it can be done).

Once I have my Cube completed, I will post it all (incuding codes etc) for review and then will move ahead with the Syncing the Lights and Music.

Thanks everyone who reads and a hug to anyone who helps me as a guide.

Luv you all for being around.

Cheers.

Life is exploring and learning


   
Quote
SuperCharlie
(@supercharlie)
Member
Joined: 3 years ago
Posts: 81
 

Since all I know is python, everything looks like a python problem to me LOL.. I just finished playing around with recording levels and RMS in Python.. I think with an RMS output level you could light up lights at different peaks and whatnot and create a music synchronization


   
Sid reacted
ReplyQuote
Sid
 Sid
(@sid)
Member
Joined: 3 years ago
Posts: 111
Topic starter  

@supercharlie

I have access to one of those Raspberry Pi (v3 or something I dont even remember it now, lol). I had purchased those years back, and realizing that they run on Debian and support Internet via wi-fi, I started using it as a computer until I became richer and purchased a Dell Laptop. It must be somewhere in packed securely... the only question I need to find an answer is "where"!!

And strangely enough, I also found a video on YouTube - where they created an 8x8x8 cube using the WS2812B and linked it all up with a microphone. (Somehow, this video or anything never shows up when I googled for past several days, and this is why I say "strangely enough").

Here is their videoΒ  -

Does that mean, I have to start finding about using Pi instead of Arduino Uno!

Life is exploring and learning


   
ReplyQuote
SuperCharlie
(@supercharlie)
Member
Joined: 3 years ago
Posts: 81
 

I'm sure there's plenty of ways to skin this cat.. I would end up using the raspberry pi, a microphone, and python most likely. I assume you set off the lights with the gpio and you can get the sound level off the mic and then do something with it with the gpio's.. at least that's how I would hit it..

I happen to have posted my first GitHub yesterday and it's a sound detection script short and sweet..

https://github.com/smallboardai/sound_detection/blob/main/sound_detect.py

Hopefully if you go the raspberry Pi direction you can use that as a jumping off point cuz it took me a couple days to figure out how to get the RMS out of this..

May the force be with you πŸ™‚

Β 

Β 

Β 


   
ReplyQuote