Max level volume

brelto85

Active Member
Licensed User
Longtime User
my goal is to calculate the level of the environment audio

i realized that each device returns a different value of mAudioRecorder.AudioMaxAmplitude() also if tested in a same environment and at the same time

my idea is to calculate max level audio allowed for the device and calculate the percentage level of the environment audio
 
Upvote 0

Informatix

Expert
Licensed User
Longtime User
my goal is to calculate the level of the environment audio

i realized that each device returns a different value of mAudioRecorder.AudioMaxAmplitude() also if tested in a same environment and at the same time

my idea is to calculate max level audio allowed for the device and calculate the percentage level of the environment audio

You have to calibrate each device individually.
 
Upvote 0

Informatix

Expert
Licensed User
Longtime User
ok, but how to?
how to calculate for each devive? using .AudioSourceMax property of AudioRecorder library?

I have no idea of the usefulness of AudioSourceMax.

To calibrate a mic, record a loud noise, get the value of AudioMaxAmplitude and consider that's the maximum recording level. It can't be computed. There's no formula and no hardware information to do that.
 
Upvote 0
Top