I have a screen that is like an instrument. There are buttons that play sound files.
I want to record the sounds played as user presses the buttons in a single audio file so that i can save that file as mp4 or other audio format.
Can you please guide me how to achieve this in a simple way?
I am able to record using the mic with AVAudioRecorder
As I think, the recording method uses the mic as a source, but I would like it to use the "audio out" equivalent of my app to use as a source.
You could try using The Amazing Audio Engine. You can install it via Cocoapods
or clone via git
The sound could be recorded to a file with the help of this.
So if you want to record the apps output simply use a Outputreceiver:
Use a Screen Recorder, like
Camtasia
orFraps
. When you want, you can stop the record and extract the sound in multiple formats, and there's no need to use microphone... There are some open-source too...