Black Lives Matter. Please consider donating to Black Girls Code today.

Audio recording feature in dash app

I would like to embed an audio recording feature in my dash app. If the user clicks a ‘RECORD’ button, the app should record the audio until a ‘STOP’ button is clicked and then I would like to process that audio file in the backend. Is that possible? I searched everywhere and I don’t find a relevant solution to my problem.

@chriddyp - Please suggest

Looks like there are a few React components out there that may do this:


Your best bet is wrapping these React components for use in Dash: https://plot.ly/dash/plugins

If you’re working at a company that has a budget for this work, Plotly could wrap them for you: https://plot.ly/products/react/

2 Likes