Okay so the other night I watched Patrick Boelen’s tutorial on how to code an Audio Visualizer in Python. After watching it, I came to the conclusion that I could do that.
Okay, I could do that as long as I had the video open and was quick on the pause button. 😛
So today, I sat down opened blender and started the video. Several hours later, (okay, I know I am slow) I had managed to get the first part done. I had a working audio visualizer. The one that just went in straight lines across the rows.
I was VERY excited. 😛
Next up, the spiral version. I typed in everything just like Patrick. I double, triple checked and then checked again.
My spiral thing wasn’t working, in fact I wasn’t even getting a 5×5 grid of cubes. I was getting 3. That’s right 3. Not 3 rows, 3 cubes period. You can’t make a cool spiral thingy with just 3 cubes. I tried, it just looks stupid. 😦
After messing with it for a while I finally noticed that I was missing an “s”. Yep one little “s” was stopping my python amazingness.
Who would have thought an “s” was so important. But just for future infos, row does not equal rows in python. Apparently python is very fussy about that. Who knew. 😛
And I am now such a pro (I wish 🙂 ), that I even changed the song to another one I had on my hard drive. So how cool am I. And the best part, is that now that I have it working, I NEVER HAVE TO DO IT AGAIN!!!
I know how to reopen a file and copy paste. 😛 I might even be able to figure out how to save it out as a py script. 🙂 Just kidding, I actually do know how to do that. So for any project, all that is needed is setting the rows and columns and choosing my song.
Now if I can just convince Patrick to do a sequel to maybe make it random, that would be awesome. Not required, but very cool. 🙂