Sound detection device, method and system and storage medium
The sound signal is collected through the audio detection device and a visual sonogram is generated to determine the deviation map and tremolo data, which solves the problem in the existing technology that the vibration of audio equipment affects the sound quality, and achieves more accurate shock-absorbing performance judgment and user experience improvement.
Patent Information
- Application Number
- CN202410911027.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-08
- Publication Date
- 2024-10-11
AI Technical Summary
When existing audio equipment is subjected to vibration, the playback sound quality decreases, the transparency becomes worse, and the noise increases. Moreover, manual detection is easily affected by subjective factors, making analysis difficult and causing large fluctuations in accuracy.
Design an audio detection device, including a signal receiving component and a control component. By collecting sound signals, generating visual sonograms, and determining deviation diagrams and tremolo data, including tremolo time points, it can reduce the impact of manual judgment and improve judgment accuracy. .
Through automated tremolo data analysis, the accuracy of judging the shock-absorbing performance of audio equipment is improved, the analysis difficulty caused by the complexity of data redundancy is reduced, and the judgment efficiency and user experience are improved.
Smart Images

Figure CN118764807A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of audio signal detection, and in particular to an audio detection device, method, system and storage medium. Background Art
[0002] If audio equipment is subjected to greater vibration, it will greatly affect the sound quality of the audio equipment, resulting in a decrease in sound resolution, poor transparency and increased noise. Therefore, how to improve the shock-absorbing performance of audio equipment has become a research focus for audio equipment manufacturers.
[0003] Existing audio equipment can reduce audio vibration by adding shock-absorbing components, but this method often determines the efficiency of the vibrato through manual detection, which is easily affected by subjective factors; and the method of analyzing visual sound wave graphs is affected by the redundancy and complexity of the data itself, resulting in greater difficulty in analysis and fluctuations in accuracy.
[0004] Therefore, it is necessary to provide a sound detection device to help avoid the influence of manual judgment and improve the accuracy of judging tremolo. Summary of the invention
[0005] One or more embodiments of the present specification provide a sound detection device. The sound detection device includes: a signal receiving component configured to collect sound signals emitted by a sound and generate sound data; a control component configured to: generate a control instruction according to an output parameter, and control the sound to emit the sound signal based on the control instruction; the output parameter includes the start-up cycle and / or audio frequency of the sound; and, based on the sound data, generate a visual sound wave graph; based on the visual sound wave graph within a preset time period, determine a deviation graph; based on the deviation graph, determine tremolo data, and the tremolo data includes tremolo time points.
[0006] One of the embodiments of the present specification provides a sound detection method, which is executed by a control component, including: generating a control instruction according to an output parameter, and controlling the sound to emit a sound signal based on the control instruction; the output parameter includes a start-up cycle and / or an audio frequency of the sound; and, based on sound data, generating a visual sound wave graph, the sound data is generated by collecting the sound signal emitted by the sound; based on the visual sound wave graph within a preset time period, determining a deviation graph; based on the deviation graph, determining tremolo data, the tremolo data including tremolo time points.
[0007] One or more embodiments of the present specification provide a sound detection system, the system comprising at least one memory and at least one processor, the at least one memory is used to store computer instructions, and the at least one processor executes the computer instructions or part of the instructions to implement a sound detection method.
[0008] One or more embodiments of the present specification provide a computer-readable storage medium, wherein the storage medium stores computer instructions. When a computer reads the computer instructions in the storage medium, the computer executes a sound detection method. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] This specification will be further described in the form of exemplary embodiments, which will be described in detail by the accompanying drawings. These embodiments are not restrictive, and in these embodiments, the same number represents the same structure, wherein:
[0010] Figure 1 is a schematic diagram of an application scenario of the sound detection device shown in some embodiments of this specification;
[0011] Figure 2 is a schematic diagram of an acoustic detection device according to some embodiments of the present specification;
[0012] Figure 3 is an exemplary flow chart of a sound detection method according to some embodiments of this specification;
[0013] Figure 4 a and Figure 4 b is an exemplary schematic diagram of determining a deviation map according to some embodiments of this specification;
[0014] Figure 5 is an exemplary schematic diagram of determining a deviation map according to other embodiments of this specification;
[0015] Figure 6 is an exemplary schematic diagram of determining tremolo data according to some embodiments of the present specification;
[0016] Figure 7 a. Figure 7 b. Figure 7 c and Figure 7 d is an exemplary schematic diagram of determining detection data according to some embodiments of this specification;
[0017] Figure 8 a and Figure 8 b is an exemplary schematic diagram of determining a deviation subgraph according to some embodiments of this specification;
[0018] Fig. 9 a and Fig. 9 b is an exemplary schematic diagram of determining a deviation diagram according to other embodiments of this specification;
[0019] Fig.10 It is an exemplary schematic diagram of the deviation area corresponding to the deviation sub-graph shown in some embodiments of this specification. DETAILED DESCRIPTION
[0020] In order to more clearly illustrate the technical solutions of the embodiments of this specification, the following is a brief introduction to the drawings required for the description of the embodiments. Obviously, the drawings described below are only some examples or embodiments of this specification. For ordinary technicians in this field, this specification can also be applied to other similar scenarios based on these drawings without creative work. Unless it is obvious from the language environment or otherwise explained, the same reference numerals in the figures represent the same structure or operation.
[0021] It should be understood that the "system", "device", "unit" and / or "module" used herein are a method for distinguishing different components, elements, parts, portions or assemblies at different levels. However, if other words can achieve the same purpose, the words can be replaced by other expressions.
[0022] As shown in this specification and claims, unless the context clearly indicates an exception, the words "a", "an", "an" and / or "the" do not refer to the singular and may also include the plural. Generally speaking, the terms "comprise" and "include" only indicate the inclusion of the steps and elements that have been clearly identified, and these steps and elements do not constitute an exclusive list. The method or device may also include other steps or elements.
[0023] Flowcharts are used in this specification to illustrate the operations performed by the system according to the embodiments of this specification. It should be understood that the preceding or following operations are not necessarily performed precisely in order. Instead, the steps may be processed in reverse order or simultaneously. At the same time, other operations may also be added to these processes, or one or more operations may be removed from these processes.
[0024] Figure 1 Schematic diagram of application scenarios of the sound detection device shown in some embodiments of this specification. Figure 1 As shown, the application scenario 100 of the audio detection device may include an audio device 110 , a network 120 , a processor 130 , and a storage device 140 .
[0025] The audio 110 refers to the related audio equipment that needs to be detected for the tremolo. For example, the audio may include but is not limited to a flat-panel audio, a combination audio, a professional audio, a mini audio, etc.
[0026] The network 120 includes any suitable network capable of facilitating information and / or data exchange of the application scenario 100 of the sound detection device. In some embodiments, one or more components of the application scenario 100 of the sound detection device (e.g., the speaker 110, the processor 130, the storage device 140, etc.) can exchange information and / or data with one or more components of the application scenario 100 of the sound detection device via the network 120.
[0027] The processor 130 can process data and / or information obtained from other devices or system components. The processor can execute program instructions based on these data, information and / or processing results to perform one or more functions described in this application, for example, the processor can generate control instructions according to the output parameters, and control the sound to emit a sound signal based on the control instructions; and, based on the sound data, generate a visual sound wave graph; based on the visual sound wave graph within a preset time period, determine a deviation graph; and determine the tremolo data based on the deviation graph.
[0028] In some embodiments, the sound detection device 200 may be partially or completely integrated on the processor. For an introduction to the sound detection device 200, see Figure 2 and its related description.
[0029] In some embodiments, processor 130 may include one or more sub-processing devices (e.g., a single-core processing device or a multi-core multi-core processing device). As an example only, processor 130 may include a central processing unit (CPU), an application specific integrated circuit (ASIC), a microprocessor, etc., or any combination thereof.
[0030] The storage device 140 is used to store data, instructions and / or any other information. For example, the storage device can store sound data generated by the signal receiving component.
[0031] The storage device 140 may include one or more storage components, each of which may be an independent device or a part of another device. In some embodiments, the storage device 140 may include a random access memory (RAM), a read-only memory (ROM), a removable memory, etc. or any combination thereof. In some embodiments, the storage device 140 may be connected to the network 120 to communicate with one or more components in the application scenario 100 of the sound detection device.
[0032] It should be noted that the application scenario is provided only for the purpose of illustration and is not intended to limit the scope of this specification. For those of ordinary skill in the art, various modifications or changes can be made according to the description of this specification. For example, the application scenario may also include a database. For another example, the application scenario may be implemented on other devices to achieve similar or different functions. However, changes and modifications will not deviate from the scope of this specification.
[0033] Figure 2 Schematic diagram of an acoustic detection device according to some embodiments of this specification. Figure 2 As shown, the sound detection device 200 includes the following components.
[0034] In some embodiments, Figure 2 As shown, the sound detection device 200 includes a signal receiving component 210 and a control component 220 .
[0035] The signal receiving component 210 refers to a component for receiving the sound emitted by the speaker, for example, a microphone, a pickup, etc. In some embodiments, the signal receiving component can be configured to collect the sound signal emitted by the speaker and generate sound data.
[0036] The control component 220 refers to a component that controls the entire sound detection process. In some embodiments, the control component can be integrated into the above processor to implement one or more functions described in this application.
[0037] In some embodiments, the control component can be configured to: generate control instructions according to output parameters, and control the audio system to emit sound signals based on the control instructions; the output parameters include the start-up cycle and / or audio frequency of the audio system; and, based on the sound data, generate a visual sound wave graph; based on the visual sound wave graph within a preset time period, determine a deviation graph; determine tremolo data based on the deviation graph, and the tremolo data includes tremolo time points.
[0038] In some embodiments, the control component is further configured to: estimate the tremolo density based on the visual sound wave graph and the output parameter within a preset time period; and determine the deviation graph based on the tremolo density and the visual sound wave graph within the preset time period.
[0039] In some embodiments, the control component is further configured to: in response to the tremolo density satisfying the first density condition, determine at least one detection data based on the visual sound wave graph and the output parameters within a preset time period; determine a deviation graph based on the at least one detection data; in response to the tremolo density not satisfying the first density condition, determine a deviation graph based on the visual sound wave graph and the tremolo density within a preset time period.
[0040] In some embodiments, the control component is further configured to: determine at least one deviation sub-graph based on the frequency band length; and determine the tremolo data based on the at least one deviation sub-graph.
[0041] In some embodiments, the control component is further configured to: determine a deviation area of at least one deviation sub-map; and determine the tremolo data based on the deviation area of the at least one deviation sub-map and an area threshold.
[0042] For more information about the signal receiving components and control components, please refer to Figure 3-Figure 10 Related content.
[0043] It should be noted that the above description of the sound detection device and its components is only for convenience of description and does not limit the present specification to the scope of the embodiments. It is understandable that for those skilled in the art, after understanding the principle of the device, it is possible to arbitrarily combine the components or form a sub-device to connect with other components without deviating from the principle. In some embodiments, Figure 2 The signal receiving component and the control component disclosed in the invention may be different components in one device, or one component may realize the functions of two or more components. For example, each component may share a storage module, or each component may have its own storage module. Such variations are within the scope of protection of this specification.
[0044] Figure 3 is an exemplary flow chart of the sound detection method according to some embodiments of this specification. In some embodiments, process 300 can be executed by a control component. Figure 3 As shown, process 300 includes the following steps.
[0045] Step 310: Generate a control instruction according to the output parameter, and control the speaker to emit a sound signal based on the control instruction.
[0046] Output parameters refer to parameters related to the audio output. In some embodiments, the output parameters may include the startup cycle and / or audio frequency of the audio.
[0047] The start-up cycle refers to the interval between the sound signals emitted by the speaker and the duration of each sound signal emitted, for example, a sound signal is emitted every 20 minutes, and each sound signal lasts for 3 minutes. The audio frequency refers to the sound frequency when the speaker outputs a sound signal each time, for example, 10Hz.
[0048] In some embodiments, the output parameters may be determined based on system default settings, manual settings, or historical values.
[0049] Control instructions refer to instructions related to controlling the operation of the audio system, for example, instructions for controlling the audio system to emit sound signals.
[0050] In some embodiments, the control component can generate control instructions based on the output parameters in a variety of ways. For example, the control component can generate control instructions including a start-up cycle and / or an audio frequency based on the output parameters.
[0051] Acoustic signals are sound waves that are transmitted through mechanical vibrations in gases, liquids or solids.
[0052] In some embodiments, the control component generates a control instruction and sends the control instruction to the speaker, so that the speaker emits a sound signal according to the control instruction.
[0053] Step 320, generating a visual sound wave graph based on the sound data.
[0054] The sound data refers to a sound signal in the form of an analog signal, for example, the sound data may include an audio frequency, etc.
[0055] In some embodiments, the control component can obtain sound data based on a variety of methods. For example, the control component can control the sound to emit a sound signal based on a control instruction, the signal receiving component can collect the sound signal emitted by the sound and convert it into an analog voltage signal, and then convert the analog voltage signal into a digital signal through an analog-to-digital converter (A / D) to obtain the sound data, and the signal receiving component can send the sound data to the control component. As an example only, the analog-to-digital conversion method includes pulse code modulation (Pulse Code Modulation, PCM) and the like. For another example, the control component can obtain the sound data historically collected by the signal receiving component stored in the storage device and use it as the current sound data.
[0056] A visual sound wave graph refers to a sound wave graph that displays sound data through a visual image. In some embodiments, the visual sound wave graph can be represented based on a two-dimensional coordinate graph, where the horizontal axis represents time and the vertical axis represents audio frequency. Figure 4 a is a visual sound wave diagram of the collected sound data and the standard sound data, where: Figure 4 The orange line in a is a visual sound wave graph of standard sound data, and the blue line is a visual sound wave graph generated based on the collected sound data (hereinafter referred to as the sound data to be tested).
[0057] The visual sound wave graph of standard sound data may refer to a visual sound wave graph obtained based on a standard sound signal emitted by a standard sound. A standard sound refers to a sound that is of the same type as the sound that generates the sound data to be tested (hereinafter referred to as the sound to be tested) and meets the quality requirements, and a standard sound signal refers to a sound signal emitted by the standard sound according to the same control instruction as received by the sound to be tested. Quality requirements may include requirements related to quality standards such as sound failure. The standard sound can be determined based on testing and screening of sound quality.
[0058] The sound data to be tested may be sound data generated by the signal receiving component after the sound to be tested sends a sound signal based on the control instruction.
[0059] In some embodiments, the control component can generate a visual sonogram based on the sound data using sonogram generation software. The sonogram generation software may include GoldWave, etc. For more information about the visual sonogram, please refer to the description of step 330.
[0060] Step 330 , determining a deviation graph based on the visual acoustic wave graph within a preset time period.
[0061] The preset time period refers to a preset period of time, for example, 10 minutes.
[0062] The deviation graph refers to a sound wave graph of sound data with deviations. The deviation graph can be represented in the same manner as the visual sound wave graph. In some embodiments, the deviation graph can be determined based on the visual sound wave graph. For example, it is determined based on the difference between the visual sound wave graph of the sound data to be measured and the visual sound wave graph of the corresponding standard sound data.
[0063] In some embodiments, the control component can determine the deviation graph based on the visual sound wave graph in a variety of ways. For example, the control component can compare the visual sound wave graphs of the sound data to be tested and the standard sound data, calculate the audio frequency difference between the two at each time point, and then obtain the deviation graph.
[0064] Figure 4 b is based on Figure 4 Deviation diagram determined by the visual sound wave diagram of the sound data to be tested and the visual sound wave diagram of the standard sound data in a.
[0065] Depend on Figure 4 It can be seen from a that there are multiple deviations between the standard sound data and the sound data to be tested within a preset time period, and the deviation graph can be obtained by calculating the difference data of the corresponding time period (for example, the absolute value of the difference in the audio frequency between the two).
[0066] In some embodiments, the control unit can determine the deviation map based on the visual sound wave map and the output parameter. For details about this part, please refer to Figure 5 and its related description.
[0067] In step 340 , tremolo data is determined based on the deviation map.
[0068] Tremolo data refers to data related to tremolo, such as the time point of tremolo, etc. Tremolo refers to the noise caused by resonance when the sound signal is emitted. If tremolo occurs in the sound product, the sound quality will be seriously affected.
[0069] In some embodiments, the control component can determine the tremolo data in a variety of ways based on the deviation graph. For example, the control component can determine the time point at which the deviation extreme value in the deviation graph appears as the tremolo data. The deviation extreme value in the deviation graph is a local value, which refers to the maximum value of the absolute value of the audio frequency difference between the sound data to be tested and the standard sound data within a preset time period corresponding to the visual sound wave graph.
[0070] like Figure 4 As shown in b, within the preset time period, Figure 4 If the maximum deviation occurs at time point T1 between time points 2 and 3 in b, the control component can determine the corresponding time point T1 as tremolo data. That is, the sound data corresponding to the extreme deviation value in the deviation graph can be considered to be tremolo.
[0071] In some embodiments, the control component can determine the deviation sub-map based on the deviation map, and then determine the tremolo data based on the deviation sub-map. For details about this part, please refer to Figure 6 and its related description.
[0072] In some embodiments of the present specification, by visualizing sound data, the user can intuitively see the sound wave situation; by processing the visual sound wave graph to obtain a deviation graph, the user can intuitively feel the abnormal sound area, and by further analyzing the deviation graph, the position where the tremolo occurs can be accurately located, thereby improving the efficiency of judgment, and at the same time allowing the user to visually feel the position of the tremolo, which can enhance the user experience; and the determined tremolo data can be further used to evaluate the shock-absorbing effect of the shock-absorbing component and / or to detect faults of the shock-absorbing component, etc., which can further improve the sound quality.
[0073] It should be noted that the above description of process 300 is only for example and illustration, and does not limit the scope of application of this specification. For those skilled in the art, various modifications and changes can be made to process 300 under the guidance of this specification. However, these modifications and changes are still within the scope of this specification.
[0074] Figure 5 is an exemplary schematic diagram of determining a deviation map according to some embodiments of the present specification.
[0075] In some embodiments, the control component 220 can estimate the tremolo density 510 based on the visual sound wave graph 520 and the output parameter 530 within a preset time period; and determine the deviation graph 550 based on the tremolo density 510 and the visual sound wave graph 520 within the preset time period.
[0076] For more information on visual sound wave graphs, output parameters, and deviation graphs, see Figure 3 and its related description.
[0077] The tremolo density refers to data used to measure the density of tremolos in a visual sound wave graph. For example, the tremolo density can be the average number of occurrences of tremolos in a preset unit time in the visual sound wave graph.
[0078] In some embodiments, the control component can determine the tremolo density in a variety of ways. For example, the control component can calculate the tremolo density by the following formula (1) based on the fact that the tremolo density is negatively correlated with the preset time period and positively correlated with the total time length:
[0079] R=T1 / T2 (1)
[0080] Among them, R is the tremolo density, T1 is the total time length, and T2 is the length of the preset time period.
[0081] In some embodiments, the total time length refers to the sum of the time periods corresponding to the sound data whose audio frequency exceeds the sound wave threshold in the visual sound wave graph of the sound data to be tested. The preset time period refers to the preset time period corresponding to the visual sound wave graph corresponding to the sound data to be tested. For more information about the visual sound wave graph and the preset time period, please refer to Figure 3 and its related description.
[0082] In some embodiments, the control component can determine the audio frequency in the output parameter as the sound wave threshold based on the output parameter. For example, when the output parameter is to emit a sound wave of 1 second every 2 seconds, and the audio frequency output each time is A Hz, the corresponding sound wave threshold is A Hz.
[0083] In some embodiments, the sound wave threshold may also be determined based on other methods, such as using the average value of the audio frequency in the historical output parameters.
[0084] In some embodiments, the control component 220 may determine the tremolo density 510 based on the visual acoustic wave graph 520 and the output parameter 530 of a preset time period through a tremolo density estimation model.
[0085] In some embodiments, the tremolo density estimation model may be a machine learning model. For example, the tremolo density estimation model may be a convolutional neural network (CNN) model.
[0086] In some embodiments, the input of the tremolo density estimation model may include a visual acoustic wave graph of the sound data to be tested in a preset time period and output parameters corresponding to the sound data to be tested, and the output may be the tremolo density of the sound data to be tested.
[0087] In some embodiments, the tremolo density estimation model can be obtained by training based on a large number of first training samples with first labels. The control component can input a plurality of first training samples with first labels into the initial tremolo density estimation model, construct a loss function through the first label and the result of the initial tremolo density estimation model, and iteratively update the initial tremolo density estimation model based on the loss function. When the preset conditions are met, the model training is completed, and a trained tremolo density estimation model is obtained. The preset conditions may be that the loss function converges, the number of iterations reaches a threshold, etc.
[0088] In some embodiments, the first training sample may be a sample visual acoustic wave graph of sample sound data emitted by a sample sound in the historical data based on a sample control instruction in a preset time period, and a sample output parameter corresponding to the sample control instruction.
[0089] In some embodiments, the first label may be the actual tremolo density corresponding to the first training sample. For example, the control component may compare the sample visual sound wave graph in the first training sample with the sample standard visual sound wave graph, determine the sum of the time lengths corresponding to the different parts (such as the non-overlapping parts, etc.) as the difference time, and take the ratio of the time length of the difference time to the time length of the preset time period as the actual tremolo density. The sample standard visual sound wave graph is obtained based on the standard sound signal emitted by the standard sound corresponding to the sample sound. For the description of the standard sound and the standard sound signal, see Figure 3 The corresponding content.
[0090] In some embodiments of the present specification, the control component can realize automatic and accurate estimation of the tremolo density through a tremolo density estimation model according to the visual sound wave graph and output parameters of a preset time period, thereby significantly improving work efficiency and the accuracy of data analysis.
[0091] In some embodiments, the control component can determine the deviation map in a variety of ways based on the vibrato density and the visual sound wave map over a preset time period.
[0092] In some embodiments, in response to the tremolo density being greater than a first preset threshold, the control component regenerates a control instruction according to the output parameters to control the speaker to re-emit the sound signal, and collects the sound signal through the signal receiving component to obtain sound data to obtain a new visual sound wave graph, and redetermines the tremolo density based on the new visual sound wave graph and the output parameters.
[0093] The control component repeats the above operation for multiple times, selects the visual sound wave graph corresponding to the minimum tremolo density, and records the difference between the visual sound wave graph and the standard visual sound wave graph, thereby forming a deviation graph. For a detailed description of the deviation graph generation, see Figure 4 a and Figure 4 b.
[0094] The first preset threshold refers to a threshold used to determine whether the tremolo density is too high. In some embodiments, the first preset threshold can be set by a professional technician or by system default.
[0095] In some embodiments of the present specification, tremolo is an uncertain factor in the visual sound wave diagram of the sound data to be tested, and the control component can determine the change of tremolo by estimating the tremolo density. For example, the greater the tremolo density, the greater the possibility that the sound to be tested will have tremolo changes within a preset time period. In addition, the control component collects sound data multiple times and further analyzes the collected sound data to find the characteristics of the occurrence of tremolo, which is conducive to finding tremolo data later.
[0096] In some embodiments, in response to the tremolo density being less than a first preset threshold, the control component may generate a deviation map based on the visual sound wave map and a standard visual sound wave map.
[0097] In some embodiments, the control component 220 can also determine at least one detection data 540 based on the visual sound wave graph 520 and the output parameter 530 within a preset time period in response to the tremolo density 510 satisfying the first density condition; and determine the deviation graph 550 based on the at least one detection data 540.
[0098] In some embodiments, the first density condition is that the tremolo density 510 is less than a first threshold. The first threshold refers to a threshold used to determine whether the tremolo is dense. The first threshold can be determined based on a variety of methods, such as by a professional technician or a system default setting. As an example only, the first threshold can be the same as the aforementioned first preset threshold.
[0099] In some embodiments, the first threshold is related to the audio data.
[0100] The audio data refers to data used to characterize the usage of the audio. For example, the audio data may include but is not limited to the age of the audio.
[0101] In some embodiments, the control component can calculate the first threshold value by the following formula (2) based on the first threshold value being negatively correlated with the age of the audio system:
[0102] P=k / T3 (2)
[0103] Wherein, P is the first threshold, T3 is the age of the audio system, and k is a weight coefficient. In some embodiments, k is a positive number and can be preset.
[0104] In some embodiments of the present specification, the older the sound system is, the more tremolo it produces. Therefore, by setting a smaller first threshold, a more comprehensive analysis of the visual sound wave graph can be performed.
[0105] In some embodiments, the first threshold may also be determined based on other methods. For example, the first threshold may be negatively correlated with the sound fault frequency.
[0106] The audio fault frequency refers to the frequency at which the audio fails. In some embodiments, the audio fault frequency can be determined by historical data.
[0107] Detection data refers to a portion of a visual sound wave graph extracted from a visual sound wave graph. In some embodiments, at least one detection data 540 of the sound data to be tested may include multiple ones. For example, at least one detection data 540 includes detection data 540-1, ..., detection data 540-n. Among them, detection data 540-n is the nth detection data corresponding to the sound data to be tested. In some embodiments, the control component can determine at least one detection data by a preset method based on the visual sound wave graph and output parameters within a preset time period. There can be multiple preset methods. For example, preset method A can be to determine the sound data of the part of the audio frequency greater than the preset frequency value in the collected sound data to be tested as detection data. Among them, the preset frequency value can be set by default by the system or professional and technical personnel. Exemplarily, the preset frequency value can be 0. For another example, preset method B can also be to determine the sound data of the audio frequency exceeding the sound wave threshold in the visual sound wave graph of the sound data to be tested as detection data. For more information about the sound wave threshold, please refer to Figure 5 and its related description.
[0108] Figure 7 a. Figure 7 b. Figure 7 c and Figure 7 d is an exemplary schematic diagram of determining detection data according to some embodiments of the present specification.
[0109] In some embodiments, Figure 7 a and Figure 7 b is an exemplary schematic diagram of determining detection data based on the preset method A. Wherein, Figure 7 a is the visual sound wave graph of the collected sound data to be tested, Figure 7 b is based on Figure 7 Schematic diagram of detection data determined when the audio frequency in a is greater than a preset frequency value, wherein the preset frequency value is 0.
[0110] In some embodiments, Figure 7 c and Figure 7 d is an exemplary schematic diagram for determining detection data based on the preset method B. Wherein, Figure 7 c is the visual sound wave graph of the collected sound data to be tested, Figure 7 d is based on Figure 7 The audio frequency in c is greater than the detection data determined by the sound wave threshold. Figure 7The red line in c is the acoustic threshold.
[0111] Fig. 9 a and Fig. 9 b is an exemplary schematic diagram of determining a deviation diagram according to other embodiments of this specification. In some embodiments, Fig. 9 a is a schematic diagram of test data and standard test data. Fig. 9 b is based on Fig. 9 a is the deviation diagram of the standard test data and the test data. Fig. 9 The blue line in a is the standard test data determined by the visual sound wave graph based on the standard sound data; the red line is the test data determined by the visual sound wave graph based on the sound data to be tested. Among them, the red dotted line is the part where the test data overlaps with the standard test data; the red solid line is the part where the test data does not overlap with the standard test data.
[0112] In some embodiments, the control component can determine the standard detection data based on the same preset method as that for determining the detection data of the sound data to be tested, according to the visual sound wave graph and output parameters of the standard sound data. For example, the control component can determine the sound data whose audio frequency exceeds the sound wave threshold in the visual sound wave graph of the standard sound data as the standard detection data.
[0113] In some embodiments, the control component may also determine a deviation map based on at least one detection data. Fig. 9 As shown in b, the control component can compare the detection data of the sound data to be tested with the standard detection data of the standard sound data, retain the part of the detection data that is different from the standard detection data (for example, the part of the detection data that does not overlap with the standard detection data), and then obtain a deviation graph.
[0114] Depend on Fig. 9 b It can be seen that there are deviations in time periods 0-1, 3-4, and 6-7.
[0115] In some embodiments, in response to the tremolo density 510 not satisfying the first density condition, the control component 220 may determine the deviation map 550 based on the visual acoustic wave map 520 and the tremolo density 510 of the sound data to be measured within a preset time period. For details on how to determine the deviation map, please refer to Figure 4 and its related description.
[0116] In some embodiments of the present specification, if the visual sound wave graph is directly analyzed, the analysis difficulty may be increased due to the redundancy and complexity of the data, and the accuracy may fluctuate. However, the present embodiment improves the aforementioned problem by judging the tremolo density. In response to the tremolo density satisfying the first density condition, that is, the tremolo of the sound data to be tested is less, the control component can compare the detection data with the standard detection data, thereby achieving the goal of ensuring the accuracy while reducing the amount of data to be processed and improving efficiency; in response to the tremolo density not satisfying the first density condition, that is, the tremolo of the sound data to be tested is more, the control component can determine the deviation graph based on the visual sound wave graph and the tremolo density of the preset time period, and the accuracy of the result can be improved by analyzing all the data.
[0117] In some embodiments of the present specification, by estimating the tremolo density based on the visual sound wave graph and output parameters within a preset time period, the tremolo problem can be more accurately identified and quantified, thereby improving the accuracy of sound signal processing. In addition, by determining the deviation graph, it can help identify and record the difference between the actual sound signal and the standard sound signal, which helps technicians to adjust and optimize the sound in a targeted manner to reduce the tremolo and improve the sound quality.
[0118] Figure 6 is an exemplary schematic diagram of determining tremolo data according to some embodiments of the present specification.
[0119] In some embodiments, the control component 220 may also determine at least one deviation subgraph 620 based on the frequency band length 610 ; and determine the tremolo data 630 based on the at least one deviation subgraph 620 .
[0120] The frequency band length refers to the length of the preset audio frequency.
[0121] In some embodiments, the control component may determine the frequency band length in a variety of ways. For example, the control component may obtain the user's input and determine it as the frequency band length. For another example, the control component may also determine a default frequency band as the frequency band length. The default frequency band may be set by default by the system or a professional technician.
[0122] The deviation subgraph refers to a local graph of the deviation graph. In some embodiments, the control component can obtain multiple deviation subgraphs by dividing the deviation graph according to the frequency band length. In some embodiments, the deviation subgraph 620 can include multiple deviation subgraphs. For example, the deviation subgraph 620 includes deviation subgraphs. Figure 1 , ..., deviation subgraph n. Wherein, deviation subgraph n is the nth deviation subgraph in the deviation graph of the sound data to be tested.
[0123] Figure 8 a and Figure 8b is an exemplary schematic diagram of determining a deviation subgraph according to some embodiments of this specification. In some embodiments, Figure 8 a is the deviation diagram of the sound data to be tested, Figure 8 b is based on Figure 8 a Deviation subgraph determined by the frequency band length. Figure 8 The length between adjacent red dashed lines in a is the frequency band length. The portion of the deviation graph between a frequency band length is a deviation subgraph. For example, Figure 8 The orange line in b is the deviation Figure 1 , the green line is the deviation Figure 2 , the blue line is the deviation Figure 3 , the black line is the deviation Figure 4 In some embodiments, each frequency band may correspond to a frequency band vector.
[0124] The frequency band vector refers to a vector composed of the frequency bands in which the tremolo occurs in various types of audio. In some embodiments, the frequency band vector may include but is not limited to the frequency band start frequency, the frequency band end frequency, and the time period involved in the frequency band. For example, Figure 8 As shown in a, the frequency band vector A corresponding to the frequency band of the audio frequency a(Hz)-b(Hz) can be expressed as (a, b, ((2, 4), (7, 9), (11, 12), (13, 14))). This means that the frequency band starting frequency corresponding to the frequency band vector A is a(Hz) and the frequency band ending frequency is b(Hz), and all time periods involved in the frequency band include ((2, 4), (7, 9), (11, 12), (13, 14)).
[0125] The band start frequency refers to the lowest value of the audio frequency in the band.
[0126] The frequency band end frequency refers to the highest value of the audio frequency in the frequency band.
[0127] The time period involved in a frequency band refers to the set of time periods in which the segment appears in the deviation graph.
[0128] In some embodiments, the frequency band vector corresponding to each frequency band may be composed of a frequency band start frequency, a frequency band end frequency, and a time period involved in the frequency band.
[0129] In some embodiments, the control component may determine the tremolo data in a variety of ways based on at least one deviation sub-graph. For example, the control component may determine the tremolo data based on the following ways:
[0130] Step 1. The control component can cluster the frequency band vectors corresponding to the frequency bands where the tremolo appears in all types of sound in the historical data, and the occurrence time of the tremolo as clustering elements to obtain a preset number of cluster centers. The frequency band vectors where the tremolo appears corresponding to the cluster center are recorded as the first feature vector, and the occurrence time of the tremolo corresponding to the cluster center is recorded as the label of the first feature vector.
[0131] There may be multiple types of clustering algorithms. For example, clustering algorithms may include K-Means clustering, density-based clustering method (DBSCAN), and the like.
[0132] Step 2, the control component can also select sound data of the same type as the sound to be tested from the historical database, and cluster the frequency band vector corresponding to the frequency band where the tremolo appears and the time when the tremolo appears as clustering elements to obtain a preset number of cluster centers. The frequency band vector corresponding to the cluster center where the tremolo appears is recorded as the second feature vector, and the tremolo appearance time corresponding to the cluster center is recorded as the label of the second feature vector.
[0133] Step 3: The control component constructs a frequency band vector based on the deviation subgraph of the sound data to be tested. Figure 8 As shown in FIG. 2 , the control component divides the deviation graph into at least one deviation subgraph according to the frequency band length, and then constructs a frequency band vector based on each deviation subgraph. Figure 8 The green line in b corresponds to the deviation Figure 2 The corresponding frequency band vector A is (a, b, ((2, 4), (7, 9), (11, 12), (13, 14))). Among them, the deviation Figure 1 , 3 、4The corresponding frequency band vector and deviation Figure 2 The construction method is similar and will not be repeated here.
[0134] Step 4, the control component can calculate the similarity between the frequency band vector and the first eigenvector, and select the first eigenvector with the highest similarity to the frequency band vector, and record it as the first standard vector. In some embodiments, the control component can also calculate the similarity between the frequency band vector and the second eigenvector, and select the second eigenvector with the highest similarity to the frequency band vector, and record it as the second standard vector.
[0135] In some embodiments, the similarity between the frequency band vector and the first eigenvector and the second eigenvector may be negatively correlated to the vector distance between the frequency band vector and the first eigenvector and the second eigenvector, and the vector distance may be determined based on the cosine distance, etc. For example, the similarity may be the inverse of the vector distance.
[0136] Step 5. If the similarity between the frequency band vector and the first eigenvector is similarity A, and the similarity between the frequency band vector and the second eigenvector is similarity B, in response to similarity A>similarity B, the control component determines that there is no tremolo in the deviation subgraph corresponding to the frequency band vector; in response to similarity A≤similarity B, the control component can select the label corresponding to the second standard vector as the tremolo data corresponding to the deviation subgraph, and the tremolo data corresponding to all deviation subgraphs with tremolo are the tremolo data corresponding to the deviation graph.
[0137] In some embodiments, the control component may determine the tremolo data through a tremolo data prediction model based on at least one deviation sub-map.
[0138] In some embodiments, the tremolo data prediction model may be a machine learning model. For example, the tremolo data prediction model may be a convolutional neural network (CNN) model.
[0139] In some embodiments, the input of the tremolo data prediction model may include at least one deviation sub-graph, and the output may be the tremolo data corresponding to the at least one deviation sub-graph of the input.
[0140] In some embodiments, the tremolo data prediction model can be obtained by training based on a large number of second training samples with second labels. The control component can input a plurality of second training samples with second labels into the initial tremolo data prediction model, construct a loss function through the second labels and the results of the initial tremolo data prediction model, and iteratively update the initial tremolo data prediction model based on the loss function. When the preset conditions are met, the model training is completed, and a trained tremolo data prediction model is obtained. The preset conditions may be that the loss function converges, the number of iterations reaches a threshold, etc.
[0141] In some embodiments, the second training sample may be at least one sample deviation subgraph determined from sample sound data issued by a plurality of sample speakers based on sample control instructions in historical data. In some embodiments, the second label may be actual tremolo data corresponding to the second training sample.
[0142] For example, the second label can be obtained manually through actual testing.
[0143] In some embodiments, the input of the tremolo data prediction model may also include sound data. For more information about sound data, see Figure 5 and its related description.
[0144] In some embodiments, when the input of the tremolo data prediction model includes sound data, the second training sample may further include sample sound data of sample sounds in the historical data.
[0145] In some embodiments of the present specification, the tremolo data prediction model further introduces the acoustic data as the input of the model, so that the model not only relies on the deviation subgraph, but also combines the acoustic data. The control component can enrich the information content of the tremolo data prediction model through multi-dimensional data input, enhance the performance of the tremolo data prediction model, and improve the prediction accuracy and reliability.
[0146] In some embodiments of the present specification, the control component determines the tremolo data based on at least one deviation subgraph through a tremolo data prediction model. The model is trained by the deviation subgraph in the historical data, and can automatically and accurately analyze and predict the tremolo data, thereby reducing manual intervention and improving the efficiency, accuracy and reliability of the prediction.
[0147] In some embodiments, the control component 220 is further configured to determine a deviation area 640 of the at least one deviation sub-map 620 ; and determine the tremolo data 630 based on the deviation area 640 of the at least one deviation sub-map 620 and an area threshold 650 .
[0148] The deviation area refers to the area corresponding to the deviation sub-graph. For example, the deviation area can be represented by a numerical value. In some embodiments, the deviation area 640 of the deviation sub-graph can include multiple deviation areas. For example, the deviation area 640 includes the deviation sub-graph. Figure 1 The deviation area of deviation subgraph n is the deviation area corresponding to deviation subgraph n.
[0149] In some embodiments, the deviation area can be used to characterize the energy intensity of the audio frequency in a time period. For example, the larger the area of the deviation subgraph, the higher the energy intensity.
[0150] In some embodiments, the control component may obtain the deviation area of the deviation subgraph by performing area integration on the deviation subgraph based on at least one deviation subgraph.
[0151] Area integration refers to a method for calculating the area of an area enclosed by a plane curve. For example, the control component can calculate the area of the area enclosed by the curve in each deviation subgraph and the horizontal axis of the deviation graph, and determine it as the deviation area of the deviation subgraph. The calculation method can be solved by using the Newton-Leibniz formula and other methods.
[0152] Fig.10 is an exemplary schematic diagram of the deviation area corresponding to the deviation sub-graph shown in some embodiments of this specification. In some embodiments, Fig.10 Based on Figure 8 deviation in b Figure 2 Schematic diagram of the corresponding deviation area.
[0153] In some embodiments, Fig.10As shown, the deviation sub Figure 2 The corresponding deviation area is the area enclosed by the green line and the horizontal axis. Exemplarily, the control component can construct a curve corresponding to the time period at (13, 14), based on the mathematical expression of time and audio frequency, and then based on the Newton-Leibniz formula to obtain the definite integral of the curve corresponding to the time period, thereby obtaining the area enclosed by the curve corresponding to the time period. Similarly, the control component can perform the above operation on curves of other time periods (for example, time periods of (2, 4), (7, 9) (11, 12)) to obtain the area of the curve corresponding to each time period. Finally, the areas of the curves corresponding to each time period are added together to obtain the deviation sub-area. Figure 2 The corresponding deviation area.
[0154] The area threshold refers to a threshold used to determine whether the deviation area is large enough to be determined as tremolo data.
[0155] In some embodiments, the control component may determine the area threshold in a variety of ways. For example, the area threshold may be positively correlated to the deviation area of the deviation sub-graph.
[0156] In some embodiments, the area threshold 650 is also related to a plurality of first eigenvectors and a plurality of second eigenvectors determined based on a plurality of frequency band vectors constructed based on a plurality of deviation subgraphs 620. More information about the first eigenvector and the second eigenvector can be found in Figure 6 and its related description.
[0157] In some embodiments, the control component can determine multiple groups of first eigenvectors and second eigenvectors based on multiple deviation subgraphs, and calculate the similarity of the first eigenvector and the second eigenvector of each group. Then, the similarities of the groups are compared, and a group with a similarity of a preset threshold is determined as the target group, and the deviation area of the deviation subgraph corresponding to the second eigenvector in the target group is recorded as the area threshold. For how to determine the deviation area, please refer to Figure 6 The preset threshold value may be set by professional technicians or by system default, for example, the preset threshold value may be 0.5.
[0158] In some embodiments of the present specification, by selecting a second eigenvector whose similarity meets preset conditions and calculating the area threshold based on the deviation area of the deviation subgraph corresponding to the second eigenvector, a balance can be achieved between conventional interference and unique tremolo, which helps to improve the rationality and accuracy of tremolo data determination, thereby enabling more accurate identification of tremolo data.
[0159] In some embodiments of the present specification, determining the deviation area based on at least one deviation sub-graph and comparing the area with an area threshold to determine the tremolo data is faster and more convenient than determining the tremolo data based on the deviation sub-graph alone, thereby improving processing efficiency.
[0160] In some embodiments of the present specification, the control component can process the visual sound wave graph of each frequency band in a targeted manner by dividing the frequency bands, and ensure that the tremolo data between different frequency bands do not interfere with each other. In addition, by statistically processing historical data, it is considered that multiple sound instruments to be tested may be generally affected by external factors in a specific frequency band, thereby improving the rationality and accuracy of the results.
[0161] The basic concepts have been described above. Obviously, for those skilled in the art, the above detailed disclosure is only for example and does not constitute a limitation of this specification. Although not explicitly stated here, those skilled in the art may make various modifications, improvements and corrections to this specification. Such modifications, improvements and corrections are suggested in this specification, so such modifications, improvements and corrections still belong to the spirit and scope of the exemplary embodiments of this specification.
[0162] At the same time, this specification uses specific words to describe the embodiments of this specification. For example, "one embodiment", "an embodiment", and / or "some embodiments" refer to a certain feature, structure or characteristic related to at least one embodiment of this specification. Therefore, it should be emphasized and noted that "one embodiment" or "an embodiment" or "an alternative embodiment" mentioned twice or more in different positions in this specification does not necessarily refer to the same embodiment. In addition, certain features, structures or characteristics in one or more embodiments of this specification can be appropriately combined.
[0163] In addition, unless explicitly stated in the claims, the order of the processing elements and sequences described in this specification, the use of alphanumeric characters, or the use of other names are not intended to limit the order of the processes and methods of this specification. Although the above disclosure discusses some invention embodiments that are currently considered useful through various examples, it should be understood that such details are only for illustrative purposes, and the attached claims are not limited to the disclosed embodiments. On the contrary, the claims are intended to cover all modifications and equivalent combinations that are consistent with the essence and scope of the embodiments of this specification. For example, although the system components described above can be implemented by hardware devices, they can also be implemented only by software solutions, such as installing the described system on an existing server or mobile device.
[0164] Similarly, it should be noted that in order to simplify the description disclosed in this specification and thus help understand one or more embodiments of the invention, in the above description of the embodiments of this specification, multiple features are sometimes combined into one embodiment, figure or description thereof. However, this disclosure method does not mean that the features required by the subject matter of this specification are more than the features mentioned in the claims. In fact, the features of the embodiments are less than all the features of the single embodiment disclosed above.
[0165] In some embodiments, numbers describing the number of components and attributes are used. It should be understood that such numbers used in the description of the embodiments are modified by the modifiers "about", "approximately" or "substantially" in some examples. Unless otherwise specified, "about", "approximately" or "substantially" indicate that the numbers are allowed to vary by ±20%. Accordingly, in some embodiments, the numerical parameters used in the specification and claims are approximate values, which may change according to the required features of individual embodiments. In some embodiments, the numerical parameters should take into account the specified significant digits and adopt the general method of retaining digits. Although the numerical domains and parameters used to confirm the breadth of their range in some embodiments of this specification are approximate values, in specific embodiments, the setting of such numerical values is as accurate as possible within the feasible range.
[0166] Each patent, patent application, patent application publication, and other materials, such as articles, books, specifications, publications, documents, etc., cited in this specification are hereby incorporated by reference in their entirety. Except for application history documents that are inconsistent with or conflicting with the contents of this specification, documents that limit the broadest scope of the claims of this specification (currently or later attached to this specification) are also excluded. It should be noted that if the descriptions, definitions, and / or use of terms in the materials attached to this specification are inconsistent or conflicting with the contents described in this specification, the descriptions, definitions, and / or use of terms in this specification shall prevail.
[0167] Finally, it should be understood that the embodiments described in this specification are only used to illustrate the principles of the embodiments of this specification. Other variations may also fall within the scope of this specification. Therefore, as an example and not a limitation, alternative configurations of the embodiments of this specification may be considered consistent with the teachings of this specification. Accordingly, the embodiments of this specification are not limited to the embodiments explicitly introduced and described in this specification.
Claims
1. A sound detection device, It is characterized in that include: The signal receiving component is configured to collect the sound signal emitted by the speaker and generate sound data; The control unit is configured as follows: generating a control instruction according to the output parameter, and controlling the speaker to emit the sound signal based on the control instruction; the output parameter includes a start-up period and / or an audio frequency of the speaker; as well as, Based on the sound data, generating a visual sound wave map; Determining a deviation graph based on the visual acoustic wave graph within a preset time period; Tremolo data is determined based on the deviation map, the tremolo data including tremolo time points.
2. The device according to claim 1, wherein the control component is further configured to: estimating the tremolo density based on the visual acoustic wave graph and the output parameter within the preset time period; The deviation map is determined based on the vibrato density and the visual sound wave map within the preset time period.
3. The device according to claim 2, wherein the control component is further configured to: In response to the tremolo density satisfying a first density condition, determining at least one detection data based on the visual acoustic wave graph and the output parameter within the preset time period; determining the deviation map based on the at least one detection data; In response to the tremolo density not satisfying the first density condition, the deviation map is determined based on the visual acoustic wave map and the tremolo density within the preset time period.
4. The device according to claim 1, wherein the control component is further configured to: Based on the frequency band length, determining at least one deviation subgraph; Based on the at least one deviation sub-map, the tremolo data is determined.
5. The device according to claim 4, wherein the control component is further configured to: determining a deviation area of the at least one deviation subgraph; The tremolo data is determined based on the deviation area and an area threshold of the at least one deviation sub-map.
6. A sound detection method, It is characterized in that The method is executed based on the control component in the sound detection device according to any one of claims 1 to 5, and includes: generating a control instruction according to the output parameter, and controlling the speaker to emit a sound signal based on the control instruction; the output parameter includes a start-up period and / or an audio frequency of the speaker; and, Generating a visual sound wave graph based on sound data, wherein the sound data is generated by collecting the sound signal emitted by the speaker; Determining a deviation graph based on the visual acoustic wave graph within a preset time period; Tremolo data is determined based on the deviation map, the tremolo data including tremolo time points.
7. The method according to claim 6, It is characterized in that The determining of the deviation graph based on the visual sound wave graph within a preset time period includes: estimating the tremolo density based on the visual acoustic wave graph and the output parameter within the preset time period; The deviation map is determined based on the vibrato density and the visual sound wave map within the preset time period.
8. The method according to claim 7, It is characterized in that The determining the deviation graph based on the tremolo density and the visual sound wave graph within the preset time period includes: In response to the tremolo density satisfying a first density condition, determining at least one detection data based on the visual acoustic wave graph and the output parameter within the preset time period; determining the deviation map based on the at least one detection data; In response to the tremolo density not satisfying the first density condition, the deviation map is determined based on the visual acoustic wave map and the tremolo density within the preset time period.
9. The method according to claim 6, It is characterized in that Determining the tremolo data based on the deviation map comprises: Based on the frequency band length, determining at least one deviation subgraph; Based on the at least one deviation sub-map, the tremolo data is determined.
10. The method according to claim 9, It is characterized in that The determining the tremolo data based on the at least one deviation sub-graph comprises: determining a deviation area of the at least one deviation subgraph; The tremolo data is determined based on the deviation area and an area threshold of the at least one deviation sub-map.
11. An acoustic detection system, It is characterized in that The system comprises at least one memory and at least one processor, wherein the at least one memory is used to store computer instructions, and the at least one processor executes the computer instructions or part of the instructions to implement the sound detection method according to any one of claims 6 to 10.
12. A computer-readable storage medium, wherein the storage medium stores computer instructions. When a computer reads the computer instructions in the storage medium, the computer executes the sound detection method according to any one of claims 6 to 10.
