# WebGL sounds like Mono in Google Chrome

**URL:** https://qa.fmod.com/t/webgl-sounds-like-mono-in-google-chrome/20376
**Category:** Unity
**Tags:** unity
**Created:** [July 3, 2023, 1:31pm UTC](https://qa.fmod.com/t/webgl-sounds-like-mono-in-google-chrome/20376 "2023-07-03T13:31:15Z")
**Posts on this page:** 15
**Page:** 1

<div class="post-metadata">

### Author: ![wengyhongwork](https://avatars.discourse-cdn.com/v4/letter/w/4491bb/32.png) [@wengyhongwork](https://qa.fmod.com/u/wengyhongwork)
#### Post date: [July 3, 2023, 1:31pm UTC](https://qa.fmod.com/t/webgl-sounds-like-mono-in-google-chrome/20376/1 "2023-07-03T13:31:15Z")

</div>

Hi all,

I currently made build for Unity WebGL and it seems like the quality sounded worse in Google Chrome. I also tried in Firefox, it sounded fine but it has worse latency compared to Google Chrome.

Focusing on Google chrome, it seems the audio is in mono mode, although i have everything in stereo.

Any thoughts and helps are appreciated. Thanks

![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/e/e9248767419899bcb622872368b417ca9bb3029d.png)

![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/8/8c179f83bf48964956f47f756f80f1752a87d995.png)

---

<div class="post-metadata">

### Author: ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)
#### Post date: [July 3, 2023, 11:20pm UTC](https://qa.fmod.com/t/webgl-sounds-like-mono-in-google-chrome/20376/2 "2023-07-03T23:20:30Z")

</div>

Hi,

What version of FMOD are you using?

Would it be possible to record a Profiler session? Instructions for recording, packaging, and uploading are found under [FMOD Studio | Profiling](https://fmod.com/docs/2.02/studio/profiling.html). Could you [upload this to your profile](https://fmod.com/profile#uploads), you will have to [register a project](https://fmod.com/profile#projects) with us to do so.

---

<div class="post-metadata">

### Author: ![wengyhongwork](https://avatars.discourse-cdn.com/v4/letter/w/4491bb/32.png) [@wengyhongwork](https://qa.fmod.com/u/wengyhongwork)
#### Post date: [July 4, 2023, 3:29am UTC](https://qa.fmod.com/t/webgl-sounds-like-mono-in-google-chrome/20376/3 "2023-07-04T03:29:11Z")

</div>

Hi there,

My previous version was 2.02.04

I updated to the latest 2.02.15 and the issue still persist.

A little more description :  
Google chrome sounded cracking but has no latency issue  
Firefox sounded fine but has latency issue

Anyway,  
Is there any way to connect the profiler to the webgl build uploaded on itch io? Or profiling the unity editor session is fine?

Thanks

---

<div class="post-metadata">

### Author: ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)
#### Post date: [July 4, 2023, 4:46am UTC](https://qa.fmod.com/t/webgl-sounds-like-mono-in-google-chrome/20376/4 "2023-07-04T04:46:21Z")

</div>

Apologies, I was mistaken. You cannot connect the profiler.

I have been able to produce crackling on Chrome and Firefox. Could I confirm how you are loading the banks in your project? I will link to our documentation which outlines loading the banks for WebGL projects: [Unity Integrations | Platforms Specifics - Checking Banks Have Loaded Before Playing](https://fmod.com/docs/2.02/unity/platform-specifics.html#checking-that-bank-has-loaded-before-playing).

Would it be possible to get a link to your project to confirm it is the same issue I am experiencing? The link can be DM’d to me.

---

<div class="post-metadata">

### Author: ![wengyhongwork](https://avatars.discourse-cdn.com/v4/letter/w/4491bb/32.png) [@wengyhongwork](https://qa.fmod.com/u/wengyhongwork)
#### Post date: [July 4, 2023, 6:25am UTC](https://qa.fmod.com/t/webgl-sounds-like-mono-in-google-chrome/20376/5 "2023-07-04T06:25:42Z")

</div>

Hi,

So currently in the main scene I have a script that preloads the bank,  
I have set the initialization settings for Load Bank to NONE in FMOD settings.

I will pm you.

---

<div class="post-metadata">

### Author: ![wengyhongwork](https://avatars.discourse-cdn.com/v4/letter/w/4491bb/32.png) [@wengyhongwork](https://qa.fmod.com/u/wengyhongwork)
#### Post date: [July 5, 2023, 12:19pm UTC](https://qa.fmod.com/t/webgl-sounds-like-mono-in-google-chrome/20376/7 "2023-07-05T12:19:55Z")

</div>

Hi,

I received email notification about your reply but for some reason it doesnt show here.

Anyway,  
My sample rate on the device is the same as you shown me, 24bit 48000hz.

![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/5/5a249f5c9df8bb5ef27c5d42c2fd089509b09874.png)

And yes my assets are `STREAMING`

---

<div class="post-metadata">

### Author: ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)
#### Post date: [July 5, 2023, 10:58pm UTC](https://qa.fmod.com/t/webgl-sounds-like-mono-in-google-chrome/20376/8 "2023-07-05T22:58:46Z")

</div>

Hi,

Thank you for the information. After some further investigation, I found I was looking in the wrong place. For your `WebGL` Platform settings could you change the `Output Mode` to `JavaScript webaudio output` and the `DSP Buffer Settings` to

```auto
DSP Buffer Length: 2048
DSP Buffer Count: 2

```

![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/4/4e62c899c646662f128f39cec27292d37bf3097f.png)  
Hopefully, that will solve the issue.

---

<div class="post-metadata">

### Author: ![wengyhongwork](https://avatars.discourse-cdn.com/v4/letter/w/4491bb/32.png) [@wengyhongwork](https://qa.fmod.com/u/wengyhongwork)
#### Post date: [July 6, 2023, 4:23am UTC](https://qa.fmod.com/t/webgl-sounds-like-mono-in-google-chrome/20376/9 "2023-07-06T04:23:19Z")

</div>

Hi, I have followed your settings but unfortunately it still sounds the same as previously.

---

<div class="post-metadata">

### Author: ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)
#### Post date: [July 6, 2023, 4:23am UTC](https://qa.fmod.com/t/webgl-sounds-like-mono-in-google-chrome/20376/10 "2023-07-06T04:23:55Z")

</div>

Hi,

Are you still experiencing the crackling or is it just the mono issue now?

---

<div class="post-metadata">

### Author: ![wengyhongwork](https://avatars.discourse-cdn.com/v4/letter/w/4491bb/32.png) [@wengyhongwork](https://qa.fmod.com/u/wengyhongwork)
#### Post date: [July 6, 2023, 4:35am UTC](https://qa.fmod.com/t/webgl-sounds-like-mono-in-google-chrome/20376/11 "2023-07-06T04:35:40Z")

</div>

> [@Connor\_FMOD](#):
>
> crackling

[https://streamable.com/a9tskn](https://streamable.com/a9tskn)

I have attached a Streamable link for your reference

First half ( 3-4 seconds in ) is from Google Chrome, 2nd half is from Firefox

They both sounded different although is from the same build

Firefox sound would be more preferable

---

<div class="post-metadata">

### Author: ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)
#### Post date: [July 6, 2023, 4:50am UTC](https://qa.fmod.com/t/webgl-sounds-like-mono-in-google-chrome/20376/12 "2023-07-06T04:50:08Z")

</div>

Hi,

Would it be possible to test a different audio source, something quieter? Let me know if the issue still persists.

---

<div class="post-metadata">

### Author: ![wengyhongwork](https://avatars.discourse-cdn.com/v4/letter/w/4491bb/32.png) [@wengyhongwork](https://qa.fmod.com/u/wengyhongwork)
#### Post date: [July 6, 2023, 4:55am UTC](https://qa.fmod.com/t/webgl-sounds-like-mono-in-google-chrome/20376/13 "2023-07-06T04:55:14Z")

</div>

This audio source is part of the game, if this audio source wont sound right then I guess I need to think of using back Unity Audio

---

<div class="post-metadata">

### Author: ![wengyhongwork](https://avatars.discourse-cdn.com/v4/letter/w/4491bb/32.png) [@wengyhongwork](https://qa.fmod.com/u/wengyhongwork)
#### Post date: [July 6, 2023, 8:56am UTC](https://qa.fmod.com/t/webgl-sounds-like-mono-in-google-chrome/20376/14 "2023-07-06T08:56:38Z")

</div>

Do you have example project for both fmod and unity that works well on webgl?

Would be nice to have a reference

---

<div class="post-metadata">

### Author: ![wengyhongwork](https://avatars.discourse-cdn.com/v4/letter/w/4491bb/32.png) [@wengyhongwork](https://qa.fmod.com/u/wengyhongwork)
#### Post date: [July 6, 2023, 9:46am UTC](https://qa.fmod.com/t/webgl-sounds-like-mono-in-google-chrome/20376/15 "2023-07-06T09:46:59Z")

</div>

Hi Connor,

I think I might have found the problem. The master track fader was set to 6.00dB, I set it to 0 and it sounds clear in chrome.

I find it odd though on why firefox and chrome would sound different.

![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/1/143504a47d6ff5360eb2212709af05f3d9daa64b.png)

Moving forward, my next problem would be latency in firefox seems to be higher.

However I do think it’s a browser problem, just trying to ways to fix if there is

Should I open new thread for it?

Thanks

---

<div class="post-metadata">

### Author: ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)
#### Post date: [July 6, 2023, 9:39pm UTC](https://qa.fmod.com/t/webgl-sounds-like-mono-in-google-chrome/20376/16 "2023-07-06T21:39:24Z")

</div>

Hi,

Good to hear you found the solution for the audio clipping.

> [@wengyhongwork](#):
>
> Do you have example project for both fmod and unity that works well on webgl?

Yes, we have a Unity example which you can download from our GitHub here, it can be uploaded to [itchi.io](http://itchi.io) to test:  
[GitHub - fmod/unity-html5-demo: Demonstration of the correct way to load banks for HTML5 within Unity using the FMOD For Unity integration.](https://github.com/fmod/unity-html5-demo)

> [@wengyhongwork](#):
>
> latency in firefox seems to be higher.

I have noticed a bit of different behavior in the browsers while trying to investigate this issue so I will continue to do so and let you know if I find anything. It will be ok to continue in this thread.
