We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a35a7ba + 9071387 commit 748bba9Copy full SHA for 748bba9
1 file changed
src/marvin/audio.py
@@ -118,7 +118,6 @@ def record(duration: int = None) -> Audio:
118
frames.close()
119
audio = sr.audio.AudioData(frame_data, source.SAMPLE_RATE, source.SAMPLE_WIDTH)
120
121
- return audio
122
return Audio(data=audio.get_wav_data(), format="wav")
123
124
0 commit comments