iphone - Recognise a phrase from voice input only if the intensity hits certain decibel [iOS] -


i've had browse around topics in group trying see if question has been addressed before, couldn't find exact thing. so, apologies if old hat. please excuse newbie nature of question.

how can have ios app recognise phrase voice input if intensity hits decibel? ex:when user says "hello there", should capture voice , check phrase make sure whether user said hello there or else. perhaps, openears might solve me. how can measure intensity of voice? voice input must considered if phrase "hello there" spoken @ 110db. if not, should ignore. can done openears? please guide me suggestions

openears developer here. openears' pocketsphinxcontroller class (the class speech recognition) has property pocketsphinxinputlevel can read on secondary thread find out input power. there's info in docs , copy-paste-able example of usage in openears sample app should started. decibel levels use same convention audioqueue decibel readings give decibels negative offset 0 0 clipping point, instead of positive absolute value.


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -