-
Notifications
You must be signed in to change notification settings - Fork 45
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
Is it possible to set sampling rate? #18
Comments
Hey bud, I know this is late but I love it when engineers come back and explain how they solved things so heres your answer :) I had the same issue. I started looking through the code and I found this It means you can pass a sample number into the start function like this
|
Hello there, the start argument will change the monitorInterval but not the audio sampling rate. At this point I think the sampling rate is fixed and cannot be changed. |
@ncstc1 I've added sampling rate control in v1.2.0. Here's a usage example. |
on iOS doesn't compile because the parameter is sampleRate and not samplingRate 823eca0#diff-d62cb5adc173b12956b9aa426c235fe753fdc142830696461d56287931b454d6R75 |
@punarinta I have opened a pull request to fix the compilation error and add the option to allow haptic/sound system during recording on iOS devices. |
@alessioemireni this PR helped me a lot thanks! |
Thank you for nice library. Is it possible to set or change sampling rate? It seems that the sampling rate is fixed to 22050Hz.
The text was updated successfully, but these errors were encountered: