exzos28 / react-native-audio-analyzer

MIT License
22 stars 3 forks source link

Amplitude numbers don't make any sense in ios #7

Open AlexanderBich opened 2 hours ago

AlexanderBich commented 2 hours ago

Amplitude numbers just don't make any sense in ios.

Here's an audio file -> link

And here's the analyzed amplitude results from this call:

analyzeAudio("this file url", 0.1);

amplitudes.json

Noticed that I'm staying silent for 1 sec and making a loud noise at second 6. But none of those features are seen in the amplitudes data, it seems to have the same loudness throughout.

Here's visualised version of the above audio, shown with QuickTime Show Clips view:

image (9)

Environment

"react-native": ""0.74.5" " react-native-audio-analyzer": "1.2.1"

Tested on real device.

AlexanderBich commented 2 hours ago

Here's zipped audio file, in case the link won't work Record (online-voice-recorder.com).mp3.zip

exzos28 commented 1 hour ago

Hello! I'll be able to take a look closer to the weekend, if you are able and willing, please try to investigate the problem.