Welcome to Fractal Forums

Fractal Software => Programming => Topic started by: Blace on February 26, 2013, 06:55:08 PM




Title: Mapping the Signal Strength of Spectrums from an mp3
Post by: Blace on February 26, 2013, 06:55:08 PM
Hello, I've got a Audio Mapping program that I've been playing with that I wanted to share. I used a sample from the Cinder C++ library as a starting point. What this program does is takes a user input mp3 file and records the levels of 32 spectral bands of audio at a specified frame rate (right now 60fps) to 32 .txt files at one value per line with a range of 0-1. I've used this with a program I'd written and as an example where I read a line per frame and control all of the xforms rotation with this number. Unfortunately it requires Xcode and Cinder (which is free, and great) for OSX right now and is in the code stage, but I just wanted to put it up and see if anyone's interested in the idea. You could use these .txt files for many applications if you're handy with programming and can use a read line to input the values. I added a readme file to explaining it a bit more, here it is: http://blazinglace.net/codeprocess.htm . If anyone gets it working, I'd be excited to hear about it, thanks!

Edit: If anyone has a song or clip that they'd like me to run through this process let me know? I'd be happy to email you the text files of the output.