Closed drAliMollaei closed 1 year ago
Hi @drAliMollaei, I have just release a new version 0.0.8 that allows you to have a fixed recording length. See https://pypi.org/project/audio-recorder-streamlit/0.0.8/ in the FAQ section.
To save the audio_bytes to file, I think you can simply write them to a file.
with open("file.wav", "wb") as f: f.write(audio_bytes)
Hi @drAliMollaei, I have just release a new version 0.0.8 that allows you to have a fixed recording length. See https://pypi.org/project/audio-recorder-streamlit/0.0.8/ in the FAQ section.
To save the audio_bytes to file, I think you can simply write them to a file.