Skip to content
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.

Silence detection #77

Open
georgetk opened this issue Nov 21, 2022 · 2 comments
Open

Silence detection #77

georgetk opened this issue Nov 21, 2022 · 2 comments

Comments

@georgetk
Copy link

Is it possible to detect silence? Specifically in:

AudioRecord.on('data', data => {
  // base64-encoded audio data chunks
  // Check whether this data instance is silent or not
});

If anybody knows some method to detect silence (that works in React Native) in base64 data kindly share!

@jecs89
Copy link

jecs89 commented Nov 22, 2022

You can check the signal and set a threshold to say if there is silence.

@georgetk
Copy link
Author

@jecs89, thanks for the input! But I'm not sure how to do that on base64 data. Would be really helpful if you could share something.

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

No branches or pull requests

2 participants