stefanrmmr / streamlit-audio-recorder

Record Audio from the User's Microphone in Apps that are Deployed to the Web. (via Browser Media-API, REACT-based, Streamlit Custom Component)
MIT License
415 stars 75 forks source link

@Paethon **Work Around (rather not elegant but functional):** You can use the current version of the component, record audio, download it and then drag the file from the browser's download preview (downloads bar bottom of the screen, left) into a streamlit file-upload component. #20

Open dhschuma opened 7 months ago

dhschuma commented 7 months ago
          @Paethon **Work Around (rather not elegant but functional):** You can use the current version of the component, record audio, download it and then drag the file from the browser's download preview (downloads bar bottom of the screen, left) into a streamlit file-upload component.

Originally posted by @stefanrmmr in https://github.com/stefanrmmr/streamlit-audio-recorder/issues/1#issuecomment-1130379760

I tried to do what you mentioned above (download and then upload file) but I find that the streamlit app freezes up trying to continually do this conversion for any lengthy audio. Is there an easy way to avoid this conversion that is tied to the stop button.