I can not hear music after recording (Swift) - swift

I make a karaoke app. If headphone doesn't plugin app works fine.(my voice and background music record together). it is successful. but I'm the same way with headphone Then I listen to the recording. I can not hear the background music.(its too much low).

Related

iOS - Access output audio from background program

Scenario: My app is running in the background. An iPhone/iPad user launches the iPod app (or Pandora or another program that plays audio) on their device and starts playing music. My app detects that that music is now playing, and records or in some way does things with the current playing audio (like stream it to a server), all while still running in the background.
Is this possible? Can anyone point me in the right direction in the SDK on how to do this?
You can't do this. And that is that.

Airplay and Microphone

Is it possible to stream audio instantly from the microphone in an iphone to an airplay device. I know this can be done with a delay but could it be done instantly with almost no delay.
If so what are the classes I need to use in my app.

Why are the AudioServices used to vibrate an iphone?

Is the only way to vibrate an iphone using the AudioServices?
If so, why was it run through Audio to vibrate the device?
One usually associates vibrations synonymous with audio/alerts (System Alerts, Text Messages, receiving a call). As this is done through the Audio Services it makes sense to also be able to make the phone vibrate this way.
why was it run through Audio to vibrate the device
Just to point out, it's not vibrating the device using the soundwaves made by playing audio.

Monitor iPhone's mic level without pausing iPod

I'm using AVAudioRecorder to get the current level of the microphone, but it pauses any iPod music that's playing and won't let the user unpause it. Is there a way of getting the two to work together?

Can a iPhone voice Recorder App always run in Background recording the Sounds and Play them?

Can a App record the Voice in the surroundings even when it runs in the background and play the recorded audio? Is it possible?
Multitasking doesn't allow audio recording to be in the background, so no.