How to record audio in a liveview app?

Hello everyone!

I’m wondering if I could get some guidance on recording audio directly from the browser. I’m building a LiveView app where I need to store audio notes from users. So, I need to be able to “listen” and store those audios on the server. Are there any existing apps or could anyone help me with the “first steps” to accomplish this requirement?

Thanks a lot!

There are a handful of examples that will likely help in this thread:

For instance, check out this single-file app that handles recording & transcription:

2 Likes