What is the unit of return amplitude of the getMaxAmplitude method?

Does anyone know what is the returned unit of a method:

 MediaRecorder.getMaxAmplitude();

The Android MediaRecorder API documentation only indicates that this method returns the maximum absolute amplitude of the selected points since the last call, but does not indicate the device. Is it in pascal, milli-pascal, another?

+5
source share
3 answers

After some detailed searching, I and some colleges came to this conclusion. Nevertheless, the answers to these questions were incomplete, as far as I know, I am writing my own answer to this question.

MediaRecorder.getMaxAmplitude() 16- (0-32767). , , abs() -32768... +32767, CD-. , .

- . , , 16- 0 100% ( ).

(Pascal) . , api, , , (, ..). , .

+5

MediaRecorder.getMaxAmplitude() 0 32 767

(: 32,767 - )

.

18000 "", 50% .

+3

Units will vary for each device or microphone. If you want to know, you will have to test each specific microphone model against a calibrated source or meter.

0
source

All Articles