Git Product home page Git Product logo

andresmoks720 / streamlit-audio-recorder Goto Github PK

View Code? Open in Web Editor NEW

This project forked from stefanrmmr/streamlit-audio-recorder

0.0 0.0 0.0 55.68 MB

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

Home Page: https://audiorecorder.streamlit.app/

License: MIT License

JavaScript 11.12% Python 28.51% TypeScript 29.49% CSS 12.56% HTML 18.32%

streamlit-audio-recorder's Introduction

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.

streamlit-audio-recorder's People

Contributors

stefanrmmr avatar tenderport avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.