Escape sound wave reduction method and device, vehicle, electronic equipment and storage medium
By setting the noise canceling wave characteristics opposite to the escape sound wave and controlling its propagation direction, the escape sound wave and the noise canceling wave intersect in a specific area, solving the problem of the escape sound wave affecting the riding experience and achieving an effective sound wave reduction effect. .
Patent Information
- Application Number
- CN202310898524.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-20
- Publication Date
- 2025-01-21
AI Technical Summary
The escape sound waves wearing active noise-cancelling headphones in the car will be transmitted to other users' ears, affecting the riding experience.
By determining the first amplitude and first phase of the escape sound wave corresponding to the audio to be played, the second amplitude and second phase of the noise cancellation wave are set so that they have the same amplitude but opposite phase as the escape sound wave, and control the propagation of the noise cancellation wave Direction, so that the escape sound wave and the noise cancellation wave intersect in a specific area, attenuating or eliminating the escape sound wave.
Effectively reduce or eliminate escape sound waves and improve the riding experience for other passengers.
Smart Images

Figure CN119339695A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of vehicle technology, and in particular to a method and device for reducing escaped sound waves, a vehicle, an electronic device, and a storage medium. Background Art
[0002] With the development of vehicle intelligence, the vehicle's in-vehicle entertainment system can provide more excellent driving experience for the users in the car. Since the users in the car have different requirements for the sound experience in the car, the passengers wear active noise cancellation (ANC) headphones to improve the hearing experience.
[0003] Part of the sound emitted by the ANC headphones will be received by the wearer's ears, and part will overflow from the human ears. The sound that overflows from the human ears is called escaped sound waves. The escaped sound waves will be transmitted to the ears of other users in the vehicle except those wearing the ANC headphones, affecting the riding experience of other users. Summary of the invention
[0004] The present disclosure provides a method, device, electronic device and storage medium for reducing escaping sound waves.
[0005] According to a first aspect of the present disclosure, a method for reducing escaping sound waves is provided, comprising:
[0006] Determine a first amplitude and a first phase of an escaped sound wave corresponding to the audio to be played, wherein the escaped sound wave is a sound wave that overflows the ear of a subject listening to the audio to be played;
[0007] The second amplitude and the second phase of the noise elimination wave are set according to the first amplitude and the first phase, respectively, the first amplitude is the same as the second amplitude, and the first phase is opposite to the second phase;
[0008] controlling a second propagation direction of the noise canceling wave according to the first propagation direction of the escaping sound wave;
[0009] The escaping sound wave and the noise-eliminating sound wave are controlled to cross each other according to the second propagation direction, so as to attenuate or eliminate the escaping sound wave.
[0010] Optionally, the setting of the second amplitude and the second phase of the noise elimination wave according to the first amplitude and the first phase respectively comprises:
[0011] Determining the sound wave loss between the noise cancelling speaker and the sound cancelling zone, wherein the sound cancelling zone is the intersection area of the escaped sound wave and the noise cancelling wave;
[0012] According to the acoustic wave loss, the first amplitude and the first phase, a second amplitude of the noise cancelling wave is set to be the same as the first amplitude, and a second phase of the noise cancelling wave is set to be opposite to the first phase.
[0013] Optionally, controlling the escaping sound wave and the noise elimination wave to cross each other according to the second propagation direction, and attenuating or eliminating the escaping sound wave comprises:
[0014] The set noise-canceling wave is mixed through a preset codec to obtain a mixed noise-canceling wave;
[0015] Transmitting the mixed noise-canceling wave to a preset audio amplifier to obtain an amplified noise-canceling wave;
[0016] Controlling the amplified noise cancellation wave to be transmitted to the noise cancellation speaker, and controlling the noise cancellation speaker to play in the second propagation direction;
[0017] The escape sound waves and the noise elimination waves are controlled to intersect in the noise elimination area.
[0018] Optionally, before determining the first amplitude and the first phase of the escape sound wave corresponding to the audio to be played, the method further includes:
[0019] The escaped sound waves are calibrated according to different earphone types to obtain a mapping relationship between different open earphone types and corresponding escaped sound waves.
[0020] Optionally, parsing the audio to be played to determine the first amplitude and the first phase of the escape sound wave includes:
[0021] Establishing a connection with a target headset that receives the audio to be played;
[0022] Acquire the headphone type of the target headphone, and search for the corresponding escape sound wave from the mapping relationship according to the headphone type of the target headphone;
[0023] The audio to be played is analyzed to determine the first amplitude and the first phase corresponding to the found escape sound wave.
[0024] According to a second aspect of the present disclosure, there is provided a device for reducing escaping sound waves, comprising:
[0025] a determining unit, configured to determine a first amplitude and a first phase of an escaped sound wave corresponding to the audio to be played, wherein the escaped sound wave is a sound wave that overflows from an ear of a subject listening to the audio to be played;
[0026] a setting unit, configured to set a second amplitude and a second phase of the noise elimination wave according to the first amplitude and the first phase, respectively, wherein the first amplitude is the same as the second amplitude, and the first phase is opposite to the second phase;
[0027] a control unit, configured to control a second propagation direction of the noise canceling wave according to the first propagation direction of the escaping sound wave;
[0028] The subtraction unit is used to control the escaping sound wave and the noise elimination wave to cross each other according to the second propagation direction, and attenuate or eliminate the escaping sound wave.
[0029] Optionally, the setting unit includes:
[0030] A determination module, configured to determine the sound wave loss between the noise cancelling speaker and the sound cancelling zone, wherein the sound cancelling zone is an intersection area of the escaped sound wave and the noise cancelling wave;
[0031] A setting module is used to set the second amplitude of the noise elimination wave to be the same as the first amplitude, and to set the second phase of the noise elimination wave to be opposite to the first phase according to the sound wave loss, the first amplitude and the first phase.
[0032] Optionally, the subtraction unit includes:
[0033] A processing module, used for mixing the set noise-canceling wave through a preset codec to obtain a mixed noise-canceling wave;
[0034] A first transmission module, used for transmitting the mixed noise-canceling wave to a preset audio amplifier to obtain an amplified noise-canceling wave;
[0035] A second transmission module, used for controlling the transmission of the amplified noise cancellation wave to the noise cancellation speaker, and controlling the noise cancellation speaker to play in the second propagation direction;
[0036] The subtraction module is used to control the escaping sound waves and the noise elimination waves to cross each other in the noise elimination area.
[0037] Optionally, the device further comprises:
[0038] The calibration unit is used to calibrate the escaped sound wave according to different types of headphones before the determination unit determines the first amplitude and the first phase of the escaped sound wave corresponding to the audio to be played, so as to obtain a mapping relationship between different open-type headphones and the corresponding escaped sound waves.
[0039] Optionally, the determining unit includes:
[0040] An establishing module, used to establish a connection with a target headset that receives the audio to be played;
[0041] A search module, used for obtaining the headphone type of the target headphone, and searching the corresponding escape sound wave from the mapping relationship according to the headphone type of the target headphone;
[0042] A determination module is used to analyze the audio to be played and determine the first amplitude and the first phase corresponding to the found escape sound wave.
[0043] According to a third aspect of the present disclosure, a vehicle is provided, comprising the device for reducing escaped sound waves according to the second aspect.
[0044] According to a fourth aspect of the present disclosure, there is provided an electronic device, including:
[0045] at least one processor; and
[0046] a memory communicatively connected to the at least one processor; wherein,
[0047] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method described in the first aspect.
[0048] According to a fifth aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable the computer to execute the method described in the first aspect.
[0049] According to a sixth aspect of the present disclosure, a computer program product is provided, comprising a computer program, wherein when the computer program is executed by a processor, the method described in the first aspect is implemented.
[0050] The present disclosure provides a method and device for reducing escaped sound waves, a vehicle, an electronic device, and a storage medium, which determine the first amplitude and first phase of the escaped sound waves corresponding to the audio to be played, wherein the escaped sound waves are sound waves that overflow the ears of the listening subject of the audio to be played; the second amplitude and second phase of the noise cancellation wave are set according to the first amplitude and the first phase, respectively, wherein the first amplitude is the same as the second amplitude, and the first phase is opposite to the second phase; the second propagation direction of the noise cancellation wave is controlled according to the first propagation direction of the escaped sound wave; and the escaped sound wave and the noise cancellation wave are controlled to intersect according to the second propagation direction, so as to attenuate or eliminate the escaped sound wave. Compared with the related art, after determining the first amplitude and the first phase of the escaped sound wave, the embodiment of the present application sets the noise cancellation wave according to the first amplitude and the first phase, so that the first amplitude is the same as the second amplitude, and the first phase is opposite to the second phase, and the noise cancellation wave is controlled to intersect with the escaped sound wave to attenuate or eliminate the escaped sound wave, thereby improving the driving experience of the user.
[0051] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present application, nor is it intended to limit the scope of the present application. Other features of the present application will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.
[0053] Figure 1 A schematic flow chart of a method for reducing escaping sound waves provided in an embodiment of the present disclosure;
[0054] Figure 2 A schematic diagram of an escaping sound wave provided in an embodiment of the present application;
[0055] Figure 3 A schematic diagram of a flow chart of setting a second amplitude and a second phase of a noise cancellation wave according to a first amplitude and a first phase respectively provided in an embodiment of the present disclosure;
[0056] Figure 4 A schematic diagram of the flow of escaping sound waves and noise-cancelling sound waves provided in an embodiment of the present application is shown;
[0057] Figure 5 A schematic diagram of the structure of a device for reducing escaping sound waves provided in an embodiment of the present disclosure;
[0058] Figure 6 A schematic diagram of the structure of another device for reducing escaping sound waves provided in an embodiment of the present disclosure;
[0059] Figure 7A schematic block diagram of an exemplary electronic device provided for an embodiment of the present disclosure. DETAILED DESCRIPTION
[0060] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.
[0061] The following describes a method, device, vehicle, electronic device, and storage medium for reducing escaped sound waves according to embodiments of the present disclosure with reference to the accompanying drawings.
[0062] Figure 1 A schematic diagram of a method for reducing escaped sound waves provided by an embodiment of the present disclosure is provided. The method is applied in a vehicle computer, such as Figure 1 As shown, the method comprises the following steps:
[0063] Step 101, determining a first amplitude and a first phase of an escaped sound wave corresponding to the audio to be played, wherein the escaped sound wave is a sound wave that overflows out of an ear of a subject listening to the audio to be played.
[0064] The vehicle's computer sends the audio to be played to the ANC headphones equipped on the vehicle's headrest through wireless or wired communication methods. After receiving the audio, the ANC headphones amplify the power through a preset power amplifier and then play the sound through the left and right speakers of the ANC headphones. During the playback process, most of the sound of the audio to be played will enter the wearer's ears, and a small part of the sound will escape from the human ears. The escape directions include but are not limited to the front and side and rear directions. Among them, the forward direction will not propagate toward other users. At the same time, as the sound attenuates in the air and is absorbed by other objects, it is difficult to form an effective amplitude to interfere with other passengers. However, it should be noted that the side and rear sound, if not controlled, will be directly transmitted to the positions of other passengers, thereby interfering with the sound field of other passengers. In the embodiment of the present application, the sound of the audio to be played overflowing from the human ear and propagating to the side and rear directions is called an escape sound wave.
[0065] In order to facilitate the understanding of escape sound waves, Figure 2 As shown, Figure 2 A schematic diagram of an escaped sound wave provided in an embodiment of the present application, wherein after a user wears headphones equipped with a seat, the sound waves to the side and rear are escaped sound waves, wherein the side and rear are sound waves that overflow from the headphones to the side and rear when the user sits in the seat with his head placed on the headrest and wears headphones.
[0066] The escaped sound waves are sound waves that overflow the ears of the listening subject of the audio to be played. In actual applications, the earphones may have different sound waves that overflow the earphones due to different models or different wearing postures of the wearers, that is, the sound leakage directions of the earphones are different, which not only include side and rear sound waves, but also include escaped sound waves in a 360° direction centered on the earphones. Regardless of the direction of the escaped sound waves, the principle of reducing the escaped sound waves is the same and falls within the protection scope of the embodiments of the present application.
[0067] As an implementable method of the embodiment of the present application, when determining the first amplitude and first phase of the escaped sound wave corresponding to the audio to be played, the following method can be used but not limited to analyze the audio to be played to determine the first amplitude and the first phase of the escaped sound wave. When the vehicle computer sends the audio to be played to the ANC headset equipped with the vehicle headrest, it will also synchronously send the audio to be played to the vehicle computing center, which will analyze the audio to be played and determine the first amplitude and the first phase of the escaped sound wave.
[0068] Step 102, setting a second amplitude and a second phase of the noise elimination wave according to the first amplitude and the first phase, wherein the first amplitude is the same as the second amplitude, and the first phase is opposite to the second phase;
[0069] The sound waves of the embodiment of the present application include escape sound waves and noise-reducing sound waves, wherein the noise-reducing sound waves are used to offset the escape sound waves to achieve the purpose of reducing the escape sound waves, thereby avoiding affecting other passengers.
[0070] In order to achieve the purpose of eliminating the escaping sound waves, it is necessary to set the noise-eliminating wave so that the second amplitude of the noise-eliminating wave needs to be the same as the first amplitude, and the second phase of the noise-eliminating wave needs to be opposite to the first phase of the escaping sound wave, thereby achieving the purpose of attenuating or eliminating the escaping sound waves.
[0071] It should be noted that, since sound waves have a certain attenuation during transmission, when setting the second amplitude and the second phase, it is ensured that the first amplitude is the same as the second amplitude when the escaping sound wave and the noise-canceling wave intersect, and the first phase is opposite to the second phase. The specific set values need to be set according to different headphone models, and the embodiment of the present application does not limit this.
[0072] Step 103, controlling the second propagation direction of the noise canceling wave according to the first propagation direction of the escaping sound wave;
[0073] In this embodiment, in order to enable the escaping sound wave and the noise-cancelling wave to intersect, it is necessary to set the second propagation direction of the noise-cancelling wave in addition to setting the second amplitude and the second phase before emitting the noise-cancelling wave. It is sufficient if the second propagation direction intersects with the first propagation direction at an angle. It is not necessary that the angle between the escaping sound wave and the noise-cancelling wave when they intersect is 180°. As long as the angle between the escaping sound wave and the noise-cancelling wave is not 0, the condition for the escaping sound wave and the noise-cancelling wave to intersect can be met.
[0074] Step 104: Control the escaping sound wave and the noise canceling wave to cross each other according to the second propagation direction, so as to attenuate or eliminate the escaping sound wave.
[0075] Based on setting the second amplitude and the second phase of the noise cancellation wave in step 102 and determining the second propagation direction of the noise cancellation wave in step 103, the noise cancellation wave is emitted through a speaker so that the noise cancellation wave intersects with the escape sound wave, thereby achieving the purpose of attenuating or eliminating the escape sound wave.
[0076] The method for subtracting the escaped sound wave provided in the embodiment of the present application determines the first amplitude and the first phase of the escaped sound wave corresponding to the audio to be played, wherein the escaped sound wave is the sound wave that overflows the ear of the listening subject of the audio to be played; the second amplitude and the second phase of the noise cancellation wave are set according to the first amplitude and the first phase, respectively, the first amplitude is the same as the amplitude of the second amplitude, and the first phase is opposite to the phase of the second phase; the second propagation direction of the noise cancellation wave is controlled according to the first propagation direction of the escaped sound wave; the escaped sound wave and the noise cancellation wave are controlled to intersect according to the second propagation direction, and the escaped sound wave is attenuated or eliminated. Compared with the related art, after determining the first amplitude and the first phase of the escaped sound wave, the embodiment of the present application sets the noise cancellation wave according to the first amplitude and the first phase, so that the first amplitude is the same as the amplitude of the second amplitude, and the first phase is opposite to the phase of the second phase, and the noise cancellation wave is controlled to intersect with the escaped sound wave, and the escaped sound wave is attenuated or eliminated, thereby improving the user's driving experience.
[0077] In order to make the noise elimination wave intersect with the escape sound wave, it is necessary to first determine the second amplitude and the second phase of the noise elimination wave. The embodiment of the present application provides a method for setting the second amplitude and the second phase of the noise elimination wave according to the first amplitude and the first phase, such as Figure 3 As shown, including:
[0078] Step 201, determining the sound wave loss between the noise cancelling speaker and the sound cancelling zone, wherein the sound cancelling zone is the intersection area of the escaped sound wave and the noise cancelling wave.
[0079] Since the noise cancelling waves will be absorbed or partially offset by other sound waves during the propagation process, the absorption or offset sound wave consumption needs to be considered when playing the noise cancelling waves. In order to achieve the purpose of attenuating or eliminating the escaping sound waves, the sound wave loss between the noise cancelling speaker and the silencing area should be determined first.
[0080] To better understand the silence zone, please continue to refer to Figure 2 The anechoic zone is the intersection of the escaping sound waves and the anechoic sound waves. Figure 2 The intersection of the escaping sound wave and the noise elimination wave is taken as the center of the circle and the circle formed by the preset radius is used as the silencer zone. In practical applications, the embodiment of the present application does not specifically limit the size of the preset radius and the shape of the silencer zone, and it can also be a rectangle, square, etc. containing the intersection point.
[0081] As a first implementation method of the embodiment of the present application, the sound wave loss of the noise-canceling wave can be preset in advance. In this method, the sound wave loss corresponding to the noise-canceling wave played each time is the same, and it may not be able to offset the escaped sound wave, but its processing speed is fast. As a second implementation method of the embodiment of the present application, the sound wave loss of the noise-canceling wave is calculated in real time before each noise-canceling wave is played. This method can calculate the sound wave loss based on the current environment of the vehicle and the escaped sound wave, and can offset or attenuate the escaped sound wave, or even completely offset the escaped sound wave, but the speed of calculating the sound wave loss is relatively longer than the time of the first implementation method.
[0082] Step 202: according to the acoustic wave loss, the first amplitude and the first phase, setting the second amplitude of the noise canceling wave to be the same as the first amplitude, and setting the second phase of the noise canceling wave to be opposite to the first phase.
[0083] When setting the second amplitude and the second phase of the noise canceling wave, sound wave loss is added to cancel out the escaping sound wave.
[0084] In one embodiment of the present application, when controlling the escaping sound wave and the noise cancellation wave to cross, attenuate or eliminate the escaping sound wave according to the second propagation direction, the following methods may be used but are not limited to: mixing the set noise cancellation wave through a preset codec to obtain a mixed noise cancellation wave; transmitting the mixed noise cancellation wave to a preset audio amplifier to obtain an amplified noise cancellation wave; controlling the amplified noise cancellation wave to be transmitted to a noise cancellation speaker, and controlling the noise cancellation speaker to play in the second propagation direction; controlling the escaping sound wave and the noise cancellation wave to cross in the silencing area.
[0085] For ease of understanding, Figure 4 As shown, Figure 4The schematic diagram of the flow of a kind of escaped sound wave and noise cancellation wave provided by an embodiment of the present application is shown. The vehicle computer transmits the audio to be played through a wireless transmission mode (BT-RX). After determining the second propagation direction, the second amplitude and the second phase of the noise cancellation wave based on the computing power center, the noise cancellation wave is mixed through a preset codec (such as a codec codec), and the mixed noise cancellation wave is transmitted to a preset audio amplifier (such as an AMP), power amplified in the AMP, and finally emitted through a noise cancellation speaker (such as a LANC speaker and a RANC speaker), thereby eliminating the escaped sound wave in the silencer area. The vehicle computer transmits the audio to be played to the AMP, power amplified in the AMP, and finally emitted through a speaker (such as a Lspeaker and a Rspeaker), so that the escaped sound wave is eliminated by the noise cancellation wave in the silencer area.
[0086] In the embodiment of the present application, before determining the first amplitude and the first phase of the escaped sound wave corresponding to the audio to be played, the method further includes: calibrating the escaped sound wave according to different types of headphones to obtain a mapping relationship between different open-type headphones and the corresponding escaped sound waves. When different types of headphones are worn, the directions of the corresponding escaped sound waves may be different, so when performing Figure 1 Prior to the method shown, it is necessary to complete the calibration of the escape sound waves in different types of headphones in advance and establish a mapping relationship between different open headphone types and corresponding escape sound waves, so that when the headphones are used subsequently, the corresponding escape sound waves can be found according to the type of headphones, thereby saving the time for the vehicle computer to confirm the escape sound waves.
[0087] In practical applications, the calibration method can be used to test each type of earphone in each direction (360°). If it is determined that there is overflowing sound in a certain direction, it is determined that there is escaped sound wave in that direction. The same method is used to test in each direction in turn to determine whether there is escaped sound wave. If so, a mapping relationship between the escaped sound wave in that direction and the type of earphone is established.
[0088] When parsing the audio to be played and determining the first amplitude and the first phase of the escaped sound wave, the following method may be used but is not limited to: establishing a connection with a target earphone that receives the audio to be played, where the connection may be a wireless connection or a wired connection, without specific limitation; obtaining the earphone type of the target earphone, and searching for the corresponding escaped sound wave from the mapping relationship according to the earphone type of the target earphone; parsing the audio to be played and determining the first amplitude and the first phase corresponding to the found escaped sound wave.
[0089] Corresponding to the above-mentioned method for reducing the escaped sound waves, the present invention also provides a device for reducing the escaped sound waves. Since the device embodiment of the present invention corresponds to the above-mentioned method embodiment, the details not disclosed in the device embodiment can be referred to the above-mentioned method embodiment, and will not be repeated in the present invention.
[0090] Figure 5 A schematic diagram of the structure of a device for reducing escaping sound waves provided in an embodiment of the present disclosure, such as Figure 5 As shown, including:
[0091] A determination unit 31, configured to determine a first amplitude and a first phase of an escaped sound wave corresponding to the audio to be played, wherein the escaped sound wave is a sound wave that overflows the ear of a subject listening to the audio to be played;
[0092] a setting unit 32, configured to set a second amplitude and a second phase of the noise elimination wave according to the first amplitude and the first phase, wherein the first amplitude is the same as the second amplitude, and the first phase is opposite to the second phase;
[0093] A control unit 33, configured to control a second propagation direction of the noise canceling wave according to the first propagation direction of the escaping sound wave;
[0094] The subtraction unit 34 is used to control the escaping sound wave and the noise elimination wave to cross each other according to the second propagation direction, and to attenuate or eliminate the escaping sound wave.
[0095] Furthermore, in a possible implementation of this embodiment, as Figure 6 As shown, the setting unit 32 includes:
[0096] A determination module 321 is used to determine the sound wave loss between the noise cancelling speaker and the sound cancelling zone, wherein the sound cancelling zone is an intersection area of the escaped sound wave and the noise cancelling wave;
[0097] The setting module 322 is used to set the second amplitude of the noise cancellation wave to be the same as the first amplitude, and set the second phase of the noise cancellation wave to be opposite to the first phase according to the sound wave loss, the first amplitude and the first phase.
[0098] Furthermore, in a possible implementation of this embodiment, as Figure 6 As shown, the subtraction unit 34 includes:
[0099] The processing module 341 is used to mix the set noise-canceling wave through a preset codec to obtain a mixed noise-canceling wave;
[0100] A first transmission module 342, configured to transmit the mixed noise-canceling wave to a preset audio amplifier to obtain an amplified noise-canceling wave;
[0101] A second transmission module 343, used for controlling the transmission of the amplified noise cancellation wave to the noise cancellation speaker, and controlling the noise cancellation speaker to play in the second propagation direction;
[0102] The subtraction module 344 is used to control the escaping sound waves and the noise cancellation waves to cross each other in the noise cancellation area.
[0103] Furthermore, in a possible implementation of this embodiment, as Figure 6 As shown, the device also includes:
[0104] The calibration unit 35 is used to calibrate the escaped sound wave according to different types of headphones before the determination unit 31 determines the first amplitude and the first phase of the escaped sound wave corresponding to the audio to be played, so as to obtain a mapping relationship between different open-type headphones and the corresponding escaped sound waves.
[0105] Furthermore, in a possible implementation of this embodiment, as Figure 6 As shown, the determining unit 31 includes:
[0106] An establishing module 311 is used to establish a connection with a target headset that receives the audio to be played;
[0107] A search module 312 is used to obtain the headphone type of the target headphone, and search for the corresponding escape sound wave from the mapping relationship according to the headphone type of the target headphone;
[0108] The determination module 313 is used to analyze the audio to be played and determine the first amplitude and the first phase corresponding to the found escape sound wave.
[0109] It should be noted that the above explanation of the method embodiment is also applicable to the device of this embodiment, and the principle is the same, which is not limited in this embodiment.
[0110] According to an embodiment of the present disclosure, the present disclosure also provides a vehicle, the vehicle comprising the above Figure 5 or Figure 6 The device for reducing the escaped sound waves shown in the figure, for details about the device for reducing the escaped sound waves, please refer to the detailed description of the relevant embodiments, so it will not be repeated here.
[0111] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
[0112] Figure 7A schematic block diagram of an example electronic device 400 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.
[0113] like Figure 7 As shown, the device 400 includes a computing unit 401, which can perform various appropriate actions and processes according to a computer program stored in a ROM (Read-Only Memory) 402 or a computer program loaded from a storage unit 408 to a RAM (Random Access Memory) 403. In the RAM 403, various programs and data required for the operation of the device 400 can also be stored. The computing unit 401, the ROM 402, and the RAM 403 are connected to each other via a bus 404. An I / O (Input / Output) interface 405 is also connected to the bus 404.
[0114] A number of components in the device 400 are connected to the I / O interface 405, including: an input unit 406, such as a keyboard, a mouse, etc.; an output unit 407, such as various types of displays, speakers, etc.; a storage unit 408, such as a disk, an optical disk, etc.; and a communication unit 409, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 409 allows the device 400 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0115] The computing unit 401 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 401 include, but are not limited to, a CPU (Central Processing Unit), a GPU (Graphic Processing Units), various dedicated AI (Artificial Intelligence) computing chips, various computing units running machine learning model algorithms, a DSP (Digital Signal Processor), and any appropriate processor, controller, microcontroller, etc. The computing unit 401 performs the various methods and processes described above, such as the method for subtracting the escaped sound wave. For example, in some embodiments, the method for subtracting the escaped sound wave may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 408. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 400 via the ROM 402 and / or the communication unit 409. When the computer program is loaded into the RAM 403 and executed by the computing unit 401, one or more steps of the method described above may be performed. Alternatively, in other embodiments, the computing unit 401 may be configured to execute the aforementioned method for subtracting the escaped sound wave in any other appropriate manner (eg, by means of firmware).
[0116] Various embodiments of the systems and techniques described above herein may be implemented in digital electronic circuit systems, integrated circuit systems, FPGAs (Field Programmable Gate Arrays), ASICs (Application-Specific Integrated Circuits), ASSPs (Application Specific Standard Products), SOCs (System On Chips), CPLDs (Complex Programmable Logic Devices), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include: being implemented in one or more computer programs that may be executed and / or interpreted on a programmable system including at least one programmable processor that may be a dedicated or general-purpose programmable processor that may receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0117] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0118] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any suitable combination of the foregoing. More specific examples of machine-readable storage media may include electrical connections based on one or more lines, portable computer disks, hard disks, RAM, ROM, EPROM (Electrically Programmable Read-Only-Memory) or flash memory, optical fiber, CD-ROM (Compact Disc Read-Only Memory), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0119] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (Cathode-Ray Tube) or LCD (Liquid Crystal Display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0120] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: LAN (Local Area Network), WAN (Wide Area Network), the Internet, and blockchain networks.
[0121] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services ("Virtual Private Server", or "VPS" for short). The server may also be a server of a distributed system, or a server combined with a blockchain.
[0122] It should be noted that artificial intelligence is a discipline that studies how computers can simulate certain human thought processes and intelligent behaviors (such as learning, reasoning, thinking, planning, etc.), and includes both hardware-level and software-level technologies. Artificial intelligence hardware technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, and big data processing; artificial intelligence software technologies mainly include computer vision technology, speech recognition technology, natural language processing technology, as well as machine learning / deep learning, big data processing technology, knowledge graph technology, and other major directions.
[0123] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.
[0124] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.
Claims
1. A method for reducing escaping sound waves, characterized in that: include: Determine a first amplitude and a first phase of an escaped sound wave corresponding to the audio to be played, wherein the escaped sound wave is a sound wave that overflows the ear of a subject listening to the audio to be played; The second amplitude and the second phase of the noise elimination wave are set according to the first amplitude and the first phase, respectively, the first amplitude is the same as the second amplitude, and the first phase is opposite to the second phase; controlling a second propagation direction of the noise canceling wave according to the first propagation direction of the escaping sound wave; The escaping sound waves and the noise-eliminating sound waves are controlled to intersect according to the second propagation direction, so as to attenuate or eliminate the escaping sound waves.
2. The method according to claim 1, characterized in that The setting of the second amplitude and the second phase of the noise elimination wave according to the first amplitude and the first phase respectively comprises: Determining the sound wave loss between the noise cancelling speaker and the sound cancelling zone, wherein the sound cancelling zone is the intersection area of the escaped sound wave and the noise cancelling wave; According to the acoustic wave loss, the first amplitude and the first phase, a second amplitude of the noise cancelling wave is set to be the same as the first amplitude, and a second phase of the noise cancelling wave is set to be opposite to the first phase.
3. The method according to claim 2, characterized in that The controlling the escaping sound wave and the noise elimination wave to cross each other according to the second propagation direction, and attenuating or eliminating the escaping sound wave comprises: The set noise-canceling wave is mixed through a preset codec to obtain a mixed noise-canceling wave; Transmitting the mixed noise-canceling wave to a preset audio amplifier to obtain an amplified noise-canceling wave; Controlling the amplified noise cancellation wave to be transmitted to the noise cancellation speaker, and controlling the noise cancellation speaker to play in the second propagation direction; The escape sound waves and the noise elimination waves are controlled to intersect in the noise elimination area.
4. The method according to claim 1, characterized in that: Before determining the first amplitude and the first phase of the escaped sound wave corresponding to the audio to be played, the method further includes: The escaped sound waves are calibrated according to different earphone types to obtain a mapping relationship between different open earphone types and corresponding escaped sound waves.
5. The method according to claim 4, characterized in that The step of analyzing the audio to be played and determining the first amplitude and the first phase of the escaped sound wave includes: Establishing a connection with a target headset that receives the audio to be played; Acquire the headphone type of the target headphone, and search for the corresponding escape sound wave from the mapping relationship according to the headphone type of the target headphone; The audio to be played is analyzed to determine the first amplitude and the first phase corresponding to the found escape sound wave.
6. A device for reducing escaping sound waves, characterized in that: include: a determining unit, configured to determine a first amplitude and a first phase of an escaped sound wave corresponding to the audio to be played, wherein the escaped sound wave is a sound wave that overflows from an ear of a subject listening to the audio to be played; a setting unit, configured to set a second amplitude and a second phase of the noise elimination wave according to the first amplitude and the first phase, respectively, wherein the first amplitude is the same as the second amplitude, and the first phase is opposite to the second phase; a control unit, configured to control a second propagation direction of the noise canceling wave according to the first propagation direction of the escaping sound wave; The subtraction unit is used to control the escaping sound wave and the noise elimination wave to cross each other according to the second propagation direction, and attenuate or eliminate the escaping sound wave.
7. A vehicle, characterized in that: The vehicle comprises the device for reducing escaped sound waves as claimed in claim 7.
8. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 5.
9. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-5.
10. A computer program product, characterized in that The invention comprises a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 5.