0 Replies Latest reply on Jul 25, 2016 1:52 PM by Youssef Abou-dihaj

    Stroke Audio React

    Youssef Abou-dihaj

      Hello,

       

      I would like to make a Stroke effect move around the circle and also reacts to the audio as this video: Comp 1_1 - YouTube

      I've tried the following codes but I got some problems like (lags on after effects and rendering) I hope you find another codes for me to work with. thanks.

       

      skeys=comp("Music").layer("Audio Amplitude").effect("Both Channels")("Slider")

      accum = 10000

      f = timeToFrames(inPoint)

      while (f < timeToFrames(time)){

      accum += skeys.valueAtTime(framesToTime(f))

      f++}

      time*-20-accum*thisComp.frameDuration