# Measure noise level

**URL:** <https://react-native-webrtc.discourse.group/t/measure-noise-level/159>\
**Category:** General\
**Created:** [June 17, 2019, 9:32pm UTC](https://react-native-webrtc.discourse.group/t/measure-noise-level/159 "2019-06-17T21:32:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![macthorman](https://avatars.discourse-cdn.com/v4/letter/m/bc79bd/32.png) [@macthorman](https://react-native-webrtc.discourse.group/u/macthorman)\
**Post date:** [June 17, 2019, 9:32pm UTC](https://react-native-webrtc.discourse.group/t/measure-noise-level/159/1 "2019-06-17T21:32:11Z")

</div>

Is there a simple way to add the possibility to measure the decibel of an existing audio stream?

I used the following module to measure the decibel level:

> **[punarinta/react-native-sound-level](https://github.com/punarinta/react-native-sound-level)**
>
> A package to dynamically measure sound input level in React Native applications. Can be used to help user to adjust microphone sensitivity. - punarinta/react-native-sound-level

It works fine, but as soon as I use it in combination with webrtc, it fails. As far as I can debug the error message, it is related to the fact that both modules try to use the microphone at the same time.

Any ideas to tackle this issue?

---

<div class="post-metadata">

**Author:** ![bluekarasu11](https://avatars.discourse-cdn.com/v4/letter/b/91b2a8/32.png) [@bluekarasu11](https://react-native-webrtc.discourse.group/u/bluekarasu11)\
**Post date:** [October 25, 2019, 3:55am UTC](https://react-native-webrtc.discourse.group/t/measure-noise-level/159/2 "2019-10-25T03:55:27Z")

</div>

I have a similar issue . I have voice recognizer app , and when i use this library , one of them stop working . I think its because android version . Before Android 10 the input audio stream could only be captured by one app at a time. in android 10 my app works but except that not working. Did you fixed your issue ? any idea how to fix this issue?

---

<div class="post-metadata">

**Author:** ![aprilmintacpineda](https://yyz2.discourse-cdn.com/free1/user_avatar/react-native-webrtc.discourse.group/aprilmintacpineda/32/682_2.png) [@aprilmintacpineda](https://react-native-webrtc.discourse.group/u/aprilmintacpineda)\
**Post date:** [January 7, 2023, 9:36am UTC](https://react-native-webrtc.discourse.group/t/measure-noise-level/159/3 "2023-01-07T09:36:23Z")

</div>

Seems like this did not get any attention at all. I actually wanted to do this as well, as I am developing an app that implements a functionality in relation to noises being picked-up by the mic. I used my own fork of the same library but unfortunately, these two libraries cannot work together because only one source can use the mic at a time (I think). So I’ve been looking for a way to do this with react-native and react-native-webrtc. Hopefully someone notices this and be kind enough to provide help 🙏

Edit: I just tried it (both iOS and Android) and it works!
