CN109246573B - Method and device for measuring frequency response characteristic of audio system - Google Patents

Method and device for measuring frequency response characteristic of audio system Download PDF

Info

Publication number
CN109246573B
CN109246573B CN201811169589.2A CN201811169589A CN109246573B CN 109246573 B CN109246573 B CN 109246573B CN 201811169589 A CN201811169589 A CN 201811169589A CN 109246573 B CN109246573 B CN 109246573B
Authority
CN
China
Prior art keywords
frequency response
response curve
sound
curve
environmental noise
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
CN201811169589.2A
Other languages
Chinese (zh)
Other versions
CN109246573A (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.)
Yinwang (Beijing) Information Technology Research Institute Co.,Ltd.
Original Assignee
Beijing Zhushengchang Media Technology Co ltd
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 Beijing Zhushengchang Media Technology Co ltd filed Critical Beijing Zhushengchang Media Technology Co ltd
Priority to CN201811169589.2A priority Critical patent/CN109246573B/en
Publication of CN109246573A publication Critical patent/CN109246573A/en
Application granted granted Critical
Publication of CN109246573B publication Critical patent/CN109246573B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R29/00Monitoring arrangements; Testing arrangements
    • H04R29/001Monitoring arrangements; Testing arrangements for loudspeakers

Landscapes

  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Otolaryngology (AREA)
  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Measurement Of Mechanical Vibrations Or Ultrasonic Waves (AREA)

Abstract

The invention relates to the technical field of sound wave processing, in particular to a method and a device for measuring the frequency response characteristic of an audio system, which comprises the following steps: taking n from 1 in sequence, placing the sound receiving equipment at the ith position of the target measurement area, and executing the following steps 101-103: step 101: acquiring an environmental noise signal under the condition that the first sound generating equipment and the second sound generating equipment are in a mute state; step 102: acquiring a first-direction audio signal under the condition that only first sound-emitting equipment emits first-direction frequency sweep sound; step 103: acquiring a second-direction audio signal under the condition that only the second sound generating equipment emits second-direction frequency sweep sound; respectively correspondingly converting the environmental noise signal, the first direction audio signal and the second direction audio signal into an environmental noise frequency response curve, a first direction frequency response curve and a second direction frequency response curve; and obtaining a first direction denoising frequency response curve and a second direction denoising frequency response curve, and obtaining the frequency response characteristic of the target audio system.

Description

Method and device for measuring frequency response characteristic of audio system
Technical Field
The invention relates to the technical field of sound wave processing, in particular to a method and a device for measuring frequency response characteristics of an audio system.
Background
The space in which the sound waves propagate is called the sound field. The sound field is divided into a free sound field and a closed space sound field. A sound field in which a sound source radiates in a space surrounded by interfaces having different acoustic impedances is called a closed space sound field. When the area of a door, window or other opening is much smaller than the area of the entire boundary, the sound field in the room can be approximately regarded as the sound field in the closed space. When the sound source radiates sound waves in a closed space, the sound waves propagating to each interface are partially absorbed by the interface and partially reflected. In a typical room, the intensity of the sound wave is reduced to a negligible level after multiple reflections. These reflected and transmitted waves interact with the continuous direct wave to form a very complex sound field. The sound field is measured, and the method has important significance for sound quality design and noise suppression. The change of sound during transmission mainly has the following aspects: the sound wave causes a series of reflections, absorptions and transmissions at each interface; sound at certain frequencies may be intensified or attenuated due to room resonance; the spatial distribution of the acoustic energy changes. When sound waves propagate between two equally spaced walls, standing waves are generated if the distance between the walls is equal to an integer multiple of a half wavelength.
In the prior art, frequency sweep measurement is a method for testing the frequency response characteristic of an audio system, however, in the process of frequency sweep measurement, it is difficult to avoid acquiring environmental noise, which affects the measurement result, and further results in low accuracy of the finally obtained frequency response characteristic of the audio system.
Disclosure of Invention
In view of the above, the present invention has been made to provide a method and apparatus for measuring the frequency response of an audio system that overcomes or at least partially solves the above-mentioned problems.
According to a first aspect of the present invention, the present invention provides a method for measuring a frequency response characteristic of an audio system, which is applied in a target audio system disposed in a target measurement area, wherein the target audio system includes a first sound generating device, a second sound generating device and a sound receiving device, and the first sound generating device and the second sound generating device are disposed on two sides of the sound receiving device, respectively, the method includes:
taking n from 1 in sequence, wherein n is a positive integer greater than 1, and correspondingly obtaining a group of signals by executing the following steps 101 to 103 after the sound receiving equipment is placed at the ith position of the target measurement area:
step 101: acquiring an environmental noise signal through the sound receiving equipment under the condition of controlling the first sound generating equipment and the second sound generating equipment to be in a mute state;
step 102: acquiring a first-direction audio signal through the sound receiving equipment under the condition of controlling only the first sound generating equipment to generate first-direction frequency sweep sound;
step 103: acquiring a second-direction audio signal through the sound receiving equipment under the condition of controlling only the second sound generating equipment to generate second-direction frequency sweep sound;
wherein for each set of signals obtained: correspondingly converting the environmental noise signal, the first direction audio signal and the second direction audio signal into an environmental noise frequency response curve, a first direction frequency response curve and a second direction frequency response curve respectively; performing difference processing on the first direction frequency response curve and the second direction frequency response curve and the environmental noise frequency response curve respectively to obtain a first direction denoising frequency response curve and a second direction denoising frequency response curve correspondingly;
and obtaining the frequency response characteristic of the target audio system based on all the obtained first direction denoising frequency response curves and all the obtained second direction denoising frequency response curves.
Preferably, the obtaining the frequency response characteristic of the target audio system based on all the obtained first direction denoising response curves and all the obtained second direction denoising response curves includes:
carrying out mean value processing on the basis of all the first direction denoising curves to obtain a first direction frequency response mean value curve, and carrying out mean value processing on the basis of all the second direction denoising curves to obtain a second direction frequency response mean value curve;
and obtaining the frequency response characteristic of the target audio system based on the first direction frequency response average curve and the second direction frequency response average curve.
Preferably, n positions of i taken from 1 to n in sequence are different from each other.
Preferably, after converting the ambient noise signal into the ambient noise frequency response curve and before performing difference processing on the first direction frequency response curve and the second direction frequency response curve and the ambient noise frequency response curve respectively, the method further includes:
determining an ambient noise average value of the ambient noise frequency response curve;
and reserving the points of which the value is more than twice of the average value of the environmental noise in the environmental noise frequency response curve, and setting the rest points in the environmental noise frequency response curve to be zero.
Preferably, before the sound collecting apparatus is placed at the ith position of the target measurement area, the method further includes:
debugging the target audio system.
Preferably, the correspondingly converting the environmental noise signal, the first direction audio signal, and the second direction audio signal into an environmental noise frequency response curve, a first direction frequency response curve, and a second direction frequency response curve, respectively, includes:
and correspondingly converting the environmental noise signal, the first direction audio signal and the second direction audio signal into an environmental noise frequency response curve, a first direction frequency response curve and a second direction frequency response curve respectively through fast Fourier transform.
According to a second aspect of the present invention, there is provided an apparatus for measuring a frequency response characteristic of an audio system, which is applied in a target audio system disposed in a target measurement area, the target audio system including a first sound generating device, a second sound generating device and a sound receiving device, the first sound generating device and the second sound generating device being disposed on two sides of the sound receiving device, respectively, the apparatus including:
an obtaining module, configured to take n in sequence from 1, where n is a positive integer greater than 1, and after the sound receiving apparatus is placed at the ith position of the target measurement area, correspondingly obtain a set of signals by performing the following steps 101 to 103:
step 101: acquiring an environmental noise signal through the sound receiving equipment under the condition of controlling the first sound generating equipment and the second sound generating equipment to be in a mute state;
step 102: acquiring a first-direction audio signal through the sound receiving equipment under the condition of controlling only the first sound generating equipment to generate first-direction frequency sweep sound;
step 103: acquiring a second-direction audio signal through the sound receiving equipment under the condition of controlling only the second sound generating equipment to generate second-direction frequency sweep sound;
a processing module for, for each set of signals obtained: correspondingly converting the environmental noise signal, the first direction audio signal and the second direction audio signal into an environmental noise frequency response curve, a first direction frequency response curve and a second direction frequency response curve respectively; performing difference processing on the first direction frequency response curve and the second direction frequency response curve and the environmental noise frequency response curve respectively to obtain a first direction denoising frequency response curve and a second direction denoising frequency response curve correspondingly;
and obtaining the frequency response characteristic of the target audio system based on all the obtained first direction denoising frequency response curves and all the obtained second direction denoising frequency response curves.
Preferably, the processing module includes:
the first processing unit is used for carrying out mean value processing on the basis of all the first direction denoising curves to obtain a first direction frequency response mean value curve and carrying out mean value processing on the basis of all the second direction denoising curves to obtain a second direction frequency response mean value curve;
and the second processing unit is used for obtaining the frequency response characteristic of the target audio system based on the first direction frequency response average curve and the second direction frequency response average curve.
According to a third aspect of the present invention, a computer-readable storage medium is provided, on which a computer program is stored which, when being executed by a processor, carries out the method steps as in the first aspect described above.
According to a fourth aspect of the present invention, there is provided a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the method steps as in the first aspect when executing the program.
According to the method and the device for measuring the frequency response characteristics of the audio system, n is a positive integer larger than 1, and after the sound receiving equipment is placed at the ith position of the target measurement area, a group of signals are correspondingly obtained by executing the following steps 101 to 103 by taking i from 1 in sequence: step 101: acquiring an environmental noise signal through sound receiving equipment under the condition of controlling the first sound generating equipment and the second sound generating equipment to be in a mute state; step 102: under the condition of controlling only the first sound-emitting device to emit first-direction frequency sweep sound, acquiring a first-direction audio signal through the sound receiving device; step 103: acquiring a second-direction audio signal through sound receiving equipment under the condition of controlling only second sound generating equipment to generate second-direction frequency sweep sound; wherein for each set of signals obtained: respectively correspondingly converting the environmental noise signal, the first direction audio signal and the second direction audio signal into an environmental noise frequency response curve, a first direction frequency response curve and a second direction frequency response curve; performing difference processing on the first direction frequency response curve and the second direction frequency response curve and the environmental noise frequency response curve respectively to obtain a first direction denoising frequency response curve and a second direction denoising frequency response curve correspondingly; and obtaining the frequency response characteristic of the target audio system based on all the obtained first direction denoising frequency response curves and all the obtained second direction denoising frequency response curves, so that the influence of environmental noise on the measurement result can be effectively reduced, and the accuracy of the obtained frequency response characteristic of the target audio system is improved.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a schematic diagram showing a relative positional relationship of a first sound emitting device, a second sound emitting device, and a sound receiving device included in a target audio system in an embodiment of the present invention;
FIG. 2 shows a flow chart for obtaining n sets of signals in an embodiment of the invention;
FIG. 3 shows a flow chart of the processing performed for each set of signals in an embodiment of the invention;
FIG. 4 shows a flow chart of step 203 in an embodiment of the invention;
fig. 5 shows a block diagram of a computer device in an embodiment of the invention.
Wherein, 1 is a first sound producing device, 2 is a second sound producing device, and 3 is a sound receiving device.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
The embodiment of the present invention provides a method for measuring frequency response characteristics of an audio system, which is applied to a target audio system placed in a target measurement area, where the target measurement area is a closed space, for example, a closed indoor space, the target audio system includes a first sound generating device 1, a second sound generating device 2, and a sound receiving device 3, the first sound generating device 1 and the second sound generating device 2 may be sound boxes, the sound receiving device 3 may be a recording microphone, the first sound generating device 1 and the second sound generating device 2 are placed on two sides of the sound receiving device 3, for example, the first sound generating device 1 is placed on the left side of the sound receiving device 3, the second sound generating device 2 is placed on the right side of the sound receiving device 3, and the first sound generating device 1 and the second sound generating device 2 face the sound receiving device 3, as shown in fig. 1.
Based on the target audio system, the method for measuring the frequency response characteristic of the audio system in the embodiment of the invention comprises the following steps:
and i is taken from 1 to n in turn, wherein n is a positive integer greater than 1, and after the sound receiving equipment 3 is placed at the ith position of the target measurement area, a group of signals are correspondingly obtained by executing the following steps 101 to 103. The sound receiving device 3 is placed at n positions of a target measurement area, steps 101-103 are executed at each position, and finally n groups of signals are obtained. For example, if n is 3, the sound receiving apparatus 3 is first placed at a first position of the target measurement area, and steps 101 to 103 are performed at the first position to obtain a first set of signals; then, the sound receiving device 3 is placed at a second position of the target measurement area, and the steps 101 to 103 are executed at the second position to obtain a second group of signals; finally, the sound receiving apparatus 3 is placed at the third position of the target measurement area, and steps 101 to 103 are performed at the third position to obtain a third set of signals.
The n positions where i is taken from 1 to n in order may be the same or different. As a preferred embodiment, the n positions are different from each other, so that audio signals at different positions can be collected, and the accuracy of the analyzed frequency response can be further improved by combining the frequency response of the target audio system obtained by the audio signals at different positions.
The detailed implementation of steps 101-103 will be described in detail below, as shown in fig. 2.
Step 101: and under the condition of controlling the first sound producing device 1 and the second sound producing device 2 to be in the mute state, acquiring an environmental noise signal through the sound receiving device 3.
Step 102: under the condition of controlling only the first sound emitting device 1 to emit the first direction frequency sweep sound, the sound receiving device 3 acquires and obtains a first direction audio signal.
Step 103: and under the condition of controlling only the second sound generating device 2 to generate the second-direction frequency sweep sound, acquiring a second-direction audio signal through the sound receiving device 3.
For step 101, the first sound generating device 1 and the second sound generating device 2 are simultaneously controlled to be in a mute state, so that the gains of the output signals of the first sound generating device 1 and the second sound generating device 2 are both zero, at this time, the sound receiving device 3 performs audio acquisition to obtain an environmental noise signal, and at this time, because the first sound generating device 1 and the second sound generating device 2 are both in a mute state, the acquired environmental noise signal is a signal generated by environmental noise.
For step 102, only the first sound emitting device 1 is controlled to emit a frequency sweeping sound, which is referred to as a first direction frequency sweeping sound, and the second sound emitting device 2 is controlled to be in a mute state, so that the gain of the output signal of the second sound emitting device 2 is zero, and at this time, the sound receiving device 3 performs audio collection to obtain a first direction audio signal. The first direction audio signal is an audio signal obtained by the sound receiving device 3 when the first direction sweep sound passes through the space where the target test area is located. As to how to control the first sound emitting device 1 to emit frequency sweeping sound, in the embodiment of the present invention, a power amplifier device may be disposed in the target audio system, the power amplifier device is connected to the first sound emitting device 1, the power amplifier device is controlled to emit a first frequency sweeping signal, and the first sound emitting device 1 is further controlled to emit frequency sweeping sound in a first direction by using the first frequency sweeping signal.
For step 103, only the second sound generating device 2 is controlled to generate frequency sweeping sound, the frequency sweeping sound is referred to as second direction frequency sweeping sound, and the first sound generating device 1 is controlled to be in a mute state, so that the output signal gain of the first sound generating device 1 is zero, and at this time, the sound receiving device 3 performs audio collection to obtain a second direction audio signal. The second direction audio signal is an audio signal obtained by the sound receiving device 3 when the second direction sweep sound passes through the space where the target test area is located. As to how to control the second sound generating device 2 to generate frequency sweep sound, in the embodiment of the present invention, a power amplifier device may be disposed in the target audio system, the power amplifier device is connected to the second sound generating device 2, the power amplifier device is controlled to generate a second frequency sweep signal, and the second frequency sweep signal is further used to control the second sound generating device 2 to generate frequency sweep sound in the second direction.
It should be noted that, in the embodiment of the present invention, the execution sequence of steps 101 and 103 is not limited, for example, step 102 and step 103 may be executed first to obtain the first-direction audio signal and the second-direction audio signal, respectively, and then step 101 is executed to obtain the ambient noise signal. Or, step 102 may be performed first to obtain the first direction audio signal, step 101 may be performed to obtain the environmental noise signal, and step 103 may be performed finally to obtain the second direction audio signal.
It should be noted that, in the embodiment of the present invention, preferably, the first frequency scanning signal and the second frequency scanning signal sent by the power amplifier device are the same, so that the accuracy of the analyzed frequency response characteristic can be further improved.
It should be noted that after each of steps 101-103, an ambient noise signal, a first direction audio signal and a second direction audio signal are obtained, and an ambient noise signal, a first direction audio signal and a second direction audio signal form a set of signals.
Further, after obtaining a set of signals, for each set of signals, as shown in fig. 3, the following steps are performed:
step 201: respectively correspondingly converting the environmental noise signal, the first direction audio signal and the second direction audio signal into an environmental noise frequency response curve, a first direction frequency response curve and a second direction frequency response curve;
step 202: performing difference processing on the first direction frequency response curve and the second direction frequency response curve and the environmental noise frequency response curve respectively to obtain a first direction denoising frequency response curve and a second direction denoising frequency response curve correspondingly;
specifically, for step 201, fast fourier transform is performed on the environmental noise signal, the first direction audio signal, and the second direction audio signal, respectively, to obtain an environmental noise frequency response curve, a first direction frequency response curve, and a second direction frequency response curve, respectively, where the first direction frequency response curve and the second direction frequency response curve are actual frequency response curves and include environmental noise information.
It should be noted that step 201 may be implemented in combination with step 101, for example, after the ambient noise signal is acquired by the sound receiving device 3, the ambient noise signal is directly converted into an ambient noise frequency response curve, after the audio signal in the first direction is acquired by the sound receiving device 3, the audio signal in the first direction is directly converted into a first direction frequency response curve, and after the audio signal in the second direction is acquired by the sound receiving device 3, the audio signal in the second direction is directly converted into a second direction frequency response curve.
Further, for step 202, after obtaining the environmental noise frequency response curve, the first direction frequency response curve and the second direction frequency response curve, performing subtraction processing on the first direction frequency response curve and the second direction frequency response curve and the environmental noise frequency response curve respectively to obtain a first direction denoising frequency response curve and a second direction denoising frequency response curve correspondingly, that is, performing subtraction processing on the first direction frequency response curve and the environmental noise frequency response curve to obtain a first direction denoising frequency response curve, and performing subtraction processing on the second direction frequency response curve and the environmental noise frequency response curve to obtain a second direction denoising frequency response curve. And the difference processing is to perform difference on corresponding points in the two frequency response curves, and draw a new frequency response curve according to the difference value of the corresponding points.
It should be noted that, for a set of signals, a first direction squelch response curve and a second direction squelch response curve are finally obtained. If n is 3, after obtaining 3 groups of signals, corresponding to the first group of signals, obtaining a first direction denoising response curve and a second direction denoising response curve, corresponding to the second group of signals, obtaining a first direction denoising response curve and a second direction denoising response curve, corresponding to the third group of signals, obtaining a first direction denoising response curve and a second direction denoising response curve, and finally obtaining three first direction denoising response curves and three second direction denoising response curves.
Further, after each group of signals are processed, the frequency response characteristic of the target audio system is obtained based on all the obtained first direction denoising frequency response curves and all the obtained second direction denoising frequency response curves.
Specifically, the frequency response characteristic of the target audio system can be obtained by analyzing all the obtained first direction denoise response curves and all the obtained second direction denoise response curves, and as shown in fig. 4, the specific implementation manner includes the following steps:
step 301: carrying out mean value processing on the basis of all the first direction denoising curves to obtain a first direction frequency response mean value curve, and carrying out mean value processing on the basis of all the second direction denoising curves to obtain a second direction frequency response mean value curve;
step 302: and obtaining the frequency response characteristic of the target audio system based on the first direction frequency response average curve and the second direction frequency response average curve.
For step 301, for example, when there are three first-direction denoise frequency response curves, a first-direction frequency response mean value curve is finally obtained by averaging corresponding points in the three first-direction denoise frequency response curves and traversing all points in the three first-direction denoise frequency response curves, and similarly, a second-direction frequency response mean value curve can be obtained by using the same method as the above example. It should be noted that, no matter how many groups of signals exist, a first direction frequency response average curve and a second direction frequency response average curve are finally obtained.
As to how to obtain the frequency response characteristic of the target audio system by using the first direction frequency response mean curve and the second direction frequency response mean curve in step 302, in the embodiment of the present invention, first, a first sweep signal corresponding to a first direction sweep sound is converted into a first sweep frequency response curve, a second sweep signal corresponding to a second direction sweep sound is converted into a second sweep frequency response curve, and then, the first direction frequency response mean curve and the first sweep frequency response curve are subjected to a quotient processing, that is, each point in the first direction frequency response mean curve is divided by a corresponding point in the first sweep frequency response curve to obtain a new curve, which is the first direction target frequency response curve, and similarly, the second direction frequency response mean curve and the second sweep frequency response curve are subjected to a quotient processing, that is, each point in the second direction frequency response mean curve is divided by a corresponding point in the second direction frequency response curve, a new curve is obtained, the curve is a second-direction target frequency response curve, the first-direction target frequency response curve and the second-direction target frequency response curve are final frequency response curves, the frequency response characteristics of the target audio system can be analyzed and obtained by using the first-direction target frequency response curve and the second-direction target frequency response curve, and any analysis method in the prior art can be adopted for how to analyze the frequency response characteristics of the target audio system by using the first-direction target frequency response curve and the second-direction target frequency response curve, which is not limited in the present application.
In the embodiment of the present invention, after converting the environmental noise signal into the environmental noise frequency response curve, and before performing difference processing on the first direction frequency response curve and the second direction frequency response curve and the environmental noise frequency response curve, the method further includes:
determining an ambient noise average value of an ambient noise frequency response curve;
and reserving the points of which the value is more than twice the average value of the environmental noise in the environmental noise frequency response curve, and setting the rest points in the environmental noise frequency response curve to be zero.
Specifically, for a set of signals, after obtaining the ambient noise frequency response curve in the set of signals, m points are selected in the ambient noise frequency response curve, where m is usually an integer power of 2, such as m can be 256, 1024 or 8192, and then the average value of the m points is determined, where the average value is the average value of the ambient noise frequency response curve. Because the fixed noise in the environmental noise has a large influence on the frequency response characteristic of the target audio system, the embodiment of the invention realizes the technical effect of avoiding the frequency response characteristic distortion of the target audio system while effectively removing the influence of the fixed noise on the frequency response characteristic of the target audio system by reserving the points of which the numerical value in the environmental noise frequency response curve is more than twice the average value of the environmental noise, setting the rest points in the environmental noise frequency response curve to zero, and performing subsequent processing flow by using the processed environmental noise frequency response curve, namely performing difference processing on the first direction frequency response curve and the second direction frequency response curve and the environmental noise frequency response curve obtained after the processing through the process.
Further, in the embodiment of the present invention, before placing the sound collecting apparatus 3 at the ith position of the target measurement area, the method further includes:
and debugging the target audio system.
Specifically, debugging a target audio system typically includes the following processes:
firstly, connecting and opening each device, placing each device at a designated position, then switching each device to a measurement mode, keeping the indoor quiet, controlling the sound-emitting device to emit a powdery noise signal, amplifying the powdery noise signal through a power amplifier, driving the sound-emitting device to emit the powdery noise, adjusting the gain of the generated powdery noise signal according to the size of the powdery noise emitted by the sound-emitting device, enabling the sound-emitting device to generate a proper volume, generally about 75dB, adjusting the gain of the sound-receiving device 3, enabling the amplitude of the recording signal to be within a designated interval, and stopping the emission of the powdery noise signal.
Based on the same inventive concept, an embodiment of the present invention further provides a device for measuring a frequency response characteristic of an audio system, which is applied to a target audio system placed in a target measurement area, where the target audio system includes a first sound generating device, a second sound generating device, and a sound receiving device, and the first sound generating device and the second sound generating device are respectively placed on two sides of the sound receiving device, and the device includes:
an obtaining module, configured to take n in sequence from 1, where n is a positive integer greater than 1, and after the sound receiving apparatus is placed at the ith position of the target measurement area, correspondingly obtain a set of signals by performing the following steps 101 to 103:
step 101: acquiring an environmental noise signal through the sound receiving equipment under the condition of controlling the first sound generating equipment and the second sound generating equipment to be in a mute state;
step 102: acquiring a first-direction audio signal through the sound receiving equipment under the condition of controlling only the first sound generating equipment to generate first-direction frequency sweep sound;
step 103: acquiring a second-direction audio signal through the sound receiving equipment under the condition of controlling only the second sound generating equipment to generate second-direction frequency sweep sound;
a processing module for, for each set of signals obtained: correspondingly converting the environmental noise signal, the first direction audio signal and the second direction audio signal into an environmental noise frequency response curve, a first direction frequency response curve and a second direction frequency response curve respectively; performing difference processing on the first direction frequency response curve and the second direction frequency response curve and the environmental noise frequency response curve respectively to obtain a first direction denoising frequency response curve and a second direction denoising frequency response curve correspondingly;
and obtaining the frequency response characteristic of the target audio system based on all the obtained first direction denoising frequency response curves and all the obtained second direction denoising frequency response curves.
Preferably, the processing module includes:
the first processing unit is used for carrying out mean value processing on the basis of all the first direction denoising curves to obtain a first direction frequency response mean value curve and carrying out mean value processing on the basis of all the second direction denoising curves to obtain a second direction frequency response mean value curve;
and the second processing unit is used for obtaining the frequency response characteristic of the target audio system based on the first direction frequency response average curve and the second direction frequency response average curve.
It should be noted that, in the embodiments of the present invention, an apparatus for measuring a frequency response characteristic of an audio system corresponds to a method for measuring a frequency response characteristic of an audio system, and the apparatus can perform the same functions as those of the above-described method embodiments.
Based on the same inventive concept, embodiments of the present invention further provide a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the method steps described in the foregoing embodiments.
Based on the same inventive concept, an embodiment of the present invention further provides a computer apparatus, as shown in fig. 5, for convenience of description, only the portions related to the embodiment of the present invention are shown, and details of the specific technology are not disclosed, please refer to the method portion of the embodiment of the present invention. The computer device may be any terminal device including a mobile phone, a tablet computer, a PDA (Personal digital assistant), a POS (Point of Sales), a vehicle-mounted computer, and the like, taking the computer device as the mobile phone as an example:
fig. 5 is a block diagram illustrating a partial structure associated with a computer device provided by an embodiment of the present invention. Referring to fig. 5, the computer apparatus includes: a memory 401 and a processor 402. Those skilled in the art will appreciate that the computer device configuration illustrated in FIG. 5 does not constitute a limitation of computer devices, and may include more or fewer components than those illustrated, or some components may be combined, or a different arrangement of components.
The following describes the components of the computer device in detail with reference to fig. 5:
the memory 401 may be used to store software programs and modules, and the processor 402 executes various functional applications and data processing by operating the software programs and modules stored in the memory 401. The memory 401 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.), and the like. Further, the memory 401 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 402 is a control center of the computer device, and performs various functions and processes data by operating or executing software programs and/or modules stored in the memory 401 and calling data stored in the memory 401. Alternatively, processor 402 may include one or more processing units; preferably, the processor 402 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications.
In the embodiment of the present invention, the processor 402 included in the computer device may have the functions corresponding to the method steps in any of the foregoing embodiments.
In summary, according to the method and apparatus for measuring frequency response characteristics of an audio system of the present invention, by sequentially taking n from i to 1, where n is a positive integer greater than 1, after a sound receiving device is placed at the ith position of a target measurement area, a set of signals is obtained by performing the following steps 101 to 103: step 101: acquiring an environmental noise signal through sound receiving equipment under the condition of controlling the first sound generating equipment and the second sound generating equipment to be in a mute state; step 102: under the condition of controlling only the first sound-emitting device to emit first-direction frequency sweep sound, acquiring a first-direction audio signal through the sound receiving device; step 103: acquiring a second-direction audio signal through sound receiving equipment under the condition of controlling only second sound generating equipment to generate second-direction frequency sweep sound; wherein for each set of signals obtained: respectively correspondingly converting the environmental noise signal, the first direction audio signal and the second direction audio signal into an environmental noise frequency response curve, a first direction frequency response curve and a second direction frequency response curve; performing difference processing on the first direction frequency response curve and the second direction frequency response curve and the environmental noise frequency response curve respectively to obtain a first direction denoising frequency response curve and a second direction denoising frequency response curve correspondingly; and obtaining the frequency response characteristic of the target audio system based on all the obtained first direction denoising frequency response curves and all the obtained second direction denoising frequency response curves, so that the influence of environmental noise on the measurement result can be effectively reduced, and the accuracy of the obtained frequency response characteristic of the target audio system is improved.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functionality of some or all of the components in accordance with embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.

Claims (9)

1. A method for measuring frequency response characteristics of an audio system is applied to a target audio system placed in a target measurement area, wherein the target audio system comprises a first sound generating device, a second sound generating device and a sound receiving device, the first sound generating device and the second sound generating device are respectively placed on two sides of the sound receiving device, and the method comprises the following steps: taking n from 1 in sequence, wherein n is a positive integer greater than 1, and correspondingly obtaining a group of signals by executing the following steps 101 to 103 after the sound receiving equipment is placed at the ith position of the target measurement area:
step 101: acquiring an environmental noise signal through the sound receiving equipment under the condition of controlling the first sound generating equipment and the second sound generating equipment to be in a mute state;
step 102: acquiring a first-direction audio signal through the sound receiving equipment under the condition of controlling only the first sound generating equipment to generate first-direction frequency sweep sound;
step 103: acquiring a second-direction audio signal through the sound receiving equipment under the condition of controlling only the second sound generating equipment to generate second-direction frequency sweep sound;
wherein for each set of signals obtained: correspondingly converting the environmental noise signal, the first direction audio signal and the second direction audio signal into an environmental noise frequency response curve, a first direction frequency response curve and a second direction frequency response curve respectively; performing difference processing on the first direction frequency response curve and the second direction frequency response curve and the environmental noise frequency response curve respectively to obtain a first direction denoising frequency response curve and a second direction denoising frequency response curve correspondingly;
acquiring the frequency response characteristic of the target audio system based on all the acquired first direction denoising frequency response curves and all the acquired second direction denoising frequency response curves;
wherein after converting the ambient noise signal into the ambient noise frequency response curve and before performing difference processing on the first direction frequency response curve and the second direction frequency response curve and the ambient noise frequency response curve, the method further comprises:
determining an ambient noise average value of the ambient noise frequency response curve;
and reserving the points of which the value is more than twice of the average value of the environmental noise in the environmental noise frequency response curve, and setting the rest points in the environmental noise frequency response curve to be zero.
2. The method of measuring frequency response of an audio system of claim 1 wherein obtaining the frequency response of the target audio system based on all of the obtained first direction squelch responses and all of the obtained second direction squelch responses comprises:
carrying out mean value processing on the basis of all the first direction denoising curves to obtain a first direction frequency response mean value curve, and carrying out mean value processing on the basis of all the second direction denoising curves to obtain a second direction frequency response mean value curve;
and obtaining the frequency response characteristic of the target audio system based on the first direction frequency response average curve and the second direction frequency response average curve.
3. The method of claim 1, wherein n positions of i taken from 1 to n in sequence are different from each other.
4. The method of measuring audio system frequency response of claim 1, wherein prior to placing the sound receiving device at the ith location of the target measurement zone, the method further comprises:
debugging the target audio system.
5. The method of claim 1, wherein correspondingly converting the ambient noise signal, the first direction audio signal, and the second direction audio signal into an ambient noise frequency response curve, a first direction frequency response curve, and a second direction frequency response curve, respectively, comprises:
and correspondingly converting the environmental noise signal, the first direction audio signal and the second direction audio signal into an environmental noise frequency response curve, a first direction frequency response curve and a second direction frequency response curve respectively through fast Fourier transform.
6. The device for measuring the frequency response characteristic of the audio system is applied to a target audio system arranged in a target measurement area, the target audio system comprises a first sound generating device, a second sound generating device and a sound receiving device, the first sound generating device and the second sound generating device are respectively arranged on two sides of the sound receiving device, and the device comprises: an obtaining module, configured to take n in sequence from 1, where n is a positive integer greater than 1, and after the sound receiving apparatus is placed at the ith position of the target measurement area, correspondingly obtain a set of signals by performing the following steps 101 to 103:
step 101: acquiring an environmental noise signal through the sound receiving equipment under the condition of controlling the first sound generating equipment and the second sound generating equipment to be in a mute state;
step 102: acquiring a first-direction audio signal through the sound receiving equipment under the condition of controlling only the first sound generating equipment to generate first-direction frequency sweep sound;
step 103: acquiring a second-direction audio signal through the sound receiving equipment under the condition of controlling only the second sound generating equipment to generate second-direction frequency sweep sound;
a processing module for, for each set of signals obtained: correspondingly converting the environmental noise signal, the first direction audio signal and the second direction audio signal into an environmental noise frequency response curve, a first direction frequency response curve and a second direction frequency response curve respectively; performing difference processing on the first direction frequency response curve and the second direction frequency response curve and the environmental noise frequency response curve respectively to obtain a first direction denoising frequency response curve and a second direction denoising frequency response curve correspondingly;
acquiring the frequency response characteristic of the target audio system based on all the acquired first direction denoising frequency response curves and all the acquired second direction denoising frequency response curves;
wherein after converting the ambient noise signal into the ambient noise frequency response curve and before performing difference processing on the first direction frequency response curve and the second direction frequency response curve and the ambient noise frequency response curve, the apparatus is further configured to:
determining an ambient noise average value of the ambient noise frequency response curve;
and reserving the points of which the value is more than twice of the average value of the environmental noise in the environmental noise frequency response curve, and setting the rest points in the environmental noise frequency response curve to be zero.
7. The apparatus for measuring audio system frequency response characteristics of claim 6, wherein said processing module comprises:
the first processing unit is used for carrying out mean value processing on the basis of all the first direction denoising curves to obtain a first direction frequency response mean value curve and carrying out mean value processing on the basis of all the second direction denoising curves to obtain a second direction frequency response mean value curve;
and the second processing unit is used for obtaining the frequency response characteristic of the target audio system based on the first direction frequency response average curve and the second direction frequency response average curve.
8. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method steps of any one of claims 1 to 5.
9. Computer arrangement comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor realizes the method steps of any of claims 1-5 when executing the program.
CN201811169589.2A 2018-10-08 2018-10-08 Method and device for measuring frequency response characteristic of audio system Active CN109246573B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811169589.2A CN109246573B (en) 2018-10-08 2018-10-08 Method and device for measuring frequency response characteristic of audio system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811169589.2A CN109246573B (en) 2018-10-08 2018-10-08 Method and device for measuring frequency response characteristic of audio system

Publications (2)

Publication Number Publication Date
CN109246573A CN109246573A (en) 2019-01-18
CN109246573B true CN109246573B (en) 2020-10-27

Family

ID=65055808

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811169589.2A Active CN109246573B (en) 2018-10-08 2018-10-08 Method and device for measuring frequency response characteristic of audio system

Country Status (1)

Country Link
CN (1) CN109246573B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113554998B (en) * 2020-04-24 2023-11-10 广东美的白色家电技术创新中心有限公司 Active noise reduction device, indoor electrical system and active noise reduction method
CN114125686B (en) * 2022-01-28 2022-05-17 广州市保伦电子有限公司 Audio characteristic acquisition method, system and storage medium for sound source device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4688258A (en) * 1984-10-31 1987-08-18 Pioneer Electronic Corporation Automatic graphic equalizer
CN1447624A (en) * 2002-03-25 2003-10-08 伯斯有限公司 Automatic audio system equalization
CN1959354A (en) * 2005-10-31 2007-05-09 索尼株式会社 Method for measuring frequency characteristic and rising edge of impulse response, and sound field correcting apparatus
CN105371945A (en) * 2015-10-10 2016-03-02 同济大学 Method and device for removing noise in hall pulse response measurement sound signals
CN106101929A (en) * 2016-06-30 2016-11-09 维沃移动通信有限公司 A kind of protection human ear audition method and mobile terminal
US9591427B1 (en) * 2016-02-20 2017-03-07 Philip Scott Lyren Capturing audio impulse responses of a person with a smartphone
CN108476372A (en) * 2016-01-26 2018-08-31 Jvc 建伍株式会社 Acoustic-image positioning treatment apparatus and Sound image localization processing method

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FI122089B (en) * 2006-03-28 2011-08-15 Genelec Oy Calibration method and equipment for the audio system
JP5403896B2 (en) * 2007-10-31 2014-01-29 株式会社東芝 Sound field control system
SG11201403493XA (en) * 2012-03-22 2014-07-30 Dirac Res Ab Audio precompensation controller design using a variable set of support loudspeakers
US9137619B2 (en) * 2012-12-11 2015-09-15 Amx Llc Audio signal correction and calibration for a room environment
US9959883B2 (en) * 2015-10-06 2018-05-01 The Trustees Of Princeton University Method and system for producing low-noise acoustical impulse responses at high sampling rate
CN108174337B (en) * 2017-12-26 2020-05-15 广州励丰文化科技股份有限公司 Indoor sound field self-adaption method and combined loudspeaker system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4688258A (en) * 1984-10-31 1987-08-18 Pioneer Electronic Corporation Automatic graphic equalizer
CN1447624A (en) * 2002-03-25 2003-10-08 伯斯有限公司 Automatic audio system equalization
CN1959354A (en) * 2005-10-31 2007-05-09 索尼株式会社 Method for measuring frequency characteristic and rising edge of impulse response, and sound field correcting apparatus
CN105371945A (en) * 2015-10-10 2016-03-02 同济大学 Method and device for removing noise in hall pulse response measurement sound signals
CN108476372A (en) * 2016-01-26 2018-08-31 Jvc 建伍株式会社 Acoustic-image positioning treatment apparatus and Sound image localization processing method
US9591427B1 (en) * 2016-02-20 2017-03-07 Philip Scott Lyren Capturing audio impulse responses of a person with a smartphone
CN106101929A (en) * 2016-06-30 2016-11-09 维沃移动通信有限公司 A kind of protection human ear audition method and mobile terminal

Also Published As

Publication number Publication date
CN109246573A (en) 2019-01-18

Similar Documents

Publication Publication Date Title
CN109831733B (en) Method, device and equipment for testing audio playing performance and storage medium
US10715913B2 (en) Neural network-based loudspeaker modeling with a deconvolution filter
CN109754821B (en) Information processing method and system, computer system and computer readable medium
Dietrich et al. On the optimization of the multiple exponential sweep method
US10962504B2 (en) Method for compressing and reconstructing data
RU2658071C1 (en) Ultrasonic system for non-destructive control
CN109246573B (en) Method and device for measuring frequency response characteristic of audio system
US20210306782A1 (en) Method and system of audio device performance testing
Vanwynsberghe et al. Design and implementation of a multi-octave-band audio camera for realtime diagnosis
CN110109058A (en) A kind of planar array deconvolution identification of sound source method
CN105556260A (en) Wide-band acoustic holography
CN116564332A (en) Frequency response analysis method, device, equipment and storage medium
CN110313940B (en) Signal attenuation calculation method, device, equipment and computer readable storage medium
CN205336536U (en) Measurement device for short -wave radio set speaker
EP3182731A1 (en) A method for diagnosing sealing properties of microphone and/or loudspeaker seals in an electronic device
CN110755055A (en) Method and equipment for determining waveform evaluation information of pulse waveform
WO2019185015A1 (en) Signal noise removal method utilizing piezoelectric transducer
CN115662383A (en) Method and system for deleting main sound source, method, system and device for identifying multiple sound sources
CN114420082A (en) Reverberation test method, system, computer device and storage medium
JP7196504B2 (en) Acoustic property measurement system, acoustic property measurement method, and program
Groves et al. Real-time active suppression of directional acoustic wave components in tubular acoustic systems
CN107782797A (en) Ultrasonic imaging processing method, device, storage medium and imaging system
JP7147404B2 (en) Measuring device, measuring method and program
CN113611276B (en) Acoustic feedback suppression method, apparatus and storage medium
Nakayama et al. Robust acoustic distance measurement method based on interference in noisy environments

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210609

Address after: 1054, 1801, 18 / F, building 12, 36 Zhongguancun South Street, Haidian District, Beijing

Patentee after: Yinwang (Beijing) Information Technology Research Institute Co.,Ltd.

Address before: 404, unit 3, 4 / F, 39 Shuangliu North Street, Chaoyang District, Beijing

Patentee before: BEIJING ZHUSHENGCHANG MEDIA TECHNOLOGY Co.,Ltd.