USPatent applicationPatented

Process for removing voice from stereo recordings

Granted 11 Jun 2002 · 1 office action

Assignee: Creative Technology Ltd

Law firm: Law firm · Log in to unlock

Attorney: Attorney · Log in to unlock

Inventors: Jean Laroche · Examiner: William Korzuch · AU 2641 · TC 2600

Application· this page
9405941
filed 27 Sep 1999
Publication
Not published
not published
Patent
US 6,405,163
granted 11 Jun 2002

Life of the application

7 dated events
⤢ drag to zoom20002002200420062008201020122014201620182020ProsecutionOwnershipTerm & fees
ProsecutionOwnershipTerm & feeshover for detail · click to open

Abstract

A method and apparatus for removing or amplifying voice or other signals panned to the center of a stereo recording utilizes frequency domain techniques to calculate a frequency dependent gain factor based on the difference between the frequency domain spectra of the stereo channels.

Description

5 parts
›BACKGROUND OF THE INVENTION

The invention relates to the now very popular field of karaoke entertaining. In karaoke a (usually amateur) singer performs live in front of an audience with background music. One of the challenges of this activity is to come up with the background music, i.e. get rid of the original singer's voice to retain only the instruments so the amateur singer's voice can replace that of the original singer. A very inexpensive (but somewhat unsophisticated) way in which this can be achieved consists of using a stereo recording and making the assumption (usually true) that the voice is panned in the center (i.e. that the voice was recorded in mono and added to the left and right channels with equal level). In that case the voice can be significantly reduced by subtracting the left channel from the right channel, resulting in a mono recording from which the voice is nearly absent (because stereo reverberation is usually added after the mix a faint reverberated version of the voice is left in the difference signal). There are several drawbacks to this technique:

1) The output signal is always monophonic. In other words it is not possible using this standard technique to recover a stereo signal from which the voice has been removed.

2) More often than not, other instruments are also panned in the center (bass guitar, bass drum, horns and so on), and the standard technique will also remove them, which is undesirable.

The standard method does not allow extracting or amplifying the voice in the original recording: it is sometimes very useful to be able to remove the background instruments from the original recording and retain only the voice (for example, to change the mixing level of the voice or to aid a pitch-extraction system targeted at the voice).

›SUMMARY OF THE INVENTION

According to one aspect of the present invention, a phase-vocoder removes the voice or the background instruments from a stereo recording while retaining a stereo output signal. Furthermore, because of the frequency-domain nature of the phase-vocoder, it is possible to more effectively discriminate, based on their frequency contents, the voice from other instruments also panned in the center.

According to a further aspect of the invention, peak frequencies are determined where the magnitude of the frequency domain spectra is at a maximum.

According to another aspect of the invention, a difference spectra is derived from the frequency domain spectra of the left and right stereo channels at the peak frequencies. An attenuating gain factor for each peak frequency is then calculated which is a function of the magnitude of the difference spectra at the peak frequency. For frequencies of voice signals, or other signals panned to center, the magnitude of difference spectra will be much less than that of the left or right channels.

According to another aspect of the invention, a modified spectra is derived by multiplying the magnitude of the frequency domain spectra by the attenuating gain factor at each peak frequency. The magnitude of the modified spectra at frequencies for voice, or other signals panned to center, will be small.

According to another aspect of the invention, the attenuation gain is set to unity for frequency components outside the voice range so that non-voice music panned to center is not attenuated.

According to another aspect of the invention, regions of influence are defined about each peak frequency. The magnitude of the frequency spectra within each region of influence is multiplied by the gain factor for the peak frequency.

According to another aspect of the invention, frequencies of voice, or of other signals panned to center, are amplified by utilizing an amplifying gain factor inversely proportional to the magnitude of the gain factor at each peak frequency. For example, the amplifying gain factor can be set equal to the difference of one and the attenuating gain factor.

Other features and advantages of the invention will be apparent in view of the following detailed description and appended drawings.

›BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram depicting the steps performed by a preferred embodiment of the invention; and

FIG. 2 is a block diagram of a computer system for implementing a preferred embodiment of the invention.

›DESCRIPTION OF THE SPECIFIC EMBODIMENTS · 1 of 2

An overview of the present invention will now be described with reference to FIG. 1, which is a block diagram depicting the various operations and output signals. In FIG. 1, the left and right stereo channels of a stereo recording are input to discrete Fourier transform blocks 102 L and R. In a preferred embodiment, the stereo channels will be in the form of digital signals. However, for analog stereo channels, the channels can be digitized using techniques well-known in the art.

The output of the DFT blocks 102 L and R is the frequency domain spectra of the left and right stereo channels. Peak detection blocks 104 L and R detect the peak frequencies at which peaks occur in the frequency domain spectra. This information is then passed to a subtraction block 106 , which generates a difference spectra signal having values equal to the difference of the left and right frequency domain spectra at each peak frequency. If voice signals are panned to center, then the magnitudes and phases of the frequency domain spectra for each channel at voice frequencies will be almost identical. Accordingly, the magnitude of the difference spectra at those frequencies will be small.

The difference signal as well as the left and right peak frequencies and frequency domain spectra are input to an amplitude adjusting block 110 . The amplitude adjustment block utilizes the magnitudes of the difference spectra and frequency domain spectra of each channel to modify the magnitudes of the frequency domain spectra of each channel and output a modified spectra. The magnitude of the modified spectra depends on the magnitude of the difference spectra. Accordingly, the magnitude of the modified frequency domain spectra will be low for frequencies corresponding to voice.

The modified frequency domain spectra for each channel is input to inverse discrete Fourier (IDFT) transform blocks 112 L and R, which output time domain signals based on the modified spectra. Since the modified spectra was attenuated at frequencies corresponding to voice the modified stereo channels output by the IDFT, blocks 112 L and R will have the voice removed. However, the instruments and other sounds not panned to the center will remain in the original stereo channels so that the stereo quality of the recording will be preserved.

The above steps can be performed by hardware or software. FIG. 2 is a block diagram of a computer system 200 , including a CPU 202 , memory 204 , and peripherals 208 , capable of implementing the invention in software. In a preferred embodiment, the signal processing call be performed in a digital signal processor (DSP) (notshown) under control of the CPU.

The various steps performed by the blocks of FIG. 1 will now be described in greater detail.

The Phase Vocoder and DFT

A basic idea of the present invention is mimicking the behavior of the standard left-right algorithm in the frequency domain. A frequency-domain representation of the signal can be obtained by use of the phase-vocoder, a process in which an incoming signal is split into overlapping, windowed, short-term frames which are then processed by a Fourier Transform, resulting in a series of short-term frequency domain spectra representing the spectral content of the signal in each short-term frame. The frequency-domain representation can then be altered and a modified time-domain signal reconstructed by use of overlapping windowed inverse Fourier transforms. The phase vocoder is a very standard and well known tool that has been used for years in many contexts (voice coding high-quality time-scaling frequency-domain effects and so on).

Assuming the incoming stereo signal is processed by the phase-vocoder, for each stereo input frame there is a pair of frequency-domain spectra that represent the spectral content of the short-term left and right signals. The short-term spectrum of the left signal is denoted by X L (Ω k ,t), where Ω k is the frequency channel and t is the time corresponding to the short-time frame. Similarly, the short-term spectrum of the right signal is denoted by X R (Ω k ,t). Both X L (Ω k ,t) and X R (Ω k ,t) are arrays of complex numbers with amplitudes and phases.

Peak Detection

The first step consists of identifying peaks in the magnitudes of the short-term spectra. These peaks indicate locally sinusoidal components that can either belong to the voice or to the background instruments. To find the peaks, one calculates the magnitude of X L (Ω k ,t) or of X R (Ω k ,t) or of X L (Ω k ,t)+X R (Ω k ,t) and one performs a peak detection process. One such peak detection scheme consists of declaring as peaks those channels where the amplitude is larger than the two neighbors on the left and the two neighbors on the right. Associated with each peak is a so called region of influence composed of all the frequency channels around the peak. The consecutive regions of influence are contiguous and the limit between two adjacent regions can be set to be exactly mid-way between two consecutive peaks or to be located at the channel of smallest amplitude between the two consecutive peaks.

Difference Calculation and Gain Estimation

The Left-Right difference signal in the frequency domain is obtained next by calculating the difference between the left and right spectra using:

D (Ω k 0 ,t )= X L (Ω k 0 ,t )− X R (Ω k 0 t )  (1)

for each peak frequency Ω k 0 .

For peaks that correspond to components belonging to the voice (or any instrument panned in the center) the magnitude of this difference will be small relative to either X L (Ω k 0 ,t) or X R (Ω k 0 ,t), while for peaks that correspond to components belonging to background instruments this difference will not be small. Using D(Ω k 0 ,t) to reconstruct the time-domain signal would result in the exact equivalent of the standard Left-Right algorithm with a mono output.

Rather, the key idea is to calculate how much of a gain reduction it takes to bring X L (Ω k 0 ,t) and X R (Ω k 0 ,t) down to the level of D(Ω k 0 ,t) and apply this gain in the frequency domain, leaving the phases unchanged. Specifically the left and right gains are calculated as follows:

›DESCRIPTION OF THE SPECIFIC EMBODIMENTS · 2 of 2

Γ L (Ω k 0 ,t )=min(1,| D (Ω k 0 ,t )|/| X L (Ω k 0 ,t )|)

and

Γ R (Ω k 0 ,t )=min(1 ,D (Ω k 0 ,t )|/| X R (Ω k 0 ,t )|)

which are the left gain and the right gain for each peak frequency. The mino function assures that these gains are not allowed to become larger than 1. Peaks for which Γ L (Ω k 0 ,t) is close to 0 are deemed to correspond to the voice while peaks for which Γ L (Ω k 0 ,t) is close to 1 are deemed to correspond to the background instruments.

Voice Removal

To remove the voice one will apply a real gain G L,R (Ω k 0 ,t) to all the channels in the region of influence of the peak:

Y L (Ω k 0 ,t )= X L (Ω k0 ,t ) G L (Ω k 0 ,t )

Y R (Ω k 0 ,t)= X R (Ω k 0 ,t)G R (Ω k 0 ,t).

The gains G L,R (Ω k 0 ,t) are real, and therefore the modified channels Y L,R (Ω k 0 ,t) have the same phase as the original channels X L,R (Ω k 0 ,t) but their magnitudes have been modified.

To remove the voice, G LR (Ω k 0 ,t) should be small whenever Γ LR (Ω k 0 ,t) is small and should be close to 1 whenever Γ L,R (Ω k 0 ,t) is close to 1.

One choice is

G L,R (Ω k 0 ,t )=Γ L,R (Ω k 0 ,t )

where the modified channels Y L,R (Ω k 0 ,t) are given the same magnitude as the difference D(Ω k 0 ,t). As a result the signal reconstructed from Y L (Ω k 0 ,t) and Y R (Ω k 0 ,t) will retain the stereo image of the original signal but the voice components will have been significantly reduced.

Another choice is

G L,R (Ω k 0 ,t )=(Γ L,R (Ω k 0 ,t )) α

with α>0.α controls the amount of reduction brought by the algorithm: α close to 0 does not remove much while large values of α remove more and α=1 removes exactly the same amount as the standard Left-Right technique. Using large values of α makes it possible to attain a larger amount of voice removal than possible with the standard technique.

In general, the gain function is a function based on the magnitude of the difference spectra.

Voice Amplification

To amplify the voice and attenuate the background instruments the gains G L,R (Ω k 0 ,t) should be chosen to be close to 1 for small Γ L,R (Ω k 0 ,t) and close to 0 for Γ L,R (Ω k 0 ,t) close to 1, i.e., an increasing function of the inverse of the magnitude. Examples include:

G L,R (Ω k 0 ,t )=1−Γ L,R (Ω k 0 ,t )

or

G L,R (Ω k 0 ,t )=(1−Γ L,R (Ω k 0 ,t ))/(1±Γ L,R (Ω k 0 ,t ))

etc. Because G L,R (Ω k 0 ,t) is small for channels that belong to background instruments (for which Γ L,R (Ω k 0 ,t) is close to 1), background instruments are attenuated while the voice is left unchanged.

Gain Smoothing

It is often useful to perform time-domain smoothing of the gain values to avoid erratic gain variations that can be perceived as a degradation of the signal quality. Any type of smoothing can be used to prevent such erratic variations. For example, one can generate a smoothed gain by setting

Ĝ L,R (Ω k 0 ,t )=β G L,R (Ω k 0 ,t )−(1−β) Ĝ L,R (Ω k 0 ,t −1)

where β is a smoothing parameter between 0 (a lot of smoothing) and 1 (no smoothing) and (t−1) denotes the time at the previous frame and Ĝ is the smoothed version of G. Other types of linear or non-linear smoothing can be used.

Frequency Selective Processing

Because the voice signal typically lies in a reduced frequency range (for example from 100 Hz to 4 kHz for a male voice) it is possible to set the gains G L,R (Ω k 0 ,t) to arbitrary values for frequency outside that range. For example, when removing the voice we can assume that there are no voice components outside of a frequency range ω min →ω max and set the gains to 1 for frequency outside that range:

G L,R (Ω k 0 ,t )=1 for Ω k 0 <ω min or Ω k 0 >ω max .

Thus, components belonging to an instrument panned in the center (such as a bass-guitar or a kick drum) but whose spectral content do not overlap that of the voice, will not be attenuated as they would with the standard method.

For voice amplification one could set those gains to 0:

G L,R (Ω k 0 ,t )=0 for Ω k 0 <ω min or Ω k 0 >ω max

so that instruments falling outside the voice range would be removed automatically regardless of where they are panned.

Left/Right Balance

Sometimes the voice is not panned directly in the center but might appear in both channels with a small amplitude difference. This would happen, for example, if both channels were transmitted with slightly different gains. In that case, the gain mismatch can easily be incorporated in Eq. (1):

D′ (Ω k 0 ,t )=δ X L (Ω k 0 ,t )− X R (Ω k 0 ,t )

where δ is a gain adjustment factor that represents the gain ratio between the left and right channels.

IDFT and Signal Reconstruction

Once Y L (Ω k 0 ,t) and Y R (Ω k 0 ,t) have been reconstructed for every frequency channels, the resulting frequency domain representation is used to reconstruct the time-domain signal according to the standard phase-vocoder algorithm.

The invention has now been described with reference to the preferred embodiments. Alternatives and substitutions will now be apparent to persons of skill in the art. Accordingly, it is not intended to limit the invention except as provided by the appended claims.

Claims as granted

15 claims

Log in to read the claims of this application.

Log in to unlock

Classifications

4 codes
IPC · International Patent Classification
Section H — Electricity
  • H04R5/04
USPC · US Patent Classification
704/20584/616381/2

Claim changes

Soon
Coming soonHow the claims changed between publication and grant

See which claims were amended, added or cancelled during examination, with every added and removed word marked.

AmendedAddedCancelledUnchanged

The published claims of this application are not paired with the granted ones in what we hold.

File wrapper

⤢ drag to zoomJan 2000Jul 2000Jan 2001Jul 2001Jan 2002Jul 2002USPTOApplicantNon-final rejectionNotice of allowance
USPTOApplicanthover for detail · click to open
Pendency
2.7 y
988 days filing → grant
Office actions
1
non-final + final
Responses
1
no RCE
Examiner
William Korzuch
art unit 2641 · TC 2600
Citations: 15 back · 36 forward

See the full prosecution history — every USPTO and applicant action on this file, in order.

Log in to unlock

Documents

Log in to open the documents of this file: the application as filed, every office action and response, the notice of allowance.

Log in to unlock

Chain of title

⤢ drag to zoom20002002200420062008201020122014201620182020Owner 1
Titlehover for detail · click to open

See the full assignment history — every owner this patent has passed through, with recordation dates and reel/frame numbers.

Log in to unlock