CN116805493A - Sound processing method and sound processing device - Google Patents
Sound processing method and sound processing device Download PDFInfo
- Publication number
- CN116805493A CN116805493A CN202210265505.5A CN202210265505A CN116805493A CN 116805493 A CN116805493 A CN 116805493A CN 202210265505 A CN202210265505 A CN 202210265505A CN 116805493 A CN116805493 A CN 116805493A
- Authority
- CN
- China
- Prior art keywords
- frequency
- sound
- sound pressure
- pressure value
- difference
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L21/00—Speech or voice signal processing techniques to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
- G10L21/02—Speech enhancement, e.g. noise reduction or echo cancellation
- G10L21/0208—Noise filtering
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L25/00—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
- G10L25/48—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use
- G10L25/51—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use for comparison or discrimination
Landscapes
- Engineering & Computer Science (AREA)
- Computational Linguistics (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Multimedia (AREA)
- Quality & Reliability (AREA)
- Measurement Of Mechanical Vibrations Or Ultrasonic Waves (AREA)
Abstract
The application provides a sound processing method and a sound processing device, wherein the method comprises the following steps: acquiring a sound spectrum of a sound waveform; judging a target frequency corresponding to a target sound pressure value higher than a sound pressure critical value in the sound frequency spectrum; obtaining a frequency range corresponding to the target frequency, wherein the frequency range comprises an upper limit frequency and a lower limit frequency; judging whether a first sound pressure value difference corresponding to the target frequency and the upper limit frequency and a second sound pressure value difference corresponding to the target frequency and the lower limit frequency are larger than a sound pressure difference critical value or not; recording the target frequency as an abnormal peak frequency when judging that the first sound pressure value and the second sound pressure value are both larger than a sound pressure difference critical value; and filtering the sound waveform according to the abnormal peak frequency and the default bandwidth.
Description
Technical Field
The present application relates to the field of sound processing technology, and in particular, to a sound processing method and a sound processing device for determining abnormal peak frequency in a sound waveform.
Background
Recently, the efficiency of electronic products is gradually improved, and the heat energy generated by the electronic products is correspondingly improved, so that the fan is required to radiate heat when the electronic products generate heat energy, and whether the fan is good or not determines the operation smoothness of the electronic products, however, the fan generates noise when running at high speed, which causes discomfort to users, and an operator (such as an engineer) needs to perform noise test on the fan to confirm the noise condition of the fan before the electronic products (such as a notebook computer, an integrated computer and the like) are shipped.
Currently, the fan noise test includes a fan noise objective listening test and a fan noise subjective listening test, wherein the fan noise objective listening test and the fan noise subjective listening test are performed in a conference room or other places, and the fan noise objective listening result and the fan noise subjective listening result are different, for example, the fan noise objective listening result is no noise, and the fan noise subjective listening result is uncomfortable noise.
Disclosure of Invention
According to the foregoing, the present application provides a sound processing method and a sound processing device, which analyze the sound spectrum of the sound waveform to find and filter noise, so as to assist the operator in clearing the noise.
According to one embodiment of the present application, a sound processing method includes: obtaining a sound spectrum of a sound waveform; judging a target frequency corresponding to a target sound pressure value higher than a sound pressure critical value in the sound frequency spectrum; obtaining a frequency range corresponding to the target frequency, wherein the frequency range comprises an upper limit frequency and a lower limit frequency; judging whether a first sound pressure value difference corresponding to the target frequency and the upper limit frequency and a second sound pressure value difference corresponding to the target frequency and the lower limit frequency are larger than a sound pressure difference critical value or not; recording the target frequency as an abnormal peak frequency when judging that the first sound pressure value and the second sound pressure value are both larger than the sound pressure difference critical value; and filtering the sound waveform according to the abnormal peak frequency and a default bandwidth.
In an embodiment of the application, the sound spectrum is a prominence spectrum, and obtaining the frequency range corresponding to the target frequency includes: converting a conversion frequency corresponding to the target frequency in a Fourier spectrum of the sound waveform; and obtaining the frequency range according to the converted frequency; the first sound pressure value difference is a difference between a sound pressure value corresponding to the conversion frequency and a sound pressure value corresponding to the upper limit frequency, and the second sound pressure value difference is a difference between the sound pressure value corresponding to the conversion frequency and a sound pressure value of the lower limit frequency.
In an embodiment of the application, the method further comprises: and when the target frequency is judged to be the frequency multiple of a rotating frequency of a fan, judging that the fan is a different sound source.
In an embodiment of the application, the filtering of the sound waveform is band reject filtering.
In an embodiment of the application, the method further comprises: acquiring a plurality of first sound pressure values corresponding to a plurality of first frequency points larger than the upper limit frequency; obtaining a plurality of second sound pressure values corresponding to a plurality of second frequency points smaller than the lower limit frequency; and taking an average value of the first sound pressure values and the second sound pressure values as the sound pressure difference critical value.
According to an embodiment of the application, a sound processing apparatus includes a recorder for recording a sound waveform; and a processor connected to the sound recorder and generating a sound spectrum according to the sound waveform, wherein the processor performs the following steps: judging a target frequency corresponding to a target sound pressure value higher than a sound pressure critical value in the sound frequency spectrum; obtaining a frequency range corresponding to the target frequency, wherein the frequency range comprises an upper limit frequency and a lower limit frequency; judging whether a first sound pressure value difference corresponding to the target frequency and the upper limit frequency and a second sound pressure value difference corresponding to the target frequency and the lower limit frequency are larger than a sound pressure difference critical value or not; recording the target frequency as an abnormal peak frequency when judging that the first sound pressure value and the second sound pressure value are both larger than the sound pressure difference critical value; and filtering the sound waveform according to the abnormal peak frequency and a default bandwidth.
In an embodiment of the application, the sound spectrum is a prominence spectrum, the processor converts a conversion frequency corresponding to the target frequency in a fourier spectrum of the sound waveform, and obtains the frequency range according to the conversion frequency, the first sound pressure value difference is a difference between a sound pressure value corresponding to the conversion frequency and a sound pressure value corresponding to the upper limit frequency, and the second sound pressure value difference is a difference between the sound pressure value corresponding to the conversion frequency and a sound pressure value corresponding to the lower limit frequency.
In an embodiment of the application, the processor determines that the target frequency is a multiple of a rotational frequency of a fan, and determines that the fan is a different sound source.
In an embodiment of the application, the filtering of the sound waveform by the processor is band reject filtering.
In an embodiment of the application, the processor obtains a plurality of first sound pressure values corresponding to a plurality of first frequency points greater than the upper limit frequency, and obtains a plurality of second sound pressure values corresponding to a plurality of second frequency points less than the lower limit frequency, and uses an average value of the first sound pressure values and the second sound pressure values as the sound pressure difference critical value.
In summary, according to the sound processing method and the sound processing device, the abnormal peak frequency is determined by using the sound pressure critical value and the sound pressure difference critical value, and the sound waveform is filtered according to the abnormal peak frequency and the default bandwidth, so that the accuracy of determining the abnormal peak frequency can be improved, the filtering effect can be improved, and the noise elimination problem of an operator can be assisted; furthermore, the sound processing device of the application records the subjective listening sound by the recorder, and the processor analyzes the abnormal peak frequency of the recorded sound, so as to achieve the effects of real-time recording and analyzing the sound quality.
Drawings
The above and other aspects, features and other advantages of the present application will be more clearly understood from the following description of the embodiments taken in conjunction with the accompanying drawings.
Fig. 1 is a functional block diagram of a sound processing apparatus according to an embodiment of the application.
Fig. 2 is a flowchart of a sound processing method according to an embodiment of the application.
Fig. 3 is a flowchart illustrating a step of acquiring a frequency range in a sound processing method according to an embodiment of the application.
Fig. 4 is a flow chart illustrating a method for defining a threshold of sound pressure difference in a sound processing method according to another embodiment of the application.
FIG. 5 is a measurement interface of a sound processing apparatus according to an embodiment of the application.
Fig. 6 is a block diagram of an audio filter playback program interface for performing pre-filtering according to an embodiment of the application.
Fig. 7 is a block diagram of a filtered sound filter playback program interface according to an embodiment of the application.
Symbol description
S11 to S17 steps
S131 to S132 steps
S21 to S23 steps
1. Sound processing device
10. Recorder
20. Processor and method for controlling the same
Peak points P1 to P4
Detailed Description
The detailed features and advantages of the present application will be readily apparent to those skilled in the art from that description, that is, the objects and advantages of the application will be readily apparent to those skilled in the art from the following detailed description, claims, and drawings. The following examples illustrate the aspects of the application in further detail, but are not intended to limit the scope of the application in any way.
It will be understood that, although the terms "first," "second," etc. may be used herein to describe various elements, components, regions, layers and/or sections, these elements, components, regions, layers and/or sections should not be limited by these terms. These terms are only used to distinguish one element, component, region, layer or section from another element, component, region, layer or section.
Furthermore, the terms "comprises," "comprising," and/or "includes" specify the presence of stated features, regions, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, regions, integers, steps, operations, elements, components, and/or groups thereof.
Referring to fig. 1, which is a functional block diagram of a sound processing apparatus according to an embodiment of the present application, as shown in fig. 1, the sound processing apparatus 1 includes a sound recorder 10 and a processor 20, the sound recorder 10 records sound waveforms, the sound waveforms may be sound waveforms recorded by a device to be tested (for example, a notebook computer, an all-in-one computer, etc. electronic devices with fans), the processor 20 may be connected to the sound recorder 10 in a wired or wireless manner, and generates a sound spectrum according to the sound waveforms, and analyzes the sound spectrum to find and filter noise, a detailed mechanism of finding and filtering noise will be described later, the processor 20 may be a central processor, a graphics processor, or other types of processors, which is not limited to the scope of the present application, further, the processor 20 may provide a band-stop filtering function, and the sound processing apparatus 1 may further include a display. The display is connected to the processor 20 by wired or wireless means and is used to display the measurement interface and the audio filter playback program interface, wherein the format of the interface will be described later.
Referring to fig. 1 and 2, fig. 2 is a flowchart of a sound processing method according to an embodiment of the application, and as shown in fig. 2, the sound processing method includes steps S11 to S17, and the sound processing method shown in fig. 2 is applicable to the sound processing apparatus 1 shown in fig. 1, but not limited thereto. Steps S11 to S17 will be described below by way of example with reference to the operation of the sound processing apparatus 1 shown in fig. 1.
Step S11: a sound spectrum of a sound waveform is obtained. Specifically, the processor 20 obtains a sound waveform from the recorder 10 and generates a sound spectrum from the sound waveform.
Step S12: a target frequency in the sound spectrum corresponding to a target sound pressure value above a sound pressure threshold is determined. Specifically, the sound spectrum includes a correspondence (in particular, a one-to-one correspondence) between a plurality of frequencies and sound pressure values, for example, a plurality of sound pressure values corresponding to a plurality of frequencies in a range of "100" to "2000" hertz (Hz), and the sound spectrum may be a fourier transform spectrum or a protrusion ratio (protrusion ratio) spectrum. The sound pressure threshold is pre-stored in the memory of the processor 20. The processor 20 compares each sound pressure value to a sound pressure threshold. If the sound pressure value is greater than the sound pressure threshold value, the processor 20 determines that the sound pressure value is the target sound pressure value and takes the corresponding frequency as the target frequency; if the sound pressure value is not greater than the sound pressure threshold, the processor 20 does not activate or record the frequency non-target frequency corresponding to the sound pressure value. In particular, the frequency points included in the saliency spectrum and the frequency points included in the fourier spectrum are different from each other, and the sound pressure threshold value set in the saliency spectrum and the sound pressure threshold value set in the fourier spectrum are also different from each other. For example, the sound pressure threshold of the applicable protrusion rate spectrum may be set to "6dB", and the sound pressure threshold of the applicable fourier spectrum may be set to "50dB", but the application is not limited thereto.
Step S13: a frequency range corresponding to the target frequency is obtained, wherein the frequency range comprises an upper limit frequency and a lower limit frequency. Specifically, the processor 20 sets the upper limit frequency and the lower limit frequency according to the target frequency, and sets the frequency range according to the upper limit frequency, the target frequency, and the lower limit frequency. In an implementation where the sound spectrum is a fourier transform spectrum, the frequency range includes the target frequency. Further, the processor 20 may take the target frequency as the center frequency and take the frequency of positive and negative N Hz of the center frequency as the upper and lower limit frequencies, where N is, for example, "10" to "20".
In the embodiment in which the sound spectrum is the prominence spectrum, the processor 20 firstly converts the target frequency to obtain a converted frequency, and then obtains a frequency range according to the converted frequency. Referring to fig. 3, fig. 3 is a flowchart illustrating a step of obtaining a frequency range in a sound processing method according to an embodiment of the application. As shown in fig. 3, the step of obtaining the frequency range may include steps S131 and S132. Step S131 and step S132 are exemplarily described below with respect to the operation of the sound processing apparatus 1 shown in fig. 1.
Step S131: the conversion target frequency corresponds to a conversion frequency in the fourier spectrum of the sound waveform. Specifically, the processor 20 converts the target frequency in the saliency spectrum into a frequency in the fourier spectrum as the converted frequency. The psycho-acoustic saliency rate is based on a "1" octave (octave) of the "12" fraction as a bandwidth analysis, so that the corresponding frequencies in the fourier spectrum can be back-extrapolated from the frequencies in the saliency spectrum within the bandwidth, and the sound pressure value can be automatically grasped.
Step S132: the frequency range is obtained from the converted frequency. Specifically, the processor 20 sets an upper limit frequency and a lower limit frequency according to the conversion frequency, the conversion frequency is located between the upper limit frequency and the lower limit frequency, and the processor 20 sets a frequency range according to the upper limit frequency, the conversion frequency, and the lower limit frequency. Further, the processor 20 may convert the frequency to a center frequency, and take the frequency of positive and negative N Hz of the center frequency as the upper and lower limit frequencies, where N is, for example, "10" to "20".
In particular, some noises have low sound pressure levels, and do not show peaks exceeding the threshold value of sound pressure on the Fourier transform spectrum, but give uncomfortable feeling to users, because the noises contain a plurality of prominent pure sound components, and the prominence is a parameter for evaluating whether the scores are prominent. Therefore, by the implementation mode of searching the target frequency from the prominence frequency spectrum, the effect of subsequent noise elimination can be improved. In yet another embodiment, the processor 20 may search the target frequencies from the Fourier transform spectrum and the saliency sound spectrum simultaneously, and follow the steps for each target frequency value.
Step S14: and judging whether a first sound pressure value difference corresponding to the target frequency and the upper limit frequency and a second sound pressure value difference corresponding to the target frequency and the lower limit frequency are larger than a sound pressure difference critical value or not. Specifically, in the implementation of the sound spectrum being the fourier transform spectrum, the processor 20 calculates a difference between the target sound pressure value corresponding to the target frequency and the sound pressure value corresponding to the upper limit frequency as the first sound pressure value difference, calculates a difference between the target sound pressure value corresponding to the target frequency and the sound pressure value corresponding to the lower limit frequency as the second sound pressure value difference, and then determines whether both the first sound pressure value difference and the second sound pressure value difference are greater than the sound pressure difference threshold value. The sound pressure value corresponding to each frequency is the sound pressure value corresponding to each frequency in the Fourier transform spectrum.
In an implementation of the sound spectrum being the prominence spectrum, the processor 20 calculates a difference between a sound pressure value corresponding to the conversion frequency converted from the target frequency and a sound pressure value corresponding to the upper limit frequency as a first sound pressure value difference, calculates a difference between a sound pressure value corresponding to the conversion frequency and a sound pressure value corresponding to the lower limit frequency as a second sound pressure value difference, and then determines whether both the first sound pressure value difference and the second sound pressure value difference are greater than a sound pressure difference threshold value. The sound pressure value corresponding to each frequency is the sound pressure value corresponding to each frequency in the Fourier transform spectrum.
When the processor 20 determines that the first sound pressure difference and the second sound pressure difference are both greater than the sound pressure difference threshold, step S15 is continued; when the processor 20 determines that the first sound pressure difference or the second sound pressure difference is not greater than the sound pressure difference threshold, step S17 is continued.
Step S15: the target frequency is recorded as the abnormal peak frequency. Specifically, when the processor 20 determines that the first sound pressure difference and the second sound pressure difference are both greater than the sound pressure difference threshold, the processor 20 determines that the target frequency corresponds to the abnormal peak, and records the target frequency as the abnormal peak frequency.
Step S16: and filtering the sound waveform according to the abnormal peak frequency and the default bandwidth. Specifically, the processor 20 sets the upper and lower boundary frequencies of the filtering according to the default bandwidth after acquiring the abnormal peak frequency, and filters the sound waveform with the frequency range composed of the upper and lower boundary frequencies as the filtering range. The filtering of the sound waveform by the processor 20 may be band-reject, high-pass or low-pass, and in particular band-reject. The predetermined bandwidth may be pre-stored in the processor 20 and may be set to positive and negative N Hz of the abnormal peak frequency, where N is, for example, "10" to "20". In one embodiment, the processor 20 automatically filters the sound waveform after obtaining the filtering range. In another embodiment, the processor 20 presents the filtering range to the operator via a display,
step S17: the target frequency is deactivated or recorded as the normal peak frequency. Specifically, when the processor 20 determines that the first sound pressure difference or the second sound pressure difference is not greater than the sound pressure difference threshold, the processor 20 determines that the target frequency is a normal frequency, and may not actuate or record the target frequency as the normal frequency.
In addition, in addition to the above steps, the sound processing method may further include: when the target frequency is judged to be the frequency multiple of the rotation frequency of the fan, the fan is judged to be a different sound source. This step may be performed after step S15. Specifically, the processor 20 calculates and determines whether the abnormal peak frequency is a multiple of the rotational frequency of the fan, and when determining that the abnormal peak frequency is a multiple of the rotational frequency of the fan, the processor 20 determines that the abnormal peak frequency is related to the rotational frequency of the fan and determines that the fan is a foreign sound source; when the abnormal peak frequency is determined not to be a multiple of the rotational frequency of the fan, the processor 20 determines that the abnormal peak frequency is independent of the rotational frequency of the fan and that the abnormal peak frequency may be caused by other abnormal sound sources (e.g., motor vibration). By this step, the operator (e.g., engineer) can be assisted in clearing the alien sources.
In another embodiment, the sound processing method may further include a step of defining a sound pressure difference threshold in addition to the steps described in the previous embodiment. Referring to fig. 1 and 4, fig. 4 is a flowchart illustrating a method for defining an acoustic pressure difference threshold in an acoustic processing method according to another embodiment of the present application. As shown in fig. 4, the step of defining the threshold value of the acoustic pressure difference may include steps S21 to S23, and steps S21 to S23 may be performed at any time point before step S14 shown in fig. 2, and the order of performing steps S21 and S22 may be opposite to or simultaneously performed as shown in fig. 4. The step of defining the threshold of the acoustic pressure difference shown in fig. 4 is applicable to the acoustic processing device shown in fig. 1, but is not limited thereto. Steps S21 to S23 will be described below by way of example with reference to the operation of the sound processing apparatus 1 shown in fig. 1.
Step S21: a plurality of first sound pressure values corresponding to a plurality of first frequency points larger than an upper limit frequency are obtained. Specifically, the processor 20 calculates an estimated upper limit frequency according to the upper limit frequency and the frequency resolution, and then obtains a plurality of first frequency points between the upper limit frequency and the estimated upper limit frequency and a plurality of corresponding first sound pressure values. For example, the upper limit frequency is "538Hz", the frequency resolution is "3.125Hz", and the number of first frequency points is set as: "10", the estimated upper limit frequency is "600.5Hz", and the processor 20 obtains "10" first sound pressure values corresponding to "10" first frequency points between "538Hz" and "600.5 Hz".
Step S22: and obtaining a plurality of second sound pressure values corresponding to a plurality of second frequency points smaller than the lower limit frequency. Specifically, the processor 20 calculates an estimated lower limit frequency with the lower limit frequency as a reference and the frequency resolution, and then obtains a plurality of second frequency points between the lower limit frequency and the estimated lower limit frequency and a plurality of second sound pressure values corresponding to the second frequency points. For example, the lower limit frequency is "518Hz", the frequency resolution is "3.125Hz", the number of second frequency points is set to "10", the estimated lower limit frequency is "455.5Hz", and the processor 20 obtains "10" second sound pressure values corresponding to "10" second frequency points between "455.5Hz" and "518 Hz".
Step S23: and taking the average value of the first sound pressure value and the second sound pressure value as a sound pressure difference critical value. Specifically, the processor 20 averages the first sound pressure value and the second sound pressure value to obtain an average value, and uses the average value as the sound pressure difference threshold value. For example, the processor 20 averages the "10" first sound pressure values and the "10" second sound pressure values to obtain the average value as the sound pressure difference threshold.
As described above, in one embodiment, the audio processing device may provide a measurement interface and an audio filter playback program interface. Referring to fig. 5 to 7, fig. 5 is a measurement interface of a sound processing apparatus according to an embodiment of the application, and fig. 6 and fig. 7 are respectively a playback program interface for performing pre-filtering and post-filtering sound filtering according to an embodiment of the application.
As shown in fig. 5, the measurement interface includes a plurality of sound related parameter setting fields, a storage path (file path) setting field, a recording seconds (recording time) field, a start recording key and a stop recording key. The operator can set the relevant parameters of each sound, then input the storage path and the recording seconds, press the start recording key to start recording, and stop recording at any time by stopping the recording key.
Fig. 6 and 7 exemplarily show spectrograms before and after processing by the sound processing method described in the previous embodiment. As shown in fig. 6, the fourier transform spectrum shows peaks P1 and P2 having sound pressure values higher than the sound pressure threshold value "50dB", corresponding to the target frequencies "528Hz" and "1056Hz", respectively, and the saliency spectrum shows peaks P3 and P4 having sound pressure values higher than the sound pressure threshold value "6dB", corresponding to the target frequencies "485.766Hz" and "1029Hz", respectively. Wherein "528Hz" of the fourier transform spectrum corresponds to "485.766Hz" of the saliency spectrum, and "1056Hz" of the fourier transform spectrum corresponds to "1029Hz" of the saliency spectrum. By the above-mentioned sound processing method using the fourier transform spectrum as the sound spectrum, the sound processing apparatus can determine that the difference between the front and rear sound pressures of the target frequencies "528Hz" and "1056Hz" are both greater than the critical value of the sound pressure difference, and determine that the difference is the abnormal peak frequency. By the above-described sound processing method using the saliency spectrum as the sound spectrum, the sound processing apparatus can convert the target frequencies "485.766Hz" and "1029Hz" into "528Hz" and "1056Hz", respectively, and then determine that they are abnormal peak frequencies.
As shown in fig. 7, the sound processing apparatus can automatically fill the frequencies of the abnormal peak frequency plus or minus "10Hz" in the lower boundary frequency (Low freq.) and the upper boundary frequency (Up freq.) of the filter as the filter bandwidths, and the filter is set to the band stop. It can be seen from the fourier transform spectrum of fig. 7 that the peak waves of "528Hz" and "1056Hz" have disappeared, and the sound pressure values corresponding to "485.766Hz" and "1029Hz" on the prominence spectrum also drop to values close to zero, indicating that uncomfortable sounds have disappeared.
In summary, according to the sound processing method and the sound processing device of the present application, the abnormal peak frequency is determined by using the sound pressure critical value and the sound pressure difference critical value, and the sound waveform is filtered according to the abnormal peak frequency and the default bandwidth, so that the accuracy of determining the abnormal peak frequency can be improved, the filtering effect can be improved, and the noise problem can be solved by the operator. Furthermore, the sound processing device records the sound of subjective listening by the recorder, and the processor analyzes the abnormal peak frequency of the recorded sound, so that the effects of recording in real time and analyzing the sound quality can be achieved.
Although the present application is described in the above embodiments, it is not limited thereto. Changes and modifications can be made without departing from the spirit and scope of the application, and the application is not limited to the above-mentioned changes and modifications. Reference is made to the appended claims for a full scope of protection.
Claims (10)
1. A method of sound processing comprising executing, with a processor:
obtaining a sound spectrum of a sound waveform;
judging a target frequency corresponding to a target sound pressure value higher than a sound pressure critical value in the sound frequency spectrum;
obtaining a frequency range corresponding to the target frequency, wherein the frequency range comprises an upper limit frequency and a lower limit frequency;
judging whether a first sound pressure value difference corresponding to the target frequency and the upper limit frequency and a second sound pressure value difference corresponding to the target frequency and the lower limit frequency are larger than a sound pressure difference critical value or not;
recording the target frequency as an abnormal peak frequency when judging that the first sound pressure value and the second sound pressure value are both larger than the sound pressure difference critical value; and
and filtering the sound waveform according to the abnormal peak frequency and a default bandwidth.
2. The method of claim 1, wherein the sound spectrum is a prominence spectrum, and wherein obtaining the frequency range corresponding to the target frequency comprises:
converting a conversion frequency corresponding to the target frequency in a Fourier spectrum of the sound waveform; and
acquiring the frequency range according to the conversion frequency;
the first sound pressure value difference is a difference between a sound pressure value corresponding to the conversion frequency and a sound pressure value corresponding to the upper limit frequency, and the second sound pressure value difference is a difference between the sound pressure value corresponding to the conversion frequency and a sound pressure value of the lower limit frequency.
3. The sound processing method of claim 1, wherein the method further comprises: and when the target frequency is judged to be the frequency multiple of a rotating frequency of a fan, judging that the fan is a different sound source.
4. The sound processing method according to claim 1, characterized in that the filtering performed on the sound waveform is band-stop filtering.
5. The sound processing method of claim 1, wherein the method further comprises:
acquiring a plurality of first sound pressure values corresponding to a plurality of first frequency points larger than the upper limit frequency;
obtaining a plurality of second sound pressure values corresponding to a plurality of second frequency points smaller than the lower limit frequency; and
and taking an average value of the first sound pressure values and the second sound pressure values as the sound pressure difference critical value.
6. A sound processing apparatus, characterized in that the sound processing apparatus comprises:
a recorder for recording a sound waveform; and
a processor, for connecting with the sound recorder and generating a sound spectrum according to the sound waveform, wherein the processor executes the following steps:
judging a target frequency corresponding to a target sound pressure value higher than a sound pressure critical value in the sound frequency spectrum;
obtaining a frequency range corresponding to the target frequency, wherein the frequency range comprises an upper limit frequency and a lower limit frequency;
judging whether a first sound pressure value difference corresponding to the target frequency and the upper limit frequency and a second sound pressure value difference corresponding to the target frequency and the lower limit frequency are larger than a sound pressure difference critical value or not;
recording the target frequency as an abnormal peak frequency when judging that the first sound pressure value and the second sound pressure value are both larger than the sound pressure difference critical value; and
and filtering the sound waveform according to the abnormal peak frequency and a default bandwidth.
7. The sound processing apparatus according to claim 6, wherein the sound spectrum is a saliency spectrum, the processor converts a conversion frequency of the target frequency in a fourier spectrum of the sound waveform and obtains the frequency range according to the conversion frequency, the first sound pressure value difference is a difference between a sound pressure value corresponding to the conversion frequency and a sound pressure value corresponding to the upper limit frequency, and the second sound pressure value difference is a difference between the sound pressure value corresponding to the conversion frequency and a sound pressure value corresponding to the lower limit frequency.
8. The sound processing apparatus according to claim 6, wherein the processor determines that the target frequency is a frequency multiple of a rotational frequency of a fan, and determines that the fan is a different sound source.
9. The sound processing apparatus of claim 6, wherein the filtering of the sound waveform by the processor is band reject filtering.
10. The sound processing apparatus according to claim 6, wherein the processor obtains a plurality of first sound pressure values corresponding to a plurality of first frequency points greater than the upper limit frequency, and obtains a plurality of second sound pressure values corresponding to a plurality of second frequency points less than the lower limit frequency, and uses an average value of the first sound pressure values and the second sound pressure values as the sound pressure difference threshold.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210265505.5A CN116805493A (en) | 2022-03-17 | 2022-03-17 | Sound processing method and sound processing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210265505.5A CN116805493A (en) | 2022-03-17 | 2022-03-17 | Sound processing method and sound processing device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116805493A true CN116805493A (en) | 2023-09-26 |
Family
ID=88078440
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210265505.5A Pending CN116805493A (en) | 2022-03-17 | 2022-03-17 | Sound processing method and sound processing device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116805493A (en) |
-
2022
- 2022-03-17 CN CN202210265505.5A patent/CN116805493A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110031088B (en) | Electronic equipment fault detection method, device, equipment and range hood | |
EP2486654B1 (en) | Adaptive dynamic range enhancement of audio recordings | |
WO2004095315A1 (en) | Parameterized temporal feature analysis | |
JP2013077026A (en) | Selection for sound component in audio spectrum for articulation and key analysis | |
JP2010021627A (en) | Device, method, and program for volume control | |
Lemaitre et al. | A psychoacoustical study of wind buffeting noise | |
CN111918196B (en) | Method, device and equipment for diagnosing recording abnormity of audio collector and storage medium | |
CN113068100A (en) | Closed-loop automatic detection vibration reduction method, system, terminal and storage medium | |
Becker et al. | Progress in tonality calculation | |
Bassett et al. | Study of high frequency noise from electric machines in hybrid and electric vehicles | |
JP2000146762A (en) | Abnormality diagnostic system for rolling bearing | |
US8223990B1 (en) | Audio noise attenuation | |
Sottek et al. | Progress in roughness calculation | |
CN116805493A (en) | Sound processing method and sound processing device | |
CN104036785A (en) | Speech signal processing method, speech signal processing device and speech signal analyzing system | |
TWI794059B (en) | Audio signal processing method and audio signal processing device | |
Genuit | Background and practical examples of sound design | |
CN110390954B (en) | Method and device for evaluating quality of voice product | |
US8326557B2 (en) | Detection of an abnormal signal in a compound sampled | |
CN117759553B (en) | Fan abnormal noise detection method and fan abnormal noise detection system | |
Sottek et al. | Sound quality evaluation of fan noise based on advanced hearing-related parameters | |
CN118230763A (en) | Vehicle abnormal noise detection method, device, electronic equipment and storage medium | |
JP2014209077A (en) | Chattering noise evaluation method | |
Sottek et al. | Sound quality evaluation of fan noise based on hearing-related parameters | |
CN116312586A (en) | Noise reduction method, device, terminal and storage medium |
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 |