skeletons are back in the closet
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@ -0,0 +1,2 @@
|
||||
#!/usr/bin/env python3
|
||||
from .soundsensor import SoundSensor
|
||||
|
23
src/sensor/soundsensor.py
Normal file
23
src/sensor/soundsensor.py
Normal 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
|
Reference in New Issue
Block a user