# Spontaneous Issues with AudioWorklet In REACT/JS environment

**URL:** <https://qa.fmod.com/t/spontaneous-issues-with-audioworklet-in-react-js-environment/21189>\
**Category:** FMOD Engine\
**Created:** [February 1, 2024, 10:01pm UTC](https://qa.fmod.com/t/spontaneous-issues-with-audioworklet-in-react-js-environment/21189 "2024-02-01T22:01:53Z")\
**Posts on this page:** 1\
**Showing post:** 21

<div class="post-metadata">

**Author:** ![jeff\_fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/jeff_fmod/32/1766_2.png) [@jeff\_fmod](https://qa.fmod.com/u/jeff_fmod)\
**Post date:** [February 19, 2024, 3:14am UTC](https://qa.fmod.com/t/spontaneous-issues-with-audioworklet-in-react-js-environment/21189/21 "2024-02-19T03:14:45Z")

</div>

Have you noticed whether all sounds are affected globally or if it’s just this background music?  
It’s possible your [Streaming settings](https://fmod.com/docs/2.02/api/core-guide.html#streaming-settings) require additional configuration if only the background music is stuttering. Can you please try calling [`System.setStreamBufferSize`](https://fmod.com/docs/2.02/api/core-api-system.html#system_setstreambuffersize) with a larger value, perhaps 32768 [TIMEUNIT\_RAWBYTES](https://fmod.com/docs/2.02/api/core-api-common.html#fmod_timeunit_rawbytes), and see if that helps with the stuttering at all?

---

_[View the full topic](https://qa.fmod.com/t/spontaneous-issues-with-audioworklet-in-react-js-environment/21189)._
