Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects audio to camera position

  • audio to camera position

    Posted by Dave O’dowd on November 23, 2006 at 10:51 pm

    Hey all,
    I’m trying to tie a cameras movement to the audio keyframes of a song. problem is the camera moves incredibly violently, I would like to smooth it out a lot, (I used the smoother, but lost a lot of position frames, and the ones that were still there were still violent)
    Ideally I would like to have the camera move only on the bass hits of the song if it is possible…maybe by isolating the audio keyframe value where the bass hits and then including and expression to limit the camera movements except on that particular range of keyframes?

    whaddya think?

    Mike Clasby replied 19 years, 5 months ago 3 Members · 2 Replies
  • 2 Replies
  • Victor Nash

    November 24, 2006 at 1:35 am

    Trapcode’s Sound Keys is a worthy investment

    https://www.trapcode.com/products_soundkeys.html

  • Mike Clasby

    November 24, 2006 at 6:08 am

    Like Taxi said Soundkeys is the only way to really pull out a frequent range from an audio.

    You can try a smooth expression, they’re easier to change than the smoother. Here’s the typical smooth expression (the flipside of wiggle, eh):

    smooth(2, 5)

    This from AE Help is all I know about the smooth expression, but I do know it’s not as intuitive as wiggle, raising the width smoothes more:

    Number or Array smooth(width=.2, samples=5, t=time) {width, samples, and t are numbers} Applies a box filter to the value of the property at the specified time, and smooths the result over time. Width (in seconds) is the range of time over which the filter is averaged. Samples equals the number of discrete samples evenly spaced over time. Generally, you’ll want samples to be an odd number so that the value at the current time is included in the average. For example, position.smooth(.1, 5).

    smooth (.5, 5)

    Really dampens things.

    Or you could try linear interpolation. Say if you audio ranged from 0 to 20 (and these are the values that are being transferred to the camera position, then you could limit the audio through linear interpolation. The part of your expression that looked like this:

    thisComp.layer(“Audio Amplitude”).effect(“Both Channels”)(“Slider”)

    could be changed to this

    linear (thisComp.layer(“Audio Amplitude”).effect(“Both Channels”)(“Slider”), 0,20,0,5)

    Then when the audio ranges from 0 to 20, the camera changes will be from 0 to 5, making things less violent,

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