CN112735453B - Audio signal processing method and device - Google Patents

Audio signal processing method and device Download PDF

Info

Publication number
CN112735453B
CN112735453B CN202011572550.2A CN202011572550A CN112735453B CN 112735453 B CN112735453 B CN 112735453B CN 202011572550 A CN202011572550 A CN 202011572550A CN 112735453 B CN112735453 B CN 112735453B
Authority
CN
China
Prior art keywords
signal
harmonic
audio
compensation coefficient
fundamental wave
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011572550.2A
Other languages
Chinese (zh)
Other versions
CN112735453A (en
Inventor
李锡广
李振
王蕊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
KT MICRO Inc
Original Assignee
KT MICRO Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by KT MICRO Inc filed Critical KT MICRO Inc
Priority to CN202011572550.2A priority Critical patent/CN112735453B/en
Publication of CN112735453A publication Critical patent/CN112735453A/en
Application granted granted Critical
Publication of CN112735453B publication Critical patent/CN112735453B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L21/00Speech or voice signal processing techniques to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
    • G10L21/02Speech enhancement, e.g. noise reduction or echo cancellation
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L21/00Speech or voice signal processing techniques to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
    • G10L21/003Changing voice quality, e.g. pitch or formants
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L21/00Speech or voice signal processing techniques to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
    • G10L21/003Changing voice quality, e.g. pitch or formants
    • G10L21/007Changing voice quality, e.g. pitch or formants characterised by the process used
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/78Detection of presence or absence of voice signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2430/00Signal processing covered by H04R, not provided for in its groups
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E40/00Technologies for an efficient electrical power generation, transmission or distribution
    • Y02E40/40Arrangements for reducing harmonics

Landscapes

  • Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The embodiment of the application provides an audio signal processing method and device, wherein the audio signal processing method comprises the following steps: receiving a single-tone test signal; acquiring fundamental wave signals and harmonic wave signals included in the single-tone test signals; determining a harmonic compensation coefficient according to the fundamental wave signal and the harmonic signal; and carrying out harmonic compensation processing on the audio input signal according to the harmonic compensation coefficient to obtain an audio digital signal. It can be seen that implementing this embodiment can reduce the interference caused by harmonics to the audio output effect, thereby improving the audio output effect.

Description

Audio signal processing method and device
Technical Field
The present application relates to the field of audio processing technologies, and in particular, to an audio signal processing method and apparatus.
Background
Harmonic distortion refers to harmonic components of an output signal that are greater than an input signal, and such harmonics can cause a substantial reduction in the audio output effects of an audio system. Therefore, how to solve such a problem of decreasing the output of the audio effect due to the harmonics becomes one of the problems to be solved by engineers.
Disclosure of Invention
An object of the embodiments of the present application is to provide an audio signal processing method and apparatus, which can reduce interference caused by harmonic waves to an audio output effect, thereby improving the audio output effect.
A first aspect of an embodiment of the present application provides an audio signal processing method, including:
receiving a single-tone test signal;
acquiring fundamental wave signals and harmonic wave signals included in the single-tone test signals;
determining a harmonic compensation coefficient according to the fundamental wave signal and the harmonic signal;
and carrying out harmonic compensation processing on the audio input signal according to the harmonic compensation coefficient to obtain an audio digital signal.
In the implementation process, the audio signal processing method can preferentially receive the single-tone test signal; then acquiring fundamental wave signals and harmonic wave signals included in the single-tone test signals; then, according to the fundamental wave signal and the harmonic wave signal, determining a harmonic wave compensation coefficient; and finally, carrying out harmonic compensation processing on the audio input signal according to the harmonic compensation coefficient to obtain an audio digital signal. Therefore, by implementing the implementation mode, the harmonic compensation coefficient can be determined, and harmonic compensation processing is carried out on the input digital signal according to the harmonic compensation coefficient, so that a better-quality audio digital signal is obtained, interference of harmonic waves on an audio output effect can be reduced, and the audio output effect is improved.
Further, the method further comprises:
performing digital-to-analog conversion on the audio digital signal to obtain an audio analog signal;
outputting the audio analog signal.
In the implementation process, the method can perform digital-to-analog conversion on the audio digital signal after the audio digital signal is acquired, so as to obtain an audio analog signal to be output. It can be seen that by implementing this embodiment, the digital-to-analog conversion operation can be performed after the harmonic compensation is performed on the digital signal, so that the THD index can be improved by applying the compensation amount in advance by using a software/digital means without changing the chip structure and the hardware circuit.
Further, the step of determining a harmonic compensation coefficient from the fundamental wave signal and the harmonic wave signal includes:
calculating fundamental wave signal amplitude according to the fundamental wave signals, and calculating harmonic wave signal amplitude according to the harmonic wave signals;
and calculating according to the fundamental wave signal amplitude and the harmonic wave signal amplitude to obtain a harmonic wave compensation coefficient.
In the implementation process, the method can calculate the fundamental wave signal amplitude and the harmonic wave signal amplitude preferentially, and then determine the harmonic wave compensation coefficient according to the ratio between the fundamental wave signal amplitude and the harmonic wave signal amplitude. It can be seen that by implementing this embodiment, the most suitable harmonic compensation coefficient can be determined according to the actual situation, thereby improving the accuracy of the audio signal processing.
Further, the step of performing harmonic compensation processing on the audio input signal according to the harmonic compensation coefficient to obtain an audio digital signal includes:
performing compensation effect test according to the single-tone test signal and the harmonic compensation coefficient to obtain a test result;
adjusting the harmonic compensation coefficient according to the test result to obtain an adjustment compensation coefficient;
and carrying out harmonic compensation processing on the audio input signal according to the adjustment compensation coefficient to obtain an audio digital signal.
In the implementation process, the method can adjust the sign of the harmonic compensation coefficient according to the test result obtained by retesting, so that the method can use the adjusted harmonic compensation coefficient to carry out more accurate harmonic compensation processing. It can be seen that implementing this embodiment can improve the effect of harmonic compensation and thus the effect of the final audio output.
Further, the harmonic signals include at least a fifth harmonic sub-signal, a fourth harmonic sub-signal, a third harmonic sub-signal, and a second harmonic sub-signal.
In the implementation process, the method can process the signals of the harmonics within five times, and particularly, the method can convert the harmonics within five times into the higher term, so that the harmonic interference is greatly reduced, the harmonic compensation effect is further improved, and the audio signal processing effect is further improved.
A second aspect of the embodiments of the present application provides an audio signal processing apparatus, including:
a receiving unit for receiving a single tone test signal;
an acquisition unit configured to acquire a fundamental wave signal and a harmonic wave signal included in the tone test signal;
a determining unit configured to determine a harmonic compensation coefficient based on the fundamental wave signal and the harmonic signal;
and the processing unit is used for carrying out harmonic compensation processing on the audio input signal according to the harmonic compensation coefficient to obtain an audio digital signal.
In the above implementation, the audio signal processing apparatus may receive the tone test signal through the receiving unit; acquiring fundamental wave signals and harmonic wave signals included in the single-tone test signals through an acquisition unit; determining, by a determining unit, a harmonic compensation coefficient from the fundamental wave signal and the harmonic signal; and carrying out harmonic compensation processing on the audio input signal according to the harmonic compensation coefficient through a processing unit to obtain an audio digital signal. Therefore, by implementing the implementation mode, the harmonic compensation coefficient can be determined, and harmonic compensation processing is carried out on the input digital signal according to the harmonic compensation coefficient, so that a better-quality audio digital signal is obtained, interference of harmonic waves on an audio output effect can be reduced, and the audio output effect is improved.
Further, the audio signal processing apparatus further includes:
the conversion unit is used for performing digital-to-analog conversion on the audio digital signal to obtain an audio analog signal;
and the output unit is used for outputting the audio analog signal.
In the implementation process, the device can determine the most suitable harmonic compensation coefficient according to the actual situation, so that the accuracy of audio signal processing is improved.
Further, the determining unit includes:
a first subunit, configured to calculate a fundamental wave signal amplitude according to the fundamental wave signal, and calculate a harmonic wave signal amplitude according to the harmonic wave signal;
and the second subunit is used for calculating according to the fundamental wave signal amplitude and the harmonic wave signal amplitude to obtain a harmonic wave compensation coefficient.
In the implementation process, the device can improve the effect of harmonic compensation, thereby improving the effect of final audio output.
A third aspect of the embodiments of the present application provides an electronic device, including a memory and a processor, where the memory is configured to store a computer program, and the processor is configured to execute the computer program to cause the electronic device to perform the audio signal processing method according to any one of the first aspect of the embodiments of the present application.
A fourth aspect of the embodiments of the present application provides a computer readable storage medium storing computer program instructions which, when read and executed by a processor, perform the method for processing an audio signal according to any one of the first aspect of the embodiments of the present application.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flow chart of an audio signal processing method according to an embodiment of the present application;
fig. 2 is a flowchart of another audio signal processing method according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of an audio signal processing apparatus according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of another audio signal processing apparatus according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only to distinguish the description, and are not to be construed as indicating or implying relative importance.
Example 1
Referring to fig. 1, fig. 1 is a flowchart of an audio signal processing method according to an embodiment of the present application. The audio signal processing method comprises the following steps:
s101, receiving a single-tone test signal.
In this embodiment, before the implementation of the method in the flow, load mounting may be performed preferentially according to the actual situation, so that the Driver mounting of the DAC is the same as the load of the application scenario, so as to avoid different THD (total harmonic distortion) situations caused by different loads.
In this embodiment, the single tone test signal received by the method may be a 1kHz digital signal.
S102, fundamental wave signals and harmonic wave signals included in the single-tone test signals are acquired.
In this embodiment, the harmonic signal includes at least a fifth harmonic sub-signal, a fourth harmonic sub-signal, a third harmonic sub-signal, and a second harmonic sub-signal.
In this embodiment, the method may set all compensation coefficients within 5 th harmonic to 0 preferentially, and then collect its output with a signal testing device, and measure and calculate its fundamental wave signal amplitude and 5 th harmonic amplitude. And finally, calculating the compensation coefficient by using the ratio of the two signals.
In the present embodiment, the compensation coefficient corresponds to the harmonic signal, and the fifth harmonic signal corresponds to the fifth compensation coefficient C 5 The third harmonic signal corresponds to a third compensation coefficient C 3
S103, determining harmonic compensation coefficients according to the fundamental wave signals and the harmonic signals.
As an alternative embodiment, the method may calibrate the 5 th harmonic, the 4 th harmonic, the 3 rd harmonic, the 2 nd harmonic in sequence, and thus the step may include:
and determining a fifth harmonic compensation coefficient, a fourth harmonic compensation coefficient, a third harmonic compensation coefficient and a second harmonic compensation coefficient according to the fundamental wave signal and the harmonic signal.
In this embodiment, in the process of configuring the compensation coefficient, except for the compensation coefficient being 0 when the highest harmonic is calibrated for the first time, for the subsequent low harmonic calibration, the correct high harmonic compensation coefficient obtained should be reserved, and the rest is set to 0, and the compensation coefficients of all high harmonics are obtained based on the correct high harmonic compensation coefficient.
S104, carrying out harmonic compensation processing on the audio input signal according to the harmonic compensation coefficient to obtain an audio digital signal.
In this embodiment, the method can consider the dominant harmonic order affecting THD during calibration, and is focused on the implementation, without strictly compensating all harmonics step by step.
In this embodiment, the audio digital signal may be the sum of the audio input signal and the audio harmonic signal, and the formula is as follows:
Figure BDA0002861400590000061
wherein, the liquid crystal display device comprises a liquid crystal display device,
Figure BDA0002861400590000062
is->
Figure BDA0002861400590000063
Effective values of the n-th harmonic components of (a);
C n for inputting signals
Figure BDA0002861400590000064
To the n-th power amplitude coefficient;
V out is an audio digital signal;
V in is an audio input signal.
In this embodiment of the present application, the execution subject of the method may be a computing device such as a computer or a server, which is not limited in this embodiment.
In this embodiment of the present application, the execution body of the method may also be an intelligent device such as a smart phone, a tablet computer, and the like, which is not limited in this embodiment.
It can be seen that, by implementing the audio signal processing method described in this embodiment, a single-tone test signal can be preferentially received; then acquiring fundamental wave signals and harmonic wave signals included in the single-tone test signals; then, according to the fundamental wave signal and the harmonic wave signal, determining a harmonic wave compensation coefficient; and finally, carrying out harmonic compensation processing on the audio input signal according to the harmonic compensation coefficient to obtain an audio digital signal. Therefore, by implementing the implementation mode, the harmonic compensation coefficient can be determined, and harmonic compensation processing is carried out on the input digital signal according to the harmonic compensation coefficient, so that a better-quality audio digital signal is obtained, interference of harmonic waves on an audio output effect can be reduced, and the audio output effect is improved.
Example 2
Referring to fig. 2, fig. 2 is a flowchart of an audio signal processing method according to an embodiment of the present application. As shown in fig. 2, the audio signal processing method includes:
s201, receiving a single-tone test signal.
In this embodiment, before the implementation of the method in the flow, load mounting may be performed preferentially according to the actual situation, so that the Driver mounting of the DAC is the same as the load of the application scenario, so as to avoid different THD (total harmonic distortion) situations caused by different loads.
In this embodiment, the single tone test signal received by the method may be a 1kHz digital signal.
S202, fundamental wave signals and harmonic wave signals included in the single-tone test signals are acquired.
In this embodiment, the harmonic signal includes at least a fifth harmonic sub-signal, a fourth harmonic sub-signal, a third harmonic sub-signal, and a second harmonic sub-signal.
S203, calculating fundamental wave signal amplitude according to the fundamental wave signals, and calculating harmonic wave signal amplitude according to the harmonic wave signals.
S204, calculating according to the fundamental wave signal amplitude and the harmonic wave signal amplitude to obtain a harmonic wave compensation coefficient.
And S205, performing compensation effect test according to the single-tone test signal and the harmonic compensation coefficient to obtain a test result.
In this embodiment, the method may write in the harmonic compensation coefficient (e.g., 5 th harmonic compensation coefficient), set all the other coefficients to 0, and then calculate the fundamental wave signal amplitude and the harmonic signal amplitude according to the received single-tone test signal.
S206, adjusting the harmonic compensation coefficient according to the test result to obtain an adjustment compensation coefficient.
In the embodiment, when the amplitude of the harmonic signal is obviously reduced, the harmonic compensation coefficient is determined to be correct, and adjustment is not needed; when the amplitude of the harmonic signal is not reduced, the harmonic compensation coefficient is adjusted, specifically, the harmonic compensation coefficient may be negatively adjusted (the sign of the harmonic compensation coefficient is adjusted to be negative).
S207, carrying out harmonic compensation processing on the audio input signal according to the adjustment compensation coefficient to obtain an audio digital signal.
S208, performing digital-to-analog conversion on the audio digital signal to obtain an audio analog signal.
S209, outputting an audio analog signal.
In this embodiment, the audio signal processing method may also be performed by a set of audio signal processing systems, where the audio signal processing systems may protect the device to be calibrated, the test device, and the control device.
In this embodiment, the tone test signal is output by the device being calibrated (chip or audio system).
In this embodiment, the calibrated device may receive the audio input signal and adjust the compensation factor (i.e., C n ) And carrying out harmonic compensation processing according to the audio input signal and the adjustment compensation coefficient by an internal signal processing unit in the calibrated equipment to obtain a sum signal formed by the original signal and the predistortion signal, then outputting the sum signal to a digital-to-analog converter included in the calibrated equipment to carry out digital-to-analog conversion, and finally outputting the converted audio analog signal by a driver included in the calibrated equipment.
In this embodiment, the test device can collect a single-tone test signal (1 kHz digital signal) output by the calibrated device, determine a fundamental wave signal and a harmonic wave signal according to the single-tone test signal, analyze the amplitude of the fundamental wave signal and the amplitude of the harmonic wave signal, and further obtain a final test result to determine an adjustment compensation coefficient.
In this embodiment, the control device is configured to control the testing device to perform testing and calculation, and feed back the adjustment compensation coefficient to the calibrated device.
In this embodiment, a closed loop test system may be formed in the above system, so as to implement cyclic calibration, and further obtain each subharmonic calibration coefficient one by one.
In this embodiment, the processing device for an audio signal may include three modules, namely an audio module, a processing module, and a control module. The audio module may be the calibrated device, and when the harmonic compensation parameter adjustment is required, the calibrated device is placed into the processing device of the audio signal to perform the operation of adjusting the corresponding harmonic compensation parameter; the calibrated device may be used alone for outputting the audio signal when the calibrated device does not need to adjust the harmonic compensation parameters. Accordingly, the processing module may be the testing device, which may perform testing, calculating, and other processes on the calibrated device located in the audio module. And, the control module may be the control device described above, and the control device may perform corresponding control on the test device in the processing module and the calibrated device in the audio module. Meanwhile, the processing device of the audio signal can be extremely understood as a processing device which can output the audio signal and can perform on-line processing on the audio signal and control the playing.
Therefore, by implementing the audio signal processing method described in this embodiment, the harmonic compensation coefficient can be determined, and harmonic compensation processing is performed on the input digital signal according to the harmonic compensation coefficient, so as to obtain a better audio digital signal, thereby reducing interference caused by harmonic on the audio output effect, and further improving the audio output effect.
Example 3
Referring to fig. 3, fig. 3 is a schematic structural diagram of an audio signal processing apparatus according to an embodiment of the present application. As shown in fig. 3, the audio signal processing apparatus includes:
a receiving unit 310 for receiving a tone test signal;
an acquisition unit 320 for acquiring fundamental wave signals and harmonic wave signals included in the monophonic test signals;
a determining unit 330 for determining a harmonic compensation coefficient based on the fundamental wave signal and the harmonic wave signal;
the processing unit 340 is configured to perform harmonic compensation processing on the audio input signal according to the harmonic compensation coefficient, so as to obtain an audio digital signal.
In this embodiment of the present application, the explanation of the audio signal processing apparatus may refer to the description in embodiment 1 or embodiment 2, and a detailed description is not repeated in this embodiment.
Therefore, by implementing the audio signal processing device described in this embodiment, the harmonic compensation coefficient can be determined, and harmonic compensation processing is performed on the input digital signal according to the harmonic compensation coefficient, so as to obtain a better audio digital signal, thereby reducing interference caused by harmonic on the audio output effect, and further improving the audio output effect.
Example 4
Referring to fig. 4, fig. 4 is a schematic structural diagram of an audio signal processing apparatus according to an embodiment of the present disclosure. The audio signal processing device shown in fig. 4 is optimized by the audio signal processing device shown in fig. 3. As shown in fig. 4, the audio signal processing apparatus further includes:
a conversion unit 350, configured to perform digital-to-analog conversion on the audio digital signal to obtain an audio analog signal;
and an output unit 360 for outputting an audio analog signal.
As an alternative embodiment, the determining unit 330 includes:
a first subunit 331 for calculating a fundamental wave signal amplitude from the fundamental wave signal, and calculating a harmonic wave signal amplitude from the harmonic wave signal;
the second subunit 332 is configured to calculate a harmonic compensation coefficient according to the fundamental wave signal amplitude and the harmonic signal amplitude.
As an alternative embodiment, the processing unit 340 includes:
a third subunit 341, configured to perform a compensation effect test according to the tone test signal and the harmonic compensation coefficient, to obtain a test result;
a fourth subunit 342, configured to adjust the harmonic compensation coefficient according to the test result, so as to obtain an adjusted compensation coefficient;
the fifth subunit 343 is configured to perform harmonic compensation processing on the audio input signal according to the adjustment compensation coefficient to obtain an audio digital signal.
As an alternative embodiment, the harmonic signals include at least a fifth harmonic sub-signal, a fourth harmonic sub-signal, a third harmonic sub-signal, and a second harmonic sub-signal.
In this embodiment of the present application, the explanation of the audio signal processing apparatus may refer to the description in embodiment 1 or embodiment 2, and a detailed description is not repeated in this embodiment.
Therefore, by implementing the audio signal processing device described in this embodiment, the harmonic compensation coefficient can be determined, and harmonic compensation processing is performed on the input digital signal according to the harmonic compensation coefficient, so as to obtain a better audio digital signal, thereby reducing interference caused by harmonic on the audio output effect, and further improving the audio output effect.
An embodiment of the present application provides an electronic device, including a memory for storing a computer program, and a processor that executes the computer program to cause the electronic device to execute any one of the audio signal processing methods of embodiment 1 or embodiment 2 of the present application.
The present embodiments provide a computer readable storage medium storing computer program instructions that, when read and executed by a processor, perform the audio signal processing method of any one of embodiment 1 or embodiment 2 of the present application.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other manners as well. The apparatus embodiments described above are merely illustrative, for example, flow diagrams and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, the functional modules in the embodiments of the present application may be integrated together to form a single part, or each module may exist alone, or two or more modules may be integrated to form a single part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely exemplary embodiments of the present application and is not intended to limit the scope of the present application, and various modifications and variations may be suggested to one skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application. It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures.
The foregoing is merely specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the present application, and the changes and substitutions are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.

Claims (9)

1. An audio signal processing method, comprising:
receiving a single-tone test signal;
acquiring fundamental wave signals and harmonic wave signals included in the single-tone test signals;
determining a harmonic compensation coefficient according to the fundamental wave signal and the harmonic signal;
carrying out harmonic compensation processing on the audio input signal according to the harmonic compensation coefficient to obtain an audio digital signal;
the step of performing harmonic compensation processing on the audio input signal according to the harmonic compensation coefficient to obtain an audio digital signal comprises the following steps:
performing compensation effect test according to the single-tone test signal and the harmonic compensation coefficient to obtain a test result;
adjusting the harmonic compensation coefficient according to the test result to obtain an adjustment compensation coefficient;
and carrying out harmonic compensation processing on the audio input signal according to the adjustment compensation coefficient to obtain an audio digital signal.
2. The audio signal processing method according to claim 1, characterized in that the method further comprises:
performing digital-to-analog conversion on the audio digital signal to obtain an audio analog signal;
outputting the audio analog signal.
3. The audio signal processing method according to claim 1, wherein the step of determining a harmonic compensation coefficient from the fundamental wave signal and the harmonic wave signal includes:
calculating fundamental wave signal amplitude according to the fundamental wave signals, and calculating harmonic wave signal amplitude according to the harmonic wave signals;
and calculating according to the fundamental wave signal amplitude and the harmonic wave signal amplitude to obtain a harmonic wave compensation coefficient.
4. The audio signal processing method of claim 1, wherein the harmonic signal comprises at least a fifth harmonic sub-signal, a fourth harmonic sub-signal, a third harmonic sub-signal, and a second harmonic sub-signal.
5. An audio signal processing apparatus, characterized in that the audio signal processing apparatus comprises:
a receiving unit for receiving a single tone test signal;
an acquisition unit configured to acquire a fundamental wave signal and a harmonic wave signal included in the tone test signal;
a determining unit configured to determine a harmonic compensation coefficient based on the fundamental wave signal and the harmonic signal;
the processing unit is used for carrying out harmonic compensation processing on the audio input signal according to the harmonic compensation coefficient to obtain an audio digital signal;
wherein the processing unit comprises:
the third subunit is used for carrying out compensation effect test according to the single-tone test signal and the harmonic compensation coefficient to obtain a test result;
the fourth subunit is used for adjusting the harmonic compensation coefficient according to the test result to obtain an adjusted compensation coefficient;
and the fifth subunit is used for carrying out harmonic compensation processing on the audio input signal according to the adjustment compensation coefficient to obtain an audio digital signal.
6. The audio signal processing apparatus according to claim 5, further comprising:
the conversion unit is used for performing digital-to-analog conversion on the audio digital signal to obtain an audio analog signal;
and the output unit is used for outputting the audio analog signal.
7. The audio signal processing apparatus according to claim 5, wherein the determination unit includes:
a first subunit, configured to calculate a fundamental wave signal amplitude according to the fundamental wave signal, and calculate a harmonic wave signal amplitude according to the harmonic wave signal;
and the second subunit is used for calculating according to the fundamental wave signal amplitude and the harmonic wave signal amplitude to obtain a harmonic wave compensation coefficient.
8. An electronic device comprising a memory for storing a computer program and a processor that runs the computer program to cause the electronic device to perform the audio signal processing method of any one of claims 1 to 4.
9. A readable storage medium, characterized in that the readable storage medium has stored therein computer program instructions, which when read and executed by a processor, perform the audio signal processing method of any of claims 1 to 4.
CN202011572550.2A 2020-12-25 2020-12-25 Audio signal processing method and device Active CN112735453B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011572550.2A CN112735453B (en) 2020-12-25 2020-12-25 Audio signal processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011572550.2A CN112735453B (en) 2020-12-25 2020-12-25 Audio signal processing method and device

Publications (2)

Publication Number Publication Date
CN112735453A CN112735453A (en) 2021-04-30
CN112735453B true CN112735453B (en) 2023-05-19

Family

ID=75616951

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011572550.2A Active CN112735453B (en) 2020-12-25 2020-12-25 Audio signal processing method and device

Country Status (1)

Country Link
CN (1) CN112735453B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102547517A (en) * 2011-12-30 2012-07-04 Tcl集团股份有限公司 Bass signal harmonic generating method and device and sound playing equipment
CN104917913A (en) * 2014-03-12 2015-09-16 领特德国公司 Device and method for hum signal compensation in analog telephony signals
CN108600915A (en) * 2018-08-09 2018-09-28 歌尔科技有限公司 A kind of method, apparatus of audio output, harmonic distortion filtering equipment and terminal
CN110708082A (en) * 2019-10-10 2020-01-17 中科睿微(宁波)电子技术有限公司 Wireless communication transmitter and transmitting method
CN110875049A (en) * 2019-10-25 2020-03-10 腾讯科技(深圳)有限公司 Voice signal processing method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5143748B2 (en) * 2006-12-27 2013-02-13 シャープ株式会社 ΔΣ modulation type digital-analog converter, digital signal processing method, and AV apparatus
JP2010117338A (en) * 2008-10-16 2010-05-27 Advantest Corp Signal processing device, test system, distortion detection device, signal compensation device, analysis signal generator, program, storage medium, distortion detection method, signal compensation method, and analysis signal generation method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102547517A (en) * 2011-12-30 2012-07-04 Tcl集团股份有限公司 Bass signal harmonic generating method and device and sound playing equipment
CN104917913A (en) * 2014-03-12 2015-09-16 领特德国公司 Device and method for hum signal compensation in analog telephony signals
CN108600915A (en) * 2018-08-09 2018-09-28 歌尔科技有限公司 A kind of method, apparatus of audio output, harmonic distortion filtering equipment and terminal
CN110708082A (en) * 2019-10-10 2020-01-17 中科睿微(宁波)电子技术有限公司 Wireless communication transmitter and transmitting method
CN110875049A (en) * 2019-10-25 2020-03-10 腾讯科技(深圳)有限公司 Voice signal processing method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于谐波重建的语音增强算法的研究;胡定禹等;《信息技术》;20171130;第112-116、120页 *
声频定向扬声器DSB算法的谐波失真;陈敏等;《电子科技大学学报》;20081130(第06期);第155-158页 *

Also Published As

Publication number Publication date
CN112735453A (en) 2021-04-30

Similar Documents

Publication Publication Date Title
US9564876B2 (en) Digital compensation for a non-linear analog receiver
US7348908B2 (en) Linearity corrector using filter products
CN104426495A (en) Audio Signal Processing Apparatus, Method, And Program
CN102045621B (en) Sound processing apparatus and sound processing method
Orcioni et al. Identification of Volterra models of tube audio devices using multiple-variance method
CN110618316A (en) Harmonic source identification method and device, terminal equipment and storage medium
CN111896802B (en) Frequency self-adaptive sampling method
Samoylov et al. The function approximation of the signal delay time in the anti-alias filter of the A/D interface of the instrumentation and control system
US8750532B2 (en) Zoom motor noise reduction for camera audio recording
CN112735453B (en) Audio signal processing method and device
CN108631781B (en) Method and apparatus for determining nonlinearity of a mode/digital converter
US20150180495A1 (en) Converter arrangement and method for converting an analogue input signal into a digital output signal
CN111988046B (en) Nonlinear system correction method and device and electronic equipment
CN114866089A (en) Offset voltage elimination circuit, method, reading circuit, device and equipment
CN115494303A (en) EMI receiver signal conversion method, device and storage medium
US8531223B2 (en) Signal generator
Renczes et al. A computationally efficient non‐iterative four‐parameter sine fitting method
CN110958553A (en) Audio calibration method and device and test machine
CN106341093B (en) A kind of digital signal gain control method and device
CN110068728B (en) Method and device for determining pulse modulation signal phase spectrum and computer equipment
CN113514686B (en) Method, device, equipment and storage medium for detecting voltage fundamental wave amplitude
CN118294063A (en) Dynamic compensation method and related device for force sensor
Nalepa Correction of Dynamic Error by the „Blind” Method. A Differential Algorithm Simulation Study
WO2021134359A1 (en) Motor steady-state single-frequency distortion compensation method and apparatus
CN117674187A (en) Voltage excitation signal amplitude adjusting method suitable for reverse impedance modeling

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant