skeletons are back in the closet
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-08-24 20:38:38 +02:00
parent 7334000eb8
commit 0956477831
11 changed files with 103 additions and 1 deletions

View File

@ -0,0 +1,2 @@
#!/usr/bin/env python3
from .soundsensor import SoundSensor

23
src/sensor/soundsensor.py Normal file
View File

@ -0,0 +1,23 @@
#!/usr/bin/env python3
from .abcsensor import AbcSensor
"""
Sound sensor high level API
"""
__author__ = "@tormakris"
__copyright__ = "Copyright 2020, Birbnetes Team"
__module_name__ = "soundsensor"
__version__text__ = "1"
class SoundSensor(AbcSensor):
"""
SoundSensor class. Responsible for sound retrieval from any microphones present.
"""
def getvalue(self):
"""
Retrieve a 5 second sound clip from a microphone.
:return:
"""
pass