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)
التصميم والوسائطما يمكنك فعله
- Manage access to the user's microphone via the browser's Media-API
- Record, playback and revert audio-recordings in apps deployed to the web
- Download the final recording to your local system! - WAV, 16 bit, 44.1 kHz
- Directly return audio recording-data to Python backend! - arrayBuffer format
النمو المقاس للنجوم
- خلال 24 ساعة
- ٠
- خلال 7 أيام
- ٠
- خلال 15 يومًا
- ٠
- خلال شهر
- جارٍ جمع السجل
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
README.md
الأصلStreamlit Audio Recorder
Custom component, implemented by Stefan Rummer,
based on doppelgunner 's Audio-React-Recorder
Features & Specs
- Manage access to the user's microphone via the browser's Media-API
- Record, playback and revert audio-recordings in apps deployed to the web
- Download the final recording to your local system! - WAV, 16 bit, 44.1 kHz
- Directly return audio recording-data to Python backend! - arrayBuffer format
Setup & How to Use
1. PIP Install the component (download from PyPI)
pip install streamlit-audiorec
2. Import and Initialize the component (at the top of your script)
from st_audiorec import st_audiorec
3. Add an Instance of the audio recorder to your streamlit app's code.
wav_audio_data = st_audiorec()
if wav_audio_data is not None:
st.audio(wav_audio_data, format='audio/wav')
4. Enjoy recording audio inside your streamlit app! 🎈
Feel free to reach out to me in case you have any questions!
Pls consider leaving a star ☆ with this repository to show your support.
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…