Recording internal audio on Corona

Hello fellow Corona devs,

I’m working on a little musical app, and what I want to do is the user to be able to record and playback audio files created withing the app!

I tryed using media recording  but I found out that that is intended for external audio recording (utilizing the device mic).

So is there a way to record the output audio of your application with Corona?

Thank you and thanks for the help!