0

I have an iPhone-only app which only accepts microphone input.

I want to input a pre-recorded high-quality audio file into the app, but it only accepts input from the microphone.

On macOS, it would be possible to create a virtual microphone device, select that as the audio input, playback an audio file, and output it to the virtual microphone. However, that workflow is not possible on iOS.

Is there any way to achieve this on an iPhone?

One idea I had was to connect a professional-grade microphone supporting USB to the iPhone using a powered lightning-to-USB connector, and playing the audio track back at a high quality, but this seems like overkill for a simple task like this. Is there any better way to reroute this audio file to the app's microphone input?

3
  • His is unlikely to work. Apps are sandboxed so one app interfacing to a microphone cannot have another app interact with it,
    – Allan
    Mar 13 at 21:11
  • I see, do you think there could be a special type of microphone, which can output a pure audio file as though it's a microphone? Maybe that would work. Although I guess that type of question doesn't belong on Ask Different anymore
    – Oion Akif
    Mar 13 at 21:57
  • You’re looking for a portable digital recorder. It’s not the microphone that captures the audio; it just converts sound to electrical current. The DAC is what converts analog electrical signals to digital to write to a file.
    – Allan
    Mar 13 at 22:07

0

You must log in to answer this question.

Browse other questions tagged .