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

Can I stop a recording depending on when the user has stopped speaking (Auto pause detection) #189

Open
amit-natani opened this issue Aug 17, 2018 · 4 comments

Comments

@amit-natani
Copy link

I am using recorder.js for recording audio in my application.
I need to send the audio file to the server as the user has stopped speaking.
Is there any way in this library by which I can detect auto pause in recording and send the audio to server?

@DaveNascimento
Copy link

You can use Hark to detect changes in capture volume and fire according events, works very well with voice. Check their demo.

@dipak888
Copy link

You can try below link i think it helpful for you. but note it working in only chrome browser.
https://jsfiddle.net/53watgqu/

@i12maroa
Copy link

You can try below link i think it helpful for you. but note it working in only chrome browser.
https://jsfiddle.net/53watgqu/

To use the script with other browser. You just have to replace the AudioContext declaration with this:

var AudioContext = window.AudioContext // Default || window.webkitAudioContext // Safari and old versions of Chrome || false; const ctx = new AudioContext;

@nikhil16-bhaskar
Copy link

this link is useful but can someone tell me how to record the audio in there?

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

5 participants