CN115134710A - Noise reduction method and device for audio playing equipment, electronic equipment and storage medium - Google Patents

Noise reduction method and device for audio playing equipment, electronic equipment and storage medium Download PDF

Info

Publication number
CN115134710A
CN115134710A CN202110328126.1A CN202110328126A CN115134710A CN 115134710 A CN115134710 A CN 115134710A CN 202110328126 A CN202110328126 A CN 202110328126A CN 115134710 A CN115134710 A CN 115134710A
Authority
CN
China
Prior art keywords
signal
audio playing
preset
playing device
processed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110328126.1A
Other languages
Chinese (zh)
Inventor
刘绍斌
唐强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202110328126.1A priority Critical patent/CN115134710A/en
Publication of CN115134710A publication Critical patent/CN115134710A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • H04R3/02Circuits for transducers, loudspeakers or microphones for preventing acoustic reaction, i.e. acoustic oscillatory feedback

Abstract

The application discloses a noise reduction method and device of audio playing equipment, electronic equipment and a storage medium, and relates to the technical field of electronic equipment. And carrying out noise reduction processing on the to-be-processed noise signal of the audio playing device according to a preset inverted signal, wherein the phase of the preset inverted signal is opposite to that of the to-be-processed noise signal of the audio playing device. This application through the reversed phase signal opposite with audio playback equipment's pending noise signal's that sets up in advance, carries out noise reduction to audio playback equipment's noise signal, promotes noise reduction effect to realize audio playback equipment's little volume design, promote user's use and experience.

Description

Noise reduction method and device for audio playing equipment, electronic equipment and storage medium
Technical Field
The present application relates to the field of electronic devices, and in particular, to a noise reduction method and apparatus for an audio playback device, an electronic device, and a storage medium.
Background
With the development of science and technology, audio playing equipment is more and more widely used and has more and more functions, and the audio playing equipment becomes one of the necessary things in daily life of people. However, the audio playing device is often accompanied by noise during use, which results in poor user experience.
Disclosure of Invention
In view of the foregoing problems, the present application provides a noise reduction method and apparatus for an audio playing device, an electronic device, and a storage medium, so as to solve the foregoing problems.
In a first aspect, an embodiment of the present application provides a noise reduction method for an audio playing device, where the method is applied to the audio playing device, and the method includes: according to a preset reverse phase signal, carrying out noise reduction processing on a to-be-processed noise signal of the audio playing device; the preset reverse phase signal is opposite to the phase of the noise signal to be processed of the audio playing device.
In a second aspect, an embodiment of the present application provides a noise reduction method for an audio playing device, where the method is applied to the audio playing device, and the method includes: playing the reverse sound wave with preset frequency; the phase of the reverse sound wave with the preset frequency is opposite to that of a noise signal to be processed of the audio playing device, and the frequency spectrum difference value is within a preset range.
In a third aspect, an embodiment of the present application provides a noise reduction apparatus for an audio playing device, where the apparatus is applied to the audio playing device, and the apparatus includes: the noise reduction processing module is used for carrying out noise reduction processing on a to-be-processed noise signal of the audio playing device according to a preset inverted signal; the preset reverse phase signal is opposite to the phase of the noise signal to be processed of the audio playing device.
In a fourth aspect, an embodiment of the present application provides a noise reduction apparatus for an audio playing device, where the apparatus is applied to the audio playing device, and the apparatus includes: the reverse sound wave playing module is used for playing reverse sound waves with preset frequency; the phase of the reversed-phase sound wave with the preset frequency is opposite to that of a to-be-processed noise signal of the audio playing device, and the frequency spectrum difference value is in a preset range.
In a fifth aspect, embodiments of the present application provide an electronic device, including a memory and a processor, the memory being coupled to the processor, the memory storing instructions, the processor performing the above method when the instructions are executed by the processor.
In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium, where a program code is stored, and the program code may be called by a processor to execute the foregoing method.
The noise reduction method and device for the audio playing device, the electronic device and the storage medium provided by the embodiment of the application carry out noise reduction processing on the to-be-processed noise signal of the audio playing device according to the preset inverted signal, wherein the phase of the preset inverted signal is opposite to that of the to-be-processed noise signal of the audio playing device, so that the noise reduction processing is carried out on the noise signal of the audio playing device through the preset inverted signal which is opposite to that of the to-be-processed noise signal of the audio playing device, the noise reduction processing effect is improved, the small-size design of the audio playing device is realized, and the use experience of a user is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the description below are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram illustrating an application environment of a noise reduction method that can be used in an audio playback device provided in an embodiment of the present application;
fig. 2 shows a block diagram of an electronic device for executing a noise reduction method of an audio playing device according to an embodiment of the present application;
fig. 3 is a schematic flowchart illustrating a noise reduction method of an audio playback device according to an embodiment of the present application;
fig. 4 shows a frequency spectrum diagram of a noise signal to be processed according to an embodiment of the present application;
fig. 5 shows a frequency spectrum diagram of a preset inversion signal provided in an embodiment of the present application;
fig. 6 is a schematic flowchart illustrating a noise reduction method for an audio playing device according to another embodiment of the present application;
fig. 7 is a flowchart illustrating a noise reduction method for an audio playback device according to still another embodiment of the present application;
fig. 8 is a schematic diagram illustrating a current variation of an audio playback device during communication according to an embodiment of the present application;
fig. 9 is a schematic flowchart illustrating a noise reduction method of an audio playback device according to another embodiment of the present application;
fig. 10 is a schematic flowchart illustrating a noise reduction method for an audio playback device according to still another embodiment of the present application;
fig. 11 is a flowchart illustrating a noise reduction method of an audio playback device according to yet another embodiment of the present application;
fig. 12 is a flowchart illustrating a noise reduction method of an audio playback device according to yet another embodiment of the present application;
fig. 13 is a flowchart illustrating a noise reduction method of an audio playback device according to yet another embodiment of the present application;
fig. 14 shows a block diagram of a noise reduction apparatus of an audio playing device according to an embodiment of the present application;
fig. 15 shows a block diagram of a noise reduction apparatus of an audio playing device according to another embodiment of the present application;
fig. 16 shows a storage unit for storing or carrying program codes for implementing the noise reduction method of the audio playing device according to the embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
With the development of scientific technology, audio playing devices are more and more widely used and more functions have become one of the necessities in people's daily life, but during the use of the audio playing devices, noise can be heard often, and the noise is generally called as background noise, wherein the background noise mainly includes two types: one is current noise, the source of which is mainly caused by interference of electronic components on the horn, the electronic components may include power inductors and the like, batteries, for example, the source of current noise may be caused by interference of batteries on the horn, and the other is white noise, which is mainly related to the chip itself.
Currently, noise floor reduction is generally achieved by increasing the distance between the electronic components, for example, by increasing the distance between the battery and the horn, wherein the interference of the battery radiation capacity on the horn is reduced after the distance between the battery and the horn is increased, and thus the noise generated is reduced. However, in the mode of reducing the noise floor, for the audio playing device with a small size, due to the limitation of space, the speaker cannot be far away from the battery, and the radiation on the battery still interferes with the speaker, so that the noise of the audio playing device cannot be well reduced, and the distance between the speaker and the battery is increased in order to make the battery far away from the speaker, which will cause the too large size of the audio playing device and affect the aesthetic feeling and the use experience of the audio playing device.
In view of the above problems, the inventor finds and provides a noise reduction method and apparatus for an audio playing device, an electronic device, and a storage medium, which are provided in the embodiments of the present application, through a preset phase-reversed signal that is opposite to a phase of a to-be-processed noise signal of the audio playing device, the noise reduction processing is performed on the noise signal of the audio playing device, so as to improve a noise reduction processing effect, achieve a small-volume design of the audio playing device, and improve user experience. The specific noise reduction method of the audio playing device is described in detail in the following embodiments.
The following description is directed to an application environment of a noise reduction method for an audio playback device provided in an embodiment of the present application.
Referring to fig. 1, fig. 1 is a schematic diagram illustrating an application environment of a noise reduction method that can be used in an audio playback device according to an embodiment of the present application. As shown in fig. 1, the audio playing device 100 and the audio providing device 200 are included, where the audio playing device 100 may include a headphone, a sound box, and the like, and of course, the audio playing device 100 may also include other devices having an audio playing function, which is not limited herein. The audio providing device 200 may include a smart phone, a tablet computer, a smart watch, a computer, a wearable electronic device, and the like, and of course, the audio providing device 200 may also include other devices having an audio providing function, which is not limited herein. In this application scenario, the audio providing apparatus 200 may serve as an audio providing apparatus, and transmit the audio content to the audio playing apparatus 100 for playing.
In some embodiments, the audio playback device 100 and the audio providing device 200 may communicate to complete data interaction. The audio playing device 100 and the audio providing device 200 may communicate with each other through a Local Area Network (LAN) or a Wide Area Network (WAN). For example, the audio playback device 100 and the audio providing device 200 may be connected to a router at the same time, and the audio playback device 100 and the audio providing device 200 may communicate through a local area network provided by the router; for another example, the audio playing device 100 and the audio providing device 200 may communicate with a cloud, and implement data interaction between the two through the cloud; for another example, the audio playing device 100 and the audio providing device 200 may also establish an end-to-end network connection (i.e., a P2P network connection) through bluetooth, Zigbee, WebRTC, and other communication manners, and perform communication through the established network connection. Of course, the communication manner between the audio playback apparatus 100 and the audio providing apparatus 200 may not be limited.
In the present embodiment, the audio playback apparatus 100 communicates with the audio providing apparatus 200 via bluetooth. As shown in fig. 1, the audio playing device 100 may be a True Wireless Stereo (TWS) headset, the audio providing device 200 may be a smart phone, and the audio playing device 100 and the audio providing device 200 communicate with each other through bluetooth, so that the TWS headset may acquire and play audio data from the smart phone through bluetooth technology.
Referring to fig. 2, fig. 2 shows a block diagram of an audio playing device 100 according to an embodiment of the present application. The audio playing device 100 may be an audio playing device with bluetooth communication technology, such as a bluetooth headset or a bluetooth speaker. The audio playback device 100 in the present application may include one or more of the following components: a processor 110, a memory 120, a bluetooth module 130, a power module 140, an audio module 150, and one or more applications, wherein the one or more applications may be stored in the memory 120 and configured to be executed by the one or more processors 110, the one or more programs configured to perform the methods as described in the aforementioned method embodiments.
In one mode, the processor 110 is connected to the memory 120, the bluetooth module 130, the power module 140 and the audio module 150, and the power module 140 is connected to the processor 110, the memory 120, the bluetooth module 130 and the audio module 150. The processor 110 is used for controlling the whole system, such as controlling charging, processing audio signals, and the like, the bluetooth module 130 is mainly used for communication between the audio playing device 100 and the audio providing device 200, and when the audio playing device is a TWS headset, the bluetooth module is also used for communication between a left headset and a right headset, the power module 140 is used for supplying power to each module in the audio playing device 100, and the audio module 150 includes a speaker, a microphone, and the like, and is used for playing audio and collecting audio.
Processor 110 may include one or more processing cores, among other things. The processor 110 connects various parts within the overall audio playback device 100 using various interfaces and lines, and performs various functions of the electronic device 100 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 120, and calling data stored in the memory 120. Alternatively, the processor 110 may be implemented in hardware using at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 110 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content to be displayed; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 110, but may be implemented by a communication chip.
The Memory 120 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). The memory 120 may be used to store instructions, programs, code sets, or instruction sets. The memory 120 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing various method embodiments described below, and the like. The storage data area may also store data created by the audio playback device 100 during use (e.g., phone book, audio and video data, chat log data), and the like.
The inventor finds that some audio playing devices can generate current sound with specific frequency in part or all of the process of Bluetooth communication, and further researches show that the condition of the current sound is more prominent particularly in the process of establishing Bluetooth connection. The bluetooth connection may be established with other bluetooth devices for the first time, or may be reestablished (loop connection) with a certain bluetooth device, or may be a connection process in which the bluetooth connection information is erased and then is re-paired. Generally, during establishing a bluetooth connection, a bluetooth device may be in a paging page, a page scan, an inquiry scan, etc., and may be switched between different states. The inventor researches and finds that particularly in a paging or inquiry state, because the bluetooth signals, such as ID (identity) packets, need to be sent in each frequency band according to a bluetooth frequency hopping protocol and wait for feedback, the alternation of transmitting the bluetooth signals and not transmitting the bluetooth signals becomes more frequent, the fluctuation of the output current of a power supply caused by the alternation is increased, and thus, electronic devices such as a battery and an inductor can generate a larger electromagnetic field, and then sensitive devices such as a loudspeaker are interfered to generate noises such as current sound. Taking an audio playing device as a bluetooth headset as an example, if the bluetooth connection is suddenly disconnected during the use of a user, a main headset of the bluetooth headset enters a paging state to try to connect back to a mobile phone, the output current of a power supply changes greatly and frequently due to frequent ID packet transmission and waiting feedback in the paging state, and a battery, a power inductor and the like may generate a large electromagnetic field, so that a loudspeaker and the like are interfered to generate current sound (to-be-processed noise signals).
Referring to fig. 3, fig. 3 is a schematic flowchart illustrating a noise reduction method of an audio playing device according to an embodiment of the present application. The noise reduction method of the audio playing device is used for carrying out noise reduction processing on the noise signal of the audio playing device through the preset reversed-phase signal which is opposite to the phase of the noise signal to be processed of the audio playing device, so that the noise reduction processing effect is improved, the small-size design of the audio playing device is realized, and the use experience of a user is improved. In a specific embodiment, the noise reduction method of the audio playing device is applied to the noise reduction apparatus 300 of the audio playing device shown in fig. 14 and the audio playing device 100 (fig. 2) configured with the noise reduction apparatus 300 of the audio playing device. The following will describe a specific process of this embodiment by taking an audio playing device as an example, and it is understood that the audio playing device applied in this embodiment may be an audio playing device based on a bluetooth communication technology, such as a bluetooth headset or a bluetooth sound box, and is not limited herein. As will be described in detail with respect to the flow shown in fig. 3, the noise reduction method of the audio playing device may specifically include the following steps:
step S110: and according to a preset inverted signal, carrying out noise reduction processing on the to-be-processed noise signal of the audio playing device, wherein the phase of the preset inverted signal is opposite to that of the to-be-processed noise signal of the audio playing device.
When the Bluetooth function of the audio playing device is started, the audio playing device can generate a to-be-processed noise signal with fixed frequency. For example, a noise signal to be processed having a frequency of 800HZ or a harmonic of 800HZ may be generated. Therefore, in the present embodiment, in order to perform noise reduction processing on the noise signal to be processed of the audio playing device, an inverted signal having a phase opposite to that of the noise signal to be processed of the audio playing device may be set in advance as a preset inverted signal and stored locally in the audio playing device, and for example, an inverted signal having a phase opposite to that of a harmonic having a frequency of 800HZ or 800HZ may be set in advance as a preset inverted signal. In the using process of the audio playing device, the noise reduction processing can be performed on the to-be-processed noise signal of the audio playing device according to the preset inverted signal.
In some embodiments, the preset inverted signal may have the same frequency spectrum as the noise signal to be processed, or the difference between the frequency spectrum of the preset inverted signal and the frequency spectrum of the noise signal to be processed may be within a preset range, so as to improve the effect of performing noise reduction processing on the preset inverted signal.
Referring to fig. 4 and fig. 5, fig. 4 shows a frequency spectrum diagram of a noise signal to be processed according to an embodiment of the present application, and fig. 5 shows a frequency spectrum diagram of a predetermined inverted signal according to an embodiment of the present application, where, as shown in fig. 4 and fig. 5, the noise signal to be processed and the predetermined inverted signal have opposite phases and the same frequency spectrum.
In some embodiments, the audio playback device may be a TWS headset, wherein two metal pins are disposed on a bottom of the TWS headset, and when the TWS headset is placed in the charging box, a circuit between the TWS headset and the charging box is conducted, so that the charging box is used to charge the TWS headset. The common TWS earphone is provided with two metal pins or three metal pins, the positions of the two metal pins or the three metal pins are respectively located at the corresponding positions of the TWS earphone and the charging box, when the TWS earphone is placed in the charging box, the metal pins on the TWS earphone and the metal pins on the charging box are just in contact, so that the TWS earphone is charged and placed, in addition, when the TWS earphone is taken out of the charging box, the TWS earphone can be automatically started and tries to transmit Bluetooth signals to the audio providing equipment, so that the Bluetooth connection with the audio providing equipment is tried to be established. Based on this, whether the TWS earphone is taken out of the charging box or not can be detected, wherein when the TWS earphone is detected to be taken out of the charging box, the Bluetooth function of the TWS earphone is represented to be started, then the noise reduction processing can be carried out on the noise signal to be processed of the audio playing device according to the preset reversed-phase signal, and when the TWS earphone is detected to be placed in the charging box, the Bluetooth function of the TWS earphone is represented to be closed, then the noise reduction processing can be carried out on the noise signal to be processed of the audio playing device without the preset reversed-phase signal.
In some embodiments, the audio playing device may be a bluetooth speaker, wherein the bluetooth speaker may be provided with a bluetooth switch. Based on this, can detect the state information of bluetooth speaker's bluetooth switch, wherein, when the state information that detects bluetooth speaker's bluetooth switch is in the on-state, the bluetooth function of this bluetooth speaker of sign is opened, then can be according to this predetermine the inverted signal, carry out noise reduction to audio playback equipment's pending noise signal, when detecting bluetooth speaker's bluetooth switch is in the off-state, the bluetooth function of this bluetooth speaker of sign is closed, then can not be according to this predetermine the inverted signal, carry out noise reduction to audio playback equipment's pending noise signal.
In some embodiments, the preset inverse signal is obtained according to a current acoustic signal caused by the audio playing device or a prototype of the audio playing device transmitting a bluetooth signal, and the parameter of the preset inverse signal is preset in the audio playing device. In the using process of the audio playing device, the preset inverse signal can be determined according to the locally stored parameter of the preset inverse signal, and the noise reduction processing is performed on the to-be-processed noise signal of the audio playing device according to the preset inverse signal.
In some embodiments, the preset inverted signal may be obtained by testing when the audio playing device leaves a factory and stored locally, and specifically, the preset inverted signal may be obtained by transmitting a current acoustic signal caused by a bluetooth signal by the audio playing device or a prototype of the audio playing device and stored locally in the audio playing device when the audio playing device leaves the factory. In some embodiments, the preset inverse signal may be obtained by testing during the use of the audio playing device and stored locally, and specifically, the preset inverse signal may be obtained by transmitting a current acoustic signal caused by a bluetooth signal from the audio playing device or a prototype of the audio playing device and stored locally in the audio playing device during the use of the audio playing device. In some embodiments, the preset inverse signal may be obtained and stored locally according to a preset period test during the use of the audio playing device, and specifically, the preset inverse signal may be obtained and stored locally of the audio playing device according to a preset period test during the use of the audio playing device according to a current acoustic signal caused by the bluetooth signal emitted by the audio playing device or a prototype of the audio playing device.
In some embodiments, a current acoustic signal caused by transmitting a bluetooth signal according to an audio playback device or a prototype of the audio playback device may be acquired, a to-be-processed noise signal may be determined based on the current acoustic signal, and the to-be-processed noise signal may be stored locally as a preset to-be-processed noise signal. In the using process of the audio playing device, a preset inverted signal with an opposite phase to the preset to-be-processed noise signal stored locally can be determined according to the preset to-be-processed noise signal, and the to-be-processed noise signal of the audio playing device is subjected to noise reduction processing according to the preset inverted signal.
According to the noise reduction method of the audio playing device, noise reduction processing is performed on the to-be-processed noise signal of the audio playing device according to the preset inverted phase signal, wherein the phase of the preset inverted phase signal is opposite to that of the to-be-processed noise signal of the audio playing device, so that noise reduction processing is performed on the noise signal of the audio playing device through the preset inverted phase signal which is opposite to that of the to-be-processed noise signal of the audio playing device, the noise reduction processing effect is improved, the small-size design of the audio playing device is achieved, and the use experience of a user is improved.
Referring to fig. 6, fig. 6 is a schematic flowchart illustrating a noise reduction method for an audio playback device according to another embodiment of the present application. The method is applied to the audio playing device, and will be described in detail with reference to the flow shown in fig. 6, where the noise reduction method of the audio playing device may specifically include the following steps:
step S210: and in the partial or whole process of the Bluetooth communication, carrying out noise reduction processing on the to-be-processed noise signal of the audio playing device according to the preset inverted signal, wherein the phase of the preset inverted signal is opposite to that of the to-be-processed noise signal of the audio playing device.
In some embodiments, the audio playing device may generate a noise signal to be processed during part or all of the bluetooth communication because the audio playing device may generate a current sound at a specific frequency during part or all of the bluetooth communication. Therefore, in this embodiment, in a part or all of the bluetooth communication process, the noise reduction processing may be performed on the to-be-processed noise signal of the audio playing device according to the preset inverted signal, so as to improve the noise reduction processing effect.
In some embodiments, the situation that the audio playing device generates current sound during the process of establishing the bluetooth connection is more prominent, that is, the situation that the audio playing device generates a noise signal to be processed during part or all of the process of establishing the bluetooth connection is more obvious. Therefore, in this embodiment, in a part or all of the process of establishing the bluetooth connection, the noise reduction processing may be performed on the to-be-processed noise signal of the audio playing device according to the preset inverted signal, so as to improve the noise reduction processing effect.
In some embodiments, when in a paging or inquiry state, the fluctuation of the power output current caused by the power supply may increase, so that electronic devices such as a battery and an inductor may generate a large electromagnetic field, and further interfere sensitive devices such as a speaker to generate noise such as current sound, that is, during a part or all of a bluetooth paging or bluetooth inquiry process, a condition of a to-be-processed noise signal generated by an audio playing device is more obvious. Therefore, in this embodiment, in a partial or whole process of the bluetooth paging or the bluetooth inquiry, the noise reduction processing may be performed on the to-be-processed noise signal of the audio playing device according to the preset inverted signal, so as to improve the noise reduction processing effect.
In some embodiments, since the power consumption of the entire system of the audio playback device is large when the audio playback device transmits the bluetooth signal, the current drawn from the power module is also large, and then the electromagnetic field flowing through the coil of the audio module (such as a speaker) is also large when the current is large, that is, the noise signal is large, that is, the condition of the noise signal to be processed generated by the audio playback device is more obvious in a part or all of the process of transmitting the bluetooth signal by the audio playback device. Therefore, in this embodiment, in a partial or whole process of transmitting the bluetooth signal by the audio playing device, the noise reduction processing may be performed on the to-be-processed noise signal of the audio playing device according to the preset inverted signal, so as to improve the noise reduction processing effect.
In another embodiment of the present application, in a partial or entire process of bluetooth communication, a noise reduction method for an audio playing device is provided, where a noise signal to be processed of the audio playing device is subjected to noise reduction processing according to a preset inverted signal, and a phase of the preset inverted signal is opposite to a phase of the noise signal to be processed of the audio playing device. Compared with the noise reduction method for the audio playing device shown in fig. 3, in this embodiment, in part or all of the bluetooth communication process, the noise reduction processing is performed on the noise signal of the audio playing device through the preset inverse signal with the phase opposite to the phase of the to-be-processed noise signal of the audio playing device, so that the noise reduction processing is performed on the audio playing device in a targeted manner, and the noise processing effect is improved.
Referring to fig. 7, fig. 7 is a schematic flowchart illustrating a noise reduction method for an audio playback device according to still another embodiment of the present application. The method is applied to the audio playing device, and will be described in detail with reference to the flow shown in fig. 7, where the noise reduction method of the audio playing device may specifically include the following steps:
step S310: and according to a preset time interval, carrying out noise reduction processing on the to-be-processed noise signal of the audio playing device according to the preset inverted signal, wherein the phase of the preset inverted signal is opposite to that of the to-be-processed noise signal of the audio playing device.
According to the bluetooth communication protocol, the bluetooth module of the audio playing device communicates with the bluetooth module of another bluetooth device (e.g., the audio providing device) once at intervals, for example, when the audio playing device and the audio providing device are in a loop state, the audio playing device may transmit bluetooth signals at certain time intervals, for example, the audio providing device transmits bluetooth signals at time intervals of 1.25ms (Tx Slot is 0.625ms, Rx Slot is 0.625 ms). Therefore, in this embodiment, it may be considered that the audio playing device generates the to-be-processed noise signal at preset time intervals, and then the inverted signal may be automatically preset according to the preset time intervals, so as to perform noise reduction processing on the to-be-processed noise signal of the audio playing device, so as to continuously weaken the influence of the to-be-processed noise signal.
In some embodiments, since the audio playing device first needs to transmit a bluetooth signal in a bluetooth loop connection state, and then receives a signal fed back by the audio providing device, where a time for transmitting the bluetooth signal is denoted as Tx Slot, a time for receiving the signal is denoted as Rx Slot, the time for Tx Slot may be 0.625ms, the time for Rx Slot may be 0.625ms, and a period of Tx Slot + Rx Slot is 1.25ms, that is, the audio playing device transmits the bluetooth signal at a time interval of 1.25ms, and then 1.25ms may be denoted as a preset time interval, and noise reduction processing is performed on the noise signal to be processed of the audio playing device according to the preset inverse signal according to the preset time interval.
Referring to fig. 8, fig. 8 is a schematic diagram illustrating a current variation of an audio playing device during communication according to an embodiment of the present application. As shown in fig. 8, when the audio playing device transmits a bluetooth signal, the current extracted from the power module is increased at intervals, the time interval between every two adjacent increased currents is substantially the same, and the time interval can be regarded as a preset time interval, so that the noise signal to be processed of the audio playing device can be subjected to noise reduction processing according to a preset inverted signal at the preset time interval.
In another embodiment of the present application, a noise reduction method for an audio playing device is provided, where noise reduction processing is performed on a to-be-processed noise signal of the audio playing device according to a preset inverted signal at a preset time interval, where the phase of the preset inverted signal is opposite to that of the to-be-processed noise signal of the audio playing device. Compared with the noise reduction method of the audio playing device shown in fig. 3, in this embodiment, noise reduction processing is performed on the noise signal of the audio playing device through a preset inverse signal with a phase opposite to that of the to-be-processed noise signal of the audio playing device at a preset time interval, so that noise reduction processing is periodically performed on the audio playing device, and the noise processing effect is improved.
Referring to fig. 9, fig. 9 is a schematic flowchart illustrating a noise reduction method of an audio playing device according to another embodiment of the present application. The method is applied to the audio playing device, and will be described in detail with reference to the flow shown in fig. 9, where the noise reduction method of the audio playing device may specifically include the following steps:
step S410: and superposing the preset reverse phase signal and the to-be-processed noise signal to obtain a target signal, wherein the phase of the preset reverse phase signal is opposite to that of the to-be-processed noise signal of the audio playing device.
In this embodiment, the noise signal to be processed and the preset inverted signal may be superimposed to obtain a target signal, where, because the phase of the noise signal to be processed is opposite to that of the preset inverted signal, the energy of the target signal obtained by superimposing the noise signal to be processed and the preset inverted signal is less than the energy of the noise signal to be processed, that is, the noise influence of the obtained target signal on the user is less than the noise influence of the noise signal to be processed on the user.
In some embodiments, the target signal may be obtained by superimposing the to-be-processed noise signal and the preset inverted signal at the same time, so that the energy of the obtained target signal is 0 as much as possible, and the to-be-processed noise signal is completely cancelled by the preset inverted signal, so as to eliminate the influence of the to-be-processed noise signal on the use of the user.
Step S420: and playing the target signal.
In this embodiment, after the target signal is obtained, the target signal may be played, where the target signal is obtained by superimposing a preset inverted signal and a to-be-processed noise signal, which have opposite phases, so that the influence of noise caused by playing the target signal is smaller than that caused by playing the to-be-processed noise signal, and the influence of the to-be-processed noise signal may be reduced. In addition, because the noise signal to be processed is weakened through the preset reverse phase signal in the embodiment, the distance between the electronic components does not need to be increased, and the small-volume design of the audio playing equipment can be realized.
In some embodiments, after an audio data path between the audio playing device and the audio providing device is opened, the audio playing device may receive audio data sent by the audio providing device, and play the audio data and a target signal together, as can be understood, at this time, a to-be-processed noise signal is weakened or even cancelled, and noise in sound finally output by the audio playing device is too weak or even imperceptible to a user, so as to improve user experience.
In another embodiment of the present application, a noise reduction method for an audio playing device superimposes a preset inverted signal and a to-be-processed noise signal to obtain a target signal, where the preset inverted signal and the to-be-processed noise signal of the audio playing device have opposite phases, and the target signal is played. Compared with the noise reduction method of the audio playing device shown in fig. 3, in this embodiment, the preset inverse signal and the to-be-processed noise signal are further superimposed to obtain the target signal and played, so that the noise processing effect is improved.
Referring to fig. 10, fig. 10 is a schematic flowchart illustrating a noise reduction method of an audio playing device according to yet another embodiment of the present application. The method is applied to the audio playing device, and will be described in detail with reference to the flow shown in fig. 10, where the noise reduction method of the audio playing device specifically includes the following steps:
step S510: and playing the reversed-phase sound wave according to the preset reversed-phase signal, wherein the phase of the preset reversed-phase signal is opposite to that of the noise signal to be processed of the audio playing equipment.
In this embodiment, after the preset inverse signal is determined, the inverse sound wave may be played according to the preset inverse signal, where the phase of the preset inverse signal is opposite to that of the noise signal to be processed, so that the inverse sound wave played according to the preset inverse signal may cancel the noise signal to be processed, and thus the influence of the noise signal to be processed may be reduced. In addition, because the noise signal to be processed is offset by presetting the reverse phase signal in the embodiment, the distance between the electronic components does not need to be increased, and the small-volume design of the audio playing equipment can be realized.
In some embodiments, after an audio data path between the audio playing device and the audio providing device is opened, the audio playing device may receive audio data sent by the audio providing device, and play the audio data and an inverse sound wave determined according to a preset inverse signal together, which can be understood.
In another embodiment of the present application, a noise reduction method for an audio playing device plays an inverse sound wave according to a preset inverse signal, where the preset inverse signal has a phase opposite to a phase of a to-be-processed noise signal of the audio playing device. Compared with the noise reduction method of the audio playing device shown in fig. 3, the embodiment further plays the inverted sound wave according to the preset inverted signal to offset the to-be-processed noise signal, so as to improve the noise reduction processing effect.
Referring to fig. 11, fig. 11 is a schematic flowchart illustrating a noise reduction method of an audio playing device according to yet another embodiment of the present application. The method is applied to the audio playing device, in this embodiment, the audio playing device is a bluetooth headset, and as will be described in detail below with reference to the flow shown in fig. 11, the noise reduction method of the audio playing device may specifically include the following steps:
step S610: and detecting the wearing state of the Bluetooth headset.
In this embodiment, the audio playing device is a bluetooth headset, and the bluetooth headset may include a first bluetooth headset and a second bluetooth headset.
In some embodiments, whether the first bluetooth headset is in a wearing state and whether the second bluetooth headset is in a wearing state may be detected, respectively. The first Bluetooth earphone is determined to be in a wearing state when the first Bluetooth earphone is placed on the ear of the user, and the first Bluetooth earphone is determined to be in a non-wearing state when the first Bluetooth earphone is not placed on the ear of the user. Similarly, whether the second Bluetooth headset is in a wearing state can be judged by detecting whether the second Bluetooth headset is placed on the ear of the user, and it can be understood that when the second Bluetooth headset is placed on the ear of the user, the second Bluetooth headset is determined to be in the wearing state, and when the second Bluetooth headset is not placed on the ear of the user, the second Bluetooth headset is determined to be in a non-wearing state.
For example, when the first bluetooth headset and the second bluetooth headset are both in a wearing state, the first bluetooth headset may be worn on the left ear of the user and the second bluetooth headset may be worn on the right ear of the user, or the first bluetooth headset may be worn on the right ear of the user and the first bluetooth headset may be worn on the left ear of the user; when only one of the first bluetooth headset and the second bluetooth headset is in a wearing state, the first bluetooth headset is worn on the left ear of the user and the second bluetooth headset is in a non-wearing state, the first bluetooth headset is worn on the right ear of the user and the second bluetooth headset is in a non-wearing state, the second bluetooth headset is worn on the right ear of the user and the first bluetooth headset is in a non-wearing state, the second bluetooth headset is worn on the left ear of the user and the first bluetooth headset is in a non-wearing state; when first bluetooth headset and second bluetooth headset all are in the non-wearing state, this first bluetooth headset of sign and second bluetooth headset all do not lay in user's ear, do not give unnecessary details here.
As one mode, the first bluetooth headset may include a first headset body and a first contact sensor disposed on the first headset body, wherein the first contact sensor may be disposed on an outer surface of the first headset body, and when the first bluetooth headset is mounted on an ear of a user, the first contact sensor contacts the ear of the user to generate a first contact signal, so that whether the first bluetooth headset is mounted on the ear of the user may be determined according to a first contact parameter detected by the first contact sensor, wherein the first contact parameter may include a contact area and/or a contact point.
As a mode, the second bluetooth headset includes a second headset body and a second contact sensor disposed on the second headset body, wherein the second contact sensor may be disposed on an outer surface of the second headset body, and when the second bluetooth headset is mounted on an ear of a user, the second contact sensor contacts with the ear of the user to generate a second contact signal, so that whether the second bluetooth headset is mounted on the ear of the user can be determined according to a second contact parameter detected by the second contact sensor, where the second contact parameter may also include a contact area and/or a contact point.
As another mode, the attitude data of the first bluetooth headset may be detected, and the attitude data of the second bluetooth headset may be detected, specifically, the first bluetooth headset may further include a first acceleration sensor and/or a first gyroscope, where the first acceleration sensor and/or the first gyroscope are disposed in the first headset body and are used to detect the attitude data of the first bluetooth headset. Similarly, the second bluetooth headset may further include a second acceleration sensor and/or a second gyroscope, which are disposed in the second headset body and configured to detect the gesture data of the second bluetooth headset and detect the detected gesture data.
As one mode, the electronic device stores in advance attitude data of the bluetooth headset mounted on the ear of the user, wherein the attitude data is configured as preset attitude data for being used as a basis for determining the detected attitude data of the first bluetooth headset and the second bluetooth headset, it is understood that, after detecting the first attitude data of the first bluetooth headset, comparing the first attitude data with the preset attitude data to determine whether the first attitude data is consistent with the preset attitude data or within an error range allowed by the preset attitude data, wherein, when the first attitude data is consistent with the preset attitude data or within the error range allowed by the preset attitude data, it can be determined that the attitude data of the first bluetooth headset satisfies the preset attitude data, and it is determined that the first bluetooth headset is in a wearing state, when the first posture data is inconsistent with the preset posture data or is out of the error range allowed by the preset posture data, the posture data of the first Bluetooth headset can be determined not to meet the preset posture data, and the first Bluetooth headset is determined to be in a non-wearing state.
Similarly, after second attitude data of a second bluetooth headset is detected, the second attitude data is compared with preset attitude data to judge whether the second attitude data is consistent with the preset attitude data or within an error range allowed by the preset attitude data, wherein when the second attitude data is consistent with the preset attitude data or within the error range allowed by the preset attitude data, the attitude data of the second bluetooth headset can be determined to meet the preset attitude data, the second bluetooth headset is determined to be in a wearing state, and when the second attitude data is inconsistent with the preset attitude data or is out of the error range allowed by the preset attitude data, the attitude data of the second bluetooth headset can be determined not to meet the preset attitude data, and the second bluetooth headset is determined to be in a non-wearing state.
Step S620: and when the Bluetooth headset is in a wearing state, carrying out noise reduction processing on the to-be-processed noise signal of the audio playing device according to the preset inverted signal, wherein the phase of the preset inverted signal is opposite to that of the to-be-processed noise signal of the audio playing device.
In this embodiment, when detecting that the bluetooth headset is in a wearing state, it may be determined that the bluetooth headset is in a use state, and then noise reduction processing may be performed on a to-be-processed noise signal of the audio playback device according to a preset inverted signal, so as to improve user experience in use.
In some embodiments, when the bluetooth headset is in a wearing state, it may be detected whether the bluetooth headset is performing audio output, for example, whether the bluetooth headset is performing song output, whether voice output is performing voice output, whether audio segment output is performing, or the like, where when it is detected that the bluetooth headset is performing audio output, it may be considered that audio output by the bluetooth headset may cover or weaken a to-be-processed noise signal, a noise reduction process may be performed on the to-be-processed noise signal of the audio playing device without according to a preset inverted signal, and when it is detected that the bluetooth headset is muted, it may be considered that an influence of the to-be-processed noise signal is large, a noise reduction process may be performed on the to-be-processed noise signal of the audio playing device according to the preset inverted signal, so as to cancel the to-be-processed noise signal.
In some embodiments, when it is detected that the first bluetooth headset is in a wearing state and the second bluetooth headset is in the wearing state, the first bluetooth headset and the second bluetooth headset perform noise reduction processing on to-be-processed noise signals of the first bluetooth headset and the second bluetooth headset according to a preset inverted signal; when detecting that the first Bluetooth headset is in a wearing state and the second Bluetooth headset is in a non-wearing state, the first Bluetooth headset performs noise reduction processing on a to-be-processed noise signal of the first Bluetooth headset according to a preset inverted signal, and the second Bluetooth headset performs noise reduction processing on a to-be-processed noise signal of the second Bluetooth headset not according to the preset inverted signal; when the first Bluetooth headset is detected to be in a non-wearing state and the second Bluetooth headset is detected to be in a wearing state, the first Bluetooth headset does not perform noise reduction processing on the to-be-processed noise signal of the first Bluetooth headset according to the preset inverted signal, and the second Bluetooth headset performs noise reduction processing on the to-be-processed noise signal of the second Bluetooth headset according to the preset inverted signal; when detecting that first bluetooth headset is in the non-wearing state and second bluetooth headset is in the non-wearing state, then first bluetooth headset and second bluetooth headset are all not according to presetting the opposition signal, and the noise signal of pending of first bluetooth headset and second bluetooth headset carries out noise reduction.
In yet another embodiment of the present application, a noise reduction method for an audio playing device detects a wearing state of a bluetooth headset, and performs noise reduction processing on a to-be-processed noise signal of the audio playing device according to a preset phase-reversed signal when the bluetooth headset is in the wearing state, where the phase of the preset phase-reversed signal is opposite to that of the to-be-processed noise signal of the audio playing device. Compared with the noise reduction method of the audio playing device shown in fig. 3, in this embodiment, noise reduction processing is further performed on the to-be-processed noise signal of the bluetooth headset when the bluetooth headset is in a wearing state, so as to reduce power consumption of the bluetooth headset.
Referring to fig. 12, fig. 12 is a schematic flowchart illustrating a noise reduction method for an audio playback device according to yet another embodiment of the present application. The noise reduction method of the audio playing device is used for improving the noise reduction processing effect by playing the reversed-phase signal with the preset frequency, which is opposite to the phase of the to-be-processed noise signal of the audio playing device and the frequency spectrum difference value of which is in the preset range, and realizing the small-volume design of the audio playing device and improving the use experience of a user. In a specific embodiment, the noise reduction method of the audio playing device is applied to the noise reduction apparatus 400 of the audio playing device shown in fig. 15 and the audio playing device 100 (fig. 2) configured with the noise reduction apparatus 400 of the audio playing device. The following will describe a specific process of this embodiment by taking an audio playing device as an example, and it is understood that the audio playing device applied in this embodiment may be an audio playing device based on a bluetooth communication technology, such as a bluetooth headset or a bluetooth sound box, and is not limited herein. As will be described in detail with respect to the flow shown in fig. 12, the noise reduction method of the audio playing device may specifically include the following steps:
step S710: and playing the reversed-phase sound wave with preset frequency, wherein the phase of the reversed-phase sound wave with the preset frequency is opposite to that of the to-be-processed noise signal of the audio playing equipment, and the frequency spectrum difference value is in a preset range.
When the Bluetooth function of the audio playing device is started, the audio playing device can generate a to-be-processed noise signal with fixed frequency. For example, a noise signal to be processed having a frequency of 800HZ or a harmonic of 800HZ may be generated. Therefore, in this embodiment, in order to perform noise reduction processing on the to-be-processed noise signal of the audio playing device, an inverse sound wave of a preset frequency may be played, where the inverse sound wave of the preset frequency is opposite in phase to the to-be-processed noise signal of the audio playing device and a spectrum difference value is in a preset range, and for example, the inverse sound wave of the preset frequency may be 800HZ or a harmonic wave of 800HZ may be included.
In some embodiments, after the anti-phase sound wave with the preset frequency is played, it may be detected whether the audio signal output by the audio playing device further includes a to-be-processed noise signal, where when the detection result indicates that the audio signal output by the audio playing device still includes the to-be-processed noise signal, the anti-phase sound wave with the preset frequency does not cancel the to-be-processed noise signal, a prompt sound may be played, the to-be-processed noise signal is covered by the prompt sound, so that a user may not hear a noise problem, and when the detection result indicates that the audio signal output by the audio playing device does not include the to-be-processed noise signal, the anti-phase sound wave with the preset frequency already cancels the to-be-processed noise signal, the prompt sound may not be played.
In some embodiments, based on the characteristic that the frequencies of the ambient noise signal and the noise signal to be processed are different, the present embodiment may preset and store the frequency corresponding to the noise signal to be processed, that is, a preset frequency, where the preset frequency is used as a judgment basis for the collected multiple noise signals. Therefore, in this embodiment, a plurality of noise signals may be collected by the audio playing device, after the plurality of noise signals are collected, the frequency of each noise signal in the plurality of noise signals may be compared with the preset frequency to determine whether the frequency of each noise signal matches the preset frequency, and according to the determination result, a noise signal that does not belong to the preset frequency may be obtained from the plurality of noise signals as the environmental noise signal. The audio playing device may preset and store a noise threshold, where the noise threshold is used as a criterion for determining an environmental noise signal of an environment where the audio playing device is located. Therefore, in this embodiment, after detecting the environmental noise of the environment where the audio playing device is located, the environmental noise may be compared with the noise threshold to determine whether the environmental noise signal is smaller than the noise threshold, where when the environmental noise signal is smaller than the noise threshold, it may be considered that the environmental noise signal of the environment where the audio playing device is located cannot cover the noise signal to be processed, and then the inverse sound wave of the preset frequency may be played, and when the environmental noise signal is not smaller than the noise threshold, it may be considered that the environmental noise signal of the environment where the audio playing device is located may cover the noise signal to be processed, and then the inverse sound wave of the preset frequency may not be played, so as to reduce the power consumption of the audio playing device.
In some embodiments, the audio playing device may preset and store a volume threshold, where the volume threshold is used as a judgment basis for the volume of the audio output by the audio playing device. Therefore, in this embodiment, the volume of the audio output by the audio playing device may be detected, and after the volume of the audio output by the audio playing device is detected, the volume of the audio output by the audio playing device may be compared with a volume threshold to determine whether the volume of the audio output by the audio playing device is smaller than the volume threshold, where when the volume of the audio output by the audio playing device is smaller than the volume threshold, it may be considered that the audio output by the audio playing device cannot cover the to-be-processed noise signal, and then the inverse sound wave with the preset frequency may be played, and when the volume of the audio output by the audio playing device is not smaller than the volume threshold, it may be considered that the audio output by the audio playing device may cover the to-be-processed noise signal, and then the inverse sound wave with the preset frequency may not be played, so as to reduce the power consumption of the audio playing device.
In some embodiments, the audio playing device may preset and store an electric quantity threshold, where the electric quantity threshold is used as a criterion for determining the remaining electric quantity of the audio playing device. Therefore, in this embodiment, the remaining power of the audio playback device may be detected, and after the remaining power of the audio playback device is detected, the remaining power may be compared with a power threshold to determine whether the remaining power is greater than the power threshold, wherein when the remaining power is greater than the power threshold, it may be considered that the audio playback device has sufficient remaining power to play the inverse sound wave of the preset frequency, and may play the inverse sound wave of the preset frequency, and when the remaining power is not greater than the power threshold, it may be considered that the audio playback device does not have sufficient remaining power to play the inverse sound wave of the preset frequency, and may not play the inverse sound wave of the preset frequency, so as to reduce the power consumption of the audio playback device.
The application further provides a noise reduction method for an audio playing device, which includes playing a predetermined frequency of an inverse sound wave, wherein the predetermined frequency of the inverse sound wave is opposite in phase to a to-be-processed noise signal of the audio playing device and a spectrum difference value is within a predetermined range, so that by playing the predetermined frequency of the inverse sound wave which is opposite in phase to the to-be-processed noise signal of the audio playing device and a spectrum difference value is within the predetermined range, a noise reduction effect is improved, a small-sized design of the audio playing device is achieved, and a user experience is improved.
Referring to fig. 13, fig. 13 is a schematic flowchart illustrating a noise reduction method of an audio playing device according to yet another embodiment of the present application. The method is applied to the audio playing device, and will be described in detail with reference to the flow shown in fig. 13, where the noise reduction method of the audio playing device may specifically include the following steps:
step S810: and in the partial or whole process of the Bluetooth communication, playing the reversed-phase sound wave with preset frequency, wherein the phase of the reversed-phase sound wave with the preset frequency is opposite to that of the noise signal to be processed of the audio playing equipment, and the frequency spectrum difference value is in a preset range.
In some embodiments, the audio playing device may generate a noise signal to be processed during part or all of the bluetooth communication because the audio playing device may generate a current sound at a specific frequency during part or all of the bluetooth communication. Therefore, in this embodiment, in a part or all of the bluetooth communication process, the inverse sound wave with the preset frequency can be played, and the noise reduction processing is performed on the to-be-processed noise signal of the audio playing device, so as to improve the noise reduction processing effect.
In some embodiments, the situation that the audio playing device generates current sound during the process of establishing the bluetooth connection is more prominent, that is, the situation that the audio playing device generates a noise signal to be processed during part or all of the process of establishing the bluetooth connection is more obvious. Therefore, in this embodiment, in a part or all of the process of establishing the bluetooth connection, the inverse sound wave with the preset frequency may be played, and the noise reduction processing may be performed on the to-be-processed noise signal of the audio playing device, so as to improve the noise reduction processing effect.
In some embodiments, when in a paging or inquiry state, the fluctuation of the power output current caused by the power supply may increase, so that electronic devices such as a battery and an inductor may generate a large electromagnetic field, and further interfere sensitive devices such as a speaker to generate noise such as current sound, that is, during a part or all of a bluetooth paging or bluetooth inquiry process, a condition of a to-be-processed noise signal generated by an audio playing device is more obvious. Therefore, in this embodiment, in a partial or whole process of bluetooth paging or bluetooth inquiry, the inverse sound wave with the preset frequency may be played, and the noise reduction processing may be performed on the to-be-processed noise signal of the audio playing device, so as to improve the noise reduction processing effect.
In some embodiments, since when the audio playback device transmits a bluetooth signal, the power consumption of the entire system of the audio playback device may be large, and thus the current drawn from the power module may also be large, so that the electromagnetic field flowing through the coil of the audio module (such as a speaker) may also be large when the current is large, that is, the noise signal is large, that is, the situation of the noise signal to be processed generated by the audio playback device is more obvious in a part or all of the process of transmitting the bluetooth signal by the audio playback device. Therefore, in this embodiment, in a partial or whole process of transmitting the bluetooth signal by the audio playing device, the inverse sound wave with the preset frequency can be played, and the noise reduction processing is performed on the to-be-processed noise signal of the audio playing device, so as to improve the noise reduction processing effect.
In yet another embodiment of the present application, a noise reduction method for an audio playing device is provided, where in a part or all of bluetooth communication, an inverse sound wave with a preset frequency is played, where the phase of the inverse sound wave with the preset frequency is opposite to that of a to-be-processed noise signal of the audio playing device, and a frequency spectrum difference value is within a preset range. Compared with the noise reduction method of the audio playing device shown in fig. 12, in this embodiment, in a partial or whole process of the bluetooth communication, an inverted signal with a preset frequency and a preset range of a frequency spectrum difference, where the phase of the inverted signal is opposite to that of a to-be-processed noise signal of the audio playing device, is played, so as to perform noise reduction processing on the audio playing device in a targeted manner, and improve a noise processing effect.
Referring to fig. 14, fig. 14 shows a block diagram of a noise reduction apparatus of an audio playing device according to an embodiment of the present application. The noise reduction apparatus 300 of the audio playing device is applied to the audio playing device, and will be explained with reference to the block diagram shown in fig. 14, where the noise reduction apparatus 300 of the audio playing device includes:
the noise reduction processing module 310 is configured to perform noise reduction processing on the to-be-processed noise signal of the audio playing device according to a preset inverse signal, where the phase of the preset inverse signal is opposite to that of the to-be-processed noise signal of the audio playing device.
Further, the denoising processing module 310 includes: a first noise reduction processing sub-module, wherein:
and the first noise reduction processing submodule is used for performing noise reduction processing on the noise signal to be processed of the audio playing equipment according to the preset inverted signal in part or all of the Bluetooth communication process.
Further, the denoising processing module 310 includes: a second noise reduction processing sub-module, wherein:
and the second noise reduction processing submodule is used for carrying out noise reduction processing on the to-be-processed noise signal of the audio playing equipment according to the preset inverted signal and the preset time interval.
Further, the noise processing module 310 includes: a target signal obtaining submodule and a target signal playing submodule, wherein:
and the target signal obtaining submodule is used for superposing the preset inverted signal and the noise signal to be processed to obtain a target signal.
And the target signal playing submodule is used for playing the target signal.
Further, the noise processing module 310 includes: a reverse phase acoustic wave playing sub-module, wherein:
and the reverse sound wave playing submodule is used for playing the reverse sound wave according to the preset reverse signal.
Further, when the audio playing device is a bluetooth headset, the noise processing module 310 includes: a wearing state detection submodule and a third noise reduction processing submodule, wherein:
and the wearing state detection submodule is used for detecting the wearing state of the Bluetooth headset.
And the third noise reduction processing submodule is used for carrying out noise reduction processing on the noise signal to be processed of the audio playing equipment according to the preset reversed phase signal when the Bluetooth headset is in a wearing state.
Referring to fig. 15, fig. 15 shows a block diagram of a noise reduction apparatus of an audio playing device according to an embodiment of the present application. The noise reduction apparatus 400 of the audio playing device is applied to the audio playing device, and will be explained with reference to the block diagram shown in fig. 15, where the noise reduction apparatus 400 of the audio playing device includes: the reverse acoustic playing module 410, wherein:
the reverse-phase sound wave playing module 410 is configured to play a reverse-phase sound wave with a preset frequency, where the phase of the reverse-phase sound wave with the preset frequency is opposite to that of the to-be-processed noise signal of the audio playing device, and a frequency spectrum difference value is within a preset range.
Further, the reverse-phase sound wave playing module comprises: an inverse sound wave playing submodule, wherein:
and the reverse sound wave playing sub-module is used for playing the reverse sound wave with preset frequency in part or all of the Bluetooth communication process.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and modules may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, the coupling between the modules may be electrical, mechanical or other type of coupling.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
Referring to fig. 16, a block diagram of a computer-readable storage medium according to an embodiment of the present application is shown. The computer-readable medium 500 has stored therein a program code that can be called by a processor to execute the method described in the above-described method embodiments.
The computer-readable storage medium 500 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Alternatively, the computer-readable storage medium 500 includes a non-volatile computer-readable storage medium. The computer readable storage medium 500 has storage space for program code 510 for performing any of the method steps of the method described above. The program code can be read from or written to one or more computer program products. The program code 510 may be compressed, for example, in a suitable form.
To sum up, the noise reduction method and apparatus for the audio playing device, the electronic device and the storage medium provided in the embodiment of the present application perform noise reduction processing on a to-be-processed noise signal of the audio playing device according to a preset inverted signal, where the preset inverted signal is opposite to the to-be-processed noise signal of the audio playing device in phase, so that the noise reduction processing is performed on the noise signal of the audio playing device through the preset inverted signal opposite to the phase of the to-be-processed noise signal of the audio playing device, thereby improving the noise reduction processing effect, realizing the small-volume design of the audio playing device, and improving the user experience.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not necessarily depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (25)

1. A noise reduction method of an audio playing device is applied to the audio playing device, and the method comprises the following steps:
according to a preset reverse phase signal, carrying out noise reduction processing on a noise signal to be processed of the audio playing device;
the preset reverse phase signal is opposite to the phase of the noise signal to be processed of the audio playing device.
2. The method according to claim 1, wherein the performing noise reduction processing on the to-be-processed noise signal of the audio playing device according to the preset inverse signal comprises:
and in the partial or whole process of the Bluetooth communication, carrying out noise reduction processing on the noise signal to be processed of the audio playing equipment according to the preset reversed-phase signal.
3. The method of claim 2, wherein the part or all of the Bluetooth communication process comprises: during part or all of the process of establishing a bluetooth connection.
4. The method of claim 2, wherein the part or all of the Bluetooth communication process comprises: and in the process of transmitting the Bluetooth signal by the audio playing equipment.
5. The method of claim 2, wherein the part or all of the Bluetooth communication process comprises: during part or all of a bluetooth page or bluetooth inquiry.
6. The method according to claim 1, wherein the performing noise reduction processing on the to-be-processed noise signal of the audio playing device according to the preset inverse signal comprises:
and according to a preset time interval, carrying out noise reduction processing on the noise signal to be processed of the audio playing equipment according to the preset inverted signal.
7. The method of claim 1, wherein the noise signal to be processed is caused by the audio playback device performing bluetooth communication.
8. The method according to claim 7, wherein the noise signal to be processed comprises a current acoustic signal caused by bluetooth communication of the audio playback device.
9. The method of claim 8, wherein the audio playback device conducting the current acoustic signal caused by the bluetooth communication comprises: the audio playing device emits a Bluetooth signal to cause the current change of a battery and/or an inductor to form a current acoustic signal caused by an electromagnetic field interfering with a device of the audio playing device.
10. The method according to claim 1, wherein the predetermined inverse signal and the noise signal to be processed have the same frequency spectrum or have a frequency spectrum difference within a predetermined range.
11. The method according to claim 1, wherein the performing noise reduction processing on the to-be-processed noise signal of the audio playing device according to the preset inverse signal comprises:
superposing the preset reverse phase signal and the noise signal to be processed to obtain a target signal;
and playing the target signal.
12. The method according to claim 1, wherein the performing noise reduction processing on the to-be-processed noise signal of the audio playing device according to the preset inverse signal comprises:
and playing the reversed-phase sound wave according to the preset reversed-phase signal.
13. The method of claim 1, wherein the predetermined inverse signal has a frequency of 800HZ or a harmonic of 800 HZ.
14. The method according to claim 1, wherein the predetermined inverse signal is obtained from a current acoustic signal caused by the audio playback device or a prototype of the audio playback device transmitting a bluetooth signal, and the parameter of the predetermined inverse signal is preset in the audio playback device.
15. The method according to any one of claims 1 to 14, wherein when the audio playback device is a bluetooth headset, the performing noise reduction processing on the to-be-processed noise signal of the audio playback device according to the preset inverse signal includes:
detecting the wearing state of the Bluetooth headset;
and when the Bluetooth headset is in a wearing state, carrying out noise reduction processing on the noise signal to be processed of the audio playing equipment according to the preset reversed-phase signal.
16. A noise reduction method of an audio playing device is characterized by being applied to the audio playing device, and the method comprises the following steps:
playing the reverse sound wave with preset frequency;
the phase of the reverse sound wave with the preset frequency is opposite to that of a noise signal to be processed of the audio playing device, and the frequency spectrum difference value is within a preset range.
17. The method of claim 16, wherein playing the reverse sound wave of the preset frequency comprises:
and playing the reverse sound wave with preset frequency in the partial or whole process of the Bluetooth communication.
18. The method of claim 17, wherein the part or all of the bluetooth communication process comprises: during part or all of the process of establishing a bluetooth connection.
19. The method of claim 17, wherein the part or all of the bluetooth communication comprises: and in the process of transmitting the Bluetooth signal by the audio playing equipment.
20. The method of claim 17, wherein the part or all of the bluetooth communication comprises: during part or all of a bluetooth page or bluetooth inquiry.
21. The method of claim 16, wherein the predetermined frequency is 800HZ or a harmonic of 800 HZ.
22. A noise reduction device of an audio playing device is applied to the audio playing device, and the device comprises:
the noise reduction processing module is used for carrying out noise reduction processing on a to-be-processed noise signal of the audio playing device according to a preset inverted signal;
the phase of the preset reverse phase signal is opposite to that of the noise signal to be processed of the audio playing device.
23. A noise reduction device of an audio playing device is applied to the audio playing device, and the device comprises:
the reverse sound wave playing module is used for playing reverse sound waves with preset frequency;
the phase of the reverse sound wave with the preset frequency is opposite to that of a noise signal to be processed of the audio playing device, and the frequency spectrum difference value is within a preset range.
24. An electronic device comprising a memory and a processor, the memory coupled to the processor, the memory storing instructions that, when executed by the processor, the processor performs the method of any of claims 1-15 or any of claims 16-21.
25. A computer-readable storage medium having program code stored therein, the program code being invoked by a processor to perform the method of any one of claims 1 to 15 or any one of claims 16 to 21.
CN202110328126.1A 2021-03-26 2021-03-26 Noise reduction method and device for audio playing equipment, electronic equipment and storage medium Pending CN115134710A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110328126.1A CN115134710A (en) 2021-03-26 2021-03-26 Noise reduction method and device for audio playing equipment, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110328126.1A CN115134710A (en) 2021-03-26 2021-03-26 Noise reduction method and device for audio playing equipment, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115134710A true CN115134710A (en) 2022-09-30

Family

ID=83375115

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110328126.1A Pending CN115134710A (en) 2021-03-26 2021-03-26 Noise reduction method and device for audio playing equipment, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115134710A (en)

Similar Documents

Publication Publication Date Title
US8483401B2 (en) Wired noise cancelling stereo headset with separate control box
US9344793B2 (en) Audio apparatus and methods
US8483400B2 (en) Small stereo headset having seperate control box and wireless connectability to audio source
US8503689B2 (en) Integrated monophonic headset having wireless connectability to audio source
US8498428B2 (en) Fully integrated small stereo headset having in-ear ear buds and wireless connectability to audio source
US20100172522A1 (en) Programmable earphone device with customizable controls and heartbeat monitoring
CN108549206A (en) A kind of band has the smartwatch of voice interactive function earphone
CN113132841B (en) Method for reducing earphone blocking effect and related device
CN108540900B (en) Volume adjusting method and related product
EP3240265B1 (en) Apparatus for processing audio signals
CN101414839A (en) Portable electronic device and noise elimination method therefore
CN113490089B (en) Noise reduction control method, electronic device and computer readable storage device
CN109121059A (en) Loudspeaker plug-hole detection method and Related product
WO2015026859A1 (en) Audio apparatus and methods
CN112822001B (en) Control method of electronic equipment and electronic equipment
CN214481180U (en) Bluetooth device and Bluetooth headset
CN112399302B (en) Audio playing method and device of wearable audio playing device
CN115695620A (en) Intelligent glasses and control method and system thereof
US20090029733A1 (en) Method and apparatus for controllable filtering on multiplexed data bus ports
CN115134711A (en) Noise reduction method and device for audio playing equipment, electronic equipment and storage medium
CN113973249A (en) Earphone communication method and earphone
CN115134710A (en) Noise reduction method and device for audio playing equipment, electronic equipment and storage medium
CN114466278B (en) Method for determining parameters corresponding to earphone mode, earphone, terminal and system
CN115499744A (en) Earphone noise reduction method and device, computer readable storage medium and earphone
CN113766385A (en) Earphone noise reduction method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination