MIT License

项目介绍

stefanrmmr/streamlit-audio-recorder 是一个托管在 GitHub 上的开源项目,主要使用 TypeScript 编写,采用 MIT License 许可证,目前获得 487 个 Star、94 次 Fork。

仓库全名
stefanrmmr/streamlit-audio-recorder
开源许可证
MIT License
Star 数
487
Fork 数
94
未关闭 Issue
14

README 摘要

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! -…

完整内容见 GitHub 原始 README 或本页 。

常见问题

streamlit-audio-recorder 用什么语言开发?

主要使用 TypeScript 编写,采用 MIT License 许可证,目前有 487 个 Star。

streamlit-audio-recorder 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 streamlit-audio-recorder 的源码?

可以直接克隆仓库:git clone https://github.com/stefanrmmr/streamlit-audio-recorder.git,默认分支为 main;安装与运行步骤见仓库 README。

streamlit-audio-recorder 最近还在维护吗?

仓库最近一次更新为 2023年9月12日,当前有 14 个未关闭 Issue;Star 数为 487,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

Record Audio from the User's Microphone in Apps that are Deployed to the Web. (via Browser Media-API, REACT-based, Streamlit Custom Component)

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

语言占比

CSS
HTML
JavaScript
Python
TypeScript

README

Streamlit Audio Recorder

Streamlit App Generic badge Generic badge GitHub license

Custom component, implemented by Stefan Rummer,
based on doppelgunner 's Audio-React-Recorder

Screenshot 2022-05-16 at 16 58 36

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.

评论

暂无评论