CN113473348A - Method for positioning frequency sweeping sound source, method, system and equipment for testing quality of audio equipment - Google Patents

Method for positioning frequency sweeping sound source, method, system and equipment for testing quality of audio equipment Download PDF

Info

Publication number
CN113473348A
CN113473348A CN202110848698.2A CN202110848698A CN113473348A CN 113473348 A CN113473348 A CN 113473348A CN 202110848698 A CN202110848698 A CN 202110848698A CN 113473348 A CN113473348 A CN 113473348A
Authority
CN
China
Prior art keywords
sound source
domain signal
frequency
time domain
target
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.)
Granted
Application number
CN202110848698.2A
Other languages
Chinese (zh)
Other versions
CN113473348B (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.)
Shenzhen Grandsun Electronics Co Ltd
Original Assignee
Shenzhen Grandsun Electronics 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 Shenzhen Grandsun Electronics Co Ltd filed Critical Shenzhen Grandsun Electronics Co Ltd
Priority to CN202110848698.2A priority Critical patent/CN113473348B/en
Publication of CN113473348A publication Critical patent/CN113473348A/en
Application granted granted Critical
Publication of CN113473348B publication Critical patent/CN113473348B/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 discloses a method for positioning a sweep frequency sound source, a method, a system and equipment for testing the quality of audio equipment, wherein the method for positioning the sweep frequency sound source comprises the steps of obtaining a sound source initial point frequency value of a target sweep frequency sound source; acquiring a time domain signal obtained after the target equipment acquires a target swept frequency sound source played by the playing equipment; fourier transforming the time domain signal into a frequency domain signal, and acquiring a first amplitude value corresponding to the frequency value of the sound source starting point from the frequency domain signal; a source start point in the time domain signal is located based on the first amplitude in the frequency domain signal. The audio equipment quality testing method comprises the following steps: and taking the sound source starting point as a test starting point, and judging the quality parameters of the target equipment or the playing equipment according to the time domain signal. Compared with the slope positioning method in the prior art, the method can cause positioning failure and test failure in certain specific noise, and can accurately position the position of the sweep frequency sound source, so that the test accuracy of the target equipment or the playing equipment is ensured.

Description

Method for positioning frequency sweeping sound source, method, system and equipment for testing quality of audio equipment
Technical Field
The invention relates to the technical field of software acoustic testing, in particular to a method for positioning a sweep frequency sound source, a method, a system and equipment for testing the quality of audio equipment.
Background
The audio equipment test is mainly to judge the quality of a microphone unit or a loudspeaker unit and the like on the audio equipment expressed in low frequency, medium frequency and high frequency by playing a sweep frequency sound source. Taking microphone testing on a mobile phone/earphone as an example, firstly starting a recording function of a tested microphone of the mobile phone or the earphone to start recording, then playing a frequency sweeping signal by an artificial mouth (a generator simulating a human mouth to play an audio source), closing recording after the frequency sweeping is finished, taking back recording data from the mobile phone or the earphone, and finally analyzing a frequency sweeping sound source collected by the tested microphone, thereby finally carrying out quality determination on the tested microphone. However, the incomplete synchronization of the playing and collecting processes is objective, and generally, the microphone to be tested needs to be opened first to enable the microphone to be in the collecting state, and then the sounder plays the sweep frequency sound source, so that the microphone to be tested can collect the complete sweep frequency sound source, and further the quality test of the microphone to be tested can be realized. In order to remove the interference factors, the position of the starting point of the sweep frequency sound source needs to be located in the signals collected by the microphones.
In the related technology, the positioning method for testing the sweep frequency sound source mainly determines the starting point of the sweep frequency sound source in the signal acquired by the acquisition equipment by a slope difference method. The slope difference method can be stably used under the condition that most of the interference is not generated or the signal-to-noise ratio is high, but when the interference is high, the slope of the interference signal is consistent with the slope of the sweep starting point, so that positioning errors can be caused.
Disclosure of Invention
The present invention is directed to at least solving the problems of the prior art. Therefore, the invention provides a method for positioning a sweep frequency sound source, a method for testing the quality of audio equipment, a system and equipment, which can improve the positioning efficiency, positioning accuracy and wide applicability of the sweep frequency sound source.
In a first aspect of the present invention, a method for positioning a swept frequency sound source is provided, which includes the following steps:
obtaining a sound source initial point frequency value of a target sweep frequency sound source;
acquiring a time domain signal obtained after the target equipment acquires and plays the target swept sound source by the playing equipment;
fourier transforming the time domain signal into a frequency domain signal, and acquiring a first amplitude value corresponding to the sound source starting point frequency value from the frequency domain signal;
locating a source start point in the time domain signal based on the first amplitude in the frequency domain signal.
According to some embodiments of the invention, said locating a source onset in the time domain signal based on the first amplitude in the frequency domain signal comprises the steps of:
inverse fourier transforming the frequency domain signal into the time domain signal;
acquiring a second amplitude corresponding to the first amplitude from the time domain signal;
and positioning a time point corresponding to the second amplitude in the time domain signal, and taking the time point as a sound source starting point in the time domain signal.
According to some embodiments of the invention, further comprising the step of:
acquiring the duration of the target sweep frequency sound source;
and dividing the target frequency sweeping sound source in the time domain signal based on the time length of the target frequency sweeping sound source and the sound source starting point in the time domain signal.
According to some embodiments of the invention, further comprising the step of:
and judging the quality parameters of the target equipment through the segmented target sweep frequency sound source.
According to some embodiments of the invention, the frequency domain range of the target sweep frequency source is 20hz to 20000hz, and the source origin frequency value is 20 hz.
According to some embodiments of the invention, the target device is a microphone or the playback device is a speaker.
In a second aspect of the present invention, there is provided a method for testing the quality of an audio device, in which the method for locating a swept frequency sound source according to the first aspect of the present invention is applied, and the method for testing the quality of an audio device includes:
acquiring a sound source starting point in the time domain signal;
and judging the quality parameters of the target equipment or the playing equipment according to the time domain signal by taking the sound source starting point as a test starting point.
In a third aspect of the present invention, there is provided a swept sound source localization system, including:
the sound source information acquisition unit is used for acquiring a sound source initial point frequency value of the target sweep frequency sound source;
the time domain signal acquisition unit is used for acquiring a time domain signal obtained after the target equipment acquires the target sweep frequency sound source played by the playing equipment;
the frequency domain amplitude acquisition unit is used for Fourier transforming the time domain signal into a frequency domain signal and acquiring a first amplitude corresponding to the sound source starting point frequency value from the frequency domain signal;
a start position locating unit for locating a sound source start point in the time domain signal based on the first amplitude value in the frequency domain signal.
According to some embodiments of the present invention, the sound source information obtaining unit is further configured to obtain a duration of the target swept sound source; the sweep frequency sound source positioning system also comprises a sweep frequency sound source segmentation unit, wherein the sweep frequency sound source segmentation unit is used for segmenting the target sweep frequency sound source in the time domain signal based on the time length of the target sweep frequency sound source and the sound source starting point in the time domain signal.
In a fourth aspect of the present invention, there is provided an electronic apparatus comprising: a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor when executing the computer program implementing: the method for locating a swept source according to the first aspect of the present invention or the method for testing the quality of an audio device according to the second aspect of the present invention.
In a fifth aspect of the present invention, a computer-readable storage medium is provided, storing computer-executable instructions for performing: the method for locating a swept source according to the first aspect of the present invention or the method for testing the quality of an audio device according to the second aspect of the present invention.
The method for positioning a sweep frequency sound source provided by the first aspect of the invention includes the steps of firstly obtaining a time domain signal obtained after a target device collects a playing device and plays a target sweep frequency sound source, then Fourier transforming the time domain signal into a corresponding frequency domain signal, then finding a first amplitude corresponding to a frequency value of a starting point of the target sweep frequency sound source in the frequency domain signal, and finally positioning the starting point of the sound source of the target sweep frequency sound source in the time domain signal based on the first amplitude. Compared with the slope positioning method in the prior art, the method can accurately position the position of the sweep frequency sound source, remove interference factors and ensure the accuracy and efficiency of subsequent quality test on target equipment or playing equipment, wherein the positioning is failed due to certain specific noise.
The audio device quality testing method provided by the second aspect of the present invention can use the sound source starting point described in the first aspect of the present invention as a testing starting point, and then judge the quality parameters of the target device or the playing device according to the time domain signal.
It is to be understood that the advantageous effects of the third aspect to the fifth aspect compared to the related art are the same as the advantageous effects of the first aspect or the second aspect compared to the related art, and reference may be made to the description of the first aspect or the second aspect, which is not repeated herein.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required to be used in the embodiments or the related technical descriptions will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive labor.
Fig. 1 is a schematic flowchart of a method for locating a swept frequency sound source according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a time domain signal according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a frequency domain signal according to an embodiment of the present invention;
FIG. 4 is a diagram illustrating a time domain signal locating a starting point of an audio source according to an embodiment of the present invention;
fig. 5 is a schematic flowchart of a method for locating a swept source according to another embodiment of the present invention;
fig. 6 is a schematic structural diagram of a swept source localization system according to an embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative only for the purpose of explaining the present invention, and are not to be construed as limiting the present invention.
The invention relates to a software acoustic test, wherein the quality of a microphone unit or a loudspeaker (sounder) and the like on audio equipment at low frequency, medium frequency and high frequency is mainly judged by playing a sweep frequency sound source, wherein the loudspeaker can be equipment for generating audio output by an earphone or a sound box and the like. The sweep frequency sound source is a sound source signal which is similar to a sound source signal obtained by gradually fitting a frequency point in a section, for example, a 20Hz frequency point plays for a period of time, a 40 Hz frequency point plays for a period of time, and so on, so as to obtain a complete sweep frequency sound source.
In the test of the sweep frequency sound source, if the earphone is tested, the earphone is played by using an artificial mouth (the artificial mouth is an audio source for simulating the sound production of the human mouth), and the tested earphone receives the audio; if the microphone is a test microphone, a sound generator or an artificial mouth emits a sound source, and the artificial ear (a receiver simulating the human ear to receive the sound source) is used for receiving the audio collected by the microphone to be tested. Taking the testing of the microphone as an example, the playing of the artificial mouth and the collection of the tested microphone are not completely synchronized objectively, for example, the tested microphone collects a sweep frequency sound source played by the artificial mouth, then the artificial ear receives the sound source, and finally the equipment terminal analyzes the sweep frequency sound source collected by the tested microphone, so as to analyze the quality of the tested microphone, but the incomplete synchronization of the playing artificial mouth and the collecting microphone is objective, generally, the tested microphone needs to be opened first to be in a collecting state, and then the artificial mouth plays the sweep frequency sound source, so that the tested microphone can collect a complete sweep frequency sound source, and further, the quality verification of the tested microphone can be realized. In order to remove the interference factors, the position of the starting point of the sweep frequency sound source needs to be located in the signals collected by the microphones. The existing method for positioning a sweep frequency sound source mainly determines a starting point acquired by a microphone by a slope difference method, the slope difference method can be stably used under the condition that most of interference is not generated or the signal-to-noise ratio is high, but when the interference ratio is high, the slope of an interference signal is possibly consistent with that of the starting point of the sweep frequency, so that positioning errors are caused.
The invention provides a method for positioning a sweep frequency sound source, a method, a system and equipment for testing the quality of audio equipment, and hardware related to the invention mainly comprises the following steps: the device comprises a device terminal, a sound card (hardware for realizing sound wave/digital signal interconversion), a loudspeaker (sounder), a microphone, an artificial mouth, an artificial ear and the like, wherein the device terminal can be mobile terminal equipment or non-mobile terminal equipment. The mobile terminal equipment can be a mobile phone, a tablet computer, a notebook computer, a palm computer, vehicle-mounted terminal equipment, wearable equipment, a super mobile personal computer, a netbook, a personal digital assistant and the like; the non-mobile terminal equipment can be a personal computer, a television, a teller machine or a self-service machine and the like; the embodiments of the present invention are not particularly limited. Taking the test of the microphone as an example, firstly controlling the tested microphone to be opened, then controlling the sound card to generate a sweep frequency sound source and controlling the artificial mouth to sound, acquiring a complete recording signal by the tested microphone by the artificial ear, then sending the recording signal to the equipment terminal, positioning the sweep frequency sound source in the recording signal by the equipment terminal, and finally completing the quality test of the tested microphone through the sweep frequency sound source in the recording signal. Through the scheme, the sweep frequency sound source part in the recording signal can be accurately positioned, so that the quality of the tested equipment can be tested by directly utilizing the sweep frequency sound source in the recording signal in the testing process, the influence of the redundant part in the recording signal on the testing process is avoided, and the quality testing accuracy and efficiency are improved. It is noted that either the microphone or the loudspeaker are measured separately, e.g. one microphone at a time, or one loudspeaker at a time.
Referring to fig. 1 to 4, an embodiment of the present invention provides a method for positioning a swept-source sound, where an execution subject of the method is a computer, and the method includes the following steps:
and S101, obtaining a sound source starting point frequency value of the target sweep frequency sound source.
In this embodiment, the target sweep sound source is a sweep sound source including 20 hertz (Hz) to 20000Hz, which conforms to the sensing range of human ears and facilitates the judgment of the device quality.
Step S102, acquiring a time domain signal obtained after the target device acquires the target sweep frequency sound source played by the playing device.
In this embodiment, if the target device is a detected microphone and the playback device is an artificial mouth or a speaker, the detected microphone needs to be turned on first to enable the detected microphone to be in an acquisition state, then the playback device plays the target sweep frequency sound source, and the time domain signal is obtained after the detected microphone acquires the target sweep frequency sound source. Of course, in some embodiments, the playback device may be the speaker under test, and the target device is an artificial ear.
Step S103, Fourier transform is carried out on the time domain signal to obtain a frequency domain signal, and a first amplitude corresponding to the frequency value of the sound source starting point is obtained from the frequency domain signal.
In order to locate the target sweep frequency sound source in the time domain signal, step S103 first performs conversion between time domain and frequency domain on the time domain signal to obtain a frequency domain signal corresponding to the time domain signal, and can obtain a spectrogram of the signal. Since the frequency of the starting point of the target sweep frequency sound source is known to be 20Hz, in the frequency domain signal, an amplitude value corresponding to 20Hz can be found, as shown in the frequency spectrum diagrams of fig. 2 to 4, where fig. 2 shows a schematic diagram of a time domain signal collected by a microphone to be tested, where the abscissa is time and the ordinate is amplitude; FIG. 3 shows a spectrogram of a frequency domain signal Fourier transformed from a time domain signal, wherein the abscissa is frequency and the ordinate is amplitude; fig. 4 is a schematic diagram of the source start point of the time domain signal localization, where the abscissa is time and the ordinate is amplitude.
And step S104, positioning a sound source starting point in the time domain signal based on the first amplitude in the frequency domain signal.
After the first amplitude corresponding to 20Hz is found in step S103, a time point corresponding to the first amplitude can be found in the time domain signal, and the time point is taken as the sound source start point of the target sweep sound source, such as a point intercepted by a thick vertical line (in fig. 4, the sound source start point is marked by L1, the sound source end point is marked by L2, and the target sweep sound source between L1 and L2) and an abscissa in fig. 4 is taken as the sound source start point.
The method for positioning a swept frequency sound source provided by this embodiment includes obtaining a time domain signal obtained after a target swept frequency sound source is played by a measured microphone collecting and playing device, fourier-transforming the time domain signal into a corresponding frequency domain signal, finding a first amplitude corresponding to a frequency value of a starting point of the target swept frequency sound source in the frequency domain signal, and finally positioning the starting point of the sound source of the target swept frequency sound source in the time domain signal based on the first amplitude. Compared with the slope positioning method in the prior art, the method can accurately position the position of the sweep frequency sound source, so that the accuracy and efficiency of the subsequent quality test on the tested microphone are ensured.
In some embodiments, step S104 specifically includes:
step S1041, inverse fourier transforming the frequency domain signal into a time domain signal.
Step S1042, a second amplitude corresponding to the first amplitude is obtained from the time domain signal.
And S1043, positioning a time point corresponding to the second amplitude value in the time domain signal, and taking the time point as a sound source starting point in the time domain signal.
After the first amplitude is obtained in step S103, performing inverse fourier transform on the frequency domain signal to obtain a time domain signal, and then finding a second amplitude corresponding to the first amplitude in the time domain signal, because although the amplitude values of the same point of the time domain signal and the frequency domain signal are different, there is a unique corresponding relationship after the conversion, as shown in the ordinate of fig. 3 and 4, it is possible to find the second amplitude corresponding to the first amplitude in the frequency domain signal; and finally, positioning a time point corresponding to the second amplitude in the time domain signal, and taking the time point as a sound source starting point of the target sweep frequency sound source.
In some embodiments, the method for locating a swept source according to an embodiment of the present invention further includes:
and step S105, acquiring the duration of the target sweep frequency sound source.
And S106, dividing the target swept sound source in the time domain signal based on the time length of the target swept sound source and the sound source starting point in the time domain signal.
After the position of the sound source starting point of the target sweep sound source is located in step S104, the target sweep sound source can be segmented from the time domain signal according to the duration and the position of the starting point, so that the accuracy and efficiency of the subsequent quality test can be ensured.
Based on the above embodiment, further comprising the steps of:
and S107, judging the quality parameters of the target equipment through the target sweep frequency sound source segmented from the time domain signal. After the target sweep frequency sound source in the time domain signal is acquired, the quality of the microphone to be tested of the target device can be tested, so that the quality of the microphone to be tested can be judged.
Referring to fig. 2 to 5, an embodiment of the present invention provides a method for locating a swept source, including the following steps:
and step S201, starting a microphone to be detected to acquire signals. The microphone to be tested receives signals by using an artificial ear.
Step S202, the computer gives a sound source frequency sweeping signal of 20Hz to 20000Hz to the sound card, so that the sound card drives the power amplifier to drive the sounder to broadcast.
Step S203, the detected microphone collects the recording signal, and then the recording signal is subjected to power amplification and other processing and then is sent to a computer.
Step S204, the computer performs Fourier transform on the received recording signal to obtain a frequency domain signal;
step S205, the computer finds a first amplitude corresponding to the initial frequency of the sound source sweep frequency signal in the frequency domain signal;
s206, performing inverse Fourier transform on the frequency domain signal by the computer to obtain a recording signal;
step S207, the computer finds a second amplitude value at the corresponding position of the first amplitude value in the recording signal, and then finds a time point corresponding to the second amplitude value, and uses the time point as an audio starting point of the sound source sweep signal in the recording signal.
In step S208, the computer may segment the sound source sweep signal from the recording signal by using the audio starting point of the sound source sweep signal and the length of the sound source sweep signal in the positioned recording signal.
And S209, the computer realizes the quality analysis of the tested microphone by using the sound source frequency sweeping signal collected by the tested microphone.
The method comprises the steps of positioning the position of a sweep frequency sound source by adopting inverse Fourier transform, firstly playing the sweep frequency sound source of 20HZ-20000HZ, reading the acquired audio by a microphone to obtain a time domain signal of the audio, then obtaining a frequency domain signal of the audio by carrying out Fourier transform on the time domain signal, and carrying out inverse Fourier transform on the frequency domain signal to obtain a time point when the 20HZ is played and a sweep frequency sound source starting point.
The acoustical generator plays a frequency sweeping sound source and the microphone collects data which are not completely synchronous, the data are particularly obvious when a Bluetooth dog plays the data, the frequency sweeping sound source positioning efficiency is improved through inverse Fourier transform, the precision and the wide applicability are improved, and because the noise is ubiquitous, the original slope positioning method can cause positioning failure in the presence of certain specific noise, so that the test failure is caused, but the position of the frequency sweeping sound source can be accurately positioned after the inverse Fourier transform.
An embodiment of the present invention provides an audio device quality testing method, to which the sweep frequency sound source positioning method of the above embodiment is applied, and the audio device quality testing method includes:
s301, obtaining a sound source starting point in the time domain signal.
And S302, with the sound source starting point as a test starting point, judging the quality parameters of the tested microphone or the tested loudspeaker according to the time domain signals.
In some embodiments, the complete sweep frequency source may be intercepted from the time domain signal according to the sound source starting point and the sound source duration, and then the quality parameter of the tested microphone or the tested loudspeaker may be determined according to the sweep frequency source in the time domain signal. It should be noted that, since the quality testing scheme for the tested microphone or the tested speaker is well known in the art, it is not described herein again.
Referring to fig. 6, an embodiment of the present invention provides a swept sound source positioning system, where the swept sound source positioning system 100 includes a sound source information obtaining unit 1100, a time domain signal obtaining unit 1200, a frequency domain amplitude obtaining unit 1300, and a start position positioning unit 1400, where: the sound source information obtaining unit 1100 is configured to obtain a sound source starting point frequency value of the target swept sound source; the time domain signal acquiring unit 1200 is configured to acquire a time domain signal obtained after the target device acquires the target swept sound source played by the playing device; the frequency domain amplitude obtaining unit 1300 is configured to fourier transform the time domain signal into a frequency domain signal, and obtain a first amplitude corresponding to the sound source starting point frequency value from the frequency domain signal; the start position locating unit 1400 is configured to locate a start point of the sound source in the time domain signal based on the first amplitude in the frequency domain signal.
In some embodiments of the present invention, the sound source information obtaining unit 1100 is further configured to obtain a time duration of the target swept sound source. The system 100 further comprises a sweep frequency sound source segmentation unit 1500, and the sweep frequency sound source segmentation unit 1500 is configured to segment the target sweep frequency sound source in the time domain signal based on the duration of the target sweep frequency sound source and the sound source starting point in the time domain signal.
It should be noted that the embodiment of the present system and the embodiment of the method described above are based on the same inventive concept, and therefore, the related content of the embodiment of the method described above can also be adapted to the embodiment of the present system, and therefore, the principle and process thereof will not be described herein again.
An embodiment of the present invention provides an electronic device, including: a memory, a processor, and a computer program stored on the memory and executable on the processor.
The processor and memory may be connected by a bus or other means.
The memory, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs as well as non-transitory computer executable programs. Further, the memory may include high speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory optionally includes memory located remotely from the processor, and these remote memories may be connected to the processor through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
It should be noted that the electronic device in the present embodiment can form a part of the system architecture in the embodiment shown in fig. 6, and these embodiments all belong to the same inventive concept, so these embodiments have the same implementation principle and technical effect, and are not described in detail here.
The non-transitory software programs and instructions required to implement the sweep source localization method of the above-described embodiments are stored in the memory, and when executed by the processor, perform the above-described embodiments method, e.g., performing the above-described method steps S101 to S104 in fig. 1 and S201 to S209 in fig. 5.
The above described terminal embodiments are merely illustrative, wherein the units illustrated as separate components may or may not be physically separate, i.e. may be located in one place, or may also be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
Furthermore, an embodiment of the present invention provides a computer-readable storage medium, which stores computer-executable instructions, which are executed by a processor or a controller, for example, by a processor in the terminal embodiment, and can enable the processor to execute the sweep sound source positioning method in the embodiment, for example, execute the method steps S101 to S104 in fig. 1 and the method steps S201 to S209 in fig. 5 described above.
One of ordinary skill in the art will appreciate that all or some of the steps, systems, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.
While embodiments of the invention have been shown and described, it will be understood by those of ordinary skill in the art that: various changes, modifications, substitutions and alterations can be made to the embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the claims and their equivalents.

Claims (10)

1. A method for positioning a swept source, comprising the steps of:
obtaining a sound source initial point frequency value of a target sweep frequency sound source;
acquiring a time domain signal obtained after the target equipment acquires and plays the target swept sound source by the playing equipment;
fourier transforming the time domain signal into a frequency domain signal, and acquiring a first amplitude value corresponding to the sound source starting point frequency value from the frequency domain signal;
locating a source start point in the time domain signal based on the first amplitude in the frequency domain signal.
2. A swept tone source localization method according to claim 1, wherein the localization of a source starting point in the time domain signal based on the first amplitude in the frequency domain signal comprises the steps of:
inverse fourier transforming the frequency domain signal into the time domain signal;
acquiring a second amplitude corresponding to the first amplitude from the time domain signal;
and positioning a time point corresponding to the second amplitude in the time domain signal, and taking the time point as a sound source starting point in the time domain signal.
3. A method for locating a swept tone source as defined in claim 1, further comprising the steps of:
acquiring the duration of the target sweep frequency sound source;
and dividing the target frequency sweeping sound source in the time domain signal based on the time length of the target frequency sweeping sound source and the sound source starting point in the time domain signal.
4. A swept tone source positioning method as claimed in claim 3, further comprising the steps of:
and judging the quality parameters of the target equipment or the playing equipment through the segmented target sweep frequency sound source.
5. A swept tone source localization method according to any one of claims 1 to 4, wherein: the frequency domain range of the standard frequency scanning sound source is 20Hz to 20000Hz, and the frequency value of the sound source starting point is 20 Hz.
6. A swept tone source localization method according to any one of claims 1 to 4, wherein: the target device is a microphone or the playing device is a loudspeaker.
7. A method for testing the quality of an audio device, wherein the method for locating a swept-source sound according to any one of claims 1 to 6 is applied, and the method for testing the quality of an audio device comprises:
acquiring a sound source starting point in the time domain signal;
and judging the quality parameters of the target equipment or the playing equipment according to the time domain signal by taking the sound source starting point as a test starting point.
8. A swept audio source localization system, comprising:
the sound source information acquisition unit is used for acquiring a sound source initial point frequency value of the target sweep frequency sound source;
the time domain signal acquisition unit is used for acquiring a time domain signal obtained after the target equipment acquires the target sweep frequency sound source played by the playing equipment;
the frequency domain amplitude acquisition unit is used for Fourier transforming the time domain signal into a frequency domain signal and acquiring a first amplitude corresponding to the sound source starting point frequency value from the frequency domain signal;
a start position locating unit for locating a sound source start point in the time domain signal based on the first amplitude value in the frequency domain signal.
9. An electronic device, comprising: a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor when executing the computer program implements: the method for locating a swept tone source according to any one of claims 1 to 6 or the method for testing the quality of an audio device according to claim 7.
10. A computer-readable storage medium having stored thereon computer-executable instructions for performing: the method for locating a swept tone source according to any one of claims 1 to 6 or the method for testing the quality of an audio device according to claim 7.
CN202110848698.2A 2021-07-26 2021-07-26 Method for positioning frequency sweeping sound source, method, system and equipment for testing quality of audio equipment Active CN113473348B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110848698.2A CN113473348B (en) 2021-07-26 2021-07-26 Method for positioning frequency sweeping sound source, method, system and equipment for testing quality of audio equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110848698.2A CN113473348B (en) 2021-07-26 2021-07-26 Method for positioning frequency sweeping sound source, method, system and equipment for testing quality of audio equipment

Publications (2)

Publication Number Publication Date
CN113473348A true CN113473348A (en) 2021-10-01
CN113473348B CN113473348B (en) 2023-03-24

Family

ID=77882609

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110848698.2A Active CN113473348B (en) 2021-07-26 2021-07-26 Method for positioning frequency sweeping sound source, method, system and equipment for testing quality of audio equipment

Country Status (1)

Country Link
CN (1) CN113473348B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2169893A2 (en) * 2008-09-30 2010-03-31 Sony Corporation Determination of a starting point of the FFT window in an OFDM receiver
CN106791825A (en) * 2016-12-23 2017-05-31 深圳创维数字技术有限公司 A kind of audio automated testing method and terminal
CN107086039A (en) * 2017-05-25 2017-08-22 北京小鱼在家科技有限公司 A kind of acoustic signal processing method and device
CN108387873A (en) * 2018-03-29 2018-08-10 广州视源电子科技股份有限公司 Sound source positioning method and system, sound box system positioning method and sound box system
CN108429998A (en) * 2018-03-29 2018-08-21 广州视源电子科技股份有限公司 Sound source positioning method and system, sound box system positioning method and sound box system
CN109831733A (en) * 2019-02-26 2019-05-31 北京百度网讯科技有限公司 Test method, device, equipment and the storage medium of audio broadcast performance
CN110139204A (en) * 2019-05-29 2019-08-16 北京百度网讯科技有限公司 Intelligent sound equipment acoustical behavior test method and system
CN111103568A (en) * 2019-12-10 2020-05-05 北京声智科技有限公司 Sound source positioning method, device, medium and equipment
CN111785294A (en) * 2020-06-12 2020-10-16 Oppo广东移动通信有限公司 Audio detection method and device, terminal and storage medium
CN111988722A (en) * 2019-05-22 2020-11-24 和硕联合科技股份有限公司 Test audio generation method and analysis method
CN112562647A (en) * 2020-11-24 2021-03-26 中电海康集团有限公司 Method and device for marking audio starting point
CN112995882A (en) * 2021-05-11 2021-06-18 杭州兆华电子有限公司 Intelligent equipment audio open loop test method

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2169893A2 (en) * 2008-09-30 2010-03-31 Sony Corporation Determination of a starting point of the FFT window in an OFDM receiver
CN106791825A (en) * 2016-12-23 2017-05-31 深圳创维数字技术有限公司 A kind of audio automated testing method and terminal
CN107086039A (en) * 2017-05-25 2017-08-22 北京小鱼在家科技有限公司 A kind of acoustic signal processing method and device
CN108387873A (en) * 2018-03-29 2018-08-10 广州视源电子科技股份有限公司 Sound source positioning method and system, sound box system positioning method and sound box system
CN108429998A (en) * 2018-03-29 2018-08-21 广州视源电子科技股份有限公司 Sound source positioning method and system, sound box system positioning method and sound box system
CN109831733A (en) * 2019-02-26 2019-05-31 北京百度网讯科技有限公司 Test method, device, equipment and the storage medium of audio broadcast performance
CN111988722A (en) * 2019-05-22 2020-11-24 和硕联合科技股份有限公司 Test audio generation method and analysis method
CN110139204A (en) * 2019-05-29 2019-08-16 北京百度网讯科技有限公司 Intelligent sound equipment acoustical behavior test method and system
CN111103568A (en) * 2019-12-10 2020-05-05 北京声智科技有限公司 Sound source positioning method, device, medium and equipment
CN111785294A (en) * 2020-06-12 2020-10-16 Oppo广东移动通信有限公司 Audio detection method and device, terminal and storage medium
CN112562647A (en) * 2020-11-24 2021-03-26 中电海康集团有限公司 Method and device for marking audio starting point
CN112995882A (en) * 2021-05-11 2021-06-18 杭州兆华电子有限公司 Intelligent equipment audio open loop test method

Also Published As

Publication number Publication date
CN113473348B (en) 2023-03-24

Similar Documents

Publication Publication Date Title
US9699556B2 (en) Enhancing audio using a mobile device
US8126156B2 (en) Calibrating at least one system microphone
US9596553B2 (en) Apparatus and method for performing an audio measurement sweep
CN111182435B (en) Testing method and device of voice equipment
CN111883163B (en) Audio howling suppression method, device and system and neural network training method
WO2016184138A1 (en) Method, mobile terminal and computer storage medium for adjusting audio parameters
CN106068008B (en) Audio-frequence player device distortion measurement method
CN104937955B (en) Automatic loud speaker Check up polarity
CN113259832B (en) Microphone array detection method and device, electronic equipment and storage medium
CN109379689A (en) Loudspeaker total harmonic distortion measurement method, device, storage medium and measuring system
CN110875056A (en) Voice transcription device, system, method and electronic device
CN107452398B (en) Echo acquisition method, electronic device and computer readable storage medium
CN110858950A (en) Sound equipment testing method, sound equipment testing equipment and sound equipment
CN105188008B (en) A kind of method and device of testing audio output unit
CN108924725B (en) Sound effect testing method of vehicle-mounted sound system
CA3123970A1 (en) High-precision temporal measurement of vibro-acoustic events in synchronisation with a sound signal on a touch-screen device
CN113473348B (en) Method for positioning frequency sweeping sound source, method, system and equipment for testing quality of audio equipment
CN112995882B (en) Intelligent equipment audio open loop test method
JP2012114826A (en) Acoustic correction apparatus and acoustic correction method
CN113257247A (en) Test method and system
CN111885474A (en) Microphone testing method and device
CN112908347A (en) Noise detection method and terminal
CN111953967A (en) Method for automatically testing microphone and loudspeaker of network camera
CN111314536B (en) Method and equipment for detecting listening module of terminal equipment
EP4072162B1 (en) Method for auto-diagnosis of an audio playback device

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