Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Director Volume Bar Help

Status
Not open for further replies.

mediagoddess

Technical User
Nov 14, 2006
1
US
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!
 
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 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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top