Question

I was playing with a karaoke application on iPhone and came up with following questions:

  1. The application allowed its users to control the volume of the artist; even mute it. How is this possible? Does adjusting artist sound/setting equalizer etc. mean performing some transformation of required frequencies? What sort of mathematics is required here(frequency domain transformations)?

  2. The application recorded users voice input via a mic. Assuming that the sound is recorded in some format, the application was able to mix the recording with the karaoke track(with artists voice muted). How can this be done? Did they play both the track and voice recording simultaneously? Or maybe they inserted additional frequency(channel?) in the original track, maybe replaced it?

  3. What sort of DSP is involved here? Is this possible in Java, Objective C?

I am curious and if you have links to documents or books that can help me understand the mechanism here, please share.

Thanks.

Was it helpful?

Solution

I don't know that particular application, probably it has a voice track recorder separately.

For generic 2-channels stereo sound the easiest voice suppression can be performed assuming that artist's voice is somehow equally balanced between two channels (acoustically it appears in center). So the simplest 'DSP' would be subtract one channel from another. It does not work that well however with modern records since all instruments and voice are recorded separately and then mixed together (meaning that voice will not be necessarily in phase between two channels).

OTHER TIPS

I have written two detailed blogposts on how to get a custom EQ in iOS. But i have no details about how to do the DSP yourself. If you simply want to choose between a wide range of effects and stuff, try this.

First post explains how you build libsox: http://uberblo.gs/2011/04/iosiphoneos-equalizer-with-libsox-making-it-a-framework

The second explains how to use it: http://uberblo.gs/2011/04/iosiphoneos-equalizer-with-libsox-doing-effects

please up the answer if it helped you! thanks!

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