Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/jasperproject/jasper-client
/ getScore
Method
getScore
client/mic.py:42–45 ·
view source on GitHub ↗
(self, data)
Source
from the content-addressed store, hash-verified
40
self._audio.terminate()
41
42
def
getScore(self, data):
43
rms = audioop.rms(data, 2)
44
score = rms / 3
45
return
score
46
47
def
fetchThreshold(self):
48
Callers
3
fetchThreshold
Method · 0.95
passiveListen
Method · 0.95
activeListenToAllOptions
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected