Jump to: Board index » General » Fusion

Have a dot blinking to certain BPM

Learn about 3D compositing, animation, broadcast design and VFX workflows.
  • Author
  • Message
Offline

alex.rose

  • Posts: 2
  • Joined: Mon Nov 21, 2022 8:21 pm
  • Real Name: Alex Rose

Have a dot blinking to certain BPM

PostMon Nov 21, 2022 8:29 pm

Hello, I am new to this forum as well as to fusion.

I have made a drum backing track and an animated video in Fusion that shows the form of the music.
Now I would like to add a little blinking dot, that indicates a metronome beat. It should blink steadily at 91BPM.

Apparently, this is much harder for me than I thought. I tried to modify the "solid" property, but I couldn't find a way to calculate the BPM in this little expression field, and I also don't know how to turn this property on and off steadily.

I hope somebody can help me, thanks in advance! :idea:
Offline
User avatar

Bryan Ray

  • Posts: 2478
  • Joined: Mon Nov 28, 2016 5:32 am
  • Location: Los Angeles, CA, USA

Re: Have a dot blinking to certain BPM

PostMon Nov 21, 2022 11:24 pm

As luck would have it, this thread floated to the top of the We Suck Less forums just today:
https://www.steakunderwater.com/wesuckl ... php?t=5571
Bryan Ray
http://www.bryanray.name
http://www.sidefx.com
Offline

alex.rose

  • Posts: 2
  • Joined: Mon Nov 21, 2022 8:21 pm
  • Real Name: Alex Rose

Re: Have a dot blinking to certain BPM

PostTue Nov 22, 2022 8:41 am

Bryan Ray wrote:As luck would have it, this thread floated to the top of the We Suck Less forums just today:


Thank you very much, that worked well!

That's a great little tool, even though I was hoping to find a more elegant solution without setting keyframes altogether. :mrgreen:

Nevertheless, my animation is now finally completed with the metronome dot, thanks!
Offline

Frank Engel

  • Posts: 912
  • Joined: Thu May 17, 2018 11:09 pm
  • Real Name: Frank Engel

Re: Have a dot blinking to certain BPM

PostSun Nov 27, 2022 11:11 pm

You could try something like this:

Code: Select all
iif(sin(2*pi*bpm*time/fps/60)>0, 1, 0)
Offline
User avatar

Bryan Ray

  • Posts: 2478
  • Joined: Mon Nov 28, 2016 5:32 am
  • Location: Los Angeles, CA, USA

Re: Have a dot blinking to certain BPM

PostMon Nov 28, 2022 11:45 pm

Yeah, I kind of wanted to do the math for a pure expression approach like Frank's, but I was under some time pressure.
Bryan Ray
http://www.bryanray.name
http://www.sidefx.com

Return to Fusion

Who is online

Users browsing this forum: No registered users and 45 guests