Sound making control method of audio playing system, electronic equipment and storage medium

By setting up a DSP unit in the audio playback system, adjusting the signal of the speaker, so that the output high-frequency sound signals have the same amplitude and opposite phase, the sound leakage problem caused by structural asymmetry is solved, and the sound privacy and near-field acoustics are improved frequency band.

CN118945560APending Publication Date: 2024-11-12GOERTEK INC
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202310549126.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-12
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

When designing speakers in the existing audio playback system, the front cavity and rear cavity cannot achieve complete symmetry, resulting in a mismatch in the volume and speed of the high-frequency sound signal during the output process, causing sound leakage and affecting the privacy of the sound.

Method used

By setting up a DSP unit in the audio playback system, signal adjustment processing is performed on the audio links of the first speaker and the second speaker respectively, so that the high-frequency sound signal emitted by the speaker meets the requirements of the same amplitude and opposite phase, thereby in the far field Reduce sound leakage when listening to sounds and improve sound privacy.

Benefits of technology

It effectively reduces the far-field sound leakage of the audio playback system, improves the sound privacy, extends the frequency band of the near-field acoustic function, and achieves the effect of being unaudible in the far-field and audible in the near-field.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118945560A_ABST
    Figure CN118945560A_ABST
Patent Text Reader

Abstract

The invention discloses a sound making control method of an audio playing system, electronic equipment and a storage medium. The sound making control method comprises the following steps: generating a first control signal corresponding to a first audio link and a second control signal corresponding to a second audio link according to an audio to be played; a corresponding first DSP unit on the first audio link is controlled to perform signal adjustment processing on the first control signal, and / or a corresponding second DSP unit on the second audio link is controlled to perform signal adjustment processing on the second control signal, so that a first audio signal played by a first loudspeaker controlled by the first control signal is played by a second loudspeaker controlled by the second control signal; according to a second audio signal played by a second loudspeaker controlled by the second control signal, the sound frequency of the synthesized audio signal leaked at the preset distance is smaller than the preset frequency; and controlling the first loudspeaker to sound based on the first control signal, and controlling the second loudspeaker to sound based on the second control signal. The invention aims to reduce the far-field sound leakage of the audio playing system and improve the sound privacy of the audio playing system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of audio playback technology, and in particular to a sound output control method, electronic device, and storage medium for an audio playback system. Background Technology

[0002] To prevent sound leakage from wearable devices such as VR / AR and audio glasses, which could disturb others or compromise privacy, these products require sound vents in the rear cavity and sound holes in the front cavity of the speaker design to create a sound dipole.

[0003] In related technologies, due to structural limitations, the front and rear cavities cannot be perfectly symmetrical. This results in a volume velocity mismatch between two completely opposite high-frequency sound signals as they travel from the diaphragm to the sound hole. Consequently, the sound signals emitted from the sound outlet and the sound vent no longer meet the requirements of equal amplitude and opposite phase. This leads to sound leakage when playing high-frequency sound signals.

[0004] The above content is only used to help understand the technical solution of the present invention and does not represent an admission that the above content is prior art. Summary of the Invention

[0005] The main objective of this invention is to provide a sound output control method, electronic device, and storage medium for an audio playback system, aiming to achieve the effect of preventing sound leakage.

[0006] To achieve the above objectives, the present invention provides a sound output control method for an audio playback system. The audio playback system includes a signal source, at least one DSP unit, a first speaker, and a second speaker. The DSP unit is disposed in a first audio link between the signal source and the first speaker, and / or the DSP unit is disposed in a second audio link between the signal source and the second speaker. The method includes:

[0007] Generate a first control signal corresponding to the first audio link and a second control signal corresponding to the second audio link based on the audio to be played;

[0008] The first DSP unit corresponding to the first audio link is controlled to perform signal adjustment processing on the first control signal, and / or the second DSP unit corresponding to the second audio link is controlled to perform signal adjustment processing on the second control signal, so that the sound frequency of the synthesized audio signal leaked at a preset distance between the first audio signal played by the first speaker controlled by the first control signal and the second audio signal played by the second speaker controlled by the second control signal is less than a preset frequency.

[0009] The first speaker is controlled to produce sound based on the first control signal, and the second speaker is controlled to produce sound based on the second control signal.

[0010] Optionally, before the steps of controlling the first DSP unit corresponding to the first audio link to perform signal adjustment processing on the first control signal, and / or controlling the second DSP unit corresponding to the second audio link to perform signal adjustment processing on the second control signal, the method further includes:

[0011] Obtain the parameters corresponding to the first DSP unit and / or the second DSP unit;

[0012] The first DSP unit and / or the second DSP unit are constructed according to the parameters, and the first DSP unit is set on the first audio link and / or the second DSP unit is set on the second audio link.

[0013] Optionally, the step of obtaining the parameters corresponding to the first DSP unit and / or the second DSP unit includes:

[0014] Obtain the identification information of the audio playback system;

[0015] The parameters corresponding to the first DSP unit and / or the second DSP unit are obtained from the local or cloud server based on the identification information.

[0016] Optionally, the step of obtaining the parameters corresponding to the first DSP unit and / or the second DSP unit includes:

[0017] A first test signal corresponding to the first audio link is generated based on the test audio, the first speaker is controlled to emit sound based on the first test signal, and the first test audio of the first speaker is collected at the preset distance.

[0018] A second test signal corresponding to the second audio link is generated based on the test audio, the second speaker is controlled to emit sound based on the second test signal, and the second test audio emitted by the second speaker is collected at the preset distance;

[0019] The parameters corresponding to the first DSP unit and / or the second DSP unit are determined based on the first test audio and the second test audio.

[0020] Optionally, before the step of controlling the first speaker to emit sound based on the first test signal, the method further includes:

[0021] Obtain the preset parameters corresponding to the first DSP unit;

[0022] The first DSP unit is constructed according to the preset parameters;

[0023] The first DSP unit is controlled to perform signal adjustment processing on the first test signal;

[0024] The step of determining the parameters corresponding to the first DSP unit and / or the second DSP unit based on the first test audio and the second test audio includes:

[0025] The parameters corresponding to the second DSP unit are determined based on the first test audio and the second test audio.

[0026] Optionally, the parameters include gain and filter coefficients, and the step of determining the parameters corresponding to the second DSP unit based on the first test audio and the second test audio includes:

[0027] Determine the first frequency of the first test audio and the second frequency of the second test audio;

[0028] The gain and the filter coefficients are determined based on the first frequency and the second frequency.

[0029] Optionally, after determining the parameters corresponding to the first DSP unit and / or the second DSP unit based on the first test audio and the second test audio, the method further includes:

[0030] Construct a first DSP unit under test and / or a second DSP unit under test according to the parameters, and set the first DSP unit under test on the first audio link and / or set the second DSP unit under test on the second audio link;

[0031] Generate a first test control signal corresponding to the first audio link and a second test control signal corresponding to the second audio link based on the test audio.

[0032] Control the first DSP unit under test to perform signal adjustment processing on the first test control signal, and / or control the second DSP unit to perform signal adjustment processing on the second test control signal;

[0033] Simultaneously control the first speaker and the second speaker to play sound according to the first test control signal and the second test control signal;

[0034] When the radiated sound frequency measured at the first preset distance is greater than or equal to the first preset frequency, and the leakage sound frequency measured at the second preset distance is less than or equal to the second preset frequency, the first DSP unit under test is determined to be the first DSP unit, and the second DSP unit under test is determined to be the second DSP unit.

[0035] Wherein, the first preset distance is greater than the second preset distance, and the first preset frequency is greater than the second preset frequency.

[0036] Optionally, after the step of generating the first control signal corresponding to the first audio link and the second control signal corresponding to the second audio link based on the audio to be played, the method further includes:

[0037] Determine the frequency of the audio to be played;

[0038] When the frequency is greater than or equal to a preset value, the steps of controlling the first DSP unit corresponding to the first audio link to perform signal adjustment processing on the first control signal, and / or controlling the second DSP unit corresponding to the second audio link to perform signal adjustment processing on the second control signal are executed.

[0039] When the frequency is less than a preset value, the process jumps to the steps of controlling the first speaker to produce sound based on the first control signal and controlling the second speaker to produce sound based on the second control signal.

[0040] In addition, to achieve the above objectives, the present invention also provides an electronic device, the electronic device including a memory, a processor, and an audio playback system output control program stored in the memory and executable on the processor, wherein when the audio playback system output control program is executed by the processor, it implements the steps of the audio playback system output control method as described above.

[0041] In addition, to achieve the above objectives, the present invention also provides a computer-readable storage medium storing a sound output control program for an audio playback system, wherein the sound output control program for the audio playback system, when executed by a processor, implements the steps of the sound output control method for the audio playback system as described above.

[0042] This invention discloses an audio playback system sound output control method, electronic device, and storage medium. First, a first control signal corresponding to the first audio link and a second control signal corresponding to the second audio link are generated based on the audio to be played. Then, a first DSP unit corresponding to the first audio link is controlled to perform signal adjustment processing on the first control signal, and / or a second DSP unit corresponding to the second audio link is controlled to perform signal adjustment processing on the second control signal, so that the sound frequency of the synthesized audio signal leaked at a preset distance between the first audio signal played by the first speaker controlled by the first control signal and the second audio signal played by the second speaker controlled by the second control signal is less than a preset frequency. Finally, the first speaker is controlled to output sound based on the first control signal, and the second speaker is controlled to output sound based on the second control signal. By controlling the first and second speakers through two independent audio links, DSP units can be installed on the first and / or second speakers. The DSP units can then process the control signals of the first and second speakers to correct the dipole failure caused by the asymmetrical structure of the first and second speakers. This ensures that the high-frequency sound signals emitted by the first and second speakers have the same amplitude but opposite phase. When listening in the far field, the difference in distance from the two holes to the listening point is small, and the sound attenuation caused by spherical wave radiation is similar, which can interfere and cancel each other out. This reduces the frequency response of the synthesized audio signal heard in the far field to a preset frequency that is inaudible to the human ear, thereby reducing far-field sound leakage of the audio playback system and improving the sound privacy of the audio playback system. Attached Figure Description

[0043] Figure 1 This is a schematic diagram of the terminal structure of the hardware operating environment involved in the embodiments of the present invention;

[0044] Figure 2 This is a flowchart illustrating an embodiment of the sound output control method of the audio playback system of the present invention;

[0045] Figure 3 This is a flowchart illustrating another embodiment of the sound output control method of the audio playback system of the present invention;

[0046] Figure 4 This is a schematic diagram of the structure of an electronic device according to an embodiment of the present invention;

[0047] Figure 5 This is a schematic diagram of the structure of the first and second loudspeakers according to an embodiment of the present invention;

[0048] Figure 6 This is a schematic diagram of the first signal processing flow according to an embodiment of the present invention;

[0049] Figure 7This is a schematic diagram of the first signal processing flow according to an embodiment of the present invention.

[0050] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0051] It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

[0052] Due to structural limitations in electronic device audio playback systems, the front and rear cavities cannot be perfectly symmetrical. This results in a volume velocity mismatch between two completely opposite high-frequency sound signals as they travel from the diaphragm to the sound hole. Consequently, the sound signals emitted from the sound outlet and the sound vent no longer meet the requirements of equal amplitude and opposite phase. This leads to sound leakage when playing high-frequency sound signals.

[0053] To prevent sound leakage, embodiments of the present invention provide a sound output control method, electronic device, and storage medium for an audio playback system, wherein the main steps of the method include:

[0054] Generate a first control signal corresponding to the first audio link and a second control signal corresponding to the second audio link based on the audio to be played;

[0055] The first DSP unit corresponding to the first audio link is controlled to perform signal adjustment processing on the first control signal, and / or the second DSP unit corresponding to the second audio link is controlled to perform signal adjustment processing on the second control signal, so that the sound frequency of the synthesized audio signal leaked at a preset distance between the first audio signal played by the first speaker controlled by the first control signal and the second audio signal played by the second speaker controlled by the second control signal is less than a preset frequency.

[0056] The first speaker is controlled to produce sound based on the first control signal, and the second speaker is controlled to produce sound based on the second control signal.

[0057] By controlling the first and second speakers through two independent audio links, DSP units can be installed on the first and / or second speakers. The DSP units can then process the control signals of the first and second speakers to correct dipole failures caused by the asymmetrical structures of the speakers. This ensures that the high-frequency sound signals emitted by the first and second speakers have the same amplitude but opposite phase. When listening in the far field, the difference in distance from the two holes to the listening point is small, and the sound attenuation caused by spherical wave radiation is similar, which can interfere and cancel each other out. This results in the sound frequency of the synthesized audio signal leaking at a preset distance being lower than the preset frequency, thereby reducing far-field sound leakage in the audio playback system and improving the sound privacy of the audio playback system.

[0058] The claims of this invention will be described in detail below with reference to the accompanying drawings.

[0059] like Figure 1 As shown, Figure 1 This is a schematic diagram of the terminal structure of the hardware operating environment involved in the embodiments of the present invention.

[0060] In this embodiment of the invention, the terminal can be an electronic device.

[0061] like Figure 1 As shown, the terminal may include: a processor 1001, such as a CPU, a memory 1003, and a communication bus 1002. The communication bus 1002 is used to enable communication between these components. The memory 1003 may be a high-speed RAM or a stable, non-volatile memory, such as a disk drive. Optionally, the memory 1003 may also be a storage device independent of the aforementioned processor 1001.

[0062] Those skilled in the art will understand that Figure 1 The terminal structure shown does not constitute a limitation on the terminal and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0063] like Figure 1 As shown, the memory 1003, which serves as a computer storage medium, may include an operating system and a sound output control program for an audio playback system.

[0064] exist Figure 1 In the terminal shown, the processor 1001 can be used to call the sound output control program of the audio playback system stored in the memory 1003, and perform the following operations:

[0065] Generate a first control signal corresponding to the first audio link and a second control signal corresponding to the second audio link based on the audio to be played;

[0066] The first DSP unit corresponding to the first audio link is controlled to perform signal adjustment processing on the first control signal, and / or the second DSP unit corresponding to the second audio link is controlled to perform signal adjustment processing on the second control signal, so that the sound frequency of the synthesized audio signal leaked at a preset distance between the first audio signal played by the first speaker controlled by the first control signal and the second audio signal played by the second speaker controlled by the second control signal is less than a preset frequency.

[0067] The first speaker is controlled to produce sound based on the first control signal, and the second speaker is controlled to produce sound based on the second control signal.

[0068] Furthermore, the processor 1001 can call the sound output control program of the audio playback system stored in the memory 1003, and also perform the following operations:

[0069] Obtain the parameters corresponding to the first DSP unit and / or the second DSP unit;

[0070] The first DSP unit and / or the second DSP unit are constructed according to the parameters, and the first DSP unit is set on the first audio link and / or the second DSP unit is set on the second audio link.

[0071] Furthermore, the processor 1001 can call the sound output control program of the audio playback system stored in the memory 1003, and also perform the following operations:

[0072] Obtain the identification information of the audio playback system;

[0073] The parameters corresponding to the first DSP unit and / or the second DSP unit are obtained from the local or cloud server based on the identification information.

[0074] Furthermore, the processor 1001 can call the sound output control program of the audio playback system stored in the memory 1003, and also perform the following operations:

[0075] A first test signal corresponding to the first audio link is generated based on the test audio, the first speaker is controlled to emit sound based on the first test signal, and the first test audio of the first speaker is collected at the preset distance.

[0076] A second test signal corresponding to the second audio link is generated based on the test audio, the second speaker is controlled to emit sound based on the second test signal, and the second test audio emitted by the second speaker is collected at the preset distance;

[0077] The parameters corresponding to the first DSP unit and / or the second DSP unit are determined based on the first test audio and the second test audio.

[0078] Furthermore, the processor 1001 can call the sound output control program of the audio playback system stored in the memory 1003, and also perform the following operations:

[0079] Obtain the preset parameters corresponding to the first DSP unit;

[0080] The first DSP unit is constructed according to the preset parameters;

[0081] The first DSP unit is controlled to perform signal adjustment processing on the first test signal;

[0082] The step of determining the parameters corresponding to the first DSP unit and / or the second DSP unit based on the first test audio and the second test audio includes:

[0083] The parameters corresponding to the second DSP unit are determined based on the first test audio and the second test audio.

[0084] Furthermore, the processor 1001 can call the sound output control program of the audio playback system stored in the memory 1003, and also perform the following operations:

[0085] Determine the first frequency of the first test audio and the second frequency of the second test audio;

[0086] The gain and the filter coefficients are determined based on the first frequency and the second frequency.

[0087] Furthermore, the processor 1001 can call the sound output control program of the audio playback system stored in the memory 1003, and also perform the following operations:

[0088] Construct a first DSP unit under test and / or a second DSP unit under test according to the parameters, and set the first DSP unit under test on the first audio link and / or set the second DSP unit under test on the second audio link;

[0089] Generate a first test control signal corresponding to the first audio link and a second test control signal corresponding to the second audio link based on the test audio.

[0090] Control the first DSP unit under test to perform signal adjustment processing on the first test control signal, and / or control the second DSP unit to perform signal adjustment processing on the second test control signal;

[0091] Simultaneously control the first speaker and the second speaker to play sound according to the first test control signal and the second test control signal;

[0092] When the radiated sound frequency measured at the first preset distance is greater than or equal to the first preset frequency, and the leakage sound frequency measured at the second preset distance is less than or equal to the second preset frequency, the first DSP unit under test is determined to be the first DSP unit, and the second DSP unit under test is determined to be the second DSP unit.

[0093] Wherein, the first preset distance is greater than the second preset distance, and the first preset frequency is greater than the second preset frequency.

[0094] Furthermore, the processor 1001 can call the sound output control program of the audio playback system stored in the memory 1003, and also perform the following operations:

[0095] Determine the frequency of the audio to be played;

[0096] When the frequency is greater than or equal to a preset value, the steps of controlling the first DSP unit corresponding to the first audio link to perform signal adjustment processing on the first control signal, and / or controlling the second DSP unit corresponding to the second audio link to perform signal adjustment processing on the second control signal are executed.

[0097] When the frequency is less than a preset value, the process jumps to the steps of controlling the first speaker to produce sound based on the first control signal and controlling the second speaker to produce sound based on the second control signal.

[0098] To prevent sound leakage from wearable devices like VR / AR and audio glasses, which could disturb others or compromise privacy, these devices need to have similar near-field acoustics—meaning they are audible in the near field but not in the far field. When designing speakers for these products, it's necessary to create a venting unit in the rear cavity (away from the ear) and a sound-emitting unit in the front cavity (closer to the ear canal) to form a dipole, referring to... Figure 4 .

[0099] When listening in the near field (e.g., 2.5cm), the distances from the listening point to the front and rear sound vents differ significantly, resulting in different attenuations of the sound waves radiated from the two holes at the listening point. This causes amplitude mismatch, and the sound waves cannot completely cancel each other out, making the near field audible. When listening in the far field (e.g., 30cm), the distances from the two holes to the listening point are smaller, and the sound attenuation from the spherical wave radiation is similar. The two sound waves have the same amplitude but opposite phase, interfering and canceling each other out at any far field position. The sound energy is localized in the near field region and cannot be radiated outward, making the far field inaudible, thus achieving the function of privacy acoustics.

[0100] However, the actual product fails to achieve the desired effect, mainly because the volume velocity mismatch between the front and rear sound vents occurs when playing mid-to-high frequency audio. Specifically, at low frequencies, the volume velocities of the front and rear sound vents tend to be the same, forming a relatively ideal dipole that localizes low-frequency sound waves within the near field. At mid-to-high frequencies, however, the volume velocities of the front and rear sound vents are no longer the same, failing to form an ideal dipole in the far field. This mismatch in amplitude and phase of the radiated sound waves in the far field causes the acoustic interference cancellation to fail, resulting in sound leakage.

[0101] The reason for mid-to-high frequency sound leakage lies in the limitations of structure and ID (Integrated Design). The acoustic design cannot guarantee perfect symmetry between the front and rear cavities, and the speaker drivers currently used in such devices are not symmetrical about the diaphragm. This asymmetry in the diaphragm's front and rear structures inevitably leads to inconsistent filtering effects between the front and rear cavities. Sound waves radiated from sound sources with identical amplitudes but opposite phases, after passing through different DSP units, no longer meet the requirement of identical amplitudes and opposite phases when radiating outwards from the front and rear sound outlets, resulting in the failure of the sound dipole. The aforementioned DSP units have a significant impact on mid-to-high frequencies, therefore, near-field acoustics are better at low frequencies, but near-field acoustics fail at mid-to-high frequencies (typically above 1.5kHz).

[0102] The following explanation, through specific exemplary solutions, clarifies the scope of protection claimed in the claims of this invention, so that those skilled in the art can better understand the scope of protection of the claims. It is understood that the following exemplary solutions do not limit the scope of protection of this invention, but are only used to explain this invention.

[0103] For example, refer to Figure 2 In one embodiment of the sound output control method of the audio playback system of the present invention, the sound output control method of the audio playback system includes the following steps:

[0104] Step S10: Generate a first control signal corresponding to the first audio link and a second control signal corresponding to the second audio link based on the audio to be played;

[0105] In this embodiment, the sound output control of the audio playback system is applied to electronic devices, especially wearable devices with broadcasting requirements such as VR / AR and audio glasses. The electronic device is equipped with an audio playback system, which includes a signal source, at least one DSP (Digital Signal Processing) unit, a first speaker, and a second speaker. The signal source receives the audio to be played from the main control system. Upon receiving the audio, it controls the first speaker to emit sound through the first audio link and the second audio link to control the second speaker to emit sound. DSP units can be set on the first audio link and / or the second audio link. The DSP units can perform signal adjustment processing on the control signals controlling the first and second speakers to emit sound on the first audio link and / or the second audio link. Signal adjustment processing includes filtering, limiting, etc. The number and type of DSP units on an audio link are not limited; for example, FIR, IIR, etc., DSP units are acceptable. However, there must be at least one DSP unit on both audio links. For ease of distinction, if a DSP unit corresponds to the first audio link, it is called the first DSP unit; if a DSP unit corresponds to the second audio link, it is called the second DSP unit.

[0106] By adjusting the signal through the DSP unit, the sound signals emitted by the first speaker and the second speaker can be made to have the same amplitude and opposite phase. This makes the sound frequency of the synthesized audio signal leaked at a preset distance less than the preset frequency, so that the synthesized audio signal is not easily heard at the preset distance, thus improving the sound privacy.

[0107] To better understand, a specific application scenario is provided for reference. Figure 4 Both the first speaker (sound output unit) and the second speaker (sound leakage unit) are positioned close to the user's ear on the electronic device. However, the first speaker is closer to the user's ear than the second speaker. When close to the ear, the propagation distances of the first audio signal played by the first audio link controlled by the first control signal and the second audio signal played by the second audio link controlled by the second control signal differ significantly, making it impossible to cancel out the two audio signals, thus allowing near-field users to hear the played audio. When far from the ear, the propagation distances of the first audio signal played by the first audio link controlled by the first control signal and the second audio signal played by the second audio link controlled by the second control signal differ less. When the output first audio signal and the second audio signal have the same amplitude but opposite phase, they can cancel out to some extent. The sound frequency of the synthesized audio signal at a distance is lower than the preset frequency, making it inaudible to others at a distance.

[0108] Alternatively, the first and second speakers can be integrated into a single speaker unit, such as a speaker unit with dual diaphragms. (See reference...) Figure 5 The first loudspeaker includes a front diaphragm, a front cavity, and a front sound outlet, while the second loudspeaker includes a rear diaphragm, a rear cavity, and a rear sound outlet. Because of the symmetrical arrangement of the dual diaphragms, the signals emitted by both diaphragms better meet the requirements of equal amplitude and opposite phase, improving acoustic privacy. Each diaphragm has independent circuit control, with four pins paired to control one diaphragm side respectively.

[0109] Optionally, the first and second loudspeakers can be two independent loudspeaker units. Each loudspeaker unit typically has a diaphragm and is independently controlled and emits sound. Two identical loudspeaker units can be placed opposite each other, i.e., their diaphragms face opposite directions. This also achieves sound output control of the audio playback system provided in this embodiment, but the structure is somewhat thicker.

[0110] It should be noted that the design utilizes two separately controlled vibration systems and signals, both of which should be within the protection range; no restrictions are imposed here.

[0111] When the signal source receives the audio to be played, it generates a first control signal corresponding to the first audio link and a second control signal corresponding to the second audio link based on the audio to be played. The acoustic path is the pathway connecting the signal source and the first speaker, including an electrical path and an acoustic path for the first speaker, ending when the first and second speakers emit sound signals. The DSP unit is located on the electrical path between the signal source and the first speaker. On the electrical path, both the first and second control signals are electrical signals, propagated via the first and second audio links, respectively.

[0112] The first control signal and the second control signal can be electrical signals with the same amplitude but opposite phase, determined based on the audio signal to be played. Specifically, the amplitude and phase of the first control signal are the same as the audio signal to be played, while the amplitude of the second control signal can be the same as the audio signal to be played but the phase is opposite. Alternatively, the first and second control signals can be electrical signals with the same amplitude and phase as the audio signal to be played. Then, the DSP unit reverses one of the control signals, causing the audio signal emitted by the second speaker to be opposite to the audio signal emitted by the first speaker.

[0113] Optionally, after step S10, the following steps are also included:

[0114] Determine the frequency of the audio to be played;

[0115] When the frequency is greater than or equal to a preset value, the steps of controlling the first DSP unit corresponding to the first audio link to perform signal adjustment processing on the first control signal, and / or controlling the second DSP unit corresponding to the second audio link to perform signal adjustment processing on the second control signal are executed.

[0116] When the frequency is less than a preset value, the process jumps to the steps of controlling the first speaker to produce sound based on the first control signal and controlling the second speaker to produce sound based on the second control signal.

[0117] If the first and second control signals can be electrical signals with the same amplitude but opposite phase, directly determined from the audio signal to be played, and the audio signal to be played is a low-frequency signal, then the corresponding first and second control signals will also directly control the speaker to play the audio signal at a low frequency in the far field. To reduce computational cost and latency, low and high frequencies can be controlled to produce sound through the audio link in two ways. First, determine the frequency of the audio to be played. If the frequency is greater than or equal to a preset value, the DSP unit needs to adjust the first and / or second control signals accordingly. Then, based on the processed control signals, the first and second speakers are controlled to produce sound, thus avoiding sound leakage from high-frequency audio signals. If the frequency is less than the preset value, the signal adjustment process can be skipped, and the original first and second control signals of equal magnitude but opposite phase can be used to directly control the first and second speakers to produce sound.

[0118] Step S20: Control the first control signal and / or the second control signal corresponding to the DSP unit to perform signal adjustment processing, so that the sound frequency of the synthesized audio signal leaked at a preset distance by the first audio signal played by the first audio link controlled by the first control signal and the second audio signal played by the second audio link controlled by the second control signal is less than the preset frequency.

[0119] In this embodiment, the control signal is used to control the first or second speaker to emit sound, converting the electrical signal into an acoustic signal and playing a first audio signal and a second audio signal. Before generating the audio signal, the control signal can be processed by the DSP unit on the audio link, mainly through amplitude limiting and filtering to adjust various parameters of the control signal, such as amplitude and phase. Processing the control signal by the DSP unit ensures that the volume velocity of the sound signals emitted by the first and second speakers is identical across a wide frequency band, resulting in equal amplitude and opposite phase across all audible frequency bands. That is, the dipole failure caused by the asymmetry between the first and second speakers is compensated and corrected by the DSP unit, ensuring that the first audio signal output by the first control signal and the second audio signal output by the second control signal have the same amplitude and opposite phase. When the output first and second audio signals have the same amplitude and opposite phase, they can be partially canceled out, resulting in a synthesized audio signal with a frequency lower than a preset frequency at a distance, making it inaudible to others and improving sound privacy.

[0120] Furthermore, when setting the parameters of the DSP unit, the near-field sound pressure level also needs to be taken into account, so that the sound pressure level of the first audio signal or the second audio signal is greater than the preset sound pressure level, so as to ensure that the parameters of the DSP unit can adjust the audio signal to the near-field sound pressure level to meet the listening requirements.

[0121] Step S30: Control the first speaker to produce sound based on the first control signal, and control the second speaker to produce sound based on the second control signal.

[0122] In this embodiment, after the processing in step S20, the first speaker is controlled to emit sound and play a first audio signal based on the first control signal, and simultaneously the second speaker can be controlled to emit sound and play a second audio signal based on the second control signal. The first and / or second control signals are control signals that have undergone signal adjustment processing. The first and / or second control signals, after signal adjustment processing, can correspondingly control the first and second speakers, ensuring that the first and second audio signals emitted by the first and second speakers have the same amplitude but opposite phase. In the near field, because the first and second speakers are very close to the user's ears, the difference in the distance between their signals and the ear cannot be ignored, making it impossible for the two signals to cancel each other out. However, in the far field, the difference in the distance between the two signals and the ear for other people can be ignored, allowing the two signals to cancel each other out. The sound frequency of the synthesized audio signal leaking at a preset distance is lower than the preset frequency. The preset distance is the distance between the far field position and the audio playback system, set according to requirements. Other people in the far field cannot hear the sound signal, thus avoiding the leakage of mid-to-high frequency sound signals. The existing 1.5kHz near-field acoustic cutoff frequency can be extended to at least 6kHz, and with reasonable design and optimization, it can be extended to more than 10kHz, achieving true near-field privacy acoustics.

[0123] Specifically, refer to Figure 6 The upper and lower lines represent the radiation paths of the first and second audio links, respectively. W1 and W2 are the designed DSP units used to compensate for the differences between the two acoustic paths. G1 and G2 represent the transfer functions of the two acoustic paths, ultimately ensuring that the output signals P1(Z) and P2(Z) satisfy P1(Z) + P2(Z) = 0. (Refer to...) Figure 7 DSP units can be added only to the first or second audio link, which can broaden the near-field acoustic frequency band to a certain extent and reduce cost and algorithm complexity.

[0124] In the technical solution disclosed in this embodiment, the first speaker and the second speaker are controlled by two independent acoustic paths. A first DSP unit can be set on the first speaker and / or a second DSP unit can be set on the second speaker. The DSP unit performs signal adjustment processing on the control signals of the first speaker and / or the second speaker to correct the dipole failure caused by the asymmetrical structure of the first speaker and the second speaker. This ensures that the high-frequency sound signals emitted by the first speaker and the second speaker have the same amplitude but opposite phase. When listening in the far field, the difference in distance from the two holes to the listening point is small, and the sound attenuation caused by spherical wave radiation is similar and can be canceled out by interference. This results in the sound frequency of the synthesized audio signal at a preset distance being lower than a preset frequency. This achieves the effect of avoiding sound leakage when playing high-frequency sound signals, and better realizes the near-field acoustic function of the playback component, where the audio played is inaudible in the far field but audible in the near field. The existing 1.5kHz near-field acoustic cutoff frequency can be extended to at least 6kHz, and with reasonable design and optimization, it can be extended to above 10kHz, achieving true near-field privacy acoustics.

[0125] Optionally, refer to Figure 3 Based on any of the above embodiments, in another embodiment of the sound output control method of the audio playback system of the present invention, before step S20 of the sound output control method of the audio playback system, the method further includes:

[0126] Step S40: Obtain the parameters corresponding to the first DSP unit and / or the second DSP unit;

[0127] Step S50: Construct the first DSP unit and / or the second DSP unit according to the parameters, and set the first DSP unit on the first audio link and / or set the second DSP unit on the second audio link.

[0128] In this embodiment, before the audio playback system plays sound, DSP units need to be set on the first and second audio links. The DSP unit is essentially a signal adjustment algorithm, and corresponding parameters need to be determined to construct the DSP unit. The parameters of the DSP unit are set according to reducing the sound frequency of the synthesized audio signal at a preset distance from the audio signals emitted by the first and second speakers. Before this, the parameters of the first and / or second DSP units of this playback component or a playback component of the same model can be determined in a laboratory. Optionally, the DSP unit can perform filtering and / or limiting processing on the control signal, etc. Therefore, the parameters of the DSP unit can be the gain and filter coefficients used to construct the filter, the limiter parameters used to construct the limiting algorithm, etc. When determining the DSP unit parameters, the setting method of the DSP unit on the audio playback system can be selected according to requirements. Then, the parameters corresponding to the setting method are associated with the first or second audio link and saved locally or in the cloud for the playback component to retrieve when constructing the DSP unit. After obtaining the parameters of the DSP units corresponding to the first and / or second audio links of the audio playback system, the DSP unit is constructed according to the parameters, and then the DSP unit is integrated on the audio links associated with the parameters.

[0129] Optionally, step S40 includes: obtaining the identification information of the audio playback system; and obtaining the parameters corresponding to the first DSP unit and / or the second DSP unit from a local or cloud server based on the identification information.

[0130] The identification information can be the ID information of the playback component. When an electronic device has multiple audio playback systems, the identification information can be used to query the corresponding DSP unit parameters for that system. Alternatively, to save costs, the DSP unit parameters of audio playback systems of the same model can be determined. When determining DSP unit parameters, several parameters of the same model can be selected, or a more optimal set of parameters can be chosen. The DSP unit parameters and identification information can be associated and stored locally or on a cloud server. The identification information of the audio playback system can be used to query the parameters corresponding to the first and / or second associated DSP units, and then the DSP unit can be constructed.

[0131] Optionally, step S40 includes:

[0132] A first test signal corresponding to the first audio link is generated based on the test audio, the first speaker is controlled to emit sound based on the first test signal, and the first test audio of the first speaker is collected at the preset distance.

[0133] A second test signal corresponding to the second audio link is generated based on the test audio, the second speaker is controlled to emit sound based on the second test signal, and the second test audio emitted by the second speaker is collected at the preset distance;

[0134] The parameters corresponding to the first DSP unit and / or the second DSP unit are determined based on the first test audio and the second test audio.

[0135] Reference Figure 6 and Figure 7 The structural differences between the first and second audio links result in different volumetric speeds of the output audio signals. A DSP unit compensates for this difference; therefore, determining the parameters of the DSP unit presupposes identifying the differences between the first and second audio links. The differences between the first and second audio links can be determined based on the differences between the audio signals output from the first and second audio links before signal adjustment processing by the DSP unit.

[0136] First, the first audio link and the second audio link must generate a first test signal corresponding to the first audio link and a second test signal corresponding to the second audio link, respectively, based on the same test audio. The first and second test signals are essentially control signals. The first test signal controls the first speaker to emit sound, and the first test audio from the first speaker is collected at a preset distance. Similarly, the second test signal controls the second speaker to emit sound, and the second test audio from the second speaker is collected at the preset distance. It should be noted that the collection of the first and second test audio can be performed at different times.

[0137] Once the audio links for which DSP units need to be configured are determined, DSP units can be configured on the first audio link and / or the second audio link as required. After determining the audio links for which DSP units need to be configured, the parameters of the DSP units corresponding to the first audio link and / or the second audio link are determined by comparing the first test audio and the second test audio.

[0138] Furthermore, before the step of controlling the first speaker to emit sound based on the first test signal, the method further includes:

[0139] Obtain the preset parameters corresponding to the first DSP unit;

[0140] The first DSP unit is constructed according to the preset parameters;

[0141] The first DSP unit is controlled to perform signal adjustment processing on the first test signal;

[0142] The step of determining the parameters corresponding to the first DSP unit and / or the second DSP unit based on the first test audio and the second test audio includes:

[0143] The parameters corresponding to the second DSP unit are determined based on the first test audio and the second test audio.

[0144] The DSP unit filters the control signal and fixes any audio link as required, including the parameters of the corresponding DSP unit in the fixed audio link. After fixing any audio link, it calculates the parameters of the DSP unit corresponding to the other audio link.

[0145] Specifically, firstly, preset parameters are set for the first DSP unit corresponding to the first audio link according to requirements. Then, the first DSP unit is constructed based on the preset parameters. After generating the first test signal corresponding to the first audio link based on the test audio, the first test signal is processed based on the first DSP, and the first speaker is controlled to emit sound based on the processed first test signal. The first test audio of the first speaker is collected at a preset distance. Optionally, the first frequency of the first test audio is determined. If the first frequency is greater than the preset frequency, it indicates that the frequency at the preset distance does not meet the set requirements. The parameters of the first DSP unit need to be readjusted, the DSP unit corresponding to the first audio link needs to be adjusted, and the above steps of processing the first test signal by the first DSP and subsequent steps need to be repeated until the first frequency of the first test audio is less than the preset frequency, thus meeting the frequency response requirements.

[0146] A second test signal corresponding to the second audio link is generated based on the test audio. The second test signal is used to control the second speaker to emit sound, and the second test audio of the second speaker is collected at a preset distance. Then, based on the first test audio and the second test audio, the difference between the second audio link and the first audio link, which has integrated the first DSP unit, is determined, thereby determining the second DSP unit on the second audio link.

[0147] Further, the parameters include gain and filter coefficients, and the step of determining the parameters corresponding to the second DSP unit based on the first test audio and the second test audio includes:

[0148] Determine the first frequency of the first test audio and the second frequency of the second test audio;

[0149] The gain and the filter coefficients are determined based on the first frequency and the second frequency.

[0150] Determine the first frequency P1 of the first test audio after final adjustment, and the second frequency P2 of the second test audio before signal adjustment by the DSP unit. Calculate the parameters of the second DSP unit based on the first frequency P1 and the second frequency P2 of the first test audio after final adjustment. These parameters include the gain G2 and filter coefficient H2 of the unit for the control signal corresponding to the second audio link. G2 and H2 are calculated using the following formula:

[0151] Based on the determined parameters corresponding to the second audio link, a second DSP unit is constructed. This completes the construction of the first DSP unit corresponding to the first audio link and the second DSP unit corresponding to the second audio link. Before playing the audio, the DSP unit performs signal adjustment processing on the first and second control signals based on the DSP units corresponding to each audio link. This ensures that the amplitudes of the first and second audio signals played by the speaker are the same, but their phases are opposite. This ensures that the frequency of the synthesized audio signal leaking at a preset distance is lower than a preset frequency, making it inaudible to others at a distance.

[0152] Further, after the step of determining the parameters corresponding to the first DSP unit and / or the second DSP unit based on the first test audio and the second test audio, the method further includes:

[0153] Construct a first DSP unit under test and / or a second DSP unit under test according to the parameters, and set the first DSP unit under test on the first audio link and / or set the second DSP unit under test on the second audio link;

[0154] Generate a first test control signal corresponding to the first audio link and a second test control signal corresponding to the second audio link based on the test audio.

[0155] Control the first DSP unit under test to perform signal adjustment processing on the first test control signal, and / or control the second DSP unit to perform signal adjustment processing on the second test control signal;

[0156] The first and second speakers are simultaneously controlled to play sound based on the first and second test control signals after signal adjustment and processing.

[0157] When the radiated sound frequency measured at the first preset distance is greater than or equal to the first preset frequency, and the leakage sound frequency measured at the second preset distance is less than or equal to the second preset frequency, the first DSP unit under test is determined to be the first DSP unit, and the second DSP unit under test is determined to be the second DSP unit.

[0158] Before officially using the system to play audio, it is necessary to test the playback effect of the audio playback system in the near and far fields to ensure that the audio is audible in the near field but not in the far field. Therefore, the first and second DSP units under test, constructed based on the parameters determined by the first and second test audio, can only be used as the first and second DSP units after the tests are completed.

[0159] Specifically, based on the test audio, a first control signal corresponding to the first audio link and a second control signal corresponding to the second audio link are generated. The first DSP unit under test is controlled to perform signal adjustment processing on the first test control signal, and / or the second DSP unit is controlled to perform signal adjustment processing on the second test control signal. Then, based on the first and second test control signals, the first and second speakers are simultaneously controlled to play audio. The radiated sound frequency of the synthesized audio signal of the first and second test control signals at a first preset distance and the leakage sound frequency of the synthesized audio signal of the first and second test control signals at a second preset distance are measured, where the first preset distance is greater than the second preset distance. When the radiated sound frequency is greater than or equal to the first preset frequency and the leakage sound frequency is less than or equal to the second preset sound frequency, it is determined that the audio playback system meets the acoustic privacy requirement, the first DSP unit under test is identified as the first DSP unit, and the second DSP unit under test is identified as the second DSP unit; otherwise, the parameters of the DSP units are readjusted.

[0160] In the technical solution disclosed in this embodiment, parameters corresponding to the first DSP unit and / or the second DSP unit are obtained, the first DSP unit and / or the second DSP unit are constructed according to the parameters, and the first DSP unit is set on the first audio link and / or the second DSP unit is set on the second audio link. Thus, before the audio playback system plays audio, by obtaining the parameters of the DSP units corresponding to the first audio link and / or the second audio link, DSP units are constructed on the corresponding audio paths. Therefore, during audio playback, the amplitude and phase misalignment problems of the output and leakage signals caused by structural differences can be corrected in a timely manner based on the DSP units, thus preventing sound leakage in the played audio.

[0161] Furthermore, this invention also proposes an electronic device, which includes a memory, a processor, and an audio playback system output control program stored in the memory and executable on the processor. When the audio playback system output control program is executed by the processor, it implements the steps of the audio playback system output control method described in the above embodiments.

[0162] Furthermore, embodiments of the present invention also propose a computer-readable storage medium storing a sound output control program for an audio playback system. When the sound output control program for the audio playback system is executed by a processor, it implements the steps of the sound output control method for the audio playback system as described in the above embodiments.

[0163] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.

[0164] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0165] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes several instructions to cause an electronic device to execute the methods described in the various embodiments of the present invention.

[0166] The above are merely preferred embodiments of the present invention and do not limit the scope of the patent. Any equivalent structural or procedural transformations made based on the description and drawings of the present invention, or direct or indirect applications in other related technical fields, are similarly included within the scope of patent protection of the present invention.

Claims

1. A sound control method for an audio playback system, characterized in that: The audio playback system includes a signal source, at least one DSP unit, a first speaker, and a second speaker, wherein the DSP unit is arranged in a first audio link between the signal source and the first speaker, and / or the DSP unit is arranged in a second audio link between the signal source and the second speaker, and the method includes: generating a first control signal corresponding to the first audio link and a second control signal corresponding to the second audio link according to the audio to be played; Control the first DSP unit corresponding to the first audio link to perform signal adjustment processing on the first control signal, and / or control the second DSP unit corresponding to the second audio link to perform signal adjustment processing on the second control signal, so that the sound frequency of the synthetic audio signal leaked at the preset distance between the first audio signal played by the first speaker controlled by the first control signal and the second audio signal played by the second speaker controlled by the second control signal is less than a preset frequency; The first speaker is controlled to produce sound based on the first control signal, and the second speaker is controlled to produce sound based on the second control signal.

2. The sound control method of the audio playback system according to claim 1, characterized in that: Before the step of controlling the first DSP unit corresponding to the first audio link to perform signal adjustment processing on the first control signal, and / or controlling the second DSP unit corresponding to the second audio link to perform signal adjustment processing on the second control signal, the step further includes: Obtaining parameters corresponding to the first DSP unit and / or the second DSP unit; The first DSP unit and / or the second DSP unit are constructed according to the parameters, and the first DSP unit is set on the first audio link and / or the second DSP unit is set on the second audio link.

3. The sound control method of the audio playback system according to claim 2, characterized in that: The step of obtaining parameters corresponding to the first DSP unit and / or the second DSP unit comprises: Obtaining identification information of the audio playback system; Obtain parameters corresponding to the first DSP unit and / or the second DSP unit from a local or cloud server according to the identification information.

4. The sound control method of the audio playback system according to claim 2, characterized in that: The step of obtaining parameters corresponding to the first DSP unit and / or the second DSP unit comprises: generating a first test signal corresponding to the first audio link according to the test audio, controlling the first speaker to emit sound based on the first test signal, and collecting the first test audio of the first speaker at the preset distance; generating a second test signal corresponding to the second audio link according to the test audio, controlling the second speaker to emit sound based on the second test signal, and collecting the second test audio emitted by the second speaker at the preset distance; Parameters corresponding to the first DSP unit and / or the second DSP unit are determined according to the first test audio and the second test audio.

5. The sound control method of the audio playback system according to claim 4, characterized in that: Before the step of controlling the first speaker to emit sound based on the first test signal, the method further includes: Obtaining preset parameters corresponding to the first DSP unit; constructing the first DSP unit according to the preset parameters; Controlling the first DSP unit to perform signal adjustment processing on the first test signal; The step of determining parameters corresponding to the first DSP unit and / or the second DSP unit according to the first test audio and the second test audio comprises: Parameters corresponding to the second DSP unit are determined according to the first test audio and the second test audio.

6. The sound control method of the audio playback system according to claim 5, characterized in that: The parameters include gain and filter coefficients, and the step of determining the parameters corresponding to the second DSP unit according to the first test audio and the second test audio includes: determining a first frequency of the first test audio and a second frequency of the second test audio; The gain and the filter coefficient are determined according to the first frequency and the second frequency.

7. The sound control method of the audio playback system according to claim 4, characterized in that: After the step of determining the parameters corresponding to the first DSP unit and / or the second DSP unit according to the first test audio and the second test audio, the method further includes: Constructing a first DSP unit to be tested and / or a second DSP unit to be tested according to the parameters, and setting the first DSP unit to be tested on the first audio link and / or setting the second DSP unit to be tested on the second audio link; generating a first test control signal corresponding to the first audio link and a second test control signal corresponding to the second audio link according to the test audio; Controlling the first DSP unit to be tested to perform signal adjustment processing on the first test control signal, and / or controlling the second DSP unit to perform signal adjustment processing on the second test control signal; Controlling the first speaker and the second speaker to play sound simultaneously according to the first test control signal and the second test control signal; When the radiated sound frequency measured at the first preset distance is greater than or equal to the first preset frequency, and the leakage sound frequency measured at the second preset distance is less than or equal to the second preset frequency, determining that the first DSP unit to be tested is the first DSP unit, and determining that the second DSP unit to be tested is the second DSP unit; Among them, the first preset distance is greater than the second preset distance, and the first preset frequency is greater than the second preset frequency.

8. The sound control method of the audio playback system according to claim 1, characterized in that: After the step of generating a first control signal corresponding to the first audio link and a second control signal corresponding to the second audio link according to the audio to be played, the method further includes: Determine the frequency of the audio to be played; When the frequency is greater than or equal to a preset value, the steps of controlling the first DSP unit corresponding to the first audio link to perform signal adjustment processing on the first control signal, and / or controlling the second DSP unit corresponding to the second audio link to perform signal adjustment processing on the second control signal are executed; When the frequency is less than a preset value, the process jumps to executing the steps of controlling the first speaker to make sound based on the first control signal and controlling the second speaker to make sound based on the second control signal.

9. An electronic device, characterized in that: The electronic device comprises: a memory, a processor, and a sound control program of an audio playback system stored in the memory and executable on the processor. When the sound control program of the audio playback system is executed by the processor, the steps of the sound control method of the audio playback system as described in any one of claims 1 to 8 are implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a sound control program for an audio playback system, and when the sound control program for an audio playback system is executed by a processor, the steps of the sound control method for an audio playback system according to any one of claims 1 to 8 are implemented.

Citation Information

Cited By

  • Call sound field control method and device, equipment, storage medium and product

    CN122226887A