Releases: theevann/streamlit-audiorecorder
Releases · theevann/streamlit-audiorecorder
v0.0.6 - Button styling
v0.0.5
Add the possibility to use the react-audio-recorder visualizer instead of buttons.
Add pausing capability
Add pausing capability by adding a pause button if the pause_prompt
argument is specified.
Use Pydub
This is a breaking change release.
The package has been updated to work with the newer version of streamlit, and:
- It now returns a pydub AudioSegment, which requires the installation of ffmpeg and pydub.
If I get feedback that it was useful to just record audio without the need for ffmpeg, I can consider adding a flag to return only the byte code. - It follows streamlit theme, as explained here.
In particular, we use the theme variables:textColor
,backgroundColor
,secondaryBackgroundColor
.
Note:
The audio is recorded by default in webm format in Firefox and Chrome, but Safari does not handle it and (likely) returns mp4.
I chose not to specify the format both in the frontend and the backend, given that ffmpeg handles it properly in all my tests, and it makes things simpler.