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

Choppy audio on iphone #250

Open
ken-hudd opened this issue Oct 25, 2021 · 5 comments
Open

Choppy audio on iphone #250

ken-hudd opened this issue Oct 25, 2021 · 5 comments

Comments

@ken-hudd
Copy link

Recording on android or a computer is fine, on an iPhone/iPad, sometimes the recording is robotic and choppy. iPhone 15.0.x and iPad 14.6, 14.8 and 14.7.1. I've tried increasing the buffers to 8192 and 16384, encoderApplication: 2048, 2049 and 2051. I've tested with version 8.04 and 8.05 as well as going back to 6.0.2 with the node processor. Below is a sample recording so you can hear the choppiness. Ironically the Example/waveRecorder.html ALWAYS works, and if I get choppiness from my site, I can switch to the example page and the first recording is SOMETIMES, but rarely, choppy but successive ones are fine. Then if I switch back to my page, it records fine as well.

https://1drv.ms/u/s!Aug8aLGwjCbygZ9Jc0dcylO1fM6R0w?e=lHyAUs

@chris-rudmin
Copy link
Owner

@ken-hudd Can you share your config please?

@ken-hudd
Copy link
Author

Currently its

mediaRecorder = new Recorder({
monitorGain: 0,
recordingGain: 1,
numberOfChannels: 1,
bufferLength: 16384,
encoderPath: "js/waveWorker.js"
});

I've tried other settings, but monitorGain, recordingGain numberOfChannels and encoderPath are always set to their current settings.

@chris-rudmin
Copy link
Owner

Config looks alright, can you create a reduced test case so that I can reproduce the issue?

@ken-hudd
Copy link
Author

Yes, let me get that together

@vsokolovskiy
Copy link

Sorry for necroposting, but I also struggle with that issue. Any update?

My config is as follows:
recorder = new Recorder({ encoderPath, numberOfChannels: 1, bitDepth: 16, recordingGain: 1, monitorGain: 0, });

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

3 participants