Skip to main content

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.

Metadata

Release files for streamlit-audiorec 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for streamlit-audiorec 0.1.3
File Size Uploaded Provenance Actions
streamlit-audiorec-0.1.3.tar.gz 3.4 kB Without provenance Details for streamlit-audiorec-0.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for streamlit-audiorec 0.1.3
File Interpreter ABI Platform Actions
streamlit_audiorec-0.1.3-py3-none-any.whl Python 3 none any Details for streamlit_audiorec-0.1.3-py3-none-any.whl

Total release size: 876.2 kB

Release files / streamlit-audiorec-0.1.3.tar.gz

Download URL streamlit-audiorec-0.1.3.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
0d1bf9490a7cd2c90529262f309a59fa566f0b2e83eecf03f26e5c42d241eb51
BLAKE2b-256 checksum
How to use checksums
7bad6bb8db00e816d52a804c451f86784b3606f25561f9921829d549499b4eb1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.3 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.11

Release files / streamlit_audiorec-0.1.3-py3-none-any.whl

Download URL streamlit_audiorec-0.1.3-py3-none-any.whl
Size 872.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ade3e880ed072733e129438f06c40516304598c7439ecbf8406dbdcd6bd4ac66
BLAKE2b-256 checksum
How to use checksums
d4bb3a0f70283264ed42587b5cc23189ccd3ef0ed94c0cf18fe204f6b7b4d36f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.3 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.11

Security for streamlit-audiorec 0.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page