Forum Replies Created

  • Toby Royce

    March 23, 2013 at 1:33 am in reply to: Start loop from BPM question

    Thanks.. that’s opened my thinking more on this.

    I did actually also find I could achieve it by using Math.cos instead of sin in the formula. but again this limits it to beginning at the position furthest from camera, so I like the precise control of the phase degree… Thanks

    Toby

  • Toby Royce

    March 22, 2013 at 2:56 am in reply to: Start loop from BPM question

    I’ve utilised the expression included in here (lifesaver) to animate the z position so that titles pump in & out from the camera in line with the BPM.

    however I’m also having the same issue which I think Armand is referring to ..

    I have a 4 bar loop of music at 130 BPM. Using the expression makes this loop very close to perfectly.

    The fist beat of the first bar is at 00:00:00:00 in my sequence. But wen the animation of the title in z depth begins it is around mid way through a cycle of the sin wave, rather than beginning at the bottom or top of the wave. As a result it isn’t pulsing in sync with the other elements I have looping in the sequence..

    Is there a way to control the beginning of the sin function so it begins at 00:00:00:00?

    Cheers

    Toby

    bpm = 130;
    mag = 500;
    freq = bpm /60 /2;
    z= mag * Math.sin( 1 * Math.PI*freq * time);
    [1920/2,1080/2,z]

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