Open mstevens83 opened 4 years ago
For acoustics, decibels are commonly reported relative to an SPL of 20 μPa corresponding to 0 dB. And if the decibels are being reported for comparison to human hearing, they are usually also A-weighted to account for how very high or low frequencies are not very audible to the human ear. Assuming your incoming samples
come from AudioRecord and are on a scale from 0 to 1, you would need to have some way of knowing what value corresponds with 20 μPa in order to perform this calculation. It would be microphone-hardware dependent. I haven't looked into whether Android provides some way to read microphone specs.
Hello, This is not really an issue, but rather a question about how to use your library. We are trying to use your library to compute power spectral density on a live audio signal in an Android app. We want results per octave band, or per ⅓ octave band. Currently we have to following Kotlin code for the octave band version. We adapted this from the code that drives the bottom graph in your demo app.
We have following challenges with this:
Thanks in advance for any pointers you might be able to give.