Is there any way to embed or sync audio to bodymovin animation?
Thank you very much for your great work!
hi, not yet.
But if you have a single audio file to sync, you can control the player syncing it with the audio every frame.
I've used this for some projects.
Thank you! Are those projects that you mentioned publicly available?
no, not yet. And I'm not sure I can release it soon.
Probably in a couple of months.
But if you need any help, let me know.
I've used howler.js for one and it was easy to integrate.
Wonderful! I appreciate you help!
@bodymovin Was wondering if there was some sample code for how to implement this (with howler, or other). This seems like a pretty common need. I'm not sure how I would sync the bodymovin animation with the audio. Would just starting both at the same time work, or would you have to monitor the progress of the audio, and call goToAndPlay every once in a while to be sure they are synced?
+1
I would also love to know how to do this. Even if its not truly synced, but to be able to trigger various samples at any given point. For my animation I would like an animated dog to bark at certain queues. I think it would be cool to have events at certain frames or seconds (time markers).
Is this currently possible?
Adrian
This library is so useful - thanks for creating this. Any news on built in audiosupport @bodymovin ?
Any updates? @bodymovin
Hi, not yet unfortunately.
@bodymovin Its 2019! Is this a planned feature - or still unknown?
Example code on syncing with keyframes would also not be a bad thing.
@bodymovin I was also wondering how you stitched together the audio/video using the Howler JS library. I know this is an old thread, but any examples or a deeper explanation of your strategy would be really helpful. Thanks for all of your hard work. Incredible extension.
Audio is now supported in Lottie version 5.7.2
Great! Is there any example about how to use this awesome feature?
El sáb., 22 ago. 2020 a las 13:33, hernan (notifications@github.com)
escribió:
Audio is now supported in Lottie version 5.7.2
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/airbnb/lottie-web/issues/231#issuecomment-678661946,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABVB2KA3OP7B33S4LHODJQDSB7XO7ANCNFSM4C5O4WLQ
.
This should help
https://github.com/airbnb/lottie-web/wiki/Audio
Hello @bodymovin,
is it possible to sync an external audio file? ( single audio file )
I am testing Glaxnimate and python-lottie with Blender addon that do not support audio in the .json
Otherwise could you plese give some info to add the audio in the .json code?
Thank you !
@AndreaMonzini I guess you can play the audio and the animation at the same time if that's enough for your case.
To keep them synced, you'd probably want to roll out your own ticker and make sure you update both in parallel (pausing them too when necessary)
Is there any documentation on how to implement audio directly with lottie and bodymovin?
Is there any documentation on how to implement audio directly with lottie and bodymovin?
This should help
https://github.com/airbnb/lottie-web/wiki/Audio
Most helpful comment
@bodymovin Its 2019! Is this a planned feature - or still unknown?
Example code on syncing with keyframes would also not be a bad thing.