- Home /
Reading datas from sound files
Hello,
I'd like to know if there's a way to read datas of a sound file like Trapcode's Sound Keys does it for After Effect.
Thanks.
Answer by Uriel_96 · Nov 20, 2010 at 08:09 PM
What do you mean exactly?, unity not have a lot of things about the changing a sound but it has a few things about changing the sound like: pitch, volume, etc..(all the basic things a sound needs) if you want to know more about the things that unity has about the audio there is: http://unity3d.com/support/documentation/ScriptReference/AudioClip.html, http://unity3d.com/support/documentation/ScriptReference/AudioImporter.html, http://unity3d.com/support/documentation/ScriptReference/AudioSource.html, and others you may find in the http://unity3d.com/support/documentation/ScriptReference/MonoBehaviour.html#Overridable%20Functions0
I'm mean like that : http://www.dailymotion.com/video/xady9b_tutoriel-after-effects-trapcode-sou_creation
Reading datas out of sound graph, separating regions or frequencies and translating them to variables like : treble, medium, bass. Variables that i'll use to animate dynamicly objects in my scene.
as long as I know I dont know the way to do that(maybe is not posible, but im not sure) but you can search in the unity script reference( http://unity3d.com/support/documentation/ScriptReference/$$anonymous$$onoBehaviour.html#Overridable%20Functions0 )
I want to do just the same, was it possible? I need to read the audio frequencies to create regiosn of frequence...
Answer by aldonaletto · Nov 15, 2013 at 12:25 AM
Take a look at this question, where you can get the intensity of a range of frequencies.
Your answer
Follow this Question
Related Questions
How to synchronize sound and animation loop? 2 Answers
Creating a realtime cinema sequence in Unity. 2 Answers
How should I sync animations? 1 Answer
Play sound on animation event? 3 Answers