Loudspeaking control method and device, sound effect control system, vehicle and medium

By determining the transfer function and frequency response parameters of the speaker to the target microphone, the speaker is controlled to increase the sound pressure level, which solves the problems of weak sound positioning and low sound pressure level caused by the same gain value of the speakers in the car, and achieves a better car sound effect experience.

CN120224082APending Publication Date: 2025-06-27BEIJING XIAOMI MOBILE SOFTWARE CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311828764.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-27
Publication Date
2025-06-27

AI Technical Summary

Technical Problem

In the prior art, the gain values ​​of each speaker in the car are the same, resulting in weak sound positioning, low sound pressure level, and poor car sound effect experience.

Method used

By determining the transfer function of each speaker to the target microphone based on the pulse signals emitted by multiple speakers and the recording signals received by the target microphone, the frequency response parameters (gain value and time delay value) of each speaker are obtained, and the speakers are controlled to perform the speaker according to these parameters to increase the sound pressure level of the sound at the target position.

Benefits of technology

The volume of the simulated sound emitted at the target microphone position is increased, the sound positioning sense is enhanced, the car sound effect is active, and the car sound effect experience is improved. The driver feels that he is driving with him, which increases the driving pleasure.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120224082A_ABST
    Figure CN120224082A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of vehicle-mounted sound effects, and provides a loudspeaking control method and device, a sound effect control system, a vehicle and a medium. The loudspeaking control method comprises the following steps: according to a pulse signal sent by each loudspeaker in a plurality of loudspeakers and a recording signal corresponding to the pulse signal sent by each loudspeaker and received by a target microphone, carrying out sound effect control on the multiple loudspeakers; determining a transfer function from each loudspeaker to the target microphone; obtaining a gain value and a time delay value corresponding to each loudspeaker according to the transfer function from each loudspeaker to the target microphone; and according to the gain value and the time delay value corresponding to each loudspeaker, controlling each loudspeaker to carry out loudspeaking so as to increase the sound pressure level of the sound at the target position. By adjusting the gain value and the time delay value at the same time, the sound positioning feeling is enhanced, the vehicle-mounted sound effect is active, the vehicle-mounted sound effect experience feeling is enhanced, a driver can hear the sound emitted from the position of the target microphone, driving is like accompanying by someone, and the driving pleasure is increased.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of in-vehicle audio effects, and particularly to a loudspeaker control method, device, audio effect control system, vehicle, and medium. Background Art

[0002] The most commonly used entertainment function in an automotive system is Bluetooth music playback. Among them, an in-vehicle audio device is usually set in the driver's cab of the vehicle, so that sound can be heard in the driver's cab of the vehicle.

[0003] In the related art, the gain values of each loudspeaker in the vehicle are usually set to be the same, so that people at each position in the vehicle can hear the same sound. By this method, the sound localization sense is weak, the sound pressure level is low, and the experience of the in-vehicle audio effect is not good. Summary of the Invention

[0004] To overcome the problems existing in the related art, the present disclosure provides a loudspeaker control method, device, audio effect control system, vehicle, and medium.

[0005] According to a first aspect of an embodiment of the present disclosure, a loudspeaker control method is provided. The loudspeaker control method includes:

[0006] Determining a transfer function from each loudspeaker to the target microphone according to the pulse signal emitted by each loudspeaker among a plurality of loudspeakers and the recording signal corresponding to the pulse signal emitted by each loudspeaker received by the target microphone;

[0007] Obtaining a frequency response parameter corresponding to each loudspeaker according to the transfer function from each loudspeaker to the target microphone, where the frequency response parameter includes a gain value and a time delay value;

[0008] Controlling each loudspeaker to emit sound to increase the sound pressure level of the sound at the target position according to the frequency response parameter corresponding to each loudspeaker, where the sound at the target position is the sound simulated to be emitted at the position where the target microphone is located.

[0009] Optionally, the obtaining a frequency response parameter corresponding to each loudspeaker according to the transfer function from each loudspeaker to the microphone includes:

[0010] Determining an energy value of the transfer function corresponding to each loudspeaker according to the transfer function from each loudspeaker to the microphone;

[0011] Determining the maximum energy value from the energy values of the transfer functions corresponding to each loudspeaker;

[0012] Obtain the time delay value corresponding to each of the speakers according to the energy value of the transfer function corresponding to each of the speakers and the maximum energy value;

[0013] Obtain the gain value corresponding to each of the speakers according to the energy value of the transfer function corresponding to each of the speakers and the maximum energy value, where the energy value of the transfer function corresponding to the speaker is the magnitude of the square of the transfer function corresponding to the speaker.

[0014] Optionally, the obtaining the time delay value corresponding to each of the speakers according to the energy value of the transfer function corresponding to each of the speakers and the maximum energy value includes:

[0015] Obtain the time delay value corresponding to each of the speakers according to the difference between the energy value of the transfer function corresponding to each of the speakers and the maximum energy value.

[0016] Optionally, the obtaining the gain value corresponding to each of the speakers according to the energy value of the transfer function corresponding to each of the speakers and the maximum energy value includes:

[0017] Obtain the gain coefficient corresponding to each of the speakers according to the ratio of the energy value of the transfer function corresponding to each of the speakers to the maximum energy value;

[0018] Obtain the sum of the gain coefficients of all the speakers according to the gain coefficient corresponding to each of the speakers;

[0019] Obtain the gain value corresponding to each of the speakers according to the total gain value, the gain coefficient corresponding to each of the speakers, and the sum of the gain coefficients.

[0020] Optionally, the frequencies of the pulse signals emitted by adjacent speakers among the multiple speakers differ by a preset number of frequency sampling points, and the recorded signal corresponding to the pulse signal emitted by each of the speakers is separated from the total signal recorded by the target microphone based on the preset number of frequency sampling points, where the pulse signals emitted by each of the multiple speakers are synchronized.

[0021] Optionally, the preset number of frequency sampling points is 32768 frequency sampling points.

[0022] Optionally, the controlling each of the speakers to sound to increase the sound pressure level at the target position according to the frequency response parameter corresponding to each of the speakers includes:

[0023] According to the frequency response parameters corresponding to each of the speakers, control the pulse signals emitted by each of the multiple speakers to reach the position of the target microphone simultaneously.

[0024] Optionally, before determining the transfer function of each speaker to the target microphone according to the pulse signal emitted by each speaker among the multiple speakers and the recording signal corresponding to the pulse signal emitted by each speaker received by the target microphone, the speaker control method further includes:

[0025] In response to a user's selection instruction, determine the target microphone from among the multiple microphones.

[0026] According to a second aspect of the embodiments of the present disclosure, there is provided a speaker control device, the speaker control device including:

[0027] A first processing module configured to determine the transfer function of each speaker to the target microphone according to the pulse signal emitted by each speaker among the multiple speakers and the recording signal corresponding to the pulse signal emitted by each speaker received by the target microphone;

[0028] A second processing module configured to obtain the frequency response parameter corresponding to each speaker according to the transfer function of each speaker to the target microphone, where the frequency response parameter includes a gain value and a time delay value;

[0029] A third processing module configured to control each speaker to emit sound according to the frequency response parameter corresponding to each speaker to increase the sound pressure level of the sound at the target position, where the sound at the target position is the sound simulated to be emitted at the position where the target microphone is located.

[0030] According to a third aspect of the embodiments of the present disclosure, there is provided a sound effect control system, the sound effect control system including:

[0031] A target microphone;

[0032] Multiple speakers;

[0033] A controller, connected to the target microphone and the plurality of speakers, is configured to determine a transfer function from each speaker to the target microphone according to the pulse signal emitted by each speaker among the plurality of speakers and the recording signal corresponding to the pulse signal emitted by each speaker received by the target microphone; obtain frequency response parameters corresponding to each speaker according to the transfer function from each speaker to the target microphone, where the frequency response parameters include a gain value and a time delay value; and control each speaker to emit sound to increase the sound pressure level of the sound at the target position according to the frequency response parameters corresponding to each speaker, where the sound at the target position is the sound simulated to be emitted at the position where the target microphone is located.

[0034] According to a fourth aspect of the embodiments of the present disclosure, a vehicle is provided, including:

[0035] The sound effect control system provided in the third aspect of the present disclosure.

[0036] According to a fifth aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided, on which computer program instructions are stored, and when the program instructions are executed by a processor, the steps of the sound emission control method provided in any one of the first aspects of the present disclosure are implemented.

[0037] The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:

[0038] By determining the transfer function from each speaker to the target microphone according to the pulse signal emitted by each speaker among the plurality of speakers and the recording signal corresponding to the pulse signal emitted by each speaker received by the target microphone; then obtaining the frequency response parameters corresponding to each speaker according to the transfer function from each speaker to the target microphone, where the frequency response parameters include a gain value and a time delay value; and finally controlling each speaker to emit sound to increase the sound pressure level of the sound at the target position according to the frequency response parameters corresponding to each speaker, the volume of the sound simulated to be emitted at the position of the target microphone is increased. By adjusting the gain value and the time delay value simultaneously, the sound localization sense is enhanced, making the in-vehicle sound effect active and enhancing the in-vehicle sound effect experience. The driver feels that they can hear the sound emitted from the position of the target microphone, as if someone is accompanying the driving, thereby increasing the driving pleasure.

[0039] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] The drawings here are incorporated into the specification and form a part of the specification, showing embodiments consistent with the present disclosure and used together with the specification to explain the principles of the present disclosure.

[0041] Figure 1 is a flowchart of a loudspeaker control method shown according to an exemplary embodiment.

[0042] Figure 2 is a schematic diagram of the distribution of multiple loudspeakers shown according to an exemplary embodiment.

[0043] Figure 3 is shown according to an exemplary embodiment Figure 1 and is a flowchart of the sub-steps of step S2 therein.

[0044] Figure 4 is shown according to an exemplary embodiment Figure 3 and is a flowchart of the sub-steps of step S24 therein.

[0045] Figure 5 is a flowchart of another loudspeaker control method shown according to an exemplary embodiment.

[0046] Figure 6 is a block diagram of a loudspeaker control device shown according to an exemplary embodiment. Detailed implementation manners

[0047] Here, exemplary embodiments will be described in detail, and examples thereof are shown in the drawings. When the following description refers to the drawings, unless otherwise indicated, the same numerals in different drawings represent the same or similar elements. The implementation manners described in the following exemplary embodiments do not represent all implementation manners consistent with the present disclosure. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0048] The terms "first", "second", etc. used in the present disclosure are for distinguishing one element from another, and do not have sequentiality and importance. In addition, in the following description, when referring to the drawings, unless otherwise explained, the same reference numerals in different drawings represent the same or similar elements.

[0049] The most commonly used entertainment function in an automotive system is Bluetooth music playback. Among them, an in-vehicle audio device is usually installed in the automotive cab so that sound can be heard in the automotive cab.

[0050] In the related art, the gain values of each loudspeaker in the vehicle are usually set to be the same, so that people at each position in the vehicle can hear the same sound. In this way, the sense of sound localization is weak, the sound pressure level is low, and the experience of the in-vehicle sound effect is not good.

[0051] To solve the above technical problems, in the embodiments of the present disclosure, the transfer function from each speaker to the target microphone is determined based on the pulse signal emitted by each speaker among multiple speakers and the recording signal corresponding to the pulse signal emitted by each speaker received by the target microphone; then, based on the transfer function from each speaker to the target microphone, the frequency response parameters corresponding to each speaker are obtained, where the frequency response parameters include a gain value and a time delay value; finally, based on the frequency response parameters corresponding to each speaker, each speaker is controlled to emit sound to increase the sound pressure level of the sound at the target position, improve the volume of the sound simulated at the position of the target microphone, and by adjusting the gain value and the time delay value simultaneously, the sound localization sense is enhanced, making the in-vehicle sound effect active, enhancing the in-vehicle sound effect experience, and enabling the driver to feel that they can hear the sound emitted from the position of the target microphone, as if someone is accompanying the driving, thereby increasing the driving pleasure.

[0052] Figure 1 It is a flowchart of a sound playback control method shown according to an exemplary embodiment. As Figure 1 shown, this sound playback control method can be applied to a controller in a vehicle, and the controller is connected to the target microphone and multiple speakers. This sound playback control method may include steps S1 to S3.

[0053] Step S1: Determine the transfer function from each speaker to the target microphone based on the pulse signal emitted by each speaker among multiple speakers and the recording signal corresponding to the pulse signal emitted by each speaker received by the target microphone.

[0054] The controller controls each speaker among the multiple speakers to emit a pulse signal, and the controller controls the target microphone to receive the recording signal corresponding to the pulse signal emitted by each speaker among the multiple speakers. One pulse signal corresponds to one recording signal.

[0055] Please refer to Figure 2 , where Z1 to Z8 respectively represent 8 different speakers, and the distribution of the 8 different speakers in the vehicle can be as Figure 2 shown, and P1 and P2 respectively represent the left and right ears of the driver.

[0056] The pulse signal can be, but is not limited to, a logarithmic sweep signal. Exemplarily, the logarithmic sweep signal can be as follows:

[0057]

[0058] where x(t) represents the logarithmic sweep signal, t represents the logarithmic sweep time, T represents the total logarithmic sweep duration, generally 6s, ω1 represents the initial angular frequency, and ω2 represents the end angular frequency.

[0059] ω1 = 2πf1, f1 = 10Hz

[0060] ω2 = 2πf2, f2 = 24 kHz

[0061] Wherein, f1 represents the initial frequency and f2 represents the end frequency.

[0062] The transfer function from each speaker to the target microphone can be expressed as the following formula:

[0063]

[0064]

[0065]

[0066] Wherein, represents the transfer function from the j-th speaker to the target microphone, x j represents the logarithmic swept-frequency signal emitted by the j-th speaker, y j represents the recorded signal corresponding to the logarithmic swept-frequency signal emitted by the j-th speaker received by the target microphone, represents the autocorrelation function of the logarithmic swept-frequency signal, F is the Fourier transform, F -1 is the inverse Fourier transform, represents the Fourier transform of, w j represents the inverse Fourier transform of the reciprocal of.

[0067] Step S2: According to the transfer function from each speaker to the target microphone, obtain the frequency response parameter corresponding to each speaker, wherein the frequency response parameter includes a gain value and a time delay value.

[0068] One transfer function corresponds to one speaker from the speaker to the target microphone. There are j transfer functions from j speakers to the target microphone. According to these j transfer functions, obtain the gain value corresponding to each speaker and the time delay value corresponding to each speaker.

[0069] Step S3: According to the frequency response parameter corresponding to each speaker, control each speaker to sound to increase the sound pressure level of the sound at the target position.

[0070] Wherein, the sound at the target position is the sound simulated to be emitted at the position where the target microphone is located.

[0071] According to the gain value corresponding to each speaker and the time delay value corresponding to each speaker, each speaker is controlled to sound. For example, according to the gain value corresponding to the first speaker and the time delay value corresponding to the first speaker, the first speaker is controlled to sound; according to the gain value corresponding to the second speaker and the time delay value corresponding to the second speaker, the second speaker is controlled to sound; according to the gain value corresponding to the third speaker and the time delay value corresponding to the third speaker, the third speaker is controlled to sound...

[0072] By adjusting two frequency response parameters, namely the time delay value and the gain value, the sounds emitted by each speaker reach the target microphone position simultaneously. The closer the speaker is to the target microphone position, the greater the gain value, thereby increasing the sound pressure level at the target microphone position.

[0073] Based on the pulse signals emitted by each speaker among multiple speakers and the recorded signals corresponding to the pulse signals emitted by each speaker received by the target microphone, the transfer function from each speaker to the target microphone is determined; then, based on the transfer function from each speaker to the target microphone, the frequency response parameters corresponding to each speaker are obtained, where the frequency response parameters include the gain value and the time delay value; finally, based on the frequency response parameters corresponding to each speaker, each speaker is controlled to sound to increase the sound pressure level of the sound at the target position, improve the volume of the sound simulated at the target microphone position. By simultaneously adjusting the gain value and the time delay value, the sound localization sense is enhanced, making the in-vehicle sound effect active and enhancing the in-vehicle sound effect experience. The driver feels that they can hear the sound emitted from the target microphone position as if someone is accompanying them while driving, thereby increasing the driving pleasure.

[0074] In a possible implementation, please refer to Figure 3 , step S2 may include steps S21 to S24.

[0075] Step S21: Determine the energy value of the transfer function corresponding to each speaker according to the transfer function from each speaker to the microphone.

[0076] The energy value of the transfer function corresponding to the speaker is the magnitude of the square of the transfer function corresponding to the speaker.

[0077] Square a transfer function and take the magnitude of the squared result as the energy value of the transfer function. Each transfer function corresponding to a speaker has an energy value.

[0078] By squaring the transfer function, the difference between transfer functions is increased, making it easier to distinguish the magnitude of the squared result.

[0079] Step S22: Determine the maximum energy value from the energy values of the transfer functions corresponding to each speaker.

[0080] Compare the energy values of the transfer functions corresponding to all speakers to determine the maximum energy value among them, which is the maximum energy value.

[0081] Step S23: Based on the energy value of the transfer function corresponding to each speaker and the maximum energy value, obtain the time delay value corresponding to each speaker.

[0082] Based on the difference between the energy value of the transfer function corresponding to each speaker and the maximum energy value, obtain the time delay value corresponding to each speaker.

[0083] Exemplarily, the time delay value corresponding to the first speaker = the energy value of the transfer function corresponding to the first speaker - the maximum energy value; the time delay value corresponding to the second speaker = the energy value of the transfer function corresponding to the second speaker - the maximum energy value; the time delay value corresponding to the third speaker = the energy value of the transfer function corresponding to the third speaker - the maximum energy value.

[0084] If the time delay value is negative, take the absolute value of the time delay value, which is the actual time to be delayed.

[0085] Step S24: Based on the energy value of the transfer function corresponding to each speaker and the maximum energy value, obtain the gain value corresponding to each speaker.

[0086] Please refer to Figure 4 , Step S24 may include Step S241 to Step S243.

[0087] Step S241: Based on the ratio of the energy value of the transfer function corresponding to each speaker to the maximum energy value, obtain the gain coefficient corresponding to each speaker.

[0088] Exemplarily, the gain coefficient corresponding to the first speaker = the energy value of the transfer function corresponding to the first speaker / the maximum energy value; the gain coefficient corresponding to the second speaker = the energy value of the transfer function corresponding to the second speaker / the maximum energy value; the gain coefficient corresponding to the third speaker = the energy value of the transfer function corresponding to the third speaker / the maximum energy value.

[0089] Step S242: Based on the gain coefficient corresponding to each speaker, obtain the sum of the gain coefficients of all speakers.

[0090] Calculate the sum of the gain coefficients corresponding to all speakers to obtain the sum of the gain coefficients.

[0091] Step S243: Obtain the gain value corresponding to each speaker according to the total gain value, the gain coefficient corresponding to each speaker, and the sum of the gain coefficients.

[0092] The total gain value can be set by the user according to actual needs. If there are 4 speakers, before using this method, the gain value of the speakers is 10 dB, then the total gain value can be set to 40 dB.

[0093] Calculate the ratio of the gain coefficient corresponding to each speaker to the sum of the gain coefficients, and calculate the product of this ratio and the total gain value to obtain the gain value corresponding to each speaker.

[0094] Exemplarily, taking 4 speakers as an example, the corresponding 4 energy values are 0.4, 0.38, 0.45, and 0.41 respectively, and the maximum energy value is 0.45. The time delay value corresponding to the first speaker is 0.4 - 0.45 = -0.05, that is, it emits sound with a delay of 0.05 s. The gain coefficient corresponding to the first speaker is 0.4 / 0.45 = 0.88. The time delay value corresponding to the second speaker is 0.38 - 0.45 = -0.07, that is, it emits sound with a delay of 0.07 s. The gain coefficient corresponding to the second speaker is 0.38 / 0.45 = 0.84. The time delay value corresponding to the third speaker is 0.45 - 0.45 = 0, that is, it emits sound with a delay of 0 s. The gain coefficient corresponding to the third speaker is 0.45 / 0.45 = 1. The time delay value corresponding to the fourth speaker is 0.41 - 0.45 = -0.04, that is, it emits sound with a delay of 0.04 s. The gain coefficient corresponding to the fourth speaker is 0.41 / 0.45 = 0.91. The sum of the gain coefficients is 0.88 + 0.84 + 1 + 0.91 = 3.63. The gain value corresponding to the first speaker is 40 dB * 0.88 / 3.63 = 9.69 dB. The gain value corresponding to the second speaker is 40 dB * 0.84 / 3.63 = 9.25 dB. The gain value corresponding to the third speaker is 40 dB * 1 / 3.63 = 11.02 dB. The gain value corresponding to the fourth speaker is 40 dB * 0.91 / 3.63 = 10.03 dB.

[0095] In a possible implementation manner, the frequencies of the pulse signals emitted by adjacent speakers among the multiple speakers differ by a preset number of frequency sampling points. The recorded signal corresponding to the pulse signal emitted by each speaker is separated from the total signal obtained by recording from the target microphone based on a preset number of frequency sampling points. Among them, the pulse signals emitted by each of the multiple speakers are synchronized.

[0096] Exemplarily, the frequency of the pulse signal emitted by the first speaker differs from the frequency of the pulse signal emitted by the second speaker by a preset number of frequency sampling points, the frequency of the pulse signal emitted by the second speaker differs from the frequency of the pulse signal emitted by the third speaker by a preset number of frequency sampling points, and the frequency of the pulse signal emitted by the third speaker differs from the frequency of the pulse signal emitted by the fourth speaker by a preset number of frequency sampling points.

[0097] By spacing a preset number of frequency sampling points between the speakers, the pulse signals simultaneously emitted by multiple speakers are distinguished to achieve cyclic displacement measurement. When multiple speakers simultaneously emit pulse signals, the duration of the total signal recorded by the target microphone is shortened, and thus the transfer function can be obtained quickly, improving efficiency.

[0098] In a possible implementation, the preset number of frequency sampling points is 32768 frequency sampling points.

[0099] In a possible implementation, according to the frequency response parameter corresponding to each speaker, controlling each speaker to sound to increase the sound pressure level of the sound at the target position includes:

[0100] According to the frequency response parameter corresponding to each speaker, controlling the pulse signals emitted by each of the multiple speakers to reach the position of the target microphone simultaneously.

[0101] According to the time delay value in the frequency response parameter corresponding to each speaker, controlling the speaker to sound, so that the pulse signals emitted by multiple speakers reach the position of the target microphone simultaneously.

[0102] According to the gain value in the frequency response parameter corresponding to each speaker, controlling the speaker to sound. The gain value of the speaker close to the position of the target microphone is increased, and the gain value of the speaker far from the position of the target microphone is decreased, so that the sound pressure level of the pulse signals emitted by multiple speakers reaching the position of the target microphone is increased.

[0103] Exemplarily, taking the position of the target microphone in the co-pilot as an example, when the total gain value is controlled to be unchanged, the influence of different frequency response parameters on the sound pressure level can be as shown in Table 1.

[0104] Table 1

[0105]

[0106] By the combined action of gain and delay, with the same total gain, the sound pressure level at a specific position, that is, the position where the target microphone is located, is further increased.

[0107] Please refer to Figure 5 , Figure 5It is a flowchart of another loudspeaker control method shown according to an exemplary embodiment. This loudspeaker control method can be applied to a controller in a vehicle. The controller is connected to a target microphone and a plurality of loudspeakers. This loudspeaker control method can include step S201 to step S204.

[0108] Step S201: In response to a user's selection instruction, determine a target microphone from a plurality of microphones.

[0109] As a user, the driver can select the microphone located at that position as the target microphone according to the position where they want to make a sound.

[0110] Exemplarily, if the driver wants the co-pilot to make a sound, they can select the microphone located at the co-pilot position as the target microphone.

[0111] Step S202: According to the pulse signal emitted by each loudspeaker among the plurality of loudspeakers and the recording signal corresponding to the pulse signal emitted by each loudspeaker received by the target microphone, determine the transfer function of each loudspeaker to the target microphone.

[0112] Step S203: According to the transfer function of each loudspeaker to the target microphone, obtain the frequency response parameter corresponding to each loudspeaker, where the frequency response parameter includes a gain value and a time delay value.

[0113] Step S204: According to the frequency response parameter corresponding to each loudspeaker, control each loudspeaker to make a sound to increase the sound pressure level of the sound at the target position.

[0114] Among them, the sound at the target position is the sound simulated to be emitted at the position where the target microphone is located.

[0115] It should be noted that for the detailed elaboration of step S202, step S203, and step S204, reference can be made to step S1, step S2, and step S3 respectively, and this embodiment will not be elaborated here.

[0116] Based on the same inventive concept, to implement the above method embodiments, this embodiment provides a loudspeaker control device, as Figure 6 shown, Figure 6 It is a block diagram of a loudspeaker control device shown according to an exemplary embodiment. This loudspeaker control device 500 can include:

[0117] A first processing module 501, configured to determine the transfer function of each loudspeaker to the target microphone according to the pulse signal emitted by each loudspeaker among the plurality of loudspeakers and the recording signal corresponding to the pulse signal emitted by each loudspeaker received by the target microphone;

[0118] The second processing module 502 is configured to obtain frequency response parameters corresponding to each speaker according to the transfer function from each speaker to the target microphone, where the frequency response parameters include a gain value and a time delay value;

[0119] The third processing module 503 is configured to control each speaker to emit sound according to the frequency response parameters corresponding to each speaker so as to increase the sound pressure level of the sound at the target position, where the sound at the target position is the sound simulated to be emitted at the position where the target microphone is located.

[0120] Optionally, the second processing module 502 may include:

[0121] The first sub-processing module is configured to determine the energy value of the transfer function corresponding to each speaker according to the transfer function from each speaker to the microphone;

[0122] The second sub-processing module is configured to determine the maximum energy value from the energy values of the transfer functions corresponding to each speaker;

[0123] The third sub-processing module is configured to obtain the time delay value corresponding to each speaker according to the energy value of the transfer function corresponding to each speaker and the maximum energy value;

[0124] The fourth sub-processing module is configured to obtain the gain value corresponding to each speaker according to the energy value of the transfer function corresponding to each speaker and the maximum energy value, where the energy value of the transfer function corresponding to the speaker is the magnitude of the square of the transfer function corresponding to the speaker.

[0125] Optionally, the third sub-processing module is specifically configured to:

[0126] Obtain the time delay value corresponding to each speaker according to the difference between the energy value of the transfer function corresponding to each speaker and the maximum energy value respectively.

[0127] Optionally, the fourth sub-processing module is specifically configured to:

[0128] Obtain the gain coefficient corresponding to each speaker according to the ratio of the energy value of the transfer function corresponding to each speaker to the maximum energy value respectively; obtain the sum of the gain coefficients of all speakers according to the gain coefficient corresponding to each speaker; obtain the gain value corresponding to each speaker according to the total gain value, the gain coefficient corresponding to each speaker, and the sum of the gain coefficients.

[0129] Optionally, the frequencies of the pulse signals emitted by adjacent speakers among the multiple speakers differ by a preset number of frequency sampling points. The recorded signal corresponding to the pulse signal emitted by each speaker is separated from the total signal obtained by recording from the target microphone based on the preset number of frequency sampling points. Among them, the pulse signals emitted by each of the multiple speakers are synchronized.

[0130] Optionally, the preset number of frequency sampling points is 32768 frequency sampling points.

[0131] Optionally, the third processing module 503 is specifically configured to:

[0132] According to the frequency response parameter corresponding to each speaker, control the pulse signals emitted by each of the multiple speakers to reach the position of the target microphone simultaneously.

[0133] Optionally, the speaker control device 500 may further include:

[0134] A fourth processing module, configured to determine the target microphone from among the multiple microphones in response to a user's selection instruction.

[0135] Regarding the speaker control device in the above embodiments, the specific manners in which each module performs operations have been described in detail in the embodiments related to the speaker control method, and will not be elaborated here.

[0136] Based on the same inventive concept, this embodiment further provides an audio effect control system, which includes:

[0137] A target microphone;

[0138] Multiple speakers;

[0139] A controller, connected to the target microphone and the multiple speakers. The controller is used to determine the transfer function from each speaker to the target microphone according to the pulse signal emitted by each speaker among the multiple speakers and the recorded signal corresponding to the pulse signal emitted by each speaker received by the target microphone; obtain the frequency response parameter corresponding to each speaker according to the transfer function from each speaker to the target microphone, where the frequency response parameter includes a gain value and a time delay value; control each speaker to emit sound according to the frequency response parameter corresponding to each speaker to increase the sound pressure level of the sound at the target position, where the sound at the target position is the sound simulated to be emitted at the position where the target microphone is located.

[0140] Based on the above embodiments, this embodiment of the present disclosure further provides a vehicle, which includes the above audio effect control system.

[0141] The present disclosure also provides a computer-readable storage medium, on which computer program instructions are stored. When the program instructions are executed by a processor, the steps of the loudspeaker control method provided by the present disclosure are implemented.

[0142] In another exemplary embodiment, a computer program product is also provided. The computer program product includes a computer program that can be executed by a programmable device. The computer program has a code portion for executing the above loudspeaker control method when executed by the programmable device.

[0143] Those skilled in the art will readily conceive of other embodiments of the present disclosure after considering the specification and practicing the present disclosure. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common general knowledge or conventional technical means in the technical field not disclosed by the present disclosure. The specification and embodiments are only regarded as exemplary, and the true scope and spirit of the present disclosure are pointed out by the following claims.

[0144] It should be understood that the present disclosure is not limited to the exact structures described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present disclosure is only limited by the appended claims.

Claims

1. A sound control method, characterized in that The loudspeaker control method includes: Determining a transfer function of each of the plurality of loudspeakers to the target microphone according to a pulse signal emitted by each loudspeaker among the plurality of loudspeakers and a recording signal corresponding to the pulse signal emitted by each loudspeaker received by the target microphone; Obtaining a frequency response parameter corresponding to each loudspeaker according to the transfer function of each loudspeaker to the target microphone, where the frequency response parameter includes a gain value and a time delay value; Controlling each loudspeaker to emit sound to increase the sound pressure level of the sound at the target position according to the frequency response parameter corresponding to each loudspeaker, where the sound at the target position is a sound simulated to be emitted at the position where the target microphone is located.

2. The loudspeaker control method according to claim 1, wherein The obtaining a frequency response parameter corresponding to each loudspeaker according to the transfer function of each loudspeaker to the microphone includes: Determining an energy value of the transfer function corresponding to each loudspeaker according to the transfer function of each loudspeaker to the microphone; Determining a maximum energy value from the energy values of the transfer functions corresponding to each loudspeaker; Obtaining a time delay value corresponding to each loudspeaker according to the energy value of the transfer function corresponding to each loudspeaker and the maximum energy value; Obtaining a gain value corresponding to each loudspeaker according to the energy value of the transfer function corresponding to each loudspeaker and the maximum energy value, where the energy value of the transfer function corresponding to the loudspeaker is the magnitude of the square of the transfer function corresponding to the loudspeaker.

3. The loudspeaker control method according to claim 2, characterized in that The obtaining a time delay value corresponding to each loudspeaker according to the energy value of the transfer function corresponding to each loudspeaker and the maximum energy value includes: Obtaining a time delay value corresponding to each loudspeaker according to the difference between the energy value of the transfer function corresponding to each loudspeaker and the maximum energy value.

4. The loudspeaker control method according to claim 2, wherein The obtaining a gain value corresponding to each loudspeaker according to the energy value of the transfer function corresponding to each loudspeaker and the maximum energy value includes: Obtaining a gain coefficient corresponding to each loudspeaker according to the ratio of the energy value of the transfer function corresponding to each loudspeaker to the maximum energy value; Obtaining a sum of the gain coefficients of all the loudspeakers according to the gain coefficient corresponding to each loudspeaker; Obtaining a gain value corresponding to each loudspeaker according to the total gain value, the gain coefficient corresponding to each loudspeaker, and the sum of the gain coefficients.

5. The loudspeaker control method according to claim 1, characterized in that, The frequencies of the pulse signals emitted by adjacent loudspeakers among the plurality of loudspeakers differ by a preset number of frequency sampling points, and the recording signal corresponding to the pulse signal emitted by each loudspeaker is separated from the total signal recorded by the target microphone based on the preset number of frequency sampling points, where the pulse signals emitted by each of the plurality of loudspeakers are synchronized.

6. The loudspeaker control method according to claim 5, wherein, The preset number of frequency sampling points is 32768 frequency sampling points.

7. The loudspeaker control method according to claim 1, characterized in that The controlling each loudspeaker to emit sound to increase the sound pressure level of the sound at the target position according to the frequency response parameter corresponding to each loudspeaker includes: According to the frequency response parameters corresponding to each of the speakers, control the pulse signals emitted by each of the multiple speakers to reach the position of the target microphone simultaneously.

8. The loudspeaker control method according to claim 1, wherein Before determining the transfer function of each speaker to the target microphone based on the pulse signals emitted by each speaker among the multiple speakers and the recording signals corresponding to the pulse signals emitted by each speaker received by the target microphone, the speaker control method further includes: In response to a user's selection instruction, determine the target microphone from among the multiple microphones.

9. A sound control device, characterized in that, The speaker control device includes: A first processing module configured to determine the transfer function of each speaker to the target microphone based on the pulse signals emitted by each speaker among the multiple speakers and the recording signals corresponding to the pulse signals emitted by each speaker received by the target microphone; A second processing module configured to obtain the frequency response parameters corresponding to each speaker according to the transfer function of each speaker to the target microphone, wherein the frequency response parameters include a gain value and a time delay value; A third processing module configured to control each speaker to emit sound to increase the sound pressure level of the sound at the target position according to the frequency response parameters corresponding to each speaker, wherein the sound at the target position is simulated as the sound emitted at the position where the target microphone is located.

10. An audio effect control system, characterized in that, The sound effect control system includes: A target microphone; Multiple speakers; A controller connected to the target microphone and the multiple speakers, the controller being configured to determine the transfer function of each speaker to the target microphone based on the pulse signals emitted by each speaker among the multiple speakers and the recording signals corresponding to the pulse signals emitted by each speaker received by the target microphone; obtain the frequency response parameters corresponding to each speaker according to the transfer function of each speaker to the target microphone, wherein the frequency response parameters include a gain value and a time delay value; control each speaker to emit sound to increase the sound pressure level of the sound at the target position according to the frequency response parameters corresponding to each speaker, wherein the sound at the target position is simulated as the sound emitted at the position where the target microphone is located.

11. A vehicle, characterized in that, Includes: The sound effect control system according to claim 10.

12. A computer-readable storage medium having computer program instructions stored thereon, characterized in that, When the program instruction is executed by a processor, the steps of the speaker control method according to any one of claims 1 to 8 are implemented.