Skip to content

Commit

Permalink
rm extra return
Browse files Browse the repository at this point in the history
  • Loading branch information
zzstoatzz committed May 1, 2024
1 parent dbe12d2 commit 9071387
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/marvin/audio.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def record(duration: int = None) -> Audio:
frames.close()
audio = sr.audio.AudioData(frame_data, source.SAMPLE_RATE, source.SAMPLE_WIDTH)

return audio
return Audio(data=audio.get_wav_data(), format="wav")


def record_phrase(
Expand Down

0 comments on commit 9071387

Please sign in to comment.