Page 1 of 2
Audio Controlled Particles.
Posted: Tue Jul 09, 2013 6:34 am
by CG_Nema
An idea I've had for a while. Imported the audio as keyframes through a tab delimited txt file, with python. what do you guys think?
http://www.youtube.com/watch?v=xDcCnGS6szA
Re: Audio Controlled Particles.
Posted: Tue Jul 09, 2013 10:06 am
by ValentinD
Hi !
I have an error from youtube, I can't see the video, it is blocked for my country (music reason)...
Re: Audio Controlled Particles.
Posted: Tue Jul 09, 2013 10:58 am
by Otuama
Yeah, I've been wanting to do that too but never got around to it.
@ValentinD
He could maybe post it without the music but that'd defeat the purpose

Re: Audio Controlled Particles.
Posted: Tue Jul 09, 2013 12:43 pm
by LuisMiguel
Hi,
I remember there was a script long time ago, for RF4 I think, where you had the posibility to make simulation by using a audio file.
luisM.
Re: Audio Controlled Particles.
Posted: Tue Jul 09, 2013 8:09 pm
by CG_Nema
LuisMiguel wrote:Hi,
I remember there was a script long time ago, for RF4 I think, where you had the posibility to make simulation by using a audio file.
luisM.
I wish I knew enough about python to figure that out. I needed to use intermediary software to convert the audio file to a txt file with decibel values. I did a little research but couldn't find a way to do it. Not without downloading some extra modules (gStreamer) I think.
Re: Audio Controlled Particles.
Posted: Tue Jul 09, 2013 8:10 pm
by CG_Nema
ValentinD wrote:Hi !
I have an error from youtube, I can't see the video, it is blocked for my country (music reason)...
Yes, I don't know what to do about that, it's quite annoying. Maybe I'll put it on Vimeo.
Re: Audio Controlled Particles.
Posted: Wed Jul 10, 2013 10:06 am
by Alex
Hi guys,
I made some time ago some tests with Python and C++ and wav files.
My conclusion was that it is not really worth the effort and I would use the same approach of using third party software to extract the wave values.
Luis Miguel just showed me that you can use an audio file in 3D Studio Max to animate an object.
If you export that object as a SD file, RealFlow will have access to the audio values.
In any case, feel free to watch here the result of my tests:
https://www.dropbox.com/s/ewobaydbo2zxonb/lp.mov
Of course, the one posted by Nema is 10000 times better.

Re: Audio Controlled Particles.
Posted: Wed Jul 10, 2013 2:39 pm
by Otuama
What 3rd party software did you use and what were the results of the output, float values?
It's also possible to do some kind of audio controlled animation in Maya.
I wonder what the possibilities of doing it this way would be because the object animation can be keyed.
Here's a quick test.
http://www.youtube.com/watch?v=3BJldD1sXb8&hd=1
Quite an interesting topic, this.
Re: Audio Controlled Particles.
Posted: Wed Jul 10, 2013 3:08 pm
by Alex
Hi Sean,
the video appears private for me.
If you were asking me about what 3rd party software I used, the answer is none.
However, for Python I had to install the numpy module to perform many of the operations over the samples.
Re: Audio Controlled Particles.
Posted: Wed Jul 10, 2013 4:11 pm
by Otuama
Whoops. You should be able to see it now. All it shows is the sound plugged into the objects scale. The changes happen quite fast but you can kind of see motion going along with the track.
http://www.youtube.com/watch?v=3BJldD1sXb8&hd=1
Hmm, I downloaded the Anaconda Python distribution last week, that comes with numpy. Will have to look more into this when I have time. But who has the time ?
