Harmonic tracking equalizer
09696962 ยท 2017-07-04
Inventors
Cpc classification
H03G5/165
ELECTRICITY
H03G5/025
ELECTRICITY
G10H2250/235
PHYSICS
International classification
Abstract
The Harmonic Tracking Equalizer (HTEq) is an apparatus for and method of carrying out harmonic tracking equalization processing of an electrical signal, and apparatuses for and methods of controlling such equalization processing of the signal to dynamically sense the time-varying spectrum of an input signal and closely match a user desired audio signal spectrum while preserving the original dynamic range of the signal. The harmonically (sub-harmonically) tracked equalization is according to a user specified spectral request specified by a control interface that allows a user to request an amount of equalization to be applied to the signal. This apparatus is intended to process audio signals; though, it has general application to waveforms of other source and higher frequency content.
Claims
1. A method of dynamically equalizing an input signal, the method comprising: one of harmonically spectrally analyzing the input signal to determine a reference frequency, harmonics of the reference frequency, and sub-harmonics of the reference frequency and non-harmonically spectrally analyzing the input signal to determine frequencies having a magnitude greater than a user defined threshold including a reference frequency wherein the reference frequency is the input signal's highest magnitude spectral frequency; creating an equalization profile based on user defined parameters for the one of the reference frequency, harmonics of the reference frequency, and sub-harmonics of the reference frequency and the frequencies having a magnitude greater than the user defined threshold, and applying the equalization profile to the input signal spectrum to dynamically equalize the input signal.
2. The method of dynamically equalizing an input signal as recited in claim 1, wherein the input signal is an audio signal.
3. The method of dynamically equalizing an input signal as recited in claim 1, enabling a user to select to one of harmonically spectrally analyzing the input signal and non-harmonically spectrally analyzing the input signal.
4. The method of dynamically equalizing an input signal as recited in claim 1, further including enabling a user to define the parameters for the one of the determined reference frequency, harmonics of the reference frequency, and sub-harmonics of the reference frequency and the determined frequencies having a magnitude greater than the user defined threshold.
5. The method of dynamically equalizing an input signal as recited in claim 1, further including enabling a user to define equalization profiles based on the reference frequency and applying an equalization profile defined by a User based on the determined reference frequency to the input signal spectrum.
6. The method of dynamically equalizing an input signal as recited in claim 1, including dynamically equalizing the input signal by applying user defined parameters to one of the determined reference frequency, harmonics of the reference frequency, and sub-harmonics of the reference frequency and the determined frequencies having a magnitude greater than the user defined threshold and applying user defined parameters to the other of the input signal spectrum.
7. The method of dynamically equalizing an input signal as recited in claim 6, wherein dynamically equalizing the input signal by applying user defined parameters to one of the determined reference frequency, harmonics of the reference frequency, and sub-harmonics of the reference frequency and the determined frequencies having a magnitude greater than the user defined threshold and applying user defined parameters to the other of the input signal spectrum includes creating an equalization profile based on user defined parameters for the one of the reference frequency, harmonics of the reference frequency, and sub-harmonics of the reference frequency and the frequencies having a magnitude greater than the user defined threshold and the user defined parameters for the other of the input signal spectrum and applying the equalization profile to the input signal spectrum.
8. The method of dynamically equalizing an input signal as recited in claim 7, wherein the user defined parameters for the other of the input signal spectrum include attenuation levels.
9. The method of dynamically equalizing an input signal as recited in claim 1, wherein the input signal is an analog audio signal and further including converting the analog audio signal to a digital audio signal.
10. A method of dynamically equalizing an input signal the method comprising: harmonically spectrally analyzing the input signal to determine a reference frequency, harmonics of the reference frequency, and sub-harmonics of the reference frequency and non-harmonically spectrally analyzing the input signal to determine frequencies having a magnitude greater than a user defined threshold including a reference frequency wherein the reference frequency is the input signal's highest magnitude spectral frequency; determining the energy content of the reference frequency, and sub-harmonics of the reference frequency and the energy content of the frequencies having a magnitude greater than a user defined threshold; creating an equalization profile based on user defined parameters for the one of the reference frequency, harmonics of the reference frequency, and sub-harmonics of the reference frequency and the frequencies having a magnitude greater than the user defined threshold having the greater energy content; and applying the equalization profile to the input signal spectrum to dynamically equalize the input signal.
11. The method of dynamically equalizing an input signal as recited in claim 10, further including enabling a user to define the parameters for the determined reference frequency, harmonics of the reference frequency, and sub-harmonics of the reference frequency and the determined frequencies having a magnitude greater than the user defined threshold.
12. The method of dynamically equalizing an input signal as recited in claim 10, dynamically equalizing the input signal by applying user defined parameters to one of the determined reference frequency, harmonics of the reference frequency, and sub-harmonics of the reference frequency and the determined frequencies having a magnitude greater than the user defined threshold having the greater energy content and applying user defined parameters to the other of the input signal spectrum.
13. The method of dynamically equalizing an input signal as recited in claim 10, wherein dynamically equalizing the input signal by applying user defined parameters to one of the determined reference frequency, harmonics of the reference frequency, and sub-harmonics of the reference frequency and the determined frequencies having a magnitude greater than the user defined threshold having the greater energy content includes creating an equalization profile based on user defined parameters for the one of the reference frequency, harmonics of the reference frequency, and sub-harmonics of the reference frequency and the frequencies having a magnitude greater than the user defined threshold having the greater energy content and (Previously Presented) user defined parameters for the other of the input signal spectrum and applying the equalization profile to the input signal spectrum.
14. The method of dynamically equalizing an input signal as recited in claim 13, wherein the user defined parameters for the other of the input signal spectrum include attenuation levels.
15. The method of dynamically equalizing an input signal as recited in claim 10, wherein the input signal is an analog audio signal and further including converting the analog audio signal to a digital audio signal.
16. A method of dynamically equalizing an audio signal, the method comprising: harmonically spectrally analyzing the audio signal to determine a reference frequency, harmonics of the reference frequency, and sub-harmonics of the reference frequency wherein the reference frequency is the audio signal's highest magnitude spectral frequency; creating an equalization profile based on user defined parameters for the reference frequency, harmonics of the reference frequency, and sub-harmonics of the reference frequency; and dynamically equalizing the audio signal by applying user defined parameters to the determined reference frequency, harmonics of the reference frequency, and sub-harmonics of the reference frequency by applying the equalization profile to the audio signal spectrum.
17. The method of dynamically equalizing an audio signal as recited in claim 16, further including enabling a user to define the parameters for the determined reference frequency, harmonics of the reference frequency, and sub-harmonics of the reference frequency.
18. The method of dynamically equalizing an audio signal as recited in claim 16, including creating an equalization profile based on user defined parameters for the reference frequency, harmonics of the reference frequency, sub-harmonics of the reference frequency, and user defined parameters for the other of the audio signal spectrum.
Description
BRIEF DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAWINGS
(1) In all figures, equalization in the form of gain is added to illustrate the detrimental effects of current equalization techniques and the advantages of the HTEq invention. Attenuation equalization may also be applied to the input signals. While, examples of attenuation are applicable and illustrate the advantages of the HTEq, the application of gain better notes the benefits of the HTEq and is used herein.
(2)
(3)
(4)
(5)
(6)
(7) In the high Q filter case, the applied spectrally narrow filter gain is applied to a component of the input signal, introducing a minimum of noise. However, the spectral placement (filter center frequency) of this filter by an operator or user is difficult to determine without instrumentation, not available on typical equipment. A wider bandwidth (low Q) filter or more than a single high Q filter is typically required.
(8) A low Q filter is applied to the input spectrum in the second case. A wider filter is typically applied to overcome an inability to accurately determine the filter spectral placement or to compensate for the non-static spectral nature of the input signal. The disadvantage of this process is the added equalized noise to the signal output.
(9)
(10)
(11)
(12)
(13)
DETAILED DESCRIPTION OF THE INVENTION
(14) Described herein is an apparatus for and improved methods of carrying out dynamic equalization processing of an audio signal and methods of controlling such equalization processing to dynamically adjust the time varying spectrum to match a user specified target audio signal spectrum with low noise content.
(15) In all cases, the HTEq only equalizes an input signal where a signal component is present in the input spectrum.
(16) In Harmonic operation, sets of Reference, Harmonic, and Sub-Harmonic input frequency components are automatically determined and noted for equalization. All other spectral regions are negated or set to a user-defined value. Once a Reference frequency is determined (for each set of frequencies) by noting the maximum magnitude component, harmonic and sub-harmonic components are readily defined for processing. A Frequency Set is determined as the set of frequency components including the Reference as well as other components having higher frequency, related by a multiple of the Reference frequency (harmonic components), and lower frequency components related by a sub-multiple (sub-harmonics). Harmonic frequency components are subjected to user-defined Bright equalization processing. Sub-harmonic frequency components are subjected to user-defined Dark equalization processing.
(17) In Non-harmonic operation, where harmonic frequency sets are not determined, the Frequency Set is determined by the existence of values exceeding a user-defined threshold. Only one Frequency Set will be defined. Like a Fundamental Frequency, a Reference Frequency is defined as the highest magnitude component and is used to demarcate between Bright and Dark equalization processing.
(18) In an automatic operation, the HTEq may be requested to self-determine the presence of a harmonic or non-harmonic spectral input. In this case, the HTEq will make this determination based upon the ratio of harmonic to non-harmonic content. Upon this determination, the HTEq will automatically switch between Harmonic and Non-harmonic operation. Automatic operation is useful in situations where the spectral content of the input signal varies between harmonic and non-harmonic content. For example, the spoken word bush contains both types of content at different times in its pronunciation. The bu sound contains harmonics in its spectral make-up, while the sh sound contains non-harmonic content. This situation requires that the HTEq automatically detect and process the equalization using the proper operation.
(19) Frequency Sets are determined at a rate significant to the sampling of the input spectra and affectivity of equalization.
(20) Also, the HTEq has a unique ability to equalize an input signal while negating noise.
(21) Equalization profiles are user-defined or preset. They can be of any arbitrary spectral envelope and are separate for brightening (Bright Eq Profile) and darkening (Dark Eq Profile) the input signal. The user defines gain and attenuation equalization profiles. Because arbitrary equalization profiles are possible, it is notable that the HTEq is capable of emulating Shelving and Parametric filter techniques, as shown in
(22) In either Harmonic or Non-harmonic operation, the Reference of each Frequency Set tracks the input, resulting in a non-stationary Reference frequency component. Equalization profiles are anchored, to that frequency.
(23) Upon definition of these sets of components and the equalization profile, the equalization is accomplished via Convolution Filtering in the Frequency Domain. The input spectrum undergoes a complex convolution with the equalization profile. A common Digital Signal Processing method, such as Overlap and Add, is then performed to transform the resulting signal information to the Time Domain where it is then used to develop an analog or digital signal for output.
(24) Summarizing, the issues with traditional equalizers are detrimental added noise, static equalization in a non-static environment, and the choice of user-defined equalizer parameters is not intuitive. Each of these issues result in an output that is not as pure as needed when considering audio implementations. The HTEq addresses each of these issues.
(25) The HTEq is able to negate input signal spectrum noise by attenuating the spectral regions where no signal of interest is determined to exist. It accomplishes this by setting those spectral regions in the equalization profile to a user-defined degree of attenuation. This process is accomplished in the Frequency Domain and is then realized in the Convolution Filtering. The HTEq addresses the non-static input signal by repeated spectrum definition and equalization processing at a rate faster than the input spectrum is able to change. In this manner, current frequency components of the input signal are identified as the input spectrum character undergoes change. At any given time, the desired equalization is applied to the input signal per a desired equalization profile. The user defines the nature of the audio output in terms of Bright and Dark parameters, while the HTEq continually tracks the input to deliver the desired audio output. The user is not encumbered with continually changing equalization parameter definition and a superior audio output is produced.
(26) This HTEq functionally consists of Input Buffer/Signal Conditioning, Analog to Digital Conversion, Spectrum Definition, Spectrum Analysis, Equalization Definition, Convolution Filter, Temporal Construction, Digital to Analog Conversion, and Output Buffer/Signal Conditioning. Also, ancillary functions for Control/Status and Storage/Recall are included. A functional diagram is shown in
(27) Input Buffer/Signal Conditioning:
(28) The Input Buffer/Signal Conditioning supplies the input to further processing. It buffers the input signal, including impedance matching, in order that the apparatus does not provide a significant electrical load to the source. It negates out-of-band noise, typically less than 20 Hz and greater than 20 kHz. It also contains the ability to negate AC power frequencies, 50/60 Hz. These abilities will severely attenuate low-end rumble and high frequency noise beyond the audible range that will adversely affect the output. It also accepts digital signals of defined format, optionally filtering these signals as in the analog domain. An automatic or operator selected choice of analog or digital input is then passed for further processing.
(29) Analog to Digital Conversion:
(30) The conversion of analog signals to the digital domain follows. A conversion of the analog input signal to the digital domain using an Analog-to-Digital Converter is accomplished.
(31) Spectrum Definition:
(32) A Spectrum Definition is then calculated for the current input data, typically accomplished using a Fast Fourier Transform (FFT) algorithm.
(33) Spectrum Analysis:
(34) In the case of Harmonic operation, an analysis of the Spectral Definition is accomplished to determine the current Frequency Set(s); Reference, Harmonic, and Sub-Harmonic frequencies in the current input data. In Non-harmonic operation, a Reference Frequency is determined by examination of the spectra data for maximum values. A threshold is first applied to the spectral data to negate noise components and avoid false or unnecessary processing.
(35) Spectral frequency/magnitude thresholds are optionally applied to reduce spectral components that are determined to be audibly nonessential or to reduce processing requirements.
(36) Equalization Definition:
(37) Once the Frequency Set(s) (Harmonic operation) or a Reference Frequency (Non-harmonic operation) is defined, input parameters from a local or remote control interface specify the requested equalization in terms of an integer scale (e.g. 10 to +10). Each scale choice defines a previously determined arbitrary equalization profile. Zero would indicate a bypass equalization request. Requested equalization control parameters are provided for Bright and Dark. With this information, a Gain/Attenuation value is associated with each signal component. Other frequency components are set to 0 (dB) or a user-defined value. A full spectrum equalization profile is thus defined. It is noted that the equalization profiles may differ by scale type (Dark, Bright) or integer scale choice.
(38) Optionally, with the provided input of amplitude, the apparatus is automatically capable of choice of user-defined Equalization Profile based upon input magnitude and spectral position. As an example, this operation may be used to compensate for necessary equalization as defined in the Fletcher-Munson curves. This set of curves defines hearing perception vs. loudness. To maintain a desired equalization at all sound levels, it is necessary to modify the equalization in order to perceive a constant equalization across all loudness levels. To accomplish this, at low volume levels, it is necessary to either boost low and high spectral frequencies or attenuate mid frequencies. The opposite is applicable at high loudness levels. This is useful for live, playback, and studio environments.
(39) Convolution Filter:
(40) The input spectrum and the Equalization Spectrum are convolved in the Frequency Domain using a Convolution Filter algorithm.
(41) Temporal Construction:
(42) An Inverse Fast Fourier Transform (IFFT) algorithm is then performed on the spectral data determined in the Convolution Filter block. For real-time operation, a method such as the Overlap and Add technique is used, resulting in equalized audio digital data in the Time Domain. For non-real time operation, simpler temporal construction techniques may be implemented.
(43) Digital to Analog Conversion:
(44) Where required, the temporal digital data is converted to an analog signal.
(45) Output Buffer/Signal Conditioning:
(46) The resultant signal (analog or digital) is electrically buffered and filtered accordingly for output.
(47) Control/Status and Storage/Recall:
(48) Interfaces for local/remote control and status are provided.
(49) In addition, provision is made for the saving and recall of configuration data. An interface to back-Up and archive this data to an external device is also provided.