Hello everyone. I made an account here to ask this question, I hope this is the right section. Anyway, I'm looking for a way to get ae to play pre loaded clips when music reaches a certain threshold. For example, if a song has a heavy bass, I would like to use an expression to play a clip everytime the bass happens. Is this doable in ae?
I don't know of a way to do replace layers based on audio amplitude but there are some scripts that will do some of the work for you. Trapcode Sound Keys may also be useful to you since it lets you pick certain frequencies instead of just the overall amplitude.
So I don't have a full answer but that's because I didn't have the time to figure out and write out the expression right now, but if I do get the time to do it then I will post it to this thread. anyways It would probably have to be a series of looping layers each with an if then statement expression attached to their opacity. This if than will be if bass (or treble) is over a value than opacity is 100 else 0 type expressions. How to do if else statements is mentioned here http://www.videocopilot.net/tutorials/dynamic_machine_gun/ To do that you will have to seperate your treble and bass into values atached to nulss. how to do that is mentioned in this tutorial. http://www.videocopilot.net/tutorials/audio_to_animation/ Best of luck and like I said if i can get to it I will try to write it, but IDK if i will be able to. You can also post this question on the expressions page. They are very helpful there.