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

Distorted voice on Android Browsers #13

Open
Prince-Hamza opened this issue Jan 4, 2020 · 15 comments
Open

Distorted voice on Android Browsers #13

Prince-Hamza opened this issue Jan 4, 2020 · 15 comments

Comments

@Prince-Hamza
Copy link

The website works fine on desktop but gives a distorted voice on Android browsers chrome , opera etc.
Please help me with this issu my website link :
https://arline-fernandez.firebaseapp.com/

@rubengt01
Copy link

I am seeing the same problem. Any workaround?

@crazzywizard
Copy link

I really love this package but the distortion in mobile browsers is rough. Any tips to fix this?

@buzinas
Copy link
Contributor

buzinas commented Jun 19, 2020

We don't use this on mobile devices and I don't have time to look into this closely, but we'd be glad to accept PRs for anyone that wanna play with the code and try to figure out what's going on.

@yeniv
Copy link

yeniv commented Jun 27, 2020

I'm having the same trouble with mobile devices. @buzinas do you have any theories on where to start looking for a solution? I'm. happy to have a poke around and see if I can find a solution 👍

@buzinas
Copy link
Contributor

buzinas commented Jun 27, 2020

Currently we encode in "real-time", while we're processing the audio. This might be too much for a mobile processor to handle (processing audio and conversion). This is the first thing I'd try: save the audio Buffer to memory, and only encode it on stop.

picasocro1 pushed a commit to picasocro1/mic-recorder-to-mp3 that referenced this issue Aug 9, 2020
Added new config param: encodeAfterRecord (closeio#13)
Updated sample to show this feature too
@picasocro1
Copy link

I've prepared PR with encodeAfterRecord param in configuration.

This could help with sound distortion on mobile devices!

picasocro1 pushed a commit to picasocro1/mic-recorder-to-mp3 that referenced this issue Aug 9, 2020
Adjust encoding process after recording (closeio#13)
Fix sample to disable buttons during this encoding
@Prince-Hamza
Copy link
Author

Prince-Hamza commented Aug 10, 2020 via email

@tluth
Copy link

tluth commented Aug 13, 2020

Any chance of a new release with this encode after record feature soon?

@picasocro1
Copy link

It's a good question :)

@buzinas?

@buzinas
Copy link
Contributor

buzinas commented Aug 13, 2020

Sure, I'll review it soon! Thanks for the PR :)

@buzinas
Copy link
Contributor

buzinas commented Sep 22, 2020

Just an update: we're currently finishing a cycle, but I'll be able to work on this in October.

@oonqt
Copy link

oonqt commented Mar 3, 2021

Are there any updates on this? I really need a decent audio recorder for my project. I've been looking for one for the past 6 hours and they all suffer from the same issue.

@shaharlin
Copy link

Will love to get an update on this issue as well.

@Cabritone
Copy link

Based on the fact that ScriptProcessorNode is deprecated for years, have you explored the possibility to migrate to use Audio Worklet since they does not rely in the main thread to do the "heavy job" ?

https://developer.chrome.com/blog/audio-worklet/

@astronati
Copy link

@picasocro1 did you try if your patch worked?
I tried but it seems it does not fix the issue on mobile.

Thanks for the help

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

No branches or pull requests