This commit is contained in:
@ -15,9 +15,11 @@ class SoundSensor(AbcSensor):
|
||||
"""
|
||||
SoundSensor class. Responsible for sound retrieval from any microphones present.
|
||||
"""
|
||||
def getvalue(self):
|
||||
def getvalue(self) -> str:
|
||||
"""
|
||||
Retrieve a 5 second sound clip from a microphone.
|
||||
:return:
|
||||
"""
|
||||
pass
|
||||
# Recieve sound from microphone and save it to a file on the filesystem.
|
||||
# Then return the filename
|
||||
return "filename.wav"
|
||||
|
Reference in New Issue
Block a user