Claims
- 1. A method for an electrical music signal processing, comprising:representing a given electrical music signal by a model including a sum of sinusoidal components ∑m=1MAm(t)sin (ωmt+θm(t));the sinusoidal components being specified by amplitude parameters Am(t), nominal frequencies ωm and phase deviation parameters θm(t) (1≦m<M;determining nominal frequencies tom corresponding to frequencies of the given signal; determining initial values corresponding to amplitude and phase deviation parameters Am(t) and θm(t) for each nominal frequency tom using linear and quadratic spline functions, respectively; applying the initial values in an iterative optimization procedure to obtain final values corresponding to amplitude and phase deviation parameters Am(t) and θm(t) through error minimization fitting between the given signal and the sum of sinusoidal components.
- 2. The method of claim 1, wherein the initial values corresponding to amplitude and phase deviation parameters are respectively determined using linear and quadratic basis spline functions Am(t)=∑n=0NAmnΛn(t) andθm(t)=∑n=0NαmnBn(t);where a time axis of the given signal is divided into N frames (0≦n<N), Λn (t) is a triangle window function centered at tn, and Bn (t) is a window function whose non-zero portion starts at tn; and wherein the sinusoidal components are parametrically represented by the spline function coefficients Amn and αmn.
- 3. The method of claim 2, wherein the window of Λn (t) extends for two frames and the window of Bn (t),ends for three frames and is centered at ½(tn+tn+3).
- 4. The method of claim 2, wherein the final values of parameter representations Amn and αmn are determined by minimizing an error function: (A^mn,α^mn)=arg minA^mn,α^mn∑t=0NL-1(x(t)-∑m=1MAm(t)sin (ωmt+θm(t)))2,where x(t) denotes the given signal at a sample point t and L is the frame length.
- 5. The method of claim 2, further comprising:storing the spline function coefficients Amn and αmn; and synthesizing a signal corresponding to the given signal from the sum of sinusoidal components ∑m=1MAm(t)sin (ωmt+θm(t))using the stored spline function coefficients to develop amplitude and phase deviation coefficients of the synthesized signal.
- 6. The method of claim 5, wherein the synthesizing step comprises synthesizing a plurality of data frames of the synthesized signal; the amplitude of an mth frequency component in an nth data frame being determined byAm(nL+k)=Am(nL+k−1)+ΔAmn, where Δ Amn=Am(n+1)-AmnT,Am(nL)=Amn and L is the frame length; andthe phase of the mth frequency component in the nth data frame being determined by {overscore (ω)}mn(k)={overscore (ω)}mn(k−1)+Δωmn and φm(nL+k)=φm(nL+k−1)+{overscore (ω)}mn(k); where {overscore (ω)}mn(0)=bmn−Δωmn/2, Δωmn=(bm(n+1)−bmn/L) and φm(nL)=amn; and further whereamn=ωmnL+½(αm(n−1)−αm(n−2)) and bmn=ωm+1/L(αm(n−1)−αm(n−2)).
- 7. The method of claim 1, wherein at least some of the nominal frequencies ωm are determined from peaks of a signal periodogram of the given signal.
- 8. The method of claim 1, wherein at least one of the nominal frequencies ωm is determined from a spectrogram of the given signal.
- 9. The method of claim 1, wherein the initial representative values for the amplitude and phase deviation parameters Am(t) and θm(t) for at least one of the nominal frequencies ωm are determined using a heterodyne filter.
- 10. The method of claim 1, wherein the initial representative values for the amplitude and phase deviation parameters Am(t) and θm(t) for at least one of the nominal frequencies ωm are determined using a cascade of lowpass filters and downsamplers.
- 11. The method of claim 1, wherein the initial representative value for the amplitude parameter Am(t) for at least one of the nominal frequencies ωm is determined by multiplying the given signal by je−jωmt, passing the multiplication result through a low pass filter, and taking the absolute value of the lowpass filter output.
- 12. The method of claim 1, wherein the initial representative value for the phase deviation parameter θm(t) for at least one of the nominal frequencies ωm is determined bymultiplying the given signal by je−jωmt; passing the multiplication result through a low pass filter to yield Am(t)ejθm(t); computing the relationship Am(t)ejθm(t)×Am(t−1)e−jθm(t−1); determining a phase difference Δθm(t) from the imaginary part of the logarithm of that relationship; and reconstructing the parameter θm(t) from the phase difference and an initial phase.
- 13. The method of claim 1, wherein the given signal is divided timewise into overlapping time duration segments and spline function fitting is performed separately for different segments.
- 14. The method of claim 1, wherein the given signal is represented by the sum of sinusoidal components and a non-sinusoidal stochastic component denoted by e(t) ∑m=1MAm(t)sin (ωmt+θm(t))+e(t).
- 15. A method for music signal processing, comprising:providing spline function coefficients Amn and αmn as parametric representations of nth data frames of mth frequency components of a sum of sinusoids representation of an electrical music signal ∑m=1MAm(t)sin (ωmt+θm(t));andsynthesizing data frames of a synthesized music signal based on the sinusoidal components; the amplitude of an mth frequency component in an nth data frame being determined by Am(nL+k)=Am(nL+k−1)+ΔAmn, where Δ Amn=Am(n+1)-AmnT,Am(nL)=Amn and L is the frame length; and the phase of the mth frequency component in the nth data frame being determined by{overscore (ω)}mn(k)={overscore (ω)}mn(k−1)+Δωmn and φm(nL+k)=φm(nL+k−1)+{overscore (ω)}mn(k); where {overscore (ω)}mn(0)=bmn−Δωmn/2, Δωmn=(bm(n+1)−bmn/L) and φm(nL)=amn; and whereamn=ωmnL+½(αm(n−1)−αm(n−2)) and bmn=ωm+1/L(αm(n−1)−αm(n−2)).
- 16. A method for an electrical music signal processing, comprising:representing a given electrical music signal by a model including a sum of sinusoidal components ∑m=1MAm(t)sin (ωmt+θm(t));the sinusoidal components being specified by amplitude parameters Am(t), nominal frequencies ωm and phase deviation parameters θm(t) (1≦m <M);determining nominal frequencies com corresponding to frequencies of the given signal; determining initial representative values for amplitude and phase deviation parameters Am(t) and θm(t) for each nominal frequency ωm using spline functions Am(t)=∑n=0NAmnΛn(t) and θm(t)=∑n=0NαmnBn(t);where a time axis of the given signal is divided into N frames (0≦n<N) and wherein the sinusoidal components are parametrically represented by the spline function coefficients Amn and αmn;applying the initial representative values in an iterative optimization procedure to obtain final amplitude and phase deviation parametrical representations Amn and αmn through minimizing differences between the given signal and the sum of sinusoidal components representation using an error function.
- 17. The method of claim 16, wherein the final parameter representations Amn and αmn are determined by minimizing the error function: (A^mn,α^mn)=arg minA^mn,α^mn∑t=0NL-1(x(t)-∑m=1MAm(t)sin (ωmt+θm(t)))2,where x(t) denotes the given signal at a sample point t and L is the frame length.
- 18. The method of claim 17, further comprisingstoring the spline function coefficients Amn and αmn; and synthesizing a signal corresponding to the given signal from the sum of sinusoidal components ∑m=1MAm(t)sin (ωmt+θm(t))using the stored spline function coefficients to develop amplitude and phase deviation coefficients of the synthesized signal.
- 19. The method of claim 18, wherein the synthesizing step comprises synthesizing a plurality of data frames of the synthesized signal; the amplitude of an mth frequency component in an nth data frame being determined byAm(nL+k)=Am(nL+k−1)+ΔAmn, where Δ Amn=Am(n+1)-AmnT,Am(nL)=Amn and L is the frame length; and the phase of the mth frequency component in the nth data frame being determined by{overscore (ω)}mn(k)={overscore (ω)}mn(k−1)+Δωmn and φm(nL+k)=φm(nL+k−1)+{overscore (ω)}mn(k); where {overscore (ω)}mn(0)=bmn−Δωmn/2, Δωmn=(bm(n+1)−bmn/L) and φm(nL)=amn; and whereamn=ωmnL+½(αm(n−1)−αm(n−2)) and bmn=ωm+1/L(αm(n−1)−αm(n−2)).
- 20. The method of claim 17, wherein the given signal is multiplied by je−jωmt; the multiplication result is passed through a low pass filter to yieldAm(t)ejθm(t); the initial representative value for the amplitude parameter Am(t) for at least one of the nominal frequencies com is determined by taking the absolute value of the lowpass filter output; and the initial representative value for the phase deviation parameter θm(t) for the at least one of the nominal frequencies ωm is determined by computing the relationshipAm(t)ejθm(t)×Am(t−1)e−jθm(t−1); determining a phase difference Δθm(t) from the imaginary part of the logarithm of that relationship; and reconstructing the parameter θm(t) from the phase difference and an initial phase.
Parent Case Info
This application claims priority under 35 U.S.C. § 119(e)(1) of provisional application Ser. No. 60/032,970 filed Dec. 13, 1996.
US Referenced Citations (5)
Provisional Applications (1)
|
Number |
Date |
Country |
|
60/032970 |
Dec 1996 |
US |