Hello. If audio input is possible with stremlit,
the scalability of machine learning project will be much wider.
I would like to know if this feature is currently in progress as a development project
inside streamlit to make it possible for streamlit.
I think there are probably many people who need this function.
thank you
I also would love to see this functionality! I use streamlit for validating audio datasets but I would love to be able to quickly deploy streamlit apps to collect audio data from users. Down the road I will implement a proper web interface for doing this but the flexibility of being able to do it in streamlit would make prototyping and building custom test sets much easier. Thank you.
As for myself Iāve tried integrating react-mic as a component in Streamlit to solve this:
If itās just for one shot recording it should be possible to work out something.
If itās for realtime audio processing I donāt have a good idea on how to build this with components given Streamlitās mental model, would probably offshore this to an API which Streamlit interacts with.
If someone has a bit of free time I hope this task can be picked up too for a Component. Maybe Iāll try again around Januaryā¦
Feel free to check out my Streamlit Audio Recorder Custom Component that implements functionality to record audio from the userās microphone via the Web-Media-API (web browser audio API access, built ontop of āaudio-react-recorderā). In comparison to Ayush_Kumar_Shah 's solution, which is only functional on local deployments, this custom component also works in applications that are deployed to the web!
Hey Stefan, i love your audio recorder but want to change the Text or color off the Recording button for my project. I tried to change the buttons text in the āStreamlitAudioRecorder.tsxā but this will not change the text on the streamlit page. I really donāt now anything about React and just wondering what I have to do to change it? Is it way more complicated than I thought? Would be cool if you could help me
Thanks for stopping by! We use cookies to help us understand how you interact with our website.
By clicking āAccept allā, you consent to our use of cookies. For more information, please see our privacy policy.
Cookie settings
Strictly necessary cookies
These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
Performance cookies
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand how visitors move around the site and which pages are most frequently visited.
Functional cookies
These cookies are used to record your choices and settings, maintain your preferences over time and recognize you when you return to our website. These cookies help us to personalize our content for you and remember your preferences.
Targeting cookies
These cookies may be deployed to our site by our advertising partners to build a profile of your interest and provide you with content that is relevant to you, including showing you relevant ads on other websites.