Audio playing device, audio receiving device and audio system
By combining wireless reception and decoding, environmental sound pickup and delay processing technology in the audio receiving device, the problem that the audio playback device cannot satisfy both normal-hearing and hearing-impaired people to hear clear audio is solved, and synchronization and clear transmission of audio are achieved. .
Patent Information
- Application Number
- CN202410918093.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-10
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2044-07-10
AI Technical Summary
Existing audio playback devices cannot meet the needs of both normal-hearing and hearing-impaired people to hear clear audio. Especially in multi-person gathering scenarios, audio distortion and wireless audio transmission delays make it difficult for the hearing-impaired to hear the audio clearly.
An audio receiving device is designed, including a wireless receiving and decoding module, an audio collection module, a cancellation module and a mixing module. Through wireless receiving and decoding, environmental sound pickup, delay processing and mixed audio playback, it ensures that hearing-impaired people and people with normal hearing can Listen to clear audio at the same time.
Through delay processing and mixed audio technology, the echo phenomenon is avoided, ensuring that the hearing-impaired and the normal-hearing people listen to the same audio clip at the same time, solving the problem of audio distortion, and realizing the synchronous transmission of clear audio.
Smart Images

Figure CN118471240B
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of audio playback technology, and specifically to an audio playback device, an audio receiving device, and an audio system. Background Art
[0002] Watching TV and listening to the radio are common forms of entertainment in today's society, especially in large gatherings.
[0003] When a hearing-impaired person participates in a gathering with many people, if an audio playback device (such as a television and a radio) plays audio normally through a speaker, the speaker of the audio playback device will cause audio distortion. In addition, the hearing-impaired person may be far away from the speaker of the audio playback device. In this case, even if the hearing-impaired person wears a hearing aid, it is difficult for him to hear clear audio from the speaker. Since current audio playback devices turn off the speaker when sending wireless audio, if the hearing-impaired person wears a hearing aid and establishes a wireless connection between the hearing aid and the audio playback device, others will not be able to hear the audio.
[0004] Therefore, how to provide an audio playback device that can allow both normal hearing people and hearing-impaired people to listen to clear audio has become a technical problem that needs to be solved urgently. Summary of the invention
[0005] In view of the above problems, the embodiments of the present application provide an audio playback device, an audio receiving device and an audio system, which are used to solve the problem that the audio playback device in the prior art cannot simultaneously meet the needs of people with normal hearing and hearing-impaired people to hear clear audio.
[0006] According to one aspect of an embodiment of the present application, an audio receiving device is provided, the audio receiving device comprising a wireless receiving decoding module, an audio acquisition module, a cancellation module, a mixing module and an internal playback module; the wireless receiving decoding module is used to wirelessly connect to an audio playback device, receive encoded audio sent by the audio playback device, and decode the encoded audio to obtain a first audio; the wireless receiving decoding module is electrically connected to the cancellation module and the mixing module, respectively, and is used to send the first audio to the cancellation module and the mixing module, respectively; the audio acquisition module is electrically connected to the cancellation module, and is used to pick up ambient sound to generate a second audio, and send the second audio to the cancellation module, wherein the ambient sound includes a delayed audio played by the audio playback device, and the second audio includes ambient audio and a third audio, and the third audio and the first audio are the same audio segment; the cancellation module is electrically connected to the mixing module, and is used to receive the first audio and the second audio, and cancel the third audio in the second audio according to the first audio to obtain the ambient audio, and send the ambient audio to the mixing module; the mixing module is electrically connected to the internal playback module, and is used to mix the ambient audio and the first audio to obtain a mixed audio, and send the mixed audio to the internal playback module; the internal playback module is used to receive and play the mixed audio.
[0007] In an optional manner, the wireless receiving and decoding module includes a wireless receiving and decoding unit and a delay unit; the wireless receiving and decoding unit is used to wirelessly connect to the audio playback device, receive the encoded audio sent by the audio playback device, and decode the encoded audio to obtain decoded audio; the wireless receiving and decoding unit is electrically connected to the delay unit, and is used to send the decoded audio to the delay unit; the audio acquisition module is electrically connected to the delay unit, and is used to send the second audio to the delay unit; the delay unit is electrically connected to the cancellation module and the mixing module, respectively, and is used to delay the decoded audio according to the second audio to obtain the first audio, and send the first audio to the cancellation module and the mixing module, respectively.
[0008] In an optional manner, the delay unit includes a first filter, and the delay unit performs delay processing on the decoded audio according to the second audio to obtain the first audio, including: and second audio During the processing, the transfer function of the delay unit is calculated by formula (1), formula (2) and formula (3). Iterate, where is the sampling time, is the length of the first filter; until the transfer function exist The value is When the delay estimable condition is met, the obtained Individual and N The corresponding transfer function The value of the function is the maximum. The value is determined as the delay length K, where The corresponding transfer function Index is an integer and The value can be from 0 to ; According to K Delay to get the first audio ,in, ; The following are formula (1), formula (2) and formula (3) in turn:
[0009] , formula (1);
[0010] , formula (2);
[0011] , formula (3);
[0012] in, The first sample in the decoded audio signal sample sequence sampling points, is the first sampling sequence of the second audio signal sampling points, is the transfer function with the delay unit The corresponding residual, For the delay unit and The corresponding transfer function is The preset update step size of the delay unit.
[0013] In an optional manner, the transfer function of the delay unit is calculated by using formula (1), formula (2) and formula (3). Before iterating, the delay unit is also used to downsample the second audio and the decoded audio by r times to obtain the second audio and decode audio , so that , where r is greater than 1.
[0014] In an optional manner, the cancellation module includes a second filter, and the cancellation module cancels the third audio in the second audio according to the first audio to obtain the ambient audio, including: and second audio During the processing, the transfer function of the offset module is calculated by using formulas (4), (5) and (6): Iterate, where is the sampling time, is the length of the second filter; until the transfer function exist The value is When the filter convergence condition is met, we get The corresponding transfer function , and Corresponding ambient audio ; The following are formula (4), formula (5) and formula (6) in order:
[0015] , formula (4);
[0016] , formula (5);
[0017] , formula (6);
[0018] in, is the first audio signal sampling sequence sampling points, is the first sampling sequence of the second audio signal sampling points, The transfer function of the offset module is Corresponding ambient audio, To offset the and The corresponding transfer function is is the transfer function The index of The default update step size for the offset module.
[0019] In an optional manner, the mixing module is further used to mix the ambient audio and the first audio according to the first gain and the second gain to obtain mixed audio.
[0020] According to another aspect of the embodiments of the present application, an audio playback device is provided, which includes an audio input interface, a wireless transmission encoding module, a delay module and an audio external speaker module; the audio input interface is electrically connected to the wireless transmission encoding module and the delay module, respectively, for receiving input audio, and sending the received audio to the wireless transmission encoding module and the delay module, respectively; the wireless transmission encoding module is used to wirelessly connect to the audio receiving device described in any of the above embodiments, encode the audio to obtain encoded audio, and send the encoded audio to the audio receiving device, so that the audio receiving device receives and plays the encoded audio; the delay module is electrically connected to the audio external speaker module, for delaying the audio to obtain delayed audio, and sending the delayed audio to the audio external speaker module; the audio external speaker module is used to receive and play the delayed audio.
[0021] In an optional manner, the audio playback device also includes a switch module, and the audio input interface includes a first input sub-interface and a second input sub-interface; the first end of the switch module is connected to the first input sub-interface, the second end of the switch module is connected to the second input sub-interface, and the third end of the switch module is respectively connected to the wireless transmission encoding module and the delay module; when the first input sub-interface receives audio, the first end of the switch module is connected to the third end; when the second input sub-interface receives audio, the second end of the switch module is connected to the third end.
[0022] In an optional manner, the audio playback device also includes an analog-to-digital converter; the first input sub-interface is used to receive audio in the form of a digital signal; the second input sub-interface is electrically connected to the analog-to-digital converter, used to receive audio in the form of an analog signal, and send the audio in the form of an analog signal to the analog-to-digital converter; the analog-to-digital converter is used to be electrically connected to the second end of the switch module, receive audio in the form of an analog signal, convert the audio in the form of an analog signal into audio in the form of a digital signal, and send the audio in the form of a digital signal to the second end of the switch module.
[0023] According to another aspect of the embodiments of the present application, an audio system is provided, which includes an audio playback device as described in any of the above embodiments and an audio receiving device as described in any of the above embodiments; the wireless sending encoding module of the audio playback device is used to wirelessly connect to the wireless receiving decoding module of the audio receiving device, and send the encoded audio to the wireless receiving decoding module; the wireless receiving decoding module is used to receive the encoded audio, and decode the encoded audio to obtain a first audio; the audio external speaker module of the audio playback device is used to receive and play delayed audio; the audio acquisition module of the audio receiving device is used to pick up ambient sound to generate a second audio, the ambient sound includes the delayed audio, the second audio includes the ambient audio and the third audio, and the third audio and the first audio are the same audio segment.
[0024] In the audio playback device provided in the embodiment of the present application, the received audio is sent to the wireless transmission encoding module and the delay module respectively through the audio input interface, and the encoded audio is sent to the audio receiving device through the wireless transmission encoding module, so that the audio receiving device receives and plays the encoded audio, and is electrically connected to the audio external speaker module through the delay module, so that the audio external speaker module receives and plays the delayed audio processed by the delay module, so that the user listening to the audio receiving device and the user listening to the audio playback device can both hear clear audio; the audio is delayed by the delay module to obtain delayed audio, and the delayed audio is sent to the audio external speaker module, so that the audio clips heard by the user listening to the audio receiving device and the user listening to the audio playback device at the same time can be as consistent as possible, so that the user listening to the audio receiving device and the user listening to the audio playback device can hear clear audio at the same time.
[0025] In the audio receiving device provided in the embodiment of the present application, the third audio part in the second audio is eliminated by the cancellation module to obtain ambient audio, and then the ambient audio is mixed with the first audio by the mixing module to obtain mixed audio. This can avoid the echo formed by the first audio and the third audio in the mixed audio, so that the user listening to the audio receiving device can hear clear audio.
[0026] In the audio system provided by the embodiment of the present application, delayed audio is played through the audio speaker module of the audio playback device, so that the user who listens to the audio playback device can hear clear audio; when the audio receiving device receives the encoded audio sent by the audio playback device and generates a second audio including the ambient audio and the third audio by picking up the ambient sound including the delayed audio, the audio system eliminates the third audio part in the second audio through the cancellation module to obtain the ambient audio, and then mixes the ambient audio with the first audio through the mixing module, which can avoid the presence of echo in the obtained mixed audio, so that the user who listens to the audio receiving device can hear clear audio; the audio is delayed by the delay module to obtain the delayed audio, and the delayed audio is sent to the audio speaker module, so that the audio clips heard by the user who listens to the audio receiving device and the user who listens to the audio playback device at the same time can be as consistent as possible, so that the user who listens to the audio receiving device and the user who listens to the audio playback device can hear clear audio at the same time.
[0027] The above description is only an overview of the technical solution of the embodiment of the present application. In order to more clearly understand the technical means of the embodiment of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the embodiment of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] The accompanying drawings are only used to illustrate the embodiments and are not to be considered as limiting the present application. In addition, the same reference symbols are used to represent the same components throughout the accompanying drawings. In the accompanying drawings:
[0029] Figure 1 A schematic diagram showing the structure of an audio playback device provided in an embodiment of the present application is shown;
[0030] Figure 2 A schematic diagram showing the structure of an audio playback device provided by another embodiment of the present application is shown;
[0031] Figure 3 A schematic diagram showing the structure of an audio playback device provided by another embodiment of the present application is shown;
[0032] Figure 4 A schematic diagram of the structure of an audio receiving device provided in an embodiment of the present application is shown;
[0033] Figure 5 A schematic diagram showing the structure of an audio receiving device provided by another embodiment of the present application is shown;
[0034] Figure 6 A schematic diagram of the structure of an audio system provided in an embodiment of the present application is shown.
[0035] The reference numerals in the specific implementation manner are as follows:
[0036] 10. Audio system;
[0037] 100. Audio playback device;
[0038] 110, audio input interface; 111, first input sub-interface; 112, second input sub-interface;
[0039] 120, wireless transmission encoding module; 130, delay module; 140, audio external speaker module;
[0040] 150, switch module; 151, first end of the switch module; 152, second end of the switch module; 153, third end of the switch module; 160, analog-to-digital converter;
[0041] 200. Audio receiving device;
[0042] 210, wireless receiving and decoding module; 211, wireless receiving and decoding unit; 212, delay unit;
[0043] 220, audio acquisition module; 230, cancellation module; 240, mixing module; 250, internal amplifier module. DETAILED DESCRIPTION
[0044] The exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present application are shown in the drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments set forth herein.
[0045] Since current audio playback devices will turn off the speaker when sending wireless audio, if the hearing-impaired person wears a hearing aid and establishes a wireless connection between the hearing aid and the audio playback device, others cannot hear the audio.
[0046] Based on this, the inventor of the present application discovered that when the audio playback device sends wireless audio, the speaker of the audio playback device can also play the audio externally, so that people with normal hearing can listen to the audio externally through the speaker, and the hearing-impaired can listen to the wireless audio received by the hearing aid; however, due to the delay in wireless audio transmission, the wireless audio signal received by the hearing aid will lag behind the external sound wave. Therefore, the external audio can be further delayed so that the audio heard by the normal hearing person and the hearing-impaired person at the same time is as consistent as possible, so that the normal hearing person and the hearing-impaired person can hear clear audio at the same time.
[0047] Specifically, Figure 1 The structure diagram of the audio playback device provided in the embodiment of the present application is shown in FIG. Figure 1The audio playback device 100 includes an audio input interface 110, a wireless transmission encoding module 120, a delay module 130 and an audio external speaker module 140; the audio input interface 110 is electrically connected to the wireless transmission encoding module 120 and the delay module 130 respectively, for receiving input audio, and sending the received audio to the wireless transmission encoding module 120 and the delay module 130 respectively; the wireless transmission encoding module 120 is used to wirelessly connect to the audio receiving device 200, encode the audio to obtain encoded audio, and send the encoded audio to the audio receiving device 200, so that the audio receiving device 200 receives and plays the encoded audio; the delay module 130 is electrically connected to the audio external speaker module 140, for delaying the audio to obtain delayed audio, and sending the delayed audio to the audio external speaker module 140; the audio external speaker module 140 is used to receive and play the delayed audio.
[0048] The audio playback device 100 may be a device with an audio playback function such as a radio, a television, or a computer; the audio playback device 100 may also be a device that establishes an audio transmission connection with a device with an audio playback function such as a radio, a television, or a computer, for example, a video player such as a DVD (Digital Versatile Disk Player) player and a Blu-ray player, or a Bluetooth speaker.
[0049] The audio input interface 110 is a corresponding audio signal input interface on the audio playback device 100. For example, when the audio playback device 100 is a radio, the audio input interface 110 is an interface in the tuning circuit of the audio playback device 100 connected to the internal antenna; when the audio playback device 100 is a television, the audio input interface 110 is a signal input interface in the audio playback device 100 for connecting to an external signal source, such as an HDMI (High Definition Multimedia Interface) interface, an AV (Audio / Video) interface, a VGA (Video Graphics Array) interface, or a USB (Universal Serial Bus) interface.
[0050] The communication method between the wireless transmission coding module 120 and the audio receiving device 200 can be wireless network communication such as WIFI (Wireless Fidelity), Bluetooth, LORA (Long Range), NB-IoT (Narrowband Internet of Things), ZIGBEE (ZigBee Alliance), cellular signal, etc. Among them, the wireless transmission coding module 120 is used to encode the audio to obtain the encoded audio, and send the encoded audio to the audio receiving device 200. For example, if the communication method between the wireless transmission coding module 120 and the audio receiving device 200 is Bluetooth communication, the wireless transmission coding module 120 can use LDAC (Sony's LDAC), AAC (Advanced Audio Coding) and other audio coding and decoding technologies to compress the audio to obtain the encoded audio, and then send the encoded audio to the audio receiving device 200 that has established a Bluetooth connection with the wireless transmission coding module 120; wherein the audio receiving device 200 is a device with wireless network communication, audio reception and audio playback functions, such as Bluetooth headphones and hearing aids.
[0051] By electrically connecting the wireless transmission coding module 120 to the audio input interface 110 and wirelessly connecting the wireless transmission coding module 120, the audio of the audio playback device 100 can be sent to the audio receiving device 200, so that the audio receiving device 200 plays the audio, so that users (such as hearing-impaired patients) who listen to the sound through the audio receiving device 200 can hear clean audio.
[0052] Among them, the delay module 130 is an audio delay device for delaying the sound signal. In an optional manner, the delay module 130 delays the audio according to a preset duration. For example, Bluetooth transmitted audio is usually about 0.5 seconds to 1 second slower than directly playing the audio through a speaker. Therefore, the preset duration can be set to 1s so that the audio receiving device 200 and the audio external speaker module 140 can play the same audio at the same time as much as possible.
[0053] Since the audio speaker module 140 can play the audio after receiving it, and the audio receiving device 200 needs to process the audio (such as amplification, filtering, etc.) before playing it after receiving the audio through wireless communication, therefore, in an optional manner, the preset duration of the delay module 130 can be set to be greater than the delay caused by the wireless transmission of the audio, so that the audio receiving device 200 and the audio speaker module 140 can play the same audio at the same time as much as possible.
[0054] The audio speaker module 140 includes a speaker for playing audio.
[0055] In an optional manner, the delay module 130 is a digital delay device, and the audio speaker module 140 also includes a digital-to-analog converter. The delay module 130 is electrically connected to the digital-to-analog converter for sending the delayed audio to the digital-to-analog converter; the digital-to-analog converter is electrically connected to the speaker for converting the delayed audio from a digital signal form to an analog signal form to obtain analog delayed audio, and sending the analog delayed audio to the speaker; the speaker is used to play the analog delayed audio.
[0056] In the embodiment of the present application, the received audio is sent to the wireless transmission encoding module 120 and the delay module 130 respectively through the audio input interface 110, and the encoded audio is sent to the audio receiving device 200 through the wireless transmission encoding module 120, so that the audio receiving device 200 receives and plays the encoded audio, and is electrically connected to the audio external speaker module 140 through the delay module 130, so that the audio external speaker module 140 receives and plays the delayed audio processed by the delay module 130, so that the user listening to the audio receiving device 200 and the user listening to the audio playback device 100 can both hear clear audio; the audio is delayed by the delay module 130 to obtain delayed audio, and the delayed audio is sent to the audio external speaker module 140, so that the audio clips heard by the user listening to the audio receiving device 200 and the user listening to the audio playback device 100 at the same time can be as consistent as possible, so that the user listening to the audio receiving device 200 and the user listening to the audio playback device 100 can hear clear audio at the same time.
[0057] In an optional manner, the audio input interface 110 includes a plurality of input sub-interfaces. Specifically, Figure 2 A schematic diagram showing the structure of an audio playback device provided by another embodiment of the present application is shown. Figure 2 The audio playback device 100 also includes a switch module 150, and the audio input interface 110 includes a first input sub-interface 111 and a second input sub-interface 112; the first end 151 of the switch module 150 is connected to the first input sub-interface 111, the second end 152 of the switch module 150 is connected to the second input sub-interface 112, and the third end 153 of the switch module 150 is respectively connected to the wireless transmission encoding module 120 and the delay module 130; when the first input sub-interface 111 receives audio, the first end 151 of the switch module 150 is connected to the third end 153; when the second input sub-interface 112 receives audio, the second end 152 of the switch module 150 is connected to the third end 153.
[0058] When the first input sub-interface 111 receives audio, the first end 151 and the third end 153 of the switch module 150 are connected to transmit the audio received by the first input sub-interface 111 to the wireless transmission coding module 120 and the delay module 130; when the second input sub-interface 112 receives audio, the second end 152 and the third end 153 of the switch module 150 are connected to transmit the audio received by the second input sub-interface 112 to the wireless transmission coding module 120 and the delay module 130.
[0059] In an optional manner, when the first end 151 and the third end 153 of the switch module 150 are connected, if the first input sub-interface 111 does not receive audio for a preset time period, the first end 151 and the third end 153 of the switch module 150 are disconnected; when the second end 152 and the third end 153 of the switch module 150 are connected, if the second input sub-interface 112 does not receive audio for a preset time period, the second end 152 and the third end 153 of the switch module 150 are disconnected.
[0060] The preset duration may be set according to actual usage needs, for example, the preset duration may be set to 10 seconds.
[0061] The switch module 150 is used for intelligent switching, so that the audio playback device 100 can receive inputs from multiple input sub-interfaces.
[0062] Among them, the first input sub-interface 111 and the second input sub-interface 112 can be input interfaces of the same type, which is used to avoid the situation where the audio playback device 100 cannot be used normally due to damage to a single receiving line. For example, when the audio playback device 100 is a TV, the first input sub-interface 111 and the second input sub-interface 112 can both be HDMI interfaces.
[0063] In another optional embodiment, the first input sub-interface 111 and the second input sub-interface 112 can also be input interfaces of different interface standards, used to receive audio inputs of different standards. For example, when the audio playback device 100 is a TV, the first input sub-interface 111 and the second input sub-interface 112 can be a VGA interface and an AV interface, respectively.
[0064] In another optional manner, the first input sub-interface 111 and the second input sub-interface 112 may also be interfaces in different signal formats. Specifically, Figure 3 A schematic diagram showing the structure of an audio playback device provided by another embodiment of the present application is shown. Figure 3The audio playback device 100 also includes an analog-to-digital converter 160; the first input sub-interface 111 is used to receive audio in the form of a digital signal; the second input sub-interface 112 is electrically connected to the analog-to-digital converter 160, and is used to receive audio in the form of an analog signal, and send the audio in the form of an analog signal to the analog-to-digital converter 160; the analog-to-digital converter 160 is used to be electrically connected to the second end 152 of the switch module 150, receive audio in the form of an analog signal, convert the audio in the form of an analog signal into audio in the form of a digital signal, and send the audio in the form of a digital signal to the second end 152 of the switch module 150.
[0065] For example, when the audio playback device 100 is a television, the first input sub-interface 111 and the second input sub-interface 112 can be an HDMI interface and an AV interface, respectively, wherein the HDMI interface is a digital interface for receiving digital audio input of the HDMI standard, and the AV interface is an analog interface for receiving analog audio input of the AV standard.
[0066] By receiving audio in the form of digital signals through the first input sub-interface 111 and receiving audio in the form of analog signals through the second input sub-interface 112 , the audio playback device 100 can receive input of audio in various signal forms, thereby improving the applicability of the audio playback device 100 .
[0067] According to another aspect of the embodiment of the present application, an audio receiving device is also provided. Figure 4 FIG. 1 is a schematic diagram showing the structure of the audio receiving device provided in the embodiment of the present application. Figure 4 The audio receiving device 200 includes a wireless receiving decoding module 210 , an audio collecting module 220 , a canceling module 230 , a mixing module 240 and an internal playing module 250 .
[0068] The audio receiving device 200 may be a device such as earphones and hearing aids.
[0069] The wireless receiving and decoding module 210 is used to wirelessly connect to the audio playing device 100 in the above embodiment, receive the encoded audio sent by the audio playing device 100, and decode the encoded audio to obtain the first audio.
[0070] The decoding technology adopted by the wireless receiving decoding module 210 is consistent with the encoding technology adopted by the wireless sending encoding module 120. For example, the wireless sending encoding module 120 uses LDAC to compress the audio to obtain the encoded audio. After receiving the encoded audio, the wireless receiving decoding module 210 uses the LDAC decoder to decompress the encoded audio to obtain the first audio.
[0071] The wireless receiving decoding module 210 is electrically connected to the cancellation module 230 and the mixing module 240 respectively, and is used to send the first audio to the cancellation module 230 and the mixing module 240 respectively; the audio acquisition module 220 is electrically connected to the cancellation module 230, and is used to pick up the ambient sound to generate the second audio, and send the second audio to the cancellation module 230, the ambient sound includes the delayed audio played by the audio playback device 100, the second audio includes the ambient audio and the third audio, and the third audio and the first audio are the same audio segment; the cancellation module 230 is electrically connected to the mixing module 240, and is used to receive the first audio and the second audio, cancel the third audio in the second audio according to the first audio, obtain the ambient audio, and send the ambient audio to the mixing module 240.
[0072] When the audio playback device 100 is running, the audio external speaker module of the audio playback device 100 plays the delayed audio externally, so that the ambient audio corresponding to the original ambient noise in the external environment and the delayed audio played by the audio player 100 (ie, the third audio), therefore, the audio collection module 220 of the audio receiving device 200 picks up the sound in the external environment to generate the second audio , Second Audio Includes ambient audio and third audio .
[0073] When the audio collection module 220 picks up the sound in the external environment to generate the second audio When the audio receiving device 200 obtains the first audio signal through the wireless receiving decoding module 210, , while obtaining the second audio through the audio acquisition module 220 Since the decoded audio and the delayed audio usually include the same audio segment (that is, the audio input to the audio playback device 100 through the audio input interface 110), if the audio receiving device 200 decodes the encoded audio to obtain the first audio After that, directly and Mix and play, then when playing, In Will Echoes are easily generated, so that the user who listens to the audio playback device 100 cannot hear clear audio.
[0074] Therefore, the second audio frequency needs to be offset by the cancellation module 230. The third audio Partially eliminate ambient audio , and then the ambient audio is mixed by the mixing module 240 With First Audio Mix to avoid echo in the resulting mixed audio.
[0075] The audio collection module 220 may be a microphone for monitoring the sounds of the external environment.
[0076] The cancellation module 230 can be set according to actual use needs. For example, the second audio can be eliminated by phase inversion technology. The third audio The second audio frequency can also be eliminated by frequency filtering technology The third audio part.
[0077] Among them, phase inversion technology refers to inverting the phase of the same clips in two audio files and then mixing them together. Phase inversion technology achieves the effect of silencing by making the waveforms of the two audio clips cancel each other out; frequency filtering technology refers to eliminating the audio of the same clip by applying a low-pass filter or a high-pass filter, thereby achieving the effect of silencing.
[0078] When frequency filtering technology is used to eliminate the second audio The third audio In an optional manner, the cancellation module 230 includes a second filter, and the cancellation module 230 cancels the third audio in the second audio according to the first audio to obtain the ambient audio, including:
[0079] In the first audio and second audio During the processing, the transfer function of the offset module is calculated by using formulas (4), (5) and (6): Iterate, where is the sampling time, is the length of the second filter;
[0080] Until the transfer function exist The value is When the filter convergence condition is met, we get The corresponding transfer function , and Corresponding ambient audio ; The following are formula (4), formula (5) and formula (6) in order:
[0081] , formula (4);
[0082] , formula (5);
[0083] , formula (6);
[0084] in, is the first audio signal sampling sequence sampling points, is the first sampling sequence of the second audio signal sampling points, The transfer function of the offset module is Corresponding ambient audio, To offset the and The corresponding transfer function is is the transfer function The index of is the preset update step size of the offset module, Preferably, it is 0.01.
[0085] In an optional manner, the cancellation module 230 uses a filtering technique based on a least mean square error (Least Mean Error, LMS) method. The estimated value of the compensation module 230 arrive The transfer function between .
[0086] Transfer Function and with Corresponding ambient audio The iterative process is shown in Table 1.
[0087] Table 1
[0088]
[0089] As shown in Table 1, and Iterate for the initial value, when from Get value to If the transfer function The filter convergence condition is met, such as the confidence level is greater than 90%, which means and After completing the iteration, we get That is, the ambient audio is obtained by the cancellation module 230 canceling the third audio in the second audio according to the first audio.
[0090] The audio mixing module 240 is electrically connected to the internal playback module 250 and is used to mix the ambient audio and the first audio to obtain mixed audio, and send the mixed audio to the internal playback module 250; the internal playback module 250 is used to receive and play the mixed audio.
[0091] The audio mixing module 240 includes an audio mixer for mixing various audio signals and then outputting them.
[0092] In an optional manner, the mixing module 240 is further configured to mix the ambient audio and the first audio according to the first gain and the second gain to obtain a mixed audio. Specifically, the first gain may be applied to the ambient audio, the second gain may be applied to the first audio, and the audios after the gains are applied may be mixed.
[0093] When the audio receiving device 200 is a hearing aid, the first gain and the second gain can be set according to the hearing loss of the hearing-impaired patient, so that the hearing-impaired patient can hear clear audio.
[0094] In an optional manner, the built-in speaker module 250 includes a digital-to-analog converter and a speaker, and the mixing module 240 is electrically connected to the digital-to-analog converter for sending the mixed audio to the digital-to-analog converter; the digital-to-analog converter is electrically connected to the speaker for converting the mixed audio from a digital signal form to an analog signal form to obtain analog mixed audio, and sending the analog mixed audio to the speaker; the speaker is used to receive and play the analog mixed audio.
[0095] In the embodiment of the present application, the second audio The third audio Partially eliminate ambient audio , and then the ambient audio is mixed by the mixing module 240 With First Audio Mixing can avoid echo in the obtained mixed audio, so that the user listening to the audio receiving device 200 can hear clear audio.
[0096] Since the first audio and second audio There may be a large and uncertain delay between arrive The transfer function between , which may easily lead to the length of the second filter being too long, so that the cancellation module 230 needs to occupy a large amount of computing power resources and storage resources to complete the operation.
[0097] Therefore, the first audio can be eliminated first and second audio The third audio The delay between the two is then estimated by the offset module 230. arrive The transfer function between , thereby reducing the amount of computing power and storage resources occupied by the offset module 230 for calculation.
[0098] When the second audio The third audio Earlier than the first audio , then for the second audio Delay processing is performed, when the first audio Earlier than the second audio The third audio , then for the first audio In the embodiment of the present application, the first audio Take delay processing as an example to explain.
[0099] Specifically, Figure 5 FIG. 1 is a schematic diagram showing the structure of an audio receiving device provided by another embodiment of the present application. Figure 5 The wireless receiving decoding module 210 includes a wireless receiving decoding unit 211 and a delay unit 212; the wireless receiving decoding unit 211 is used to wirelessly connect to the audio playback device 100, receive the encoded audio sent by the audio playback device 100, and decode the encoded audio to obtain a decoded audio; the wireless receiving decoding unit 211 is electrically connected to the delay unit 212, and is used to send the decoded audio to the delay unit 212; the audio acquisition module 220 is electrically connected to the delay unit 212, and is used to send the second audio to the delay unit 212; the delay unit 212 is electrically connected to the cancellation module 230 and the mixing module 240 respectively, and is used to delay the decoded audio according to the second audio to obtain the first audio, and send the first audio to the cancellation module 230 and the mixing module 240 respectively.
[0100] The selection of the wireless receiving decoding unit 211 may refer to the above description of the wireless receiving decoding module 210 , which will not be described in detail here.
[0101] In an optional manner, the delay unit 212 can determine the delay length by using the calculation method of the delay and similarity of two-way real-time broadcast audio as described in Chinese Patent Publication No. "CN110310661A", and perform delay processing on the decoded audio according to the delay length to obtain the first audio.
[0102] In another optional manner, the delay unit 212 includes a first filter, and the delay unit 212 performs delay processing on the decoded audio according to the second audio to obtain the first audio, including:
[0103] In decoding audio and second audio During the processing, the transfer function of the delay unit is calculated by formula (1), formula (2) and formula (3). Iterate, where is the sampling time, is the length of the first filter;
[0104] Until the transfer function exist The value is When the delay estimable condition is met, the obtained Individual and N The corresponding transfer function The value of the function is the maximum. The value is determined as the delay length K, where The corresponding transfer function Index is an integer and The value can be from 0 to ;
[0105] According to K Delay to get the first audio ,in, ; The following are formula (1), formula (2) and formula (3) in turn:
[0106] , formula (1);
[0107] , formula (2);
[0108] , formula (3);
[0109] in, The first sample in the decoded audio signal sample sequence sampling points, is the first sampling sequence of the second audio signal sampling points, is the transfer function with the delay unit The corresponding residual, For the delay unit and The corresponding transfer function is is the preset update step size of the delay unit, Preferably, it is 0.01.
[0110] In order to further reduce the amount of computation of the delay unit 212 and the cancellation module 230, in an optional manner, the transfer function of the delay unit 212 is calculated by using formula (1), formula (2) and formula (3). Before iterating, the delay unit 212 is further used to downsample the second audio and the decoded audio by r times to obtain the second audio and the decoded audio , where r is greater than 1.
[0111] The larger the r is, the less computational effort the delay unit 212 and the cancellation module 230 have, but the accuracy of the delay length K estimated by the delay unit 212 is worse, and conversely, the smaller the r is, the better the accuracy of the delay length K estimated by the delay unit 212 is, but the computational effort of the delay unit 212 and the cancellation module 230 is greater. According to actual usage, in the embodiment of the present application, r can be preferably set to 10 to meet the computing power requirements of the audio receiving device 200 and the accuracy requirements of delay estimation.
[0112] In an optional manner, the delay unit 212 uses a filtering technique based on the LMS method. The decoded audio estimated by the delay unit 212 To Second Audio The third audio The transfer function between for and against The corresponding estimated residual.
[0113] Transfer Function and with The corresponding residual The iterative process is shown in Table 2.
[0114] Table 2
[0115]
[0116] As shown in Table 2, and Iterate for the initial value, when from Get value to If the transfer function If the delay estimation condition is met, such as the confidence level is greater than 90%, it means After completing the iteration, we get , this indivual The value of the function is the maximum. The value is determined as the delay length K, and the decoded audio is processed according to the delay length K. Delay to get the first audio , that is, .
[0117] If the delay unit 212 downsamples the decoded audio by r times to obtain the decoded audio , then the first audio .
[0118] In the embodiment of the present application, the delay unit 212 performs delay processing on the decoded audio according to the second audio to obtain the first audio, so as to eliminate the delay between the first audio and the third audio of the second audio, thereby shortening the length of the second filter and reducing the amount of computing power and storage resources occupied by the cancellation module 230 for calculation.
[0119] According to another aspect of an embodiment of the present application, an audio system is provided. Figure 6 The structure diagram of the audio system provided by the embodiment of the present application is shown in FIG. Figure 6 The audio system 10 includes an audio playback device 100 as described in any of the above embodiments and an audio receiving device 200 as described in any of the above embodiments; the wireless transmission encoding module 120 of the audio playback device 100 is used to wirelessly connect with the wireless receiving decoding module 210 of the audio receiving device 200, and send the encoded audio to the wireless receiving decoding module 210; the wireless receiving decoding module 210 is used to receive the encoded audio and decode the encoded audio to obtain the first audio; the audio external speaker module 140 of the audio playback device 100 is used to receive and play the delayed audio; the audio acquisition module 220 of the audio receiving device 200 is used to pick up the ambient sound to generate the second audio, the ambient sound includes the delayed audio, the second audio includes the ambient audio and the third audio, and the third audio and the first audio are the same audio segment.
[0120] In the embodiment of the present application, the delayed audio is played by the audio external speaker module 140 of the audio playback device 100, so that the user who listens to the audio playback device 100 can hear clear audio; when the audio receiving device 200 receives the encoded audio sent by the audio playback device 100 and generates a second audio including the ambient audio and the third audio by picking up the ambient sound including the delayed audio, the audio system 10 eliminates the third audio part in the second audio by the cancellation module to obtain the ambient audio, and then mixes the ambient audio with the first audio by the mixing module, which can avoid the presence of echo in the obtained mixed audio, so that the user who listens to the audio receiving device 200 can hear clear audio; the audio is delayed by the delay module to obtain the delayed audio, and the delayed audio is sent to the audio external speaker module 140, so that the audio clips heard by the user who listens to the audio receiving device 200 and the user who listens to the audio playback device 100 at the same time are as consistent as possible, so that the user who listens to the audio receiving device 200 and the user who listens to the audio playback device 100 can hear clear audio at the same time.
[0121] In several embodiments provided in the present application, if any function is implemented in the form of a software function module / unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, part or all of the technical solution of the present application can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, server or other electronic device) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (RandomAccess Memory, RAM), disk or optical disk and other media that can store computer program code.
[0122] The algorithm or display provided here are not inherently related to any specific computer, virtual system or other equipment. Various general systems can also be used together with the teaching based on this. According to the above description, it is obvious to construct the structure required for this type of system. In addition, the present application embodiment is not directed to any specific programming language yet. It should be understood that various programming languages can be utilized to realize the content of the present application described here, and the above description of specific languages is to disclose the best mode of implementation of the present application.
[0123] It should be noted that the above embodiments illustrate the present application rather than limit the present application, and that those skilled in the art may design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets shall not be constructed as a limitation on the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of multiple such elements. The present application may be implemented by means of hardware including several different elements and by means of a suitably programmed computer. In the claims that list several devices, several units or modules in these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc. does not indicate any order. These words may be interpreted as names. The steps in the above embodiments, unless otherwise specified, should not be understood as limitations on the order of execution.
[0124] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be construed as limiting the scope of the present application. It should be noted that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. An audio receiving device, characterized in that: The audio receiving device includes a wireless receiving decoding module, an audio acquisition module, a cancellation module, a mixing module and an internal amplifier module; The wireless receiving and decoding module is used to wirelessly connect to the audio playback device, receive the encoded audio sent by the audio playback device, and decode the encoded audio to obtain the first audio; The wireless receiving decoding module is electrically connected to the cancellation module and the mixing module respectively, and is used to send the first audio to the cancellation module and the mixing module respectively; The audio acquisition module is electrically connected to the cancellation module, and is used to pick up environmental sound to generate second audio, and send the second audio to the cancellation module, wherein the environmental sound includes the delayed audio played by the audio playback device, and the second audio includes environmental audio and third audio, and the third audio and the first audio are the same audio segment; The cancellation module is electrically connected to the mixing module, and is used for receiving the first audio and the second audio, canceling the third audio in the second audio according to the first audio, obtaining the ambient audio, and sending the ambient audio to the mixing module; The mixing module is electrically connected to the internal amplifier module, and is used to mix the ambient audio and the first audio to obtain a mixed audio, and send the mixed audio to the internal amplifier module; The built-in audio module is used to receive and play the mixed audio; The wireless receiving and decoding module also includes a wireless receiving and decoding unit and a delay unit; The wireless receiving and decoding unit is used to wirelessly connect to the audio playback device, receive the encoded audio sent by the audio playback device, and decode the encoded audio to obtain decoded audio; The wireless receiving decoding unit is electrically connected to the delay unit, and is used to send the decoded audio to the delay unit; The audio acquisition module is electrically connected to the delay unit, and is used to send the second audio to the delay unit; The delay unit is electrically connected to the cancellation module and the mixing module respectively, and is used to perform delay processing on the decoded audio according to the second audio to obtain the first audio, and send the first audio to the cancellation module and the mixing module respectively.
2. The audio receiving device according to claim 1, characterized in that: The delay unit includes a first filter, and the delay unit performs delay processing on the decoded audio according to the second audio to obtain the first audio, including: In decoding the audio and the second audio During the processing, the transfer function of the delay unit is calculated by formula (1), formula (2) and formula (3). Iterate, where is the sampling time, is the length of the first filter; Until the transfer function In the The value is When the delay estimable condition is met, the obtained and N The corresponding transfer function The value of the function is the maximum. The value is determined as the delay length K, where The corresponding transfer function Index is an integer and The value can be from 0 to ; According to the K Delay to get the first audio ,in, ; The following are formula (1), formula (2) and formula (3) respectively: , Formula (1); , Formula (2); , Formula (3); in, The first sampling sequence of the decoded audio signal sampling points, is the first sampling sequence of the signal of the second audio sampling points, The transfer function of the delay unit is The corresponding residual, is the delay unit and the and The corresponding transfer function is is the preset update step size of the delay unit.
3. The audio receiving device according to claim 2, characterized in that: In the transfer function of the delay unit through formula (1), formula (2) and formula (3), Before iterating, the delay unit is further used to downsample the second audio and the decoded audio by r times to obtain the second audio and the decoded audio , so that the , wherein the r is greater than 1.
4. The audio receiving device according to claim 1, characterized in that: The cancellation module includes a second filter, and the cancellation module cancels the third audio in the second audio according to the first audio to obtain the environmental audio, including: In the first audio and the second audio During the processing, the transfer function of the offset module is calculated by formula (4), formula (5) and formula (6): Iterate, where is the sampling time, is the length of the second filter; Until the transfer function In the The value is When the filter convergence condition is met, the same as the above is obtained. The corresponding transfer function , and with the Corresponding ambient audio ; The following are formula (4), formula (5) and formula (6) respectively: , Formula (4); , Formula (5); , Formula (6); in, is the first audio signal sampling sequence sampling points, is the first sampling sequence of the signal of the second audio sampling points, The transfer function of the cancellation module is Corresponding ambient audio, The offset module is and The corresponding transfer function is is the transfer function The index of is the preset update step size of the offset module.
5. The audio receiving device according to claim 1, characterized in that: The mixing module is further configured to mix the ambient audio and the first audio according to a first gain and a second gain to obtain the mixed audio.
6. An audio playback device, characterized in that: The audio playback device includes an audio input interface, a wireless transmission encoding module, a delay module and an audio external speaker module; The audio input interface is electrically connected to the wireless transmission encoding module and the delay module respectively, and is used to receive input audio and send the received audio to the wireless transmission encoding module and the delay module respectively; The wireless transmission encoding module is used to wirelessly connect to the audio receiving device according to any one of claims 1 to 5, encode the audio to obtain encoded audio, and send the encoded audio to the audio receiving device, so that the audio receiving device receives and plays the encoded audio; The delay module is electrically connected to the audio speaker module, and is used to delay the audio to obtain delayed audio, and send the delayed audio to the audio speaker module; The audio player module is used to receive and play the delayed audio.
7. The audio playback device according to claim 6, characterized in that: The audio playback device further includes a switch module, and the audio input interface includes a first input sub-interface and a second input sub-interface; The first end of the switch module is connected to the first input sub-interface, the second end of the switch module is connected to the second input sub-interface, and the third end of the switch module is connected to the wireless transmission encoding module and the delay module respectively; When the first input sub-interface receives the audio, the first end and the third end of the switch module are connected; When the second input sub-interface receives the audio, the second end and the third end of the switch module are connected.
8. The audio playback device according to claim 7, characterized in that: The audio playback device also includes an analog-to-digital converter; The first input sub-interface is used to receive audio in the form of digital signals; The second input sub-interface is electrically connected to the analog-to-digital converter, and is used to receive the audio in the form of an analog signal, and send the audio in the form of an analog signal to the analog-to-digital converter; The analog-to-digital converter is used to be electrically connected to the second end of the switch module, receive the audio in the form of an analog signal, convert the audio in the form of an analog signal into audio in the form of a digital signal, and send the audio in the form of a digital signal to the second end of the switch module.
9. An audio system, characterized in that: The audio system comprises the audio playback device according to any one of claims 6 to 8 and the audio receiving device according to any one of claims 1 to 5; The wireless transmission encoding module of the audio playback device is used to wirelessly connect to the wireless reception decoding module of the audio receiving device to send the encoded audio to the wireless reception decoding module; The wireless receiving and decoding module is used to receive the encoded audio and decode the encoded audio to obtain the first audio; The audio external speaker module of the audio playback device is used to receive and play the delayed audio; The audio acquisition module of the audio receiving device is used to pick up environmental sound to generate second audio, the environmental sound includes the delayed audio, the second audio includes environmental audio and third audio, and the third audio and the first audio are the same audio segment.
