vmsg icon indicating copy to clipboard operation
vmsg copied to clipboard

Occasional garbled audio recording

Open nathanbedford opened this issue 4 years ago • 7 comments

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 avatar Jun 18 '20 03:06 nathanbedford

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.

nathanbedford avatar Jun 18 '20 17:06 nathanbedford

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

alectrocute avatar Jun 24 '20 01:06 alectrocute

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 avatar Aug 01 '20 17:08 danieloi

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?

danieloi avatar Aug 03 '20 18:08 danieloi

Any solution? Having the same issue!

matheusgaya avatar Sep 15 '20 14:09 matheusgaya

Status unchanged.

danieloi avatar Sep 15 '20 14:09 danieloi

updated safari and it's no longer an issue

danieloi avatar Jan 08 '21 08:01 danieloi