Well, I myself worked to find the absolute link of values ββthat comes from the getMaxAmplitude () function, but I could not find the exact answers. There was one thread that said that voices can return anything from 0 to 25000. I know that the minimum value is 0. In addition, it returns an integer that can only contain integers, so I don't think that this is actually returning a raw millivolt reading, since it usually also contains decimal numbers.
Very interesting idea though !!
maybe something here helps:
Microphone input
EDIT:
I found the maximum value! it is 32767, which is the maximum for a signed 16-bit integer. The minimum value, of course, is 0, because you cannot have less sound. It also supports the theory that getMaxAmplitude () does not return the actual millivolt value, because getting 32.8 volts from the microphone ... will not happen.
Brandon
source share