Reply To: getting speech volume ?

Home Forums OpenEars getting speech volume ? Reply To: getting speech volume ?

#1015735
Halle Winkler
Politepix

Hello,

You can get the incoming speech power using the result of the method pocketsphinxInputLevel (you have to listen to this value on a background thread since it will block the main thread if you don’t — there is an example of doing this in the sample app). Knowing what this power level means in terms of speaking/loud speaking/shouting is a subjective interpretation, so deciding what different power levels mean in those terms is an implementation detail for your app.