mp3 encoding

All I want to do is record the users audio and output a mp3 file. I got to the point where I can record audio using the web audio api and generate an mp3 with 1 second of silence using lamejs but I am too stupid to combine these 2. This a repo with a minimal example: https://github.com/vothvovo/recordtomp3 (this was done with electron so there is some ipc to get the data to lamejs but you don't have to do it in electron really) I made this post some time ago but it didn't receive a lot of attention (no downvotes tho wowie): https://stackoverflow.com/questions/75712706/how-to-record-and-encode-a-mp3-in-an-electron-app
GitHub
GitHub - vothvovo/recordtomp3
Contribute to vothvovo/recordtomp3 development by creating an account on GitHub.
Stack Overflow
How to record and encode a mp3 in an electron app?
I simply want to record audio and output an mp3. I can't figure out what I need to do to make this code work: I am recording audio in the renderer process using the web audio api. This works as exp...
0 Replies
No replies yetBe the first to reply to this messageJoin