Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Occasional garbled audio recording #48

Open
nathanbedford opened this issue Jun 18, 2020 · 7 comments
Open

Occasional garbled audio recording #48

nathanbedford opened this issue Jun 18, 2020 · 7 comments

Comments

@nathanbedford
Copy link

Hello! Vmsg is awesome - we're using it in a production React web app. The vast majority of the time it works flawlessly, but we've had a few instances where the recorded audio file will be a little garbled (almost like it's being sped up or slowed down). We are not setting the pitch option to anything, so its default value of 0 should be active.

This seems to happen randomly - for a given user most recordings are fine, and then once in a while one is messed up. I can upload an example if it helps.

Any ideas on what might cause this?

@nathanbedford
Copy link
Author

This seems to be an issue with Safari in particular. We're still digging in to the issue, if we see other browsers impacted I'll note that here.

@alectrocute
Copy link

48khz mic being made 41khz, or vice versa? Sounds like Safari is passing the wrong sample rate.

@danieloi
Copy link

danieloi commented Aug 1, 2020

I’m experiencing the same issues.
Does anyone have a solution?
I noticed its markedly better in the demo than in my local version. Is there some discrepancy between the libraries for the demo and what’s on npm?

I even used the wasm file served for the demo but the quality still suffers.

@danieloi
Copy link

danieloi commented Aug 3, 2020

48khz mic being made 41khz, or vice versa? Sounds like Safari is passing the wrong sample rate.

Can anyone give pointers on how to investigate and implement a fix like this?

@matheusgaya
Copy link

Any solution? Having the same issue!

@danieloi
Copy link

Status unchanged.

@danieloi
Copy link

danieloi commented Jan 8, 2021

updated safari and it's no longer an issue

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

No branches or pull requests

4 participants