Take the 2-minute tour ×
Signal Processing Stack Exchange is a question and answer site for practitioners of the art and science of signal, image and video processing. It's 100% free, no registration required.

I have mp3s of radio talk shows in which the host interviews people on the phone. The host uses a microphone, and the interviewee uses either a landline phone or a cell phone.

I want to save just the telephone audio to a different file. Is that feasible?

share|improve this question
Are the recordings from FM radio or something of similar quality? I've never tried to do this, but one idea that comes to mind is that telephone audio is typically pretty narrowband (~300 Hz to ~3 kHz), while in-studio audio from the host should be comparatively wideband (one reason why it sounds better). You might be able to compute something like a spectrogram on the audio and pull out regions of the file where the signal bandwidth appears to be within the region you would expect for telephone audio. –  Jason R Jan 27 '13 at 16:22
The recordings are from the radio studio, 44.1 KHz. I thought of a solution similar to yours - FFT the signal, and calculate the ration of the energy between 300 and 3400 Hz and the whole spectrum. If it exceeds a threshold then I keep the audio. I have to run VAD when I have telephone audio to keep the silence between words and sentences. –  barisdad Jan 28 '13 at 7:02
@barisdad I generally agree with your suggestion. Just for clarity VAD = Voice Activity Detection. VAD functions as an audio switch that passes the audko signal when voice energy exceeds a predetermined threshold and passes silences otherwise. You can modify the “voice energy” algorithm to favor the full spectrum (broadcast) audio over the phone audio. –  user2718 Jan 29 '13 at 17:41
I tried implementing and ran into a problem. I am currently using a rectangular window for the FFT with no overlap and I can't seem to find a consistent energy threshold to tell the signals apart. I think this is due to leakage from the rectangular windows. I want to use a hann / hamming window instead, but I understand these favor the center of the signal, so I want to use overlapping windows with a step size of half the window size, and average the energy in 3 adjacent windows to get the result. Does this sound correct? –  barisdad Feb 3 '13 at 7:04
You may want to look in to Independent Component Analysis (ICA) for audio. Here's a paper that is attempting to separate two sources from one source. research.microsoft.com/pubs/66912/2004-hershey-icassp.pdf –  Dave C Feb 12 '13 at 19:56
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.