# Synchronizing Assets with Timecode?

**URL:** <https://forum.8thwall.com/t/synchronizing-assets-with-timecode/617>\
**Category:** Technical Support\
**Tags:** image-targets, 3d-models, a-frame\
**Created:** [March 7, 2024, 4:46pm UTC](https://forum.8thwall.com/t/synchronizing-assets-with-timecode/617 "2024-03-07T16:46:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Donald\_Burke](https://avatars.discourse-cdn.com/v4/letter/d/a183cd/32.png) [@Donald\_Burke](https://forum.8thwall.com/u/Donald_Burke)\
**Post date:** [March 7, 2024, 4:46pm UTC](https://forum.8thwall.com/t/synchronizing-assets-with-timecode/617/1 "2024-03-07T16:46:48Z")

</div>

Hi all!  
My group and I are working on a project creating an AR experience to compliment a live performance where the audience can use their mobile devices to look around the room and see different animated 3d-models. For example, we’re looking to add fire on the walls, a rising pheonix, and some lightbeams going into the artist as well.  
We want to synchronize these animations and assets with the actual performance itself (different animations for different parts of the song), but we aren’t sure how.  
A group member brought up using Timecode, and I wanted to see if anybody has heard of a way to implement this, or if there is any other way to synchronize animations to some form of time keeping.

Any help is appreciated! Thank you!

---

<div class="post-metadata">

**Author:** ![Adrian\_Rashad\_Drisco](https://avatars.discourse-cdn.com/v4/letter/a/ebca7d/32.png) [@Adrian\_Rashad\_Drisco](https://forum.8thwall.com/u/Adrian_Rashad_Drisco)\
**Post date:** [July 9, 2024, 12:14am UTC](https://forum.8thwall.com/t/synchronizing-assets-with-timecode/617/2 "2024-07-09T00:14:52Z")

</div>

Did you ever figure this out?

---

<div class="post-metadata">

**Author:** ![GeorgeButler](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.8thwall.com/georgebutler/32/1903_2.png) [@GeorgeButler](https://forum.8thwall.com/u/GeorgeButler)\
**Post date:** [July 9, 2024, 6:01pm UTC](https://forum.8thwall.com/t/synchronizing-assets-with-timecode/617/3 "2024-07-09T18:01:55Z")

</div>

If you’re using A-Frame you can use the [animation mixer object](https://stackoverflow.com/questions/72519879/how-to-control-glb-model-animations-in-a-frame-via-three-js) and create a map of frame time and events to trigger.

I’d do something like this:

```auto
const events = []

// 25th frame 
events[25] = const function foo() => {console.log('bar')}

// In the update loop, update your animation mixer and call events[currentFrame]'s function if it exists

```
