Skip to content

Fix audio pops when loading rom and switching between tabs by ramping gain#22

Open
chrismaltby wants to merge 1 commit intotaisel:masterfrom
chrismaltby:features/fix_audio_pops
Open

Fix audio pops when loading rom and switching between tabs by ramping gain#22
chrismaltby wants to merge 1 commit intotaisel:masterfrom
chrismaltby:features/fix_audio_pops

Conversation

@chrismaltby
Copy link

I had a look into the issue I raised at #21 and came across this article http://alemangui.github.io/blog//2015/12/26/ramp-to-value.html which suggested using the web audio exponentialRampToValueAtTime function which I've added when the audio is first being set up and also when the visibility of the page changes (from switching tab). This seems to help quite a lot. I've only tested on Chrome as I'm using my fork in an Electron app. Hopefully this is useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant