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.
MIT License
79 stars 45 forks source link

In android #11

Open erdenayozkanl opened 4 years ago

erdenayozkanl commented 4 years ago

Sound level info {"id": 412, "rawValue": 0, "value": -160}

only data is this. It is working but not fetch the sound

erdenayozkanl commented 4 years ago

Is the only issue is the monitoring issue or its not supported on android? PLEASE HELP URGENT

nvdnvd00 commented 4 years ago

any update ?

kolyuchii commented 4 years ago

Got the same issue on Android emulator

`[Sun May 10 2020 14:28:36.906] LOG statuses1 {"android.permission.READ_CONTACTS": "granted", "android.permission.READ_EXTERNAL_STORAGE": "granted", "android.permission.RECORD_AUDIO": "granted"}

[Sun May 10 2020 14:28:42.350] LOG Record2 {"id": 0, "rawValue": 0, "value": -160} [Sun May 10 2020 14:28:42.677] LOG Record2 {"id": 1, "rawValue": 0, "value": -160} [Sun May 10 2020 14:28:43.620] LOG Record2 {"id": 2, "rawValue": 0, "value": -160} [Sun May 10 2020 14:28:43.112] LOG Record2 {"id": 3, "rawValue": 0, "value": -160} [Sun May 10 2020 14:28:43.155] LOG Record2 {"id": 4, "rawValue": 0, "value": -160} [Sun May 10 2020 14:28:43.257] LOG Record2 {"id": 5, "rawValue": 0, "value": -160} [Sun May 10 2020 14:28:43.554] LOG Record2 {"id": 6, "rawValue": 0, "value": -160}`

noelberistain commented 2 years ago

You probably solved this already. I faced these same repeated values returned from the API and the solution was to toggle on the "Virtual microphone uses hosts audio input" option from the Extended Controls on the simulator Screen Shot 2022-03-16 at 20 05 43