Method, system, electronic equipment and medium for spatial sound field control based on environmental factors
By constructing an information library and a judgment library, automatically judge and adjust the speaker output signal, solve the problem of decline in the quality of the speaker audio under the influence of environmental factors, realize automated adjustment, and improve sound quality.
Patent Information
- Application Number
- CN202411466877.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-21
- Publication Date
- 2025-01-24
- Estimated Expiration
- 2044-10-21
AI Technical Summary
When existing speakers are affected by environmental factors, the sensitivity and frequency response of the speakers change, resulting in a decrease in playback quality, but they cannot be adjusted independently to improve the sound quality, so users need to adjust it manually.
By constructing multiple information libraries, judging libraries and adjustment libraries, the temperature and humidity of the horn environment are measured, judging whether the sensitivity and frequency response are qualified, and the frequency and amplitude of the output signal is adjusted by adjusting the library to improve sound quality.
It realizes the automatic adjustment of the speaker output signal according to environmental factors, improves the sound quality, and reduces the user's manual adjustment time and effort.
Smart Images

Figure CN119002606B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of loudspeakers, and in particular to a method, system, electronic equipment and medium for controlling a spatial sound field based on environmental factors. Background Art
[0002] The spatial sound field of a speaker refers to the distribution area in space formed by the sound waves generated by the speaker.
[0003] According to the known prior art, during use, the speaker is easily affected by environmental factors (mainly humidity or temperature), which causes changes in the sensitivity and frequency response of the speaker and reduces the playback quality of the speaker.
[0004] However, existing speakers are usually unable to judge the sound state of the speakers according to the temperature or humidity of the environment and improve the sound quality through adjustment. Users need to adjust the frequency and amplitude of the output signal by themselves through buttons to improve the sound quality of the speakers, which often requires users to constantly try and compare, which is time-consuming and labor-intensive. Summary of the invention
[0005] The purpose of the present invention is to provide a method, system, electronic device and medium for controlling a spatial sound field based on environmental factors, so as to solve the shortcomings of the background technology.
[0006] In order to achieve the above-mentioned purpose, the present invention provides the following technical solutions: a spatial sound field control method based on environmental factors, comprising the following steps: setting a speaker model, constructing a first information library based on the speaker model, the first information library including: standard temperature information, standard humidity information, standard sensitivity parameter range A1-A2, standard frequency response curve, standard frequency of the output signal and standard amplitude of the output signal.
[0007] A second information database is constructed, and the second information database includes: actual temperature information, actual humidity information, actual sensitivity, actual frequency response curve, actual frequency of the output signal, and actual amplitude of the output signal.
[0008] Measure the actual temperature and actual humidity of the environment where the speaker is located.
[0009] A discrimination library is constructed based on the first information library and the second information library. The discrimination library includes: a discrimination channel and a discrimination curve. Whether the actual sensitivity is qualified is judged based on the discrimination channel, and whether the actual frequency response curve is qualified is judged based on the discrimination curve, and unqualified information is transmitted to the controller.
[0010] An adjustment library is constructed based on the discrimination library, wherein the adjustment library includes temperature information, humidity information, and adjustment information, and the adjustment information includes output signal frequency compensation information and output signal amplitude compensation information.
[0011] Based on the unqualified information, the adjustment information for adjusting the actual frequency and the actual amplitude of the output signal to the standard frequency and the standard amplitude of the output signal is retrieved from the adjustment library.
[0012] In a preferred embodiment, the step of measuring the actual temperature and actual humidity of the environment where the speaker is located includes: measuring the actual temperature of the environment where the speaker is located by a temperature sensor, measuring the actual humidity of the environment where the speaker is located by a humidity sensor, obtaining a standard sensitivity parameter range A1-A2, a standard frequency response curve, a standard frequency of the output signal, and a standard amplitude of the output signal from a first information library based on the actual temperature and the actual humidity, and obtaining the actual sensitivity, the actual frequency response curve, the actual frequency of the output signal, and the actual amplitude of the output signal from a second information library based on the actual temperature and the actual humidity.
[0013] In a preferred embodiment, a discrimination library is constructed based on the first information library and the second information library, and the discrimination library includes: steps of discrimination channel and discrimination curve, including: constructing a discrimination channel based on a standard sensitivity parameter range A1-A2, and constructing a discrimination curve based on a standard frequency response curve.
[0014] The discrimination channel is provided with a sensitivity coordinate system. The horizontal coordinate of the plane rectangular coordinate system is marked with time information, and the vertical coordinate of the plane rectangular coordinate system is marked with parameter information. The discrimination channel is composed of two straight lines parallel to the horizontal axis. The distance between one straight line and the horizontal axis is A1, and the distance between the other straight line and the horizontal axis is A2. Both straight lines are sensing lines, and both straight lines are covered with sensing points.
[0015] The discrimination curve is provided with a frequency response coordinate system, the abscissa of the frequency response coordinate system is marked with frequency information, the ordinate of the frequency response coordinate system is marked with gain or attenuation degree information, and the discrimination curve has the same shape as the standard frequency response curve.
[0016] In a preferred embodiment, the step of judging whether the actual sensitivity is qualified based on the discrimination channel, judging whether the actual frequency response curve is qualified based on the discrimination curve, and transmitting the unqualified information to the controller includes: bringing the actual sensitivity into the sensitivity coordinate system in real time, the actual sensitivity forms a sensitivity curve, and when the sensitivity curve crosses the discrimination channel, judging that the actual sensitivity is unqualified, marking the actual temperature and actual humidity corresponding to the unqualified information, and transmitting the unqualified information to the controller;
[0017] The actual frequency response curve is brought into the frequency response coordinate system, and the peak D and the trough E of the discrimination curve are determined. The peak d and the trough e of the actual frequency response curve are determined. When the height of the peak d is higher than the peak D and / or the height of the trough e is lower than the height of the trough E, the actual frequency response curve is judged to be unqualified, the actual temperature and the actual humidity corresponding to the unqualified information are marked, and the unqualified information is transmitted to the controller.
[0018] In a preferred embodiment, the sound quality of the speaker under the actual temperature and actual humidity environmental conditions is judged based on the discrimination library, and the controller receives unqualified information of the actual sensitivity and / or the actual frequency response curve. Based on the actual temperature and actual humidity corresponding to the unqualified information obtained by the controller, it is determined that the sound quality of the speaker in the environment of the actual temperature and actual humidity is unqualified.
[0019] In a preferred embodiment, an adjustment library is constructed based on a discrimination library, and the adjustment library includes: temperature information, humidity information, and adjustment information, and the adjustment information includes: output signal frequency compensation information and output signal amplitude compensation information. The steps include: determining the actual temperature and actual humidity of the speaker based on unqualified sound quality of the speaker, and the standard frequency of the output signal under the actual temperature and actual humidity, the standard amplitude of the output signal, the actual frequency of the output signal, and the actual amplitude of the output signal.
[0020] The output signal frequency compensation information is constructed based on the standard frequency of the output signal and the actual frequency of the output signal, and the output signal amplitude compensation information is constructed based on the standard amplitude of the output signal and the actual amplitude of the output signal.
[0021] In a preferred embodiment, the step of retrieving adjustment information for adjusting the actual frequency of the output signal and the actual amplitude of the output signal to the standard frequency and the standard amplitude of the output signal from the adjustment library based on the unqualified information includes: obtaining output signal frequency compensation information from the adjustment library based on the unqualified information, adjusting the actual frequency of the output signal to the standard frequency of the output signal through an FIR filter, obtaining output signal amplitude compensation information from the adjustment library based on the unqualified information, and adjusting the actual amplitude of the output signal to the standard amplitude of the output signal through a compressor.
[0022] In a preferred embodiment, a regulation system includes: an information module for constructing a first information library and a second information library.
[0023] The acquisition module is used to measure the actual temperature and actual humidity of the environment where the speaker is located.
[0024] The judgment module is connected with the information module and the acquisition module, and is used to judge whether the actual sensitivity and the actual frequency response curve under the actual temperature and actual humidity conditions are qualified.
[0025] The retrieval module is connected to the judgment module and retrieves the output signal frequency compensation information and the output signal amplitude compensation information based on the unqualified information.
[0026] The adjustment module is connected to the retrieval module, and adjusts the actual frequency of the output signal to the standard frequency of the output signal based on the output signal frequency compensation information, and adjusts the actual amplitude to the standard amplitude based on the output signal amplitude compensation information.
[0027] In a preferred embodiment, an electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program implements the steps of a spatial sound field control method based on environmental factors when executed by the processor.
[0028] In a preferred embodiment, a medium stores a computer program, and when the computer program is executed by a processor, the steps of the spatial sound field control method based on environmental factors are implemented.
[0029] In the above technical scheme, the technical effects and advantages provided by the present invention are as follows: the present application uses the sensitivity and frequency response curve of the speaker as the main parameters for measuring the quality of the speaker, and constructs multiple information libraries, discrimination libraries, and adjustment libraries in advance. It only needs to measure the actual temperature and humidity of the environment where the speaker is located, and the discrimination library can be used to determine whether the sensitivity or frequency response curve of the speaker is qualified under certain actual temperature and actual humidity conditions, and the adjustment scheme can be retrieved through the adjustment library to adjust the output signal frequency and output signal amplitude of the speaker, thereby improving the sound quality of the speaker. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.
[0031] Figure 1 The figure is a flow chart of the method of the present invention. DETAILED DESCRIPTION
[0032] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0033] Example 1, please refer to Figure 1 As shown, the spatial sound field control method based on environmental factors described in this embodiment includes the following steps:
[0034] S1, setting the speaker model, constructing a first information library based on the speaker model, the first information library including: standard temperature information, standard humidity information, standard sensitivity parameter range A1-A2, standard frequency response curve, standard frequency of output signal and standard amplitude of output signal, and constructing a second information library, the second information library including: actual temperature information, actual humidity information, actual sensitivity, actual frequency response curve, actual frequency of output signal and actual amplitude of output signal;
[0035] S2. Measure the actual temperature and humidity of the environment where the speaker is located;
[0036] S3, constructing a discrimination library based on the first information library and the second information library, wherein the discrimination library includes: a discrimination channel and a discrimination curve, judging whether the actual sensitivity is qualified based on the discrimination channel, judging whether the actual frequency response curve is qualified based on the discrimination curve, and transmitting unqualified information to the controller;
[0037] S4. Building an adjustment library based on the discrimination library, wherein the adjustment library includes: temperature information, humidity information, and adjustment information, and the adjustment information includes: output signal frequency compensation information and output signal amplitude compensation information;
[0038] S5. Based on the unqualified information, the adjustment information for adjusting the actual frequency and the actual amplitude of the output signal to the standard frequency and the standard amplitude of the output signal is retrieved from the adjustment library.
[0039] As described in the above steps S1-S5, during the use of the spatial sound field control method based on environmental factors, the speaker is easily affected by environmental factors (mainly humidity or temperature), resulting in changes in the sensitivity and frequency response of the speaker, and the playback quality of the speaker is reduced. However, existing speakers are usually unable to judge the sound state of the speaker according to the temperature or humidity of the environment and improve the sound quality through adjustment. The user needs to adjust the frequency and amplitude of the output signal by himself through buttons to improve the sound quality of the speaker, which often requires the user to constantly try and compare, which is time-consuming and labor-intensive. The present application uses the sensitivity and frequency response curve of the speaker as the main parameters for measuring the quality of the speaker, and constructs multiple information libraries, judgment libraries, and adjustment libraries in advance. It only needs to measure the actual temperature and humidity of the environment where the speaker is located, and the judgment library can be used to judge whether the sensitivity or frequency response curve of the speaker is qualified under certain actual temperature and actual humidity conditions, and the adjustment solution can be retrieved through the adjustment library to adjust the output signal frequency and output signal amplitude of the speaker, thereby improving the sound quality of the speaker.
[0040] In one embodiment, the step of constructing the first information base and the step of constructing the second information base S1 includes:
[0041] S11, setting the speaker model, and constructing a first information library based on the speaker model, the first information library including: standard temperature information, standard humidity information, standard sensitivity parameter range A1-A2, standard frequency response curve, standard frequency of output signal, and standard amplitude of output signal.
[0042] The standard sensitivity parameter range A1-A2 is the optimal sensitivity parameter range under the temperature and humidity conditions. The sensitivity suitable for the human ear under a certain temperature and humidity is not a fixed value, but fluctuates within a certain range. The sensitivity within this fluctuation range is acceptable. The standard frequency response curve is the optimal frequency response curve under the temperature and humidity conditions. The standard frequency of the output signal and the standard amplitude of the output signal are based on the optimal sensitivity parameter range, the frequency of the output signal under the optimal frequency response curve, and the amplitude of the output signal.
[0043] S12. Construct a second information database, the second information database including: actual temperature information, actual humidity information, actual sensitivity, actual frequency response curve, actual frequency of the output signal, and actual amplitude of the output signal.
[0044] As described in the above steps S11-S12, first, in the first information library and the second information library, each temperature corresponds to a humidity, and based on the temperature and humidity, the standard sensitivity parameter range A1-A2, the standard frequency response curve, the standard frequency of the output signal and the standard amplitude of the output signal, the actual sensitivity, the actual frequency response curve, the actual frequency of the output signal and the actual amplitude of the output signal are measured and obtained.
[0045] In one embodiment, the measuring the actual temperature and the actual humidity S2 of the environment where the speaker is located includes:
[0046] S21. Measure the actual temperature of the environment where the speaker is located through a temperature sensor, measure the actual humidity of the environment where the speaker is located through a humidity sensor, and obtain the standard sensitivity parameter range A1-A2, the standard frequency response curve, the standard frequency of the output signal, and the standard amplitude of the output signal from the first information library based on the actual temperature and the actual humidity; and obtain the actual sensitivity, the actual frequency response curve, the actual frequency of the output signal, and the actual amplitude of the output signal from the second information library based on the actual temperature and the actual humidity.
[0047] In one embodiment, a discrimination library is constructed based on the first information library and the second information library, and the discrimination library includes: a discrimination channel and a discrimination curve. Whether the actual sensitivity is qualified is judged based on the discrimination channel, and whether the actual frequency response curve is qualified is judged based on the discrimination curve, and the unqualified information is transmitted to the controller S3, including:
[0048] S31. Construct a discrimination channel based on a standard sensitivity parameter range A1-A2, and construct a discrimination curve based on a standard frequency response curve.
[0049] S32. The discrimination channel is provided with a sensitivity coordinate system. The horizontal coordinate of the plane rectangular coordinate system is marked with time information, and the vertical coordinate of the plane rectangular coordinate system is marked with parameter information. The discrimination channel is composed of two straight lines parallel to the horizontal axis. The distance between one straight line and the horizontal axis is A1, and the distance between the other straight line and the horizontal axis is A2. Both straight lines are sensing lines, and both straight lines are covered with sensing points.
[0050] S33. The discrimination curve is provided with a frequency response coordinate system, the abscissa of the frequency response coordinate system is marked with frequency information, the ordinate of the frequency response coordinate system is marked with gain or attenuation degree information, and the discrimination curve has the same shape as the standard frequency response curve.
[0051] S34, the actual sensitivity is brought into the sensitivity coordinate system in real time, and the actual sensitivity forms a sensitivity curve. When the sensitivity curve crosses the discrimination channel, the actual sensitivity is judged to be unqualified, and the actual temperature and actual humidity corresponding to the unqualified information are marked, and the unqualified information is transmitted to the controller.
[0052] S35. Bring the actual frequency response curve into the frequency response coordinate system, determine the peak D and the trough E of the discrimination curve, determine the peak d and the trough e of the actual frequency response curve, and when the height of the peak d is higher than the peak D and / or the height of the trough e is lower than the height of the trough E, determine that the actual frequency response curve is unqualified, mark the actual temperature and actual humidity corresponding to the unqualified information, and transmit the unqualified information to the controller.
[0053] Under different temperature and humidity conditions, the sound quality of the speaker may also meet the standards. At this time, the actual sensitivity and actual frequency response curve of the speaker fluctuate within a certain threshold range. Therefore, under certain temperature and humidity conditions, it is necessary to first judge the actual sensitivity and actual frequency response curve of the speaker, and only adjust those that do not meet the standards.
[0054] As described in the above steps S31-S35, a discrimination curve is constructed through a standard frequency response curve, and a discrimination channel is constructed through a sensitivity parameter range A1-A2. The actual real-time sensitivity curve (a sensitivity value at each time point, which changes with time to form a sensitivity curve) and the actual frequency response curve are respectively brought to the discrimination channel and the plane coordinate system where the discrimination curve is located. If the real-time sensitivity curve touches or crosses the boundary of the discrimination channel, the sensitivity is judged to be unqualified. If the height of the peak d is higher than the peak D and / or the height of the trough e is lower than the height of the trough E, the actual frequency response curve is judged to be unqualified. When the sensitivity and / or the frequency response curve are unqualified, the sound quality of the speaker is judged to be unqualified, and unqualified information is obtained to provide a basic judgment for subsequent adjustments.
[0055] In one embodiment, an adjustment library is constructed based on the discrimination library, and the adjustment library includes: temperature information, humidity information, and adjustment information, and the adjustment information includes: output signal frequency compensation information and output signal amplitude compensation information S4, including:
[0056] S41, based on the fact that the sound quality of the speaker is unqualified, determining the actual temperature and humidity of the speaker, as well as the standard frequency of the output signal, the standard amplitude of the output signal, the actual frequency of the output signal, and the actual amplitude of the output signal based on the actual temperature and the actual humidity;
[0057] S42: construct output signal frequency compensation information based on the standard frequency of the output signal and the actual frequency of the output signal, and construct output signal amplitude compensation information based on the standard amplitude of the output signal and the actual amplitude of the output signal.
[0058] The speaker outputs the sound signal based on the electrical signal, so after the frequency and amplitude of the electrical signal are adjusted, the frequency response and amplitude of the sound signal will also change.
[0059] The standard frequency and amplitude of the output signal refer to the frequency and amplitude of the output signal under certain temperature and humidity conditions, which are acceptable to most people and provide an aesthetically pleasing speaker sound.
[0060] Each user has a slightly different aesthetic sense of sound. The user can also adjust the output signal frequency and output signal amplitude by themselves through buttons or displays, and mark the adjusted information as personal preference information. The adjustment library records the output signal frequency and output signal amplitude under the temperature and humidity conditions as the output signal self-modification frequency and output signal self-modification amplitude, and makes the output signal self-modification frequency and output signal self-modification amplitude have a higher priority than the standard frequency and standard amplitude of the output signal under the humidity and temperature conditions. When the speaker is under the temperature and humidity conditions again, it will automatically adjust to the output signal self-modification frequency and output signal self-modification amplitude to meet the user's personal preferences.
[0061] As described in the above steps S41-S42, based on the actual temperature and actual humidity, the actual frequency of the output signal is adjusted to the standard frequency of the output signal, and the actual amplitude of the output signal is adjusted to the standard amplitude of the output signal, thereby completing the improvement of the speaker sound quality. It can also be adjusted and recorded according to the user's preferences. The speaker will adjust the speaker's electrical signal according to the output signal self-modification frequency and output signal self-modification amplitude stored by the user to meet the requirements of private customization.
[0062] In one embodiment, based on the unqualified information, the adjustment information S5 for adjusting the actual frequency and the actual amplitude of the output signal to the standard frequency and the standard amplitude of the output signal is retrieved from the adjustment library, including:
[0063] S51. Based on the unqualified information, the output signal frequency compensation information is obtained from the adjustment library. The output signal frequency compensation information adjusts the actual frequency of the output signal to the standard frequency of the output signal through an FIR filter. Based on the unqualified information, the output signal amplitude compensation information is obtained from the adjustment library. The output signal amplitude compensation information adjusts the actual amplitude of the output signal to the standard amplitude of the output signal through a compressor.
[0064] There are numerous schemes for output signal frequency compensation information and output signal amplitude compensation information under each temperature and humidity environment. Screening is based on the standard frequency response curve and the standard sensitivity parameter range to select the closest adjustment scheme.
[0065] FIR filters achieve specific frequency responses through carefully designed coefficient sequences. These coefficients determine the gain or attenuation of the filter for different frequency components. During the design process, methods such as window design, frequency sampling, and minimum square error design can be used to generate coefficients to achieve the desired frequency response shape. One advantage of FIR filters is that they can provide very precise amplitude response control, including linear phase characteristics, and can finely adjust the frequency of the output signal, such as frequency correction or room acoustic compensation in audio systems. They can also be used in conjunction with equalizers to increase or decrease the sound output of specific frequencies, thereby changing the frequency characteristics of the speaker output signal.
[0066] A compressor is a device used to limit the maximum amplitude of an audio signal. By adjusting the compressor's threshold, compression ratio, and attack / release time, you can precisely control the amplitude of the audio signal to prevent signal overload and distortion.
[0067] As described in the above step S51, based on the unqualified information, the output signal frequency compensation information and the output signal amplitude compensation information are obtained in the adjustment library, the actual frequency of the output signal is adjusted to the standard frequency of the output signal, and the actual amplitude of the output signal is adjusted to the standard amplitude of the output signal. By electronic methods, the control part of the speaker is driven to adjust to complete the adjustment of the frequency and amplitude of the output signal.
[0068] A regulating system is used to implement a spatial sound field control method based on environmental factors, comprising: an information module used to construct a first information library and a second information library.
[0069] The acquisition module is used to measure the actual temperature and actual humidity of the environment where the speaker is located.
[0070] The judgment module is connected with the information module and the acquisition module, and is used to judge whether the actual sensitivity and the actual frequency response curve under the actual temperature and actual humidity conditions are qualified.
[0071] The retrieval module is connected to the judgment module and retrieves the output signal frequency compensation information and the output signal amplitude compensation information based on the unqualified information.
[0072] The adjustment module is connected to the retrieval module, and adjusts the actual frequency of the output signal to the standard frequency of the output signal based on the output signal frequency compensation information, and adjusts the actual amplitude to the standard amplitude based on the output signal amplitude compensation information.
[0073] A device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the computer program implements the spatial sound field control method based on environmental factors when executed by the processor.
[0074] A medium stores a computer program, which, when executed by a processor, implements the steps of a spatial sound field control method based on environmental factors.
[0075] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A spatial sound field control method based on environmental factors, characterized in that: The following steps are involved: Setting a speaker model, and constructing a first information library based on the speaker model, the first information library including: standard temperature information, standard humidity information, standard sensitivity parameter range A1-A2, standard frequency response curve, standard frequency of output signal, and standard amplitude of output signal; Constructing a second information database, the second information database includes: actual temperature information, actual humidity information, actual sensitivity, actual frequency response curve, actual frequency of the output signal, and actual amplitude of the output signal; Measure the actual temperature and humidity of the environment where the speaker is located; Building a discrimination library based on the first information library and the second information library, the discrimination library includes: a discrimination channel and a discrimination curve, judging whether the actual sensitivity is qualified based on the discrimination channel, judging whether the actual frequency response curve is qualified based on the discrimination curve, and transmitting unqualified information to the controller; The discrimination channel is constructed based on the standard sensitivity parameter range A1-A2, and the discrimination curve is constructed based on the standard frequency response curve; The discrimination channel is provided with a sensitivity coordinate system. The horizontal coordinate of the plane rectangular coordinate system is marked with time information, and the vertical coordinate of the plane rectangular coordinate system is marked with parameter information. The discrimination channel is composed of two straight lines parallel to the horizontal axis. The distance between one straight line and the horizontal axis is A1, and the distance between the other straight line and the horizontal axis is A2. Both straight lines are sensing lines, and both straight lines are covered with sensing points. The discrimination curve is provided with a frequency response coordinate system, the abscissa of the frequency response coordinate system is marked with frequency information, the ordinate of the frequency response coordinate system is marked with gain or attenuation degree information, and the discrimination curve has the same shape as the standard frequency response curve; Building an adjustment library based on the discrimination library, the adjustment library includes: temperature information, humidity information, and adjustment information, and the adjustment information includes: output signal frequency compensation information and output signal amplitude compensation information; Based on the fact that the sound quality of the speaker is unqualified, determining the actual temperature and humidity of the speaker, as well as the standard frequency of the output signal, the standard amplitude of the output signal, the actual frequency of the output signal, and the actual amplitude of the output signal based on the actual temperature and the actual humidity; Constructing output signal frequency compensation information based on the standard frequency of the output signal and the actual frequency of the output signal, and constructing output signal amplitude compensation information based on the standard amplitude of the output signal and the actual amplitude of the output signal; Based on the unqualified information, the adjustment information for adjusting the actual frequency and the actual amplitude of the output signal to the standard frequency and the standard amplitude of the output signal is retrieved from the adjustment library.
2. The method for controlling a spatial sound field based on environmental factors according to claim 1, characterized in that: The steps for measuring the actual temperature and actual humidity of the environment where the speaker is located include: The actual temperature of the environment where the speaker is located is measured by a temperature sensor, and the actual humidity of the environment where the speaker is located is measured by a humidity sensor. Based on the actual temperature and the actual humidity, the standard sensitivity parameter range A1-A2, the standard frequency response curve, the standard frequency of the output signal, and the standard amplitude of the output signal are obtained from the first information database. Based on the actual temperature and the actual humidity, the actual sensitivity, the actual frequency response curve, the actual frequency of the output signal, and the actual amplitude of the output signal are obtained from the second information database.
3. The method for controlling a spatial sound field based on environmental factors according to claim 1, characterized in that: The steps of judging whether the actual sensitivity is qualified based on the discrimination channel, judging whether the actual frequency response curve is qualified based on the discrimination curve, and transmitting the unqualified information to the controller include: The actual sensitivity is brought into the sensitivity coordinate system in real time. The actual sensitivity forms a sensitivity curve. When the sensitivity curve crosses the discrimination channel, the actual sensitivity is judged as unqualified, the actual temperature and actual humidity corresponding to the unqualified information are marked, and the unqualified information is transmitted to the controller. The actual frequency response curve is brought into the frequency response coordinate system, and the peak D and the trough E of the discrimination curve are determined. The peak d and the trough e of the actual frequency response curve are determined. When the height of the peak d is higher than the peak D and / or the height of the trough e is lower than the height of the trough E, the actual frequency response curve is judged to be unqualified, the actual temperature and the actual humidity corresponding to the unqualified information are marked, and the unqualified information is transmitted to the controller.
4. The method for controlling a spatial sound field based on environmental factors according to claim 1, characterized in that: The sound quality of the speaker under the actual temperature and actual humidity conditions is judged based on the discrimination library. The controller receives unqualified information of the actual sensitivity and / or the actual frequency response curve. Based on the actual temperature and actual humidity corresponding to the unqualified information obtained by the controller, it is determined that the sound quality of the speaker in the environment of the actual temperature and actual humidity is unqualified.
5. The method for controlling a spatial sound field based on environmental factors according to claim 1, characterized in that: The step of retrieving adjustment information for adjusting the actual frequency and the actual amplitude of the output signal to the standard frequency and the standard amplitude of the output signal from the adjustment library based on the unqualified information includes: Based on the unqualified information, the output signal frequency compensation information is obtained in the adjustment library. The output signal frequency compensation information adjusts the actual frequency of the output signal to the standard frequency of the output signal through an FIR filter. Based on the unqualified information, the output signal amplitude compensation information is obtained in the adjustment library. The output signal amplitude compensation information adjusts the actual amplitude of the output signal to the standard amplitude of the output signal through a compressor.
6. A regulating system for implementing the spatial sound field control method based on environmental factors according to any one of claims 1 to 5, characterized in that: include: An information module, used for constructing a first information database and a second information database; An acquisition module is used to measure the actual temperature and humidity of the environment where the speaker is located; The judgment module is connected with the information module and the acquisition module, and is used to judge whether the actual sensitivity and the actual frequency response curve under the actual temperature and actual humidity conditions are qualified; A retrieval module, connected to the judgment module, retrieves output signal frequency compensation information and output signal amplitude compensation information based on the unqualified information; The adjustment module is connected to the retrieval module, and adjusts the actual frequency of the output signal to the standard frequency of the output signal based on the output signal frequency compensation information, and adjusts the actual amplitude to the standard amplitude based on the output signal amplitude compensation information.
7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the computer program is executed by a processor, the steps of the method for controlling a spatial sound field based on environmental factors described in any one of claims 1 to 5 are implemented.
8. A medium storing a computer program, characterized in that When the computer program is executed by a processor, the steps of the spatial sound field control method based on environmental factors as described in any one of claims 1 to 5 above are implemented.
Citation Information
Patent Citations
Audio information processing method, medium, server, client and system
CN117409804A
Device, method, and program for controlling sound quality or quality of musical instrument or like
CN118215958A