Question

When a song from iPod chosen using MPMediaQuery is playing with MPMusicPlayerController, is it possible to record a clip of the song using AVAudioRecorder?

Was it helpful?

Solution

Not in any useful way. The AVAudioRecorder uses device input, such as the phone mic or the headset mic. You cannot route the audio played by MPMusicPlayerController into AVAudioRecorder in code.

Note that the MediaPlayer API also doesn't afford any access to raw samples or the source MP3/M4A/M4P files.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top