Director Volume Bar Help
Director Volume Bar Help
(OP)
I am looking for some lingo that will create a volume bar, not the slider.
Basically I have a silhouette of a butterfly and want to fill in the colored area with different colors as the volume increases. I need this to be a user driven behavior..mouse down.
It doesnt have to be anything more than a color appearing into the area.
HELP!
Basically I have a silhouette of a butterfly and want to fill in the colored area with different colors as the volume increases. I need this to be a user driven behavior..mouse down.
It doesnt have to be anything more than a color appearing into the area.
HELP!
RE: Director Volume Bar Help
If you want your director movie to respond to the current volume level (either of a mic input, or of the sound output), you can use the asFFT xtra to read samples of the current input.
See http://www.as-ci.net/asFFTXtra/faq.html for more info.
To achieve what you want, you'll need to create your animation of the butterfly filling with colour, then use the asFFT to read the current volume level, and use that value to go to a partiuclar frame of your animation.
You may find that you need to average out the volume reading over a few samples to create a smooth animation.
hope this helps!
- Ben