Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Audio Keyframes Controlling Color

  • Audio Keyframes Controlling Color

    Posted by Bert Beltran on December 6, 2011 at 8:43 pm

    Hey Everyone

    I have a music track that has been changed to keyframes. I have an object with the starglow effect and i want the color to to change to the beat of the music. i know that color is a 4 dimension effect. So Im having a little bit of trouble to think of a proper expression that will give me the look im looking for plus having control if changes need to be made.

    Muchos Thank You’s

    Dan Ebberts
    replied 14 years, 5 months ago
    2 Members · 1 Reply
  • 1 Reply
  • Dan Ebberts

    December 6, 2011 at 10:18 pm

    I’d start with somethiing like this:

    maxAudio = 20;
    minColor = [128,32,32,255]/255; // deep red
    maxColor = [64,164,217,255]/255; // light blue
    aud = thisComp.layer(“Audio Amplitude”).effect(“Both Channels”)(“Slider”);
    linear(aud,0,maxAudio,minColor,maxColor)

    Dan

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy