# Sound currentTime

**URL:** <https://forum.babylonjs.com/t/sound-currenttime/37290>\
**Category:** Questions\
**Tags:** audio\
**Created:** [January 11, 2023, 8:26pm UTC](https://forum.babylonjs.com/t/sound-currenttime/37290 "2023-01-11T20:26:59Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![waverider404](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/waverider404/32/17464_2.png) [@waverider404](https://forum.babylonjs.com/u/waverider404)\
**Post date:** [January 11, 2023, 8:26pm UTC](https://forum.babylonjs.com/t/sound-currenttime/37290/1 "2023-01-11T20:26:59Z")

</div>

I when i updated to babylonjs v5.40.0, the audio currentTime seems jumpy. When I pause the sound and play the sound again (here I’m using the previous current Time at which it was paused as the offset), However the current time for the audio skips, and the audio doesnt resume from where it’s paused. Here’s a repro playground

> **[Babylon.js Playground](https://playground.babylonjs.com/#PCY1J%23322)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL 3D scenes

---

<div class="post-metadata">

**Author:** ![Evgeni\_Popov](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/evgeni_popov/32/4432_2.png) [@Evgeni\_Popov](https://forum.babylonjs.com/u/Evgeni_Popov)\
**Post date:** [January 12, 2023, 7:32am UTC](https://forum.babylonjs.com/t/sound-currenttime/37290/2 "2023-01-12T07:32:57Z")

</div>

cc @docEdub, but I think there has been some fixes lately to the sound engine, so you should get the very latest version (v5.41.0), and it may even be possible that the latest fix is not deployed yet…

---

<div class="post-metadata">

**Author:** ![waverider404](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/waverider404/32/17464_2.png) [@waverider404](https://forum.babylonjs.com/u/waverider404)\
**Post date:** [January 12, 2023, 6:55pm UTC](https://forum.babylonjs.com/t/sound-currenttime/37290/3 "2023-01-12T18:55:41Z")

</div>

@Evgeni_Popov  
Thanks, happy new year!

---

<div class="post-metadata">

**Author:** ![docEdub](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/docedub/32/14525_2.png) [@docEdub](https://forum.babylonjs.com/u/docEdub)\
**Post date:** [January 12, 2023, 11:30pm UTC](https://forum.babylonjs.com/t/sound-currenttime/37290/4 "2023-01-12T23:30:45Z")

</div>

I’m seeing this in the latest version, too. Looks like I introduced a bug when fixing a different issue. Investigating now.

---

<div class="post-metadata">

**Author:** ![docEdub](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/docedub/32/14525_2.png) [@docEdub](https://forum.babylonjs.com/u/docEdub)\
**Post date:** [January 13, 2023, 1:12am UTC](https://forum.babylonjs.com/t/sound-currenttime/37290/5 "2023-01-13T01:12:54Z")

</div>

Fixed in PR [#13431](https://github.com/BabylonJS/Babylon.js/pull/13431).

---

<div class="post-metadata">

**Author:** ![waverider404](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/waverider404/32/17464_2.png) [@waverider404](https://forum.babylonjs.com/u/waverider404)\
**Post date:** [January 13, 2023, 4:26am UTC](https://forum.babylonjs.com/t/sound-currenttime/37290/6 "2023-01-13T04:26:46Z")

</div>

Thanks for the fix! 🙂
