ArabianBusiness.com - Middle East Business News
Sunday, 07 September 2008 | 06:01 UAE time

YOUR DIRECTORY /

Print this page Print this page | Email this to a friend Email this to a friend | Discuss this article (0 Comments) |

How to create an animated volume metre

by Hassan Marji on Monday, 31 March 2008

One of the most fun and useful things in Adobe After Effects, is linking the motion of your project components with music. In this tutorial, Hassan Marji shows users how to create a 'volume metre' that responds to their music.

Step one: creating the volume metre

1. Create a 400*400 composition. Import three solids: red, yellow, and green, each the size of 70*90 and arrange them as a volume metre.

Story continues below
advertisement

2. To give it the look of real volume metre, we will precompose the three solids, by selecting them, and pressing Ctrl+Alt+C and choose the option "move all attributes into the new composition" and name it volume metre.

3. Import a new solid the size of the composition and lay it over our new pre-composition. On this new solid we'll apply the grid effect, from the generate group. Give the border the value 4, and the corner the value -60, 227, so there are no vertical lines over our volume metre.

4. Change the track matte of the volume metre layer to "Alpha inverted matte".

5. Precompose the two layers again, and name them (final volume metre) and apply the Glow Effect from the Stylize group and you will get the look of.

Step two: moving it

6. We need this volume metre to respond to music, so import a sound file, drag it to time line, and then right click it. From key frame assistant choose "convert audio to keyframes" and you'll have a new layer called "Audio Amplitude".

Click the small triangle on the next to the layer, choose effects, then click the triangle next to "both channels" you'll see a stop watch next to the word "slider". keep it opened, because we'll need it soon.

7. On the volume metre layer, apply the linear wipe effect from the transition group, make the wipe angle 180.

8. Alt click the stop watch of the "transition complete" and drag the pick whip from transition complete to the slider in the Audio Amplitude Layer: You'll notice that this is not the result you wanted as the red area is moving slowly and in the opposite direction.

9. Let's correct this by going to the transition complete, where we see the following expression written: thisComp.layer("Audio Amplitude").effect("Both Channels") ("Slider") Press the expression -so you can edit it- and at the end of it write *-2+100, so our new expression will be: thisComp.layer("Audio Amplitude").effect("Both Channels") ("Slider")*-2+100 Idifferences by multiplying them.. you can try other numbers, but the result will be very extreme and not realistic.

Hassan Marji is senior certified Adobe instructor and principal instructor at Applied Digital Media Services, Dubai.

Note

If you want to know what this addition did, here's what happened:

When we gave a transition angle of 180, we meant that we wanted the transition to be from top to bottom, then we linked it to the audio keyframes. The problem with those keyframes is that when there is no sound, they have the value of zero, and they have greater value when the sound is louder.

So, by adding 100 to the transition, it means the transition has a 100% value when there is no sound, by multiplying it with a minus number, it moves. Let's say that the music keyframe has the value of three, the result of the transition will be: 3*-2+100=94.

Why -2 and not -1? Because the differences between keyframes values are very small, so we have to ‘amplify' these differences by multiplying them.. you can try other numbers, but the result will be very extreme and not realistic.

Print Print | Email Email | Discuss this article |



USER COMMENTS (0 COMMENTS)

CLICK HERE TO POST A COMMENT

Add your Comment
All posts are sent to the administrator for review and are published only after approval. ArabianBusiness.com reserves the right to remove any comment at any time for any reason. Please keep your responses appropriate and on topic.
Name *
Remember me on this computer
Email *
(Your email address will not be published)
City
Country
Subject *
Comment *
Notify me of further comments
Security Code * Code


Please click post only once - your comment will not be published immediately.
From  Current Issue

 EMAIL ALERTS

  1. Applied Digital Media Services (ADMS)

  2. Media & Marketing



BUSINESS FEATURES

Battle of the brands

Managing expectations of clients has never been a problem for Gulf brand consultants.

Spongebob looks to the Gulf

MTV's Nickelodeon is expanding its brand throughout the Gulf with a theme park and hotel planned.

Buried treasure

As media and broadcast industries struggle under alarming piracy rates, initiatives are yielding results.

ArabianBusiness.com/Jobs - Middle East Jobs Search
  1. Conference Producer
    Industry: Marketing & PR
    Location: UAE, UAE
  2. Marketing Executive
    Industry: Marketing & PR
    Location: Dubai, UAE
Browse all jobs »

BUSINESS INTERVIEWS

The American dream

Sheeraz Hasan, friend to the stars and founder of Hollywood.TV explains why he is launching Dubai.TV.

Gamut monitoring

Mike Richardson of Harris sheds light on the importance of gamut monitoring in a multi-format environment.

Studio collective

Dubai Studio City (DSC) is looking to emulate the massive success of its sister project, Dubai Media City.

MORE FROM ARABIANBUSINESS.COM