Color ringback tone noise reduction method, device, equipment and storage medium
By detecting the difference characteristics between the ambient audio signal and the ringback tone audio signal, generating reverse noise reduction processed audio and generating a noise reduction signal, the problem of users not being able to hear the ringback tone sound in a noisy environment is solved, and an effective ringback tone noise reduction effect is achieved.
Patent Information
- Application Number
- CN202210289525.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-23
- Publication Date
- 2025-09-19
- Estimated Expiration
- 2042-03-23
AI Technical Summary
Existing ringback tone playing technology fails to effectively solve the problem that users cannot hear the ringback tone sound of their mobile phones in noisy environments, and the ambient noise interferes with the playing of the ringback tone.
By detecting the ambient audio signal in the current environment, determining the difference characteristics between the ambient audio signal and the ringback tone audio signal, generating reverse noise reduction processed audio, and generating a noise reduction signal based on the audio to offset the ambient noise during the ringback tone playback process.
It effectively reduces the interference of environmental noise on ringback tone playback, ensuring that users can clearly hear the ringback tone even in noisy environments, and improving the user experience.
Smart Images

Figure CN114629995B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of color ring back tone playback, and in particular to a color ring back tone noise reduction method, device, equipment and storage medium. Background Art
[0002] In existing ringback tone (CRBT) playback, only the audio of the video itself is processed, that is, the audio encoding is optimized during the CRBT encoding and decoding process. When users are in a noisy environment, such as a crowded stadium, they often cannot hear the CRBT due to the high noise level.
[0003] The above content is only used to assist in understanding the technical solution of the present invention and does not constitute an admission that the above content is prior art. Summary of the Invention
[0004] The main purpose of the present invention is to provide a method, device, equipment and storage medium for reducing the noise of a ring back tone, aiming to solve the technical problem of how to reduce the interference of environmental noise on the ring back tone.
[0005] To achieve the above object, the present invention provides a method for reducing noise of a color ring tone, the method comprising:
[0006] Detecting ambient audio signals in the current environment;
[0007] Determining a difference feature based on an ambient audio feature corresponding to the ambient audio signal and a color ring back tone audio feature corresponding to the color ring back tone audio signal;
[0008] generating reverse noise reduction processed audio according to the difference features;
[0009] generating a noise reduction signal according to the reverse noise reduction processed audio;
[0010] Performing color ringback tone noise reduction processing according to the noise reduction signal.
[0011] Optionally, the difference feature includes a difference waveform or a difference spectrum; when the difference feature is a difference waveform,
[0012] The determining of the difference feature according to the ambient audio feature corresponding to the ambient audio signal and the color ring back tone audio feature corresponding to the color ring back tone audio signal includes:
[0013] Determining an ambient audio waveform according to the ambient audio features corresponding to the ambient audio signal, and determining a color ring audio waveform according to the color ring audio features corresponding to the color ring audio signal;
[0014] Determining the position of the audio generator corresponding to the ambient audio signal and the position of the user terminal;
[0015] Performing translation processing on the ambient audio waveform according to the position of the audio generator to obtain a processed ambient audio waveform;
[0016] Performing translation processing on the color ring audio waveform according to the position of the user terminal to obtain a processed color ring audio waveform;
[0017] A difference waveform is determined according to the processed ambient audio waveform and the processed ringback tone audio waveform.
[0018] Optionally, determining the ambient audio waveform according to the ambient audio feature corresponding to the ambient audio signal, and determining the CRBT audio waveform according to the CRBT audio feature corresponding to the CRBT audio signal, includes:
[0019] Extracting features from the ambient audio signal to obtain ambient audio features;
[0020] determining an ambient audio amplitude and an ambient audio phase according to the ambient audio characteristics;
[0021] determining an ambient audio waveform according to the ambient audio amplitude and the ambient audio phase;
[0022] Extracting features from the CRBT audio signal to obtain CRBT audio features;
[0023] Determining the color ring tone audio amplitude and the color ring tone audio phase according to the color ring tone audio characteristics;
[0024] The color ring audio waveform is determined according to the color ring audio amplitude and the color ring audio phase.
[0025] Optionally, generating a noise reduction signal according to the reverse noise reduction processed audio includes:
[0026] Obtaining a relative distance between a user terminal and a position of an audio generator corresponding to the ambient audio signal;
[0027] Determining a playback position of a first frame of the reverse noise reduction processed audio according to the relative distance;
[0028] A noise reduction signal is generated according to the inverse noise processed audio and the first frame playback position.
[0029] Optionally, determining the playback position of the first frame of the reverse noise reduction processed audio according to the relative distance includes:
[0030] Obtaining a first distance between the user terminal and the user's ear;
[0031] determining a second distance between the audio generator and the user's ear based on the relative distance and the first distance;
[0032] The playback position of the first frame of the reverse noise reduction processed audio is determined according to the first distance and the second distance.
[0033] Optionally, determining the playback position of the first frame of the reverse noise reduction processed audio according to the first distance and the second distance includes:
[0034] determining a first time when the color ring audio signal reaches the user's ear according to the first distance;
[0035] determining a second time for the ambient audio signal to reach the user's ear based on the second distance;
[0036] The playback position of the first frame of the reverse noise reduction processed audio is determined according to the first time and the second time.
[0037] Optionally, detecting an ambient audio signal in the current environment includes:
[0038] Send detection audio to the current environment;
[0039] forming a three-dimensional spherical space according to the detected audio and a preset radius;
[0040] The ambient audio signal in the three-dimensional spherical space is detected to obtain the ambient audio signal in the current environment.
[0041] In addition, to achieve the above-mentioned object, the present invention further provides a color ring back tone noise reduction device, the color ring back tone noise reduction device comprising:
[0042] A signal detection module is used to detect the ambient audio signal in the current environment;
[0043] A feature analysis module, configured to determine a difference feature based on an ambient audio feature corresponding to the ambient audio signal and a color ring back tone audio feature corresponding to the color ring back tone audio signal;
[0044] An audio processing module, configured to generate reverse noise reduction processed audio according to the difference characteristics;
[0045] A signal generating module, configured to generate a noise reduction signal based on the reverse noise reduction processed audio;
[0046] The noise reduction processing module is used to perform color ring tone noise reduction processing according to the noise reduction signal.
[0047] In addition, to achieve the above-mentioned purpose, the present invention also proposes a color ring noise reduction device, which includes: a memory, a processor, and a color ring noise reduction program stored in the memory and executable on the processor. When the color ring noise reduction program is executed by the processor, the color ring noise reduction method described above is implemented.
[0048] In addition, to achieve the above object, the present invention further provides a storage medium, on which a color ring noise reduction program is stored. When the color ring noise reduction program is executed by a processor, the color ring noise reduction method described above is implemented.
[0049] The CRBT noise reduction method proposed in the present invention detects an ambient audio signal in the current environment; determines a difference between the ambient audio features corresponding to the ambient audio signal and the CRBT audio features corresponding to the CRBT audio signal; generates reverse noise reduction processing audio based on the difference; generates a noise reduction signal based on the reverse noise reduction processing audio; and performs CRBT noise reduction processing based on the noise reduction signal. Thus, reverse noise reduction processing audio can be generated based on the difference between the ambient audio features and the CRBT audio features, thereby obtaining a noise reduction signal. By appropriately emitting the noise reduction signal during CRBT playback, the ambient audio signal is offset, achieving a CRBT noise reduction effect and reducing the interference caused by ambient noise on the CRBT. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] Figure 1 Schematic diagram of the structure of a ringback tone noise reduction device in the hardware operating environment involved in an embodiment of the present invention;
[0051] Figure 2 This is a flow chart of a first embodiment of a method for reducing CRBT noise according to the present invention;
[0052] Figure 3 This is a flow chart of a second embodiment of the color ring tone noise reduction method of the present invention;
[0053] Figure 4 A schematic diagram of the positional relationship between a mobile phone and an audio generator in an embodiment of a color ring tone noise reduction method of the present invention;
[0054] Figure 5 This is a schematic diagram of the time axis of a mobile phone according to an embodiment of the color ring tone noise reduction method of the present invention;
[0055] Figure 6 This is a flow chart of a third embodiment of the color ring noise reduction method of the present invention;
[0056] Figure 7 This is a schematic diagram of the functional modules of the first embodiment of the color ring tone noise reduction device of the present invention.
[0057] The purpose, features and advantages of the present invention will be further described with reference to the accompanying drawings and in conjunction with the embodiments. DETAILED DESCRIPTION
[0058] It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0059] Reference Figure 1 , Figure 1The figure is a schematic diagram of the structure of a ring back tone noise reduction device in the hardware operating environment involved in an embodiment of the present invention.
[0060] like Figure 1 As shown, the ringback tone noise reduction device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a button, and the user interface 1003 may optionally include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a Wi-Fi interface). The memory 1005 may be a high-speed random access memory (RAM) or a stable memory (non-volatile memory), such as a disk storage. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0061] Those skilled in the art will understand that Figure 1 The device structure shown in the figure does not constitute a limitation on the color ring back tone noise reduction device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0062] like Figure 1 As shown, the memory 1005 as a storage medium may include an operating system, a network communication module, a user interface module, and a ring back tone noise reduction program.
[0063] exist Figure 1 In the illustrated CRBT noise reduction device, the network interface 1004 is primarily used to connect to an external network and perform data communications with other network devices; the user interface 1003 is primarily used to connect to a user device and perform data communications with the user device; the device of the present invention invokes the CRBT noise reduction program stored in the memory 1005 via the processor 1001 and executes the CRBT noise reduction method provided in an embodiment of the present invention.
[0064] Based on the above hardware structure, an embodiment of a color ring tone noise reduction method of the present invention is proposed.
[0065] Reference Figure 2 , Figure 2 FIG. 1 is a flow chart of a first embodiment of a method for reducing color ring tone noise according to the present invention.
[0066] In a first embodiment, the color ringback tone noise reduction method includes:
[0067] Step S10: detecting an ambient audio signal in the current environment.
[0068] It should be noted that the executor of this embodiment may be a ring back tone noise reduction device, which may be a computer device or a user terminal with data processing capabilities, or other devices that can achieve the same or similar functions. This embodiment does not limit this. In this embodiment, the ring back tone noise reduction device is taken as a user terminal for example.
[0069] It should be noted that the user terminal in this embodiment may include but is not limited to mobile phones, smart watches, tablet computers and other devices. This embodiment does not limit this. In this embodiment, the user terminal is described as a mobile phone as an example.
[0070] It should be noted that the CRBT in this embodiment may include but is not limited to video CRBT, common CRBT and mobile phone customized CRBT, which is not limited in this embodiment. In this embodiment, the CRBT as a video CRBT is used as an example for description.
[0071] It should be understood that this solution simultaneously analyzes and processes the waveforms of both the video ringback tone (RRT) and ambient audio during RRT playback. It then retains the waveforms of the ambient audio and the video ringback tone, while performing reverse processing on the waveforms of the audio that differ. This effectively cancels out any noise that may affect the audio of the video ringback tone. This method not only optimally preserves the audio information of the video ringback tone, but also effectively suppresses ambient noise.
[0072] It should be noted that in the existing video ringback tone audio processing technology, the noise problem caused by video encoding and decoding is solved only from the perspective of the video ringback tone itself, which belongs to speech encoding and decoding denoising. However, the existing technology only optimizes the audio itself and ignores the conflict caused by external noise on the audio playback during the audio playback process.
[0073] In this embodiment, the impact of environmental noise during video ringback tone playback can be analyzed. By performing waveform comparison analysis on the environmental noise and the video ringback tone playback audio, the part where the waveform of the environmental noise and the video ringback tone playback audio is inconsistent is determined using the time coordinate, and reverse cancellation processing is performed on this part. In this way, the impact of environmental noise on video ringback tone playback is eliminated to the greatest extent possible while retaining the clarity of the video ringback tone playback audio, thereby improving the user's playback experience.
[0074] It is understandable that there is a lot of noise, especially at the event site. If the method of detecting the surrounding ambient sound, extracting the ambient sound in advance and performing reverse silencing processing to reduce the interference of the noise is adopted, it is possible that the noise audio in the stadium is similar to the video ringtone audio. In this case, when the audio silencing solution described above is used during the video ringtone playback process for simple reverse processing, the process of eliminating the noise is likely to cause the audio of the video ringtone to be eliminated as well, resulting in failure to eliminate the sound, and instead easily causing the audio playback system to be disordered. This solution mainly performs feature analysis from the audio source, processes the ambient audio and then reuses it. When the target playback audio is known, the target audio is enhanced using noise, thereby achieving the effect of noise reduction.
[0075] It should be noted that the CRBT audio signal in this embodiment may be an audio signal of a CRBT to be played on a mobile phone, and the ambient audio signal may be an audio signal of ambient noise in the environment surrounding the mobile phone.
[0076] It should be noted that the processing flow in this solution mainly includes two parts: data collection and data processing. Among them, the data collection step can be processed on the mobile phone side, and the data processing part can be processed on the mobile phone side or on the ringback tone platform server side. It can also be processed partially on the mobile phone side and partially on the ringback tone platform server side. This embodiment does not limit this.
[0077] It can be understood that this solution mainly solves the problem that when the ambient audio and the ringback tone audio interfere with each other during the ringback tone playback, the noise reduction effect during the ringback tone playback is achieved by processing the ambient audio.
[0078] It should be understood that when a calling user makes a call, the CRBT platform detects the calling user's call request and can determine the called user and the CRBT audio signal to be played based on the call request. During the process of sending the CRBT audio signal for playback, feature extraction can be performed on the CRBT audio signal to be played. For example, audio features such as the amplitude and phase value of the CRBT audio signal can be extracted, which is not limited in this embodiment. After feature extraction is completed, the extracted CRBT audio features can be retained.
[0079] It is understood that the CRBT platform server can send an ambient audio detection request to the called user's mobile phone. Upon receiving the ambient audio detection request, the mobile phone can detect the surrounding noise according to the ambient audio detection request to obtain the ambient audio signal in the current environment. The ambient audio signal detected by the mobile phone may change in real time. For example, when a user is in a stadium watching a game, the audience may suddenly cheer at a critical moment. Therefore, to ensure the accuracy of the ambient audio signal detection, the mobile phone can detect the ambient audio signal in the current environment in real time.
[0080] Of course, the mobile phone can also collect ambient sound periodically or after the ambient sound reaches a preset condition, and actively report the ambient sound to the ringback tone platform. Alternatively, the mobile phone can upload the ambient sound to a preset server, and the ringback tone platform can obtain it from the server. In the embodiments of the present application, this is not limited to this.
[0081] Step S20 , determining a difference feature based on the ambient audio feature corresponding to the ambient audio signal and the CRBT audio feature corresponding to the CRBT audio signal.
[0082] It should be noted that the operation of this step can be processed on the mobile phone side or on the CRBT platform server side, and this embodiment does not limit this. In one embodiment, after detecting the ambient audio signal in the current environment, the mobile phone side can upload the ambient audio signal to the CRBT platform server side, and the CRBT platform server side determines the difference characteristics based on the ambient audio characteristics corresponding to the ambient audio signal and the CRBT audio characteristics corresponding to the CRBT audio signal. In another embodiment, the CRBT platform server side will also send the extracted CRBT audio characteristics of the CRBT audio signal to the mobile phone side, and the mobile phone side will determine the difference characteristics based on the ambient audio characteristics corresponding to the ambient audio signal and the CRBT audio characteristics corresponding to the CRBT audio signal. In a specific implementation, one of the above two implementation modes can be flexibly selected to determine the difference characteristics according to the usage scenario, and this embodiment does not limit this.
[0083] Step S30: generating reverse noise reduction processed audio according to the difference features.
[0084] It should be noted that the operation of this step can be processed on the mobile phone side or on the ringback tone platform server side, and this embodiment does not limit this. In one embodiment, the ringback tone platform server side can generate reverse noise reduction processing audio based on the difference characteristics after determining the difference characteristics, and send the reverse noise reduction processing audio to the mobile phone side. In another embodiment, the mobile phone side can generate reverse noise reduction processing audio based on the difference characteristics after determining the difference characteristics. In the specific implementation, one of the above two implementation modes can be flexibly selected to generate reverse noise reduction processing audio according to the usage scenario, and this embodiment does not limit this.
[0085] Step S40: generating a noise reduction signal according to the reverse noise reduction processed audio.
[0086] It should be understood that after receiving the reverse noise reduction processed audio, the mobile phone can determine the playback position of the first frame of the reverse noise reduction processed audio, thereby generating a noise reduction signal that can partially offset the ambient audio signal that is about to reach the user's ear. This achieves the adaptive cancellation of the ambient audio signal before it reaches the user's ear, thereby achieving a noise reduction effect and simultaneously enhancing the video ringback tone. The user ear refers to the ear of the called user, and the noise reduction signal can specifically be an interference signal used to interfere with the ambient audio signal, which is not limited in this embodiment.
[0087] Step S50: performing color ring tone noise reduction processing according to the noise reduction signal.
[0088] It should be understood that after generating the noise reduction signal in the above manner, the mobile phone can send out the noise reduction signal in a timely manner during the process of playing the ringback tone according to the ringback tone audio signal, and use the noise reduction signal to offset the ambient audio signal, thereby achieving ringback tone noise reduction processing.
[0089] It is understandable that in the process of real-time signal detection and cancellation during video ringback tone playback, the ambient audio signal can be first detected, extracted, and analyzed, accurately measuring the audio waveforms of the ambient audio signal and the ringback tone playback audio signal at the same time they reach the human ear. The parts of the ambient audio signal that are identical to the ringback tone playback audio signal waveform are retained, while the parts of the ambient audio signal that are different are pre-emptively canceled using the reverse waveform. This achieves active monitoring and processing of ambient sound. Compared to previous noise cancellation and denoising solutions, this solution can accurately calculate the time when audio arrives at the human ear, perform waveform analysis on audio arriving at the same time, retain identical waveforms, and reversely cancel different waveforms, providing more accurate audio processing and more flexible processing.
[0090] In this embodiment, an ambient audio signal in the current environment is detected; a difference characteristic is determined based on the ambient audio characteristics corresponding to the ambient audio signal and the CRBT audio characteristics corresponding to the CRBT audio signal; an inverse noise reduction audio signal is generated based on the difference characteristic; a noise reduction signal is generated based on the inverse noise reduction audio signal; and CRBT noise reduction processing is performed based on the noise reduction signal. Thus, the inverse noise reduction audio signal can be generated based on the difference characteristic determined between the ambient audio characteristics and the CRBT audio characteristics, thereby obtaining a noise reduction signal. By timely emitting the noise reduction signal during CRBT playback, the ambient audio signal is offset, achieving the CRBT noise reduction effect and reducing the interference caused by ambient noise on the CRBT.
[0091] In one embodiment, if Figure 3As shown, a second embodiment of the color ring back tone noise reduction method of the present invention is proposed based on the first embodiment, wherein the difference feature includes a difference waveform or a difference spectrum; when the difference feature is a difference waveform, step S20 includes:
[0092] Step S201 : determining an ambient audio waveform according to the ambient audio features corresponding to the ambient audio signal, and determining a CRBT audio waveform according to the CRBT audio features corresponding to the CRBT audio signal.
[0093] It should be noted that the difference features in this embodiment may include but are not limited to difference waveforms or difference spectra. In addition, they may also include other types of audio features, which are not limited in this embodiment. In this embodiment, the difference features are described as difference waveforms as an example.
[0094] It should be noted that the ambient audio features corresponding to the ambient audio signal can be compared with the ringback tone audio features corresponding to the ringback tone audio signal to perform difference detection, and the features in the ambient audio signal that are different from those in the ringback tone audio signal can be used as difference features.
[0095] In this embodiment, the above-mentioned difference detection can specifically be waveform difference detection. Therefore, in this scenario, the ambient audio waveform can be determined based on the ambient audio features corresponding to the ambient audio signal, and the ringback tone audio waveform can also be determined based on the ringback tone audio features corresponding to the ringback tone audio signal.
[0096] It should be understood that the ambient audio signal can be feature extracted to obtain ambient audio features, and the ambient audio amplitude and ambient audio phase can be determined based on the ambient audio features, and then the ambient audio waveform can be determined based on the ambient audio amplitude and ambient audio phase.
[0097] It should be understood that the CRBT audio signal can be feature extracted to obtain CRBT audio features, and the CRBT audio amplitude and CRBT audio phase can be determined based on the CRBT audio features, and then the CRBT audio waveform can be determined based on the CRBT audio amplitude and CRBT audio phase.
[0098] It should be noted that in addition to the above-mentioned method for determining the ambient audio waveform and the ringback tone audio waveform, the ambient audio waveform and the ringback tone audio waveform can also be determined by other methods based on the ambient audio characteristics and the ringback tone audio characteristics, and this embodiment does not limit this.
[0099] Step S202: Determine the position of the audio generator corresponding to the ambient audio signal and the position of the user terminal.
[0100] It should be understood that after determining the ambient audio waveform and the CRBT audio waveform, the ambient audio waveform and the CRBT audio waveform can be compared, and based on the comparison result, the waveform portion of the ambient audio waveform that differs from the CRBT audio waveform can be determined, and a difference waveform can be determined based on the different waveform portions. In other words, the difference waveform is the waveform of the ambient audio waveform that differs from the CRBT audio waveform.
[0101] It should be noted that since audio signals are directional during transmission and the speed of the signal is known, the position of the audio generator corresponding to the ambient audio signal can also be determined based on the detected ambient audio signal, and at the same time, the position of the user terminal can also be determined.
[0102] In a specific implementation, the position of the audio generator and the position of the user terminal can be represented by a coordinate system. For example, a coordinate system can be established with the user position as the coordinate origin, and the position of the audio generator and the position of the user terminal can be determined based on the coordinate system.
[0103] Step S203 , performing translation processing on the ambient audio waveform according to the position of the audio generator to obtain a processed ambient audio waveform.
[0104] It should be understood that after determining the position of the audio generator, the ambient audio waveform can be shifted according to the position of the audio generator to obtain a processed ambient audio waveform. The shifting process in this embodiment may include, but is not limited to, shifting in the time dimension, and this embodiment is not limited to this.
[0105] Step S204: performing translation processing on the CRBT audio waveform according to the position of the user terminal to obtain a processed CRBT audio waveform.
[0106] It should be understood that after the location of the user terminal is determined, the color ring audio waveform may be shifted according to the location of the user terminal to obtain a processed color ring audio waveform.
[0107] It is understood that after shifting the ambient audio waveform and the ring back tone audio waveform in the above manner, the ambient audio waveform and the ring back tone audio waveform can be aligned so that they are at the same time point. The ambient audio waveform and the ring back tone audio waveform at the same time point can then be compared to more accurately determine the difference waveform.
[0108] Step S205 : determining a difference waveform according to the processed ambient audio waveform and the processed CRBT audio waveform.
[0109] It should be understood that after obtaining the processed ambient audio waveform and the processed ringback tone audio waveform, the processed ambient audio waveform and the processed ringback tone audio waveform can be compared to determine the different waveform parts in the processed ambient audio waveform and the processed ringback tone audio waveform, and the difference waveform can be determined based on the above-mentioned different waveform parts.
[0110] It should be noted that in some usage scenarios, since the audio generator is located far away from the user and the user terminal is located close to the user, in order to improve calculation efficiency, the distance between the user terminal and the user can be ignored, that is, the position of the user terminal can be approximated as the origin of the coordinate system. This embodiment does not limit this.
[0111] In a specific implementation, for the above-mentioned special usage scenarios, since the position of the audio generator is generally far away from the user's ear, and the mobile phone is generally carried by the user, the distance between the mobile phone and the user's ear can be ignored compared to the distance between the audio generator and the user's ear. Therefore, in this case, it is only necessary to calculate the time it takes for the ambient audio signal to reach the user's ear and perform translation processing on the ambient audio signal. Therefore, based on the above concept, the relative distance between the mobile phone and the audio generator can be determined according to the position of the audio generator, and then the second distance between the audio generator and the user's ear can be determined according to the relative distance between the mobile phone and the audio generator. For example, in order to improve processing efficiency, the distance between the mobile phone and the user's ear can be ignored, so that the above-mentioned second distance is consistent with the above-mentioned relative distance.
[0112] It should be understood that the candidate time point t1 at which the audio signal in the ambient audio generator reaches the mobile phone can be calculated by the formula t1=S / a, where S can be the above-mentioned relative distance, and a can be a constant and can be set according to actual conditions. For example, a can be set to 340 m / s, which is not limited in this embodiment.
[0113] It should be noted that since the distance between the mobile phone and the user's ear is negligible compared to the distance between the audio generator and the user's ear, the time when the audio signal in the audio generator reaches the mobile phone is basically the same as the time when it reaches the user's ear. Therefore, the time when the audio signal in the audio generator reaches the user's ear can be made consistent with the time when it reaches the mobile phone.
[0114] It should be understood that the current ambient audio waveform at the current time point can be determined based on the ambient audio waveform, and the candidate ringback tone audio waveform at the candidate time point can be determined based on the ringback tone audio waveform. The current ambient audio waveform is compared with the candidate ringback tone audio waveform to determine the waveform portion of the current ambient audio waveform that is different from the candidate ringback tone audio waveform, and the difference waveform is determined based on the different waveform portion.
[0115] It is understandable that, since waveform is a highly representative feature among audio features, after determining the difference waveform, the difference waveform can be used as the difference feature between the ambient audio signal and the ringback tone audio signal.
[0116] In the specific implementation, Figure 4 As shown, Figure 4 This is a schematic diagram of the positional relationship between the mobile phone and the audio generator. In a specific usage scenario, there may be multiple audio generators in the current environment, for example, Figure 4 2 shows two audio generators, namely audio generator No. 1 and audio generator No. 2, S1 is the relative distance between audio generator No. 1 and the mobile phone, and S2 is the relative distance between audio generator No. 2 and the mobile phone.
[0117] It is understandable that Figure 5 As shown, Figure 5 This is a schematic diagram of the timeline of a mobile phone, where 0 represents the current time, t1 represents the first candidate time point, and t2 represents the second candidate time point. The first candidate time point t1 at which the ambient audio signal from audio generator 1 reaches the user's ear can be calculated using the formula t1 = S1 / a. The second candidate time point t2 at which the ambient audio signal from audio generator 2 reaches the user's ear can be calculated using the formula t2 = S2 / a.
[0118] Assume that the waveform of audio generator No. 1 at the current time point is 100100011, and the waveform of audio generator No. 2 at the current time point is 1000001101. Then, reverse processing can be performed based on the waveform of audio generator No. 1 at the current time point to obtain a first reverse noise reduction processed audio 011011100, and reverse processing can be performed based on the waveform of audio generator No. 2 at the current time point to obtain a second reverse noise reduction processed audio 0111110010. Then, a first noise reduction signal and a second noise reduction signal are generated based on the first reverse noise reduction processed audio and the second reverse noise reduction processed audio, respectively. The first noise reduction signal is emitted at the first candidate time point, and the second noise reduction signal is emitted at the second candidate time point, thereby offsetting the noise audio in the current environment through the noise reduction signals.
[0119] In this embodiment, an ambient audio waveform is determined based on the ambient audio features corresponding to the ambient audio signal, and a CRBT audio waveform is determined based on the CRBT audio features corresponding to the CRBT audio signal; the position of the audio generator corresponding to the ambient audio signal and the position of the user terminal are determined; the ambient audio waveform is shifted based on the position of the audio generator to obtain a processed ambient audio waveform; the CRBT audio waveform is shifted based on the position of the user terminal to obtain a processed CRBT audio waveform; and a difference waveform is determined based on the processed ambient audio waveform and the processed CRBT audio waveform. Thus, the difference waveform can be determined as a difference feature by waveform comparison, making the reverse noise reduction audio generated based on the difference feature more accurate, further improving the noise reduction effect.
[0120] In one embodiment, if Figure 6 As shown, a third embodiment of the color ring noise reduction method of the present invention is proposed based on the first embodiment or the second embodiment. In this embodiment, the first embodiment is used for description. Step S40 includes:
[0121] Step S401: Acquire a relative distance between a user terminal and a position of an audio generator corresponding to the ambient audio signal.
[0122] It should be understood that the relative distance between the user terminal and the audio generator may be calculated based on the position of the user terminal and the position of the audio generator corresponding to the ambient audio signal.
[0123] In a specific implementation, the position of the user terminal can be converted into the user terminal coordinates in the coordinate system, the position of the audio generator can be converted into the audio generator coordinates in the coordinate system, and then the relative distance between the user terminal and the audio generator can be calculated based on the user terminal coordinates and the audio generator coordinates. This embodiment does not limit this.
[0124] Step S402: determining a playback position of a first frame of the reverse noise reduction processed audio according to the relative distance.
[0125] It should be understood that the first distance between the user terminal and the user's ear can be obtained, the second distance between the audio generator and the user's ear can be determined based on the relative distance and the first distance, and the first frame playback position of the reverse noise reduction processed audio can be determined based on the first distance and the second distance.
[0126] It should be understood that the default distance between the mobile phone and the user's ear can be 40 cm, so the first distance between the mobile phone and the user's ear can be obtained as 40 cm. The above default distance can also be set to other parameters, which is not limited in this embodiment.
[0127] It should be noted that after determining the first distance between the mobile phone and the user's ear, and the relative distance between the positions of the audio generator corresponding to the ambient audio signal, the second distance between the audio generator and the user's ear can be determined based on the relative distance and the first distance.
[0128] It is understandable that since the signal transmission speed is fixed, after determining the distance, the time can also be determined based on the distance. Therefore, the time for the ringback tone audio signal and the ambient audio signal to reach the user's ear can be determined based on the first distance and the second distance respectively.
[0129] It should be understood that the first time when the ringback tone audio signal reaches the user's ear can be determined based on the first distance, and the second time when the ambient audio signal reaches the user's ear can be determined based on the second distance, and then the first frame playback position of the reverse noise reduction processed audio can be determined based on the first time and the second time.
[0130] Step S403: generating a noise reduction signal according to the reverse noise processed audio and the first frame playback position.
[0131] It should be understood that after determining the first frame playback position of the reverse noise processed audio in the above manner, the reverse noise processed audio and the first frame playback position can be combined to generate a noise reduction signal. During the process of playing the ringtone, the noise reduction signal is issued in a timely manner to offset the ambient audio signal in the current environment and achieve the noise reduction effect.
[0132] Furthermore, in order to more accurately detect the ambient audio signal in the current environment, the detecting of the ambient audio signal in the current environment includes:
[0133] Sending detection audio to the current environment; forming a three-dimensional spherical space according to the detection audio and a preset radius; detecting the ambient audio signal in the three-dimensional spherical space to obtain the ambient audio signal in the current environment.
[0134] It should be noted that the phone can send a detection audio to the current environment and detect the relative position of the user's ear and the phone. The detection audio and the preset radius are combined to form a three-dimensional spherical space with the phone as the center and a radius of 5 meters. The preset radius can be set to 5 meters, or other values according to actual conditions, and this embodiment does not limit this.
[0135] It should be understood that the ambient audio signal within the three-dimensional spherical space can be detected. While detecting the ambient audio signal, the location of the audio generator corresponding to the ambient audio signal can also be detected. The location of the audio generator emitting the ambient audio signal can be fed back to the ringback tone platform in real time. The sampling rate of the ambient audio signal by the mobile terminal can be 20 kHz, and the length of each signal segment can be 0.2 seconds, which is not limited in this embodiment.
[0136] It can be understood that after the ringback tone platform receives the ambient audio signal, it compares the t1 time difference between the ringback tone audio signal to be played and the sampled 0.2-second ambient audio signal to see if there is any difference in the waveform, reverses and processes the waveform of the different part in reverse order to generate the reverse noise reduction processed audio.
[0137] In a specific implementation, a user is shopping at a mall when their phone suddenly rings and a video ringtone plays on their mobile phone. Several stores are playing promotional messages on their loudspeakers around the user. The detailed geographic location information is as follows: User A, viewing the ringtone, has three-dimensional coordinates (0, 0, 0), Loudspeaker 1 has coordinates (3, 8, 5), Loudspeaker 2 has coordinates (2, 4, 1), and Loudspeaker 3 has coordinates (3, 2, 5). Based on the principles of this solution, the mobile phone activates ambient audio detection and maps the locations of the audio generators in the current environment using a three-dimensional spatial coordinate model. This model is then uploaded to the ringtone platform. The mobile phone captures the audio waveforms and other audio features emitted by the ambient audio generators in real time and uploads this information to the ringtone platform. The platform simulates the noise environment based on this real-time ambient noise information. Based on the relevant coordinate information, the timeline, and the operating patterns of the ambient noise, it generates a reverse waveform and transmits it back to the mobile phone. Upon receiving the reverse waveform, the mobile phone promptly transmits the corresponding audio, thereby canceling out the ambient noise.
[0138] In this embodiment, a first distance from the user's ear is obtained; a second distance between the audio generator and the user's ear is determined based on the relative distance between the positions of the audio generator corresponding to the ambient audio signal and the first distance; the first playback position of the reverse noise reduction processed audio is determined based on the first and second distances; and a noise reduction signal is generated based on the reverse noise reduction processed audio and the first playback position. Thus, by combining the first distance between the mobile phone and the user's ear and the second distance between the audio generator and the user's ear to determine the first playback position of the reverse noise reduction processed audio, a noise reduction signal can be accurately generated, further improving the noise reduction effect of the ringback tone.
[0139] In addition, an embodiment of the present invention further provides a storage medium, on which a color ring noise reduction program is stored. When the color ring noise reduction program is executed by a processor, the steps of the color ring noise reduction method described above are implemented.
[0140] Since the storage medium adopts all the technical solutions of all the above embodiments, it has at least all the beneficial effects brought by the technical solutions of the above embodiments, which will not be described one by one here.
[0141] In addition, refer to Figure 7The embodiment of the present invention further provides a color ring back tone noise reduction device, the color ring back tone noise reduction device comprising:
[0142] The signal detection module 10 is used to detect the ambient audio signal in the current environment.
[0143] It should be noted that the user terminal in this embodiment may include but is not limited to mobile phones, smart watches, tablet computers and other devices. This embodiment does not limit this. In this embodiment, the user terminal is described as a mobile phone as an example.
[0144] It should be noted that the CRBT in this embodiment may include but is not limited to video CRBT, common CRBT and mobile phone customized CRBT, which is not limited in this embodiment. In this embodiment, the CRBT as a video CRBT is used as an example for description.
[0145] It should be understood that this solution simultaneously analyzes and processes the waveforms of both the video ringback tone (RRT) and ambient audio during RRT playback. It then retains the waveforms of the ambient audio and the video ringback tone, while performing reverse processing on the waveforms of the audio that differ. This effectively cancels out any noise that may affect the audio of the video ringback tone. This method not only optimally preserves the audio information of the video ringback tone, but also effectively suppresses ambient noise.
[0146] It should be noted that in the existing video ringback tone audio processing technology, the noise problem caused by video encoding and decoding is solved only from the perspective of the video ringback tone itself, which belongs to speech encoding and decoding denoising. However, the existing technology only optimizes the audio itself and ignores the conflict caused by external noise on the audio playback during the audio playback process.
[0147] In this embodiment, the impact of environmental noise during video ringback tone playback can be analyzed. By performing waveform comparison analysis on the environmental noise and the video ringback tone playback audio, the part where the waveform of the environmental noise and the video ringback tone playback audio is inconsistent is determined using the time coordinate, and reverse cancellation processing is performed on this part. In this way, the impact of environmental noise on video ringback tone playback is eliminated to the greatest extent possible while retaining the clarity of the video ringback tone playback audio, thereby improving the user's playback experience.
[0148] It is understandable that there is a lot of noise, especially at the event site. If the method of detecting the surrounding ambient sound, extracting the ambient sound in advance and performing reverse silencing processing to reduce the interference of the noise is adopted, it is possible that the noise audio in the stadium is similar to the video ringtone audio. In this case, when the audio silencing solution described above is used during the video ringtone playback process for simple reverse processing, the process of eliminating the noise is likely to cause the audio of the video ringtone to be eliminated as well, resulting in failure to eliminate the sound, and instead easily causing the audio playback system to be disordered. This solution mainly performs feature analysis from the audio source, processes the ambient audio and then reuses it. When the target playback audio is known, the target audio is enhanced using noise, thereby achieving the effect of noise reduction.
[0149] It should be noted that the CRBT audio signal in this embodiment may be an audio signal of a CRBT to be played on a mobile phone, and the ambient audio signal may be an audio signal of ambient noise in the environment surrounding the mobile phone.
[0150] It should be noted that the processing flow in this solution mainly includes two parts: data collection and data processing. Among them, the data collection step can be processed on the mobile phone side, and the data processing part can be processed on the mobile phone side or on the ringback tone platform server side. It can also be processed partially on the mobile phone side and partially on the ringback tone platform server side. This embodiment does not limit this.
[0151] It can be understood that this solution mainly solves the problem that when the ambient audio and the ringback tone audio interfere with each other during the ringback tone playback, the noise reduction effect during the ringback tone playback is achieved by processing the ambient audio.
[0152] It should be understood that when a calling user makes a call, the CRBT platform detects the calling user's call request and can determine the called user and the CRBT audio signal to be played based on the call request. During the process of sending the CRBT audio signal for playback, feature extraction can be performed on the CRBT audio signal to be played. For example, audio features such as the amplitude and phase value of the CRBT audio signal can be extracted, which is not limited in this embodiment. After feature extraction is completed, the extracted CRBT audio features can be retained.
[0153] It is understood that the CRBT platform server can send an ambient audio detection request to the called user's mobile phone. Upon receiving the ambient audio detection request, the mobile phone can detect the surrounding noise according to the ambient audio detection request to obtain the ambient audio signal in the current environment. The ambient audio signal detected by the mobile phone may change in real time. For example, when a user is in a stadium watching a game, the audience may suddenly cheer at a critical moment. Therefore, to ensure the accuracy of the ambient audio signal detection, the mobile phone can detect the ambient audio signal in the current environment in real time.
[0154] The feature analysis module 20 is configured to determine a difference feature based on an ambient audio feature corresponding to the ambient audio signal and a color ring back tone audio feature corresponding to the color ring back tone audio signal.
[0155] It should be noted that the operation of this step can be processed on the mobile phone side or on the CRBT platform server side, and this embodiment does not limit this. In one embodiment, after detecting the ambient audio signal in the current environment, the mobile phone side can upload the ambient audio signal to the CRBT platform server side, and the CRBT platform server side determines the difference characteristics based on the ambient audio characteristics corresponding to the ambient audio signal and the CRBT audio characteristics corresponding to the CRBT audio signal. In another embodiment, the CRBT platform server side will also send the extracted CRBT audio characteristics of the CRBT audio signal to the mobile phone side, and the mobile phone side will determine the difference characteristics based on the ambient audio characteristics corresponding to the ambient audio signal and the CRBT audio characteristics corresponding to the CRBT audio signal. In a specific implementation, one of the above two implementation modes can be flexibly selected to determine the difference characteristics according to the usage scenario, and this embodiment does not limit this.
[0156] The audio processing module 30 is configured to generate reverse noise reduction processed audio according to the difference features.
[0157] It should be noted that the operation of this step can be processed on the mobile phone side or on the ringback tone platform server side, and this embodiment does not limit this. In one embodiment, the ringback tone platform server side can generate reverse noise reduction processing audio based on the difference characteristics after determining the difference characteristics, and send the reverse noise reduction processing audio to the mobile phone side. In another embodiment, the mobile phone side can generate reverse noise reduction processing audio based on the difference characteristics after determining the difference characteristics. In the specific implementation, one of the above two implementation modes can be flexibly selected to generate reverse noise reduction processing audio according to the usage scenario, and this embodiment does not limit this.
[0158] The signal generating module 40 is configured to generate a noise reduction signal according to the inverse noise reduction processed audio.
[0159] It should be understood that after receiving the reverse noise reduction processed audio, the mobile phone can determine the playback position of the first frame of the reverse noise reduction processed audio, thereby generating a noise reduction signal that can partially offset the ambient audio signal that is about to reach the user's ear. This achieves the adaptive cancellation of the ambient audio signal before it reaches the user's ear, thereby achieving a noise reduction effect and simultaneously enhancing the video ringback tone. The user ear refers to the ear of the called user, and the noise reduction signal can specifically be an interference signal used to interfere with the ambient audio signal, which is not limited in this embodiment.
[0160] The noise reduction processing module 50 is configured to perform color ring tone noise reduction processing according to the noise reduction signal.
[0161] It should be understood that after generating the noise reduction signal in the above manner, the mobile phone can send out the noise reduction signal in a timely manner during the process of playing the ringback tone according to the ringback tone audio signal, and use the noise reduction signal to offset the ambient audio signal, thereby achieving ringback tone noise reduction processing.
[0162] It is understandable that in the process of real-time signal detection and cancellation during video ringback tone playback, the ambient audio signal can be first detected, extracted, and analyzed, accurately measuring the audio waveforms of the ambient audio signal and the ringback tone playback audio signal at the same time they reach the human ear. The parts of the ambient audio signal that are identical to the ringback tone playback audio signal waveform are retained, while the parts of the ambient audio signal that are different are pre-emptively canceled using the reverse waveform. This achieves active monitoring and processing of ambient sound. Compared to previous noise cancellation and denoising solutions, this solution can accurately calculate the time when audio arrives at the human ear, perform waveform analysis on audio arriving at the same time, retain identical waveforms, and reversely cancel different waveforms, providing more accurate audio processing and more flexible processing.
[0163] In this embodiment, an ambient audio signal in the current environment is detected; a difference characteristic is determined based on the ambient audio characteristics corresponding to the ambient audio signal and the CRBT audio characteristics corresponding to the CRBT audio signal; an inverse noise reduction audio signal is generated based on the difference characteristic; a noise reduction signal is generated based on the inverse noise reduction audio signal; and CRBT noise reduction processing is performed based on the noise reduction signal. Thus, the inverse noise reduction audio signal can be generated based on the difference characteristic determined between the ambient audio characteristics and the CRBT audio characteristics, thereby obtaining a noise reduction signal. By timely emitting the noise reduction signal during CRBT playback, the ambient audio signal is offset, achieving the CRBT noise reduction effect and reducing the interference caused by ambient noise on the CRBT.
[0164] In one embodiment, the feature analysis module 20 is further used to determine the ambient audio waveform based on the ambient audio features corresponding to the ambient audio signal, and determine the CRBT audio waveform based on the CRBT audio features corresponding to the CRBT audio signal; determine a difference waveform based on the ambient audio waveform and the CRBT audio waveform; and use the difference waveform as the difference feature between the ambient audio signal and the CRBT audio signal.
[0165] In one embodiment, the difference feature includes a difference waveform or a difference spectrum; when the difference feature is a difference waveform, the feature analysis module 20 is further used to determine the ambient audio waveform based on the ambient audio feature corresponding to the ambient audio signal, and determine the color ring back tone audio waveform based on the color ring back tone audio feature corresponding to the color ring back tone audio signal; determine the position of the audio generator corresponding to the ambient audio signal, and the position of the user terminal; perform translation processing on the ambient audio waveform according to the position of the audio generator to obtain a processed ambient audio waveform; perform translation processing on the color ring back tone audio waveform according to the position of the user terminal to obtain a processed color ring back tone audio waveform; determine the difference waveform based on the processed ambient audio waveform and the processed color ring back tone audio waveform.
[0166] In one embodiment, the feature analysis module 20 is further used to extract features from the ambient audio signal to obtain ambient audio features; determine the ambient audio amplitude and the ambient audio phase based on the ambient audio features; determine the ambient audio waveform based on the ambient audio amplitude and the ambient audio phase; extract features from the CRBT audio signal to obtain CRBT audio features; determine the CRBT audio amplitude and the CRBT audio phase based on the CRBT audio features; and determine the CRBT audio waveform based on the CRBT audio amplitude and the CRBT audio phase.
[0167] In one embodiment, the signal generating module 40 is further used to obtain the relative distance between the user terminal and the position of the audio generator corresponding to the ambient audio signal; determine the first frame playback position of the reverse noise reduction processed audio based on the relative distance; and generate a noise reduction signal based on the reverse noise processed audio and the first frame playback position.
[0168] In one embodiment, the signal generating module 40 is further used to obtain a first distance between the user terminal and the user's ear; determine a second distance between the audio generator and the user's ear based on the relative distance and the first distance; and determine the first frame playback position of the reverse noise reduction processed audio based on the first distance and the second distance.
[0169] In one embodiment, the signal generating module 40 is further used to determine the first time when the ringback tone audio signal reaches the user's ear based on the first distance; determine the second time when the ambient audio signal reaches the user's ear based on the second distance; and determine the first frame playback position of the reverse noise reduction processed audio based on the first time and the second time.
[0170] In one embodiment, the signal detection module 10 is further used to send detection audio to the current environment; form a three-dimensional spherical space based on the detection audio and a preset radius; detect the ambient audio signal in the three-dimensional spherical space to obtain the ambient audio signal in the current environment.
[0171] For other embodiments or specific implementation methods of the color ring back tone noise reduction device of the present invention, reference may be made to the above-mentioned method embodiments, which will not be described in detail here.
[0172] It should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or apparatus comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or apparatus comprising the element.
[0173] The serial numbers of the above embodiments of the present invention are for description only and do not represent the advantages or disadvantages of the embodiments.
[0174] Through the above description of the embodiments, those skilled in the art will clearly understand that the above-mentioned embodiments can be implemented by software plus the necessary general hardware platform. Of course, hardware can also be used, but in many cases the former is a more preferred embodiment. Based on this understanding, the technical solution of the present invention, or the part that contributes to the existing technology, can be embodied in the form of a software product. This software product is stored in a computer-readable storage medium (such as ROM / RAM, magnetic disk, or optical disk) as described above, and includes a number of instructions for enabling an intelligent device (such as a mobile phone, computer, ring tone noise reduction device, or network ring tone noise reduction device, etc.) to execute the methods described in various embodiments of the present invention.
[0175] The above are only preferred embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention description and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A method for reducing noise of a ring back tone, characterized in that: The color ringback tone noise reduction method comprises: Detecting ambient audio signals in the current environment; Determining a difference feature based on an ambient audio feature corresponding to the ambient audio signal and a color ring back tone audio feature corresponding to the color ring back tone audio signal; generating reverse noise reduction processed audio according to the difference features; generating a noise reduction signal according to the reverse noise reduction processed audio; Performing ringback tone noise reduction processing according to the noise reduction signal; The difference feature includes a difference waveform or a difference spectrum; when the difference feature is a difference waveform, determining the difference feature based on the ambient audio feature corresponding to the ambient audio signal and the color ring audio feature corresponding to the color ring audio signal includes: Extracting features from the ambient audio signal to obtain ambient audio features; determining an ambient audio amplitude and an ambient audio phase according to the ambient audio characteristics; determining an ambient audio waveform according to the ambient audio amplitude and the ambient audio phase; Extracting features from the CRBT audio signal to obtain CRBT audio features; Determine the color ring tone audio amplitude and the color ring tone audio phase according to the color ring tone audio characteristics; Determine a color ring back tone audio waveform according to the color ring back tone audio amplitude and the color ring back tone audio phase; Determining the position of the audio generator corresponding to the ambient audio signal and the position of the user terminal; Performing translation processing on the ambient audio waveform according to the position of the audio generator to obtain a processed ambient audio waveform; Performing translation processing on the color ring audio waveform according to the position of the user terminal to obtain a processed color ring audio waveform; A difference waveform is determined according to the processed ambient audio waveform and the processed ringback tone audio waveform.
2. The method for reducing CRBT noise according to claim 1, wherein: Generating a noise reduction signal according to the reverse noise reduction processed audio includes: Obtaining a relative distance between the user terminal and a position of an audio generator corresponding to the ambient audio signal; Determining a playback position of a first frame of the reverse noise reduction processed audio according to the relative distance; A noise reduction signal is generated according to the reverse noise reduction processed audio and the first frame playback position.
3. The method for reducing CRBT noise according to claim 2, wherein: The determining, according to the relative distance, the playback position of the first frame of the reverse noise reduction processed audio includes: Obtaining a first distance between the user terminal and the user's ear; determining a second distance between the audio generator and the user's ear based on the relative distance and the first distance; The playback position of the first frame of the reverse noise reduction processed audio is determined according to the first distance and the second distance.
4. The method for reducing CRBT noise according to claim 3, wherein: The determining the playback position of the first frame of the reverse noise reduction processed audio according to the first distance and the second distance includes: determining a first time when the color ring audio signal reaches the user's ear according to the first distance; determining a second time for the ambient audio signal to reach the user's ear based on the second distance; The playback position of the first frame of the reverse noise reduction processed audio is determined according to the first time and the second time.
5. The method for reducing CRBT noise according to claim 1, wherein: The detecting of the ambient audio signal in the current environment includes: Send detection audio to the current environment; forming a three-dimensional spherical space according to the detected audio and a preset radius; The ambient audio signal in the three-dimensional spherical space is detected to obtain the ambient audio signal in the current environment.
6. A ring back tone noise reduction device, characterized in that: The color ringback noise reduction device comprises: A signal detection module is used to detect the ambient audio signal in the current environment; A feature analysis module, configured to determine a difference feature based on an ambient audio feature corresponding to the ambient audio signal and a color ring back tone audio feature corresponding to the color ring back tone audio signal; The feature analysis module is further configured to perform feature extraction on the ambient audio signal to obtain ambient audio features; determine the ambient audio amplitude and the ambient audio phase based on the ambient audio features; determine the ambient audio waveform based on the ambient audio amplitude and the ambient audio phase; perform feature extraction on the color ring audio signal to obtain color ring audio features; determine the color ring audio amplitude and the color ring audio phase based on the color ring audio features; determine the color ring audio waveform based on the color ring audio amplitude and the color ring audio phase; determine the position of the audio generator corresponding to the ambient audio signal and the position of the user terminal; perform translation processing on the ambient audio waveform based on the position of the audio generator to obtain a processed ambient audio waveform; perform translation processing on the color ring audio waveform based on the position of the user terminal to obtain a processed color ring audio waveform; and determine a difference waveform based on the processed ambient audio waveform and the processed color ring audio waveform. An audio processing module, configured to generate reverse noise reduction processed audio according to the difference characteristics; A signal generating module, configured to generate a noise reduction signal based on the reverse noise reduction processed audio; The noise reduction processing module is used to perform color ring tone noise reduction processing according to the noise reduction signal.
7. A ring back tone noise reduction device, characterized in that: The CRBT noise reduction device includes: a memory, a processor, and a CRBT noise reduction program stored in the memory and executable on the processor. When the CRBT noise reduction program is executed by the processor, the CRBT noise reduction method according to any one of claims 1 to 5 is implemented.
8. A storage medium, characterized in that: The storage medium stores a color ring noise reduction program, which, when executed by the processor, implements the color ring noise reduction method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Mobile terminal and noise reduction method
CN105679300A