This is a question that I seen in the Spark FB group about once a week, so I’d like to document the solutions and limitations here.
Let’s say you want to make a karaoke effect where a song plays in the background and the user sings along. You’ll set up your project and throw a sound clip into it and test it out on your device. Immediately, you’ll notice that the sound is muted while recording, but it actually gets recorded in the output. It’s not ideal because then the user can’t hear the song while they record, which ruins the whole effect.
You can’t record with the microphone and play sounds at the same time. If you could, it would result in horrible sound from the speakers. There are a few solutions but they come with a cost.
- Disable the microphone. This will unmute the audio while recording, but obviously the downside is that you won’t hear the user any more.
- Tell the user to wear headphones (there are custom instructions available for this). Since the speakers won’t be playing the sounds, they won’t be muted! I’ve heard that bluetooth headphones don’t work for this, and many phones require adapters for corded headphones. This is the only way to have audio and the mic active at the same time during recording, but it comes with some serious UX implications.