Is there a way to record in game audio?

I’m making a game like drumpads where you can make music from clicking on these launch pads.
Here is what I have for now
https://s3-eu-west-1.amazonaws.com/gd-games/game-fc683c2f-0b06-44d7-b6fd-91c7a2310d6f/index.html
the game won’t be that fun if you can’t record what you made so I was wondering if there is a way to record the in game audio and export it as an mp3 file or wav.

There is no way, sorry