A kind of audio control method based on intelligent earphone

By performing digital signal processing on the smart earphones, the time domain and frequency domain values ​​of the audio signal are obtained, and the audio signal flow control, sample point control or output control is performed according to the usage scenario and user preferences, thus solving the audio signal processing problems in the existing technology. Flexible and personalized issues enable high-quality and personalized audio output.

CN118555518BActive Publication Date: 2024-10-22SHENZHEN ME MICROELETRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411020034.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-29
Publication Date
2024-10-22
Estimated Expiration
2044-07-29

AI Technical Summary

Technical Problem

Existing smart headphones lack flexibility and intelligence in time domain and frequency domain processing of audio signals, making it difficult to meet users' sound quality needs in different environments and unable to provide personalized audio services.

Method used

By performing digital signal processing on the audio signal received by the smart headset, the time domain value and frequency domain value of each sample point are obtained, and the audio signal flow control, audio sample point control or audio output control is determined according to the usage scenario, and the affected parameters are constructed groups and adjust them for precise manipulation of audio signals.

Benefits of technology

It achieves dynamic and intelligent control of audio signals, provides a clearer, natural and comfortable listening experience, improves audio signal quality and the personalized service capabilities of smart headphones, and meets users' sound quality needs in different scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118555518B_ABST
    Figure CN118555518B_ABST
Patent Text Reader

Abstract

The present invention provides an audio control method based on a smart headset, comprising performing digital signal processing on an audio signal received by the smart headset to obtain a time domain value and a frequency domain value of each sample point of the audio signal; determining a control method for the audio signal according to a usage scenario of the smart headset, the control method comprising audio signal flow control, audio sample point control and audio output control; controlling a target audio sample point using a determined control method based on the time domain value and / or frequency domain value of the target audio sample point; directly obtaining a controlled audio signal if the control method is audio signal flow control; and re-performing digital signal processing on the controlled audio sample point to obtain a controlled audio signal if the control method is audio sample point control or audio output control. The present invention can accurately adjust the audio signal, thereby providing a more personalized and optimized auditory experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of intelligent audio processing, and more specifically, to an audio control method based on intelligent earphones. Background Art

[0002] Existing smart headset technology has made some progress in audio processing and can provide basic audio playback and noise suppression functions. However, as users' requirements for audio quality increase and usage scenarios diversify, existing technologies still have shortcomings in fine control of audio signals and personalized experience. In particular, in the time domain and frequency domain processing of audio signals, existing methods often lack sufficient flexibility and intelligence, and it is difficult to meet users' specific requirements for sound quality in different environments.

[0003] In the process of implementing the embodiments of the present invention, the inventors found that there are at least the following problems or defects in the prior art: First, most smart headphones adopt a relatively simple signal processing method for audio control, which cannot be dynamically adjusted for different usage scenarios, resulting in the inability to provide the best auditory experience in complex or changeable audio environments. Secondly, the prior art lacks detailed parameter adjustment capabilities in the control of audio sample points, and cannot achieve precise manipulation of audio signals, affecting the quality of audio signals and user satisfaction. In addition, existing smart headphones usually adopt a unified processing strategy for audio output control, without taking into account the user's personalized auditory preferences, limiting the potential of smart headphones in providing customized audio services. Summary of the invention

[0004] The present invention provides an audio control method based on a smart headset, comprising:

[0005] Performing digital signal processing on the audio signal received by the smart headset to obtain a time domain value and a frequency domain value of each sample point of the audio signal;

[0006] Determine a control method for the audio signal according to the usage scenario of the smart headset, wherein the control method includes audio signal flow control, audio sample point control and audio output control;

[0007] Controlling the target audio sample point using a determined control method based on the time domain value and / or frequency domain value of the target audio sample point;

[0008] If the control mode is audio signal flow control, the controlled audio signal is directly obtained; if the control mode is audio sample point control or audio output control, the controlled audio sample point is re-processed with digital signals to obtain the controlled audio signal.

[0009] Further, the target audio sample point is controlled by using audio sample point control based on the time domain value of the target audio sample point, including:

[0010] adjusting a target parameter of the target audio sample point based on a time domain value of the target audio sample point;

[0011] constructing a group of affected parameters affected by the target parameters;

[0012] The parameters in the affected parameter group are adjusted based on the influence relationship between the target parameter and the parameters in the affected parameter group.

[0013] Furthermore, an affected parameter group affected by the target parameter is constructed, including:

[0014] S3221, taking the target parameter as the current target parameter;

[0015] S3222: If the current target parameter indicates the start or end of the audio signal, and the parameter indicating the start or end of the same audio signal is not in the affected parameter group, then add the parameter indicating the start or end of the same audio signal to the affected parameter group;

[0016] If the current target parameter represents the frequency or amplitude of the audio signal, and the parameter representing the same frequency or amplitude of the audio signal is not in the affected parameter group, then the parameter representing the same frequency or amplitude of the audio signal is added to the affected parameter group;

[0017] If the current target parameter represents the phase or time delay of the audio signal, and the parameter representing the phase or time delay of the same audio signal is not in the affected parameter group, then the parameter representing the phase or time delay of the same audio signal is added to the affected parameter group;

[0018] S3223. If all parameters in the affected parameter group have been used as current target parameters, the construction of the affected parameter group is completed; otherwise, the parameters in the affected parameter group that have not been used as current target parameters are used as current target parameters, and the process returns to step S3222.

[0019] Further, adjusting the parameters in the affected parameter group based on the influence relationship of the target parameter on the parameters in the affected parameter group includes:

[0020] Determine the influence relationship of the target parameter on the parameters in the affected parameter group; the influence relationship includes frequency influence and amplitude influence;

[0021] Performing frequency adjustment or phase adjustment on the frequency-influencing parameter according to the adjusted value of the target parameter;

[0022] The amplitude of the parameters having amplitude influence is adjusted according to the adjusted value of the target parameter.

[0023] Further, frequency adjustment or phase adjustment is performed on the frequency-affecting parameter according to the adjusted value of the target parameter, including:

[0024] If the adjustment of the target parameter causes the frequency of the parameter having frequency influence to need to be adjusted, determining the frequency range of the parameter having frequency influence according to the adjusted value of the target parameter, and setting the frequency of the parameter having frequency influence as a new frequency;

[0025] If the adjustment of the target parameter causes the phase of the parameter having phase influence to need to be adjusted, the phase range of the parameter having phase influence is determined according to the adjusted value of the target parameter, and the phase of the parameter having phase influence is set to a new phase.

[0026] Further, the amplitude of the parameters having amplitude influence is adjusted according to the adjusted value of the target parameter, including:

[0027] The adjusted amplitude value of the parameter with amplitude influence is calculated based on the calculation formula (1), and the amplitude of the parameter with amplitude influence is adjusted. in, is the amplitude value of the parameter with amplitude influence before adjustment, is the amplitude value of the amplitude-affecting parameter after adjustment, is the adjustment factor, is the amplitude change within the effective range of the target parameter.

[0028] Further, adjusting the target parameter of the target audio sample point based on the time domain value of the target audio sample point includes:

[0029] Based on formula (2), the adjusted value of the target parameter is calculated. in, is the original value of the target parameter before adjustment, is the adjusted value of the target parameter, is the adjustment factor, is the change in the effective range of the target parameter.

[0030] Furthermore, the control method of the audio signal is determined according to the usage scenario of the smart headset, including:

[0031] When the usage scenario of smart headphones is personal music appreciation, audio output control is adopted;

[0032] When the smart headset is used for conference calls or remote collaboration, audio sample point control is adopted;

[0033] When the usage scenario of the smart headset is language translation or real-time interpretation, audio signal flow control is adopted.

[0034] Further, the target audio sample point is controlled by using audio output control based on the time domain value of the target audio sample point, including:

[0035] The value of the target audio output parameter of the target audio sample point is calculated according to the time domain value of the target audio sample point;

[0036] Adjust the value of the target audio output parameter;

[0037] The time domain value of the target audio sample point is updated based on the adjusted value of the target audio output parameter.

[0038] Further, the target audio sample point is controlled by using audio signal flow control based on the time domain value and the frequency domain value of the target audio sample point, including:

[0039] The audio signal stream is enhanced, attenuated or filtered based on the time domain value and frequency domain value of the target audio sample point.

[0040] According to the above embodiments of the present invention, at least the following beneficial effects are achieved: the audio control method of the present invention can realize dynamic and intelligent control of audio signals by comprehensively considering the usage scenarios of smart headphones and the characteristics of audio signals. The method performs digital signal processing on the audio signal to obtain the time domain and frequency domain values ​​of each sample point, and then determines the most appropriate control mode according to the usage scenario, including audio signal flow control, audio sample point control and audio output control. This flexible control strategy can be optimized for different audio needs, and can provide a clearer, more natural and comfortable listening experience in scenarios such as personal music appreciation, conference calls or language translation. In addition, the method of the present invention also includes a detailed parameter adjustment of the target audio sample point, and by constructing an affected parameter group and adjusting the parameters within the group based on the target parameters, the audio signal can be precisely controlled. This method can not only improve the quality of the audio signal, but also enhance the personalized service capabilities of the smart headphones. Through intelligent audio control, users can enjoy customized audio output according to their personal preferences and actual needs, thereby obtaining more satisfactory hearing effects in various usage scenarios. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] The above and other objects, features and advantages of the exemplary embodiments of the present invention will become readily understood by reading the detailed description below with reference to the accompanying drawings. In the accompanying drawings, several embodiments of the present invention are shown in an exemplary and non-limiting manner, in which:

[0042] Figure 1 A schematic diagram of a flow chart of an audio control method based on a smart headset provided in one embodiment of the present invention;

[0043] Figure 2A schematic diagram of a flow chart of controlling a target audio sample point provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0044] The principles and spirit of the present invention will be described below with reference to several exemplary embodiments. It should be understood that these embodiments are provided only to enable those skilled in the art to better understand and implement the present invention, and are not intended to limit the scope of the present invention in any way. On the contrary, these embodiments are provided to make the present invention more thorough and complete, and to fully convey the scope of the present invention to those skilled in the art.

[0045] Those skilled in the art know that the embodiments of the present invention can be implemented as a system, device, apparatus, method or computer program product. Therefore, the present invention can be specifically implemented in the following forms, namely: complete hardware, complete software (including firmware, resident software, microcode, etc.), or a combination of hardware and software.

[0046] It should be noted that any number of elements in the drawings is for illustration rather than limitation, and any naming is only for distinction and does not have any limiting meaning.

[0047] Reference below Figure 1 , Figure 1 The following is a flow chart of an audio control method based on smart earphones provided by an embodiment of the present invention. Figure 1 As shown, an audio control method 100 based on a smart headset includes:

[0048] Step 101, performing digital signal processing on the audio signal received by the smart headset to obtain a time domain value and a frequency domain value of each sample point of the audio signal;

[0049] Step 102, determining a control method for the audio signal according to a usage scenario of the smart headset, wherein the control method includes audio signal flow control, audio sample point control, and audio output control;

[0050] Step 103, controlling the target audio sample point using a determined control method based on the time domain value and / or frequency domain value of the target audio sample point;

[0051] Step 104, if the control mode is audio signal flow control, directly obtain the controlled audio signal;

[0052] Step 105: If the control mode is audio sample point control or audio output control, digital signal processing is performed again on the controlled audio sample points to obtain a controlled audio signal.

[0053] It should be noted that audio control refers to operations such as adjusting the volume, suppressing noise or enhancing the sound quality of the audio. The audio signal of the present invention is a digital signal obtained by analog-to-digital conversion of an analog signal collected by a smart headset. Digital audio signal processing is usually divided into several steps: sampling, quantization, encoding, filtering, and digital signal processing.

[0054] After analog-to-digital conversion and filtering, the audio sample points are decomposed into sample values ​​representing the amplitude of the audio signal, spectrum data representing the frequency of the audio signal, and other information. The above data is defined as audio composition information. After quantization in analog-to-digital conversion, the audio composition information can be represented as several types of audio sample points. For example, the spectrum data of an audio signal can be decomposed into audio sample points such as frequency components and amplitude components.

[0055] The output result of the audio sample point after digital signal processing is the controlled audio signal. Taking digital signal processing as an example, the audio sample point is represented as a sequence of several different frequency components through the filtering link, and the controlled audio signal is output through digital-to-analog conversion. That is, digital signal processing includes filtering and digital-to-analog conversion. Correspondingly, the inverse process of digital signal processing includes analog-to-digital conversion and filtering inverse operation, that is, obtaining the time domain value and frequency domain value of the audio sample point.

[0056] It should be noted that one audio sample point corresponds to multiple quantization values, and the quantization value is an integer. The quantization value of the audio sample point is reconstructed according to the audio coding rule to obtain a digital sequence of the sample point.

[0057] Existing audio control mainly includes control before or during audio acquisition. Pre-acquisition control, for example, filters environmental noise, processes audio signals based on noise suppression algorithms, and implements audio control. Control during acquisition, for example, adjusts the sampling frequency during analog-to-digital conversion, rewrites filter coefficients during filtering, etc. There are many carriers for this type of algorithm, but it has a greater impact on sound quality. The processing algorithm is usually coupled with audio acquisition, which increases the complexity of the acquisition system and reduces acquisition efficiency. When the acquisition-coupled audio processing algorithm is applied to the acquired audio, resampling will reduce efficiency and destroy the original acquisition characteristics.

[0058] Compared with the prior art, the audio control method based on smart headphones provided in this embodiment performs digital signal processing on the collected audio signal to obtain the time domain value and frequency domain value of each sample point of the audio signal, controls the target audio sample point according to different control methods, and uses audio signal flow control to control the signal flow corresponding to the target audio sample point to directly obtain the controlled audio signal. For the audio sample points using audio sample point control and audio output control, it is necessary to re-process the digital signal to obtain the controlled audio signal, so that the control process is independent of the collection process, the control efficiency is high, the impact on the sound quality is small, and no dedicated collector or player is required, which helps to improve the compatibility and adaptability of the audio processing algorithm. In addition, different control methods are determined according to different usage scenarios, which can be flexibly applied to complex and changeable scenarios, and achieve efficient audio content quality assurance in complex and changeable usage scenarios.

[0059] During implementation, the audio signal is converted from analog to digital according to an audio coding format, so as to obtain a time domain value and a frequency domain value of each sample point of the audio signal.

[0060] For audio signals, the difficulty of obtaining audio composition information, audio sample points and audio signal streams and the complexity of control operations decrease successively, but the restrictions on control increase successively. Therefore, the control method of audio signals can be determined according to the usage scenario of the smart headset.

[0061] Specifically, when the usage scenario of the smart headset is personal music appreciation, audio output control is adopted;

[0062] When the smart headset is used for conference calls and remote collaboration, audio sample point control is adopted;

[0063] When the usage scenario of the smart headset is language translation and real-time interpretation, audio signal flow control is adopted.

[0064] For usage scenarios with high requirements for low latency, such as language translation and real-time commentary, you can select audio signal streams with low computational complexity for control; for usage scenarios with high requirements for sound quality and loose requirements for latency, such as conference calls and remote collaboration, audio sample point control can be used; for usage scenarios with high requirements for sound quality and low requirements for latency, such as personal music appreciation, audio output control can be used.

[0065] The control scheme adopted during application can be adjusted according to the actual sound quality requirements, processing equipment computing power and transmission capabilities. When the actual sound quality requirements are high and the processing equipment has strong computing power and transmission capabilities, a control method with a higher control complexity than the recommended control algorithm can be selected to obtain better sound quality; conversely, a control method with a lower computational complexity can be appropriately selected.

[0066] Specifically, when the control mode is audio signal stream control, signal enhancement, signal attenuation or signal filtering is performed on the audio signal stream based on the time domain value and the frequency domain value of the target audio sample point.

[0067] During implementation, in order to ensure the format compliance of the controlled audio, the present invention only controls the audio signal stream corresponding to the audio sample points using the bypass coding method.

[0068] like Figure 2 In some embodiments, the target audio sample point is controlled by using audio sample point control based on the time domain value of the target audio sample point, including:

[0069] adjusting a target parameter of the target audio sample point based on a time domain value of the target audio sample point;

[0070] constructing a group of affected parameters affected by the target parameters;

[0071] The parameters in the affected parameter group are adjusted based on the influence relationship between the target parameter and the parameters in the affected parameter group.

[0072] The time domain values ​​of the target audio sample points are determined, and target parameters are identified, which may include but are not limited to volume, pitch, timbre or other audio characteristics.

[0073] Based on the time domain value of the target audio sample point, the identified target parameter is adjusted. The adjustment can be to increase or decrease the volume, change the pitch, or modify the timbre to suit the user's preference or improve the audio quality.

[0074] When building the set of affected parameters, you need to analyze and determine which other audio parameters may be affected by adjusting the target parameter. For example, if the target parameter is volume, the set of affected parameters may include the volume levels of neighboring sample points to keep the audio signal consistent and natural.

[0075] After completing adjustments to the affected parameters, reprocess the audio signal to ensure that all modified parameters work together to produce the desired audio output. This may involve re-running the digital signal processing algorithm to ensure that every aspect of the audio signal complies with the new parameter settings.

[0076] Finally, the adjusted audio signal is output and provided to the user through the smart headset. The output audio should reflect the result of controlling the target audio sample points while maintaining the overall audio quality and user satisfaction.

[0077] In some embodiments, constructing an affected parameter group affected by a target parameter includes:

[0078] S3221, taking the target parameter as the current target parameter;

[0079] S3222: If the current target parameter indicates the start or end of the audio signal, and the parameter indicating the start or end of the same audio signal is not in the affected parameter group, then add the parameter indicating the start or end of the same audio signal to the affected parameter group;

[0080] If the current target parameter represents the frequency or amplitude of the audio signal, and the parameter representing the same frequency or amplitude of the audio signal is not in the affected parameter group, then the parameter representing the same frequency or amplitude of the audio signal is added to the affected parameter group;

[0081] If the current target parameter represents the phase or time delay of the audio signal, and the parameter representing the phase or time delay of the same audio signal is not in the affected parameter group, then the parameter representing the phase or time delay of the same audio signal is added to the affected parameter group;

[0082] S3223. If all parameters in the affected parameter group have been used as current target parameters, the construction of the affected parameter group is completed; otherwise, the parameters in the affected parameter group that have not been used as current target parameters are used as current target parameters, and the process returns to step S3222.

[0083] Specifically, a target parameter is identified and selected as the current target parameter. The target parameter may be volume, frequency, amplitude, phase or delay, etc. Adjustment of these parameters will affect the characteristics and hearing of the audio signal.

[0084] Analyze the relationship between the current target parameter and other audio parameters to determine the affected parameter group. If the current target parameter is the start or end point of the audio signal, check whether there are already parameters representing the start or end of the audio signal in the affected parameter group. If not, add these parameters to the affected parameter group. This ensures that the continuity and consistency of the audio signal are maintained.

[0085] If the current target parameter is the frequency or amplitude of the audio signal, check whether parameters representing the same frequency or amplitude of the audio signal are already in the affected parameter group. If not, add these parameters to the affected parameter group. This helps maintain the consistency of the pitch and loudness of the audio signal.

[0086] If all parameters in the affected parameter group have been adjusted and the current target parameter has been processed, the construction of the affected parameter group is completed. If there are still parameters in the affected parameter group that have not been the current target parameter, one of the unprocessed parameters is selected as the new current target parameter.

[0087] If the current target parameter is the phase or delay of the audio signal, check whether the parameters representing the phase or delay of the same audio signal are already in the affected parameter group. If not, add these parameters to the affected parameter group.

[0088] In some embodiments, adjusting the parameters in the affected parameter group based on the influence relationship between the target parameter and the parameters in the affected parameter group includes:

[0089] Determine the influence relationship of the target parameter on the parameters in the affected parameter group; the influence relationship includes frequency influence and amplitude influence;

[0090] Performing frequency adjustment or phase adjustment on the frequency-influencing parameter according to the adjusted value of the target parameter;

[0091] The amplitude of the parameters having amplitude influence is adjusted according to the adjusted value of the target parameter.

[0092] Specifically, the influence relationship analysis is started to determine whether the target parameter has an influence on the parameters in the affected parameter group. This step is the basis of the adjustment process and ensures that only the audio parameters that are actually affected by the target parameter are taken into account.

[0093] Identify the specific impact type of the target parameter on the parameters in the affected parameter group. The impact relationship is mainly divided into frequency impact and amplitude impact, which will guide the subsequent adjustment strategy. For parameters affected by frequency, the corresponding frequency adjustment or phase adjustment is determined based on the adjusted value of the target parameter.

[0094] If the change of the target parameter affects the pitch or rhythm of the audio signal, the frequency parameters in the affected parameter group are adjusted accordingly to ensure that the frequency characteristics of the audio signal are consistent with the target parameter. If the change of the target parameter affects the phase relationship of the audio signal, the phase parameters in the affected parameter group are adjusted accordingly to maintain the timing characteristics of the audio signal.

[0095] For parameters that are affected by amplitude, the amplitude adjustment is determined based on the adjusted value of the target parameter. This may involve changing the loudness or dynamic range of the audio signal to accommodate the new value of the target parameter.

[0096] In some embodiments, frequency adjustment or phase adjustment is performed on the frequency-affecting parameter according to the adjusted value of the target parameter, including:

[0097] If the adjustment of the target parameter causes the frequency of the parameter having frequency influence to need to be adjusted, determining the frequency range of the parameter having frequency influence according to the adjusted value of the target parameter, and setting the frequency of the parameter having frequency influence as a new frequency;

[0098] If the adjustment of the target parameter causes the phase of the parameter having phase influence to need to be adjusted, the phase range of the parameter having phase influence is determined according to the adjusted value of the target parameter, and the phase of the parameter having phase influence is set to a new phase.

[0099] When the target parameter adjustment causes frequency impact, the frequency range corresponding to the adjusted target parameter value is first determined. This step is to determine the new frequency interval to which the affected parameter should be adjusted by analyzing the new value of the target parameter and mapping it to possible frequency values. Based on the determined frequency range, the new frequency value of the affected parameter is calculated and set. This calculation may involve linear or nonlinear transformation of the frequency to ensure that the new frequency meets the requirements of the target parameter while not exceeding the technical and physical limitations of audio processing.

[0100] If the adjustment of the target parameter involves phase influence, first determine the phase range corresponding to the adjusted target parameter value. Similar to frequency adjustment, this step requires converting the new value of the target parameter into a phase value and determining a suitable phase adjustment interval.

[0101] Based on the determined phase range, new phase values ​​of the affected parameters are calculated and set, ensuring that the timing characteristics of the audio signal after phase adjustment are maintained while meeting the requirements of target parameter adjustment.

[0102] In some embodiments, adjusting the amplitude of the amplitude-affecting parameter according to the adjusted value of the target parameter includes:

[0103] The adjusted amplitude value of the parameter with amplitude influence is calculated based on the calculation formula (1), and the amplitude of the parameter with amplitude influence is adjusted. in, is the amplitude value of the parameter with amplitude influence before adjustment, is the amplitude value of the amplitude-affecting parameter after adjustment, is the adjustment factor, is the amplitude change within the effective range of the target parameter.

[0104] In some embodiments, adjusting a target parameter of a target audio sample point based on a time domain value of the target audio sample point includes:

[0105] Based on formula (2), the adjusted value of the target parameter is calculated. in, is the original value of the target parameter before adjustment, is the adjusted value of the target parameter, is the adjustment factor, is the change in the effective range of the target parameter.

[0106] In some embodiments, controlling the target audio sample point using audio output control based on the time domain value of the target audio sample point includes:

[0107] The value of the target audio output parameter of the target audio sample point is calculated according to the time domain value of the target audio sample point;

[0108] Adjust the value of the target audio output parameter;

[0109] The time domain value of the target audio sample point is updated based on the adjusted value of the target audio output parameter.

[0110] Preferably, the target audio sample point is controlled by audio output control based on the time domain value of the target audio sample point. First, the audio output parameter value of the target audio sample point is calculated by analyzing the time domain value of the target audio sample point. This step involves quantitative analysis of the time domain characteristics of the audio signal to determine its key parameters, such as volume, pitch or other relevant audio features.

[0111] Based on the calculated target audio output parameter values, these parameters are adjusted appropriately. The adjustment process may include increasing or decreasing the volume, adjusting the tone to suit the user's preference, or optimizing other audio features to improve the listening experience.

[0112] After the parameter adjustment is completed, the time domain values ​​of the target audio sample points are updated based on these adjusted values. This step ensures that the time domain characteristics of the audio signal match the adjusted parameter values, thereby achieving optimized audio output.

[0113] In some embodiments, the target audio sample point is controlled by using audio signal flow control based on the time domain value and the frequency domain value of the target audio sample point, including:

[0114] The audio signal stream is enhanced, attenuated or filtered based on the time domain value and frequency domain value of the target audio sample point.

[0115] Preferably, in the process of controlling the target audio sample point by using the audio signal flow control, the control strategy of the audio signal flow is first determined based on the time domain value and the frequency domain value of the target audio sample point. This may involve analyzing the overall characteristics of the audio signal to identify specific frequency components that need to be enhanced, attenuated or filtered.

[0116] Furthermore, signal enhancement, signal attenuation or signal filtering operations are performed on the audio signal stream. Signal enhancement can increase the loudness of the audio signal or highlight certain frequency components; signal attenuation can reduce unwanted noise or reduce the intensity of specific frequency components; signal filtering can remove interference within a specific frequency range or retain the sound part that the user is concerned about.

[0117] The above-mentioned embodiments of the present invention have the following beneficial effects: the present invention provides a technology that can dynamically adjust the audio signal processing method according to the use scenario of the smart headset. Through digital signal processing technology, the present invention can accurately obtain the time domain and frequency domain values ​​of the audio signal, and then intelligently select different control strategies such as audio signal flow control, audio sample point control or audio output control according to the use scenario and user preference. This method can not only improve the flexibility and accuracy of audio signal processing, but also better adapt to the personalized needs of users and complex and changeable auditory environments through intelligent control, thereby significantly improving the user's auditory experience. In addition, the present invention can further enhance the intelligent level of audio control by constructing an affected parameter group and finely adjusting these parameters based on the target parameters. This method can not only finely adjust the frequency, amplitude, phase or delay of the audio signal, but also dynamically update the affected parameters according to the changes in the target parameters to achieve real-time optimization of the audio signal. This intelligent audio control mechanism enables the smart headset to provide high-quality audio output while also being able to perform adaptive adjustments based on the user's real-time feedback and environmental changes, ensuring that users can enjoy the best auditory effect in various use scenarios.

[0118] Exemplarily, the target audio sample point may be selected as one or more key audio sample points, representing important features in the audio signal, such as a rhythm peak, a melody note, or a specific sound effect.

[0119] Among the above sample points, the parameters that need to be adjusted include but are not limited to: volume (loudness), pitch (frequency), timbre (spectral distribution), delay (the position of the sample point in time) and phase (phase angle of the signal).

[0120] In some embodiments, the affected parameter group may include: Volumes of neighboring sample points: Adjusting the volume of one sample point may require adjusting the volumes of its neighboring sample points accordingly to maintain the dynamic balance of the audio signal.

[0121] Amplitude of adjacent frequencies: Changing the pitch may affect the amplitude of adjacent frequency components, which need to be adjusted accordingly.

[0122] Delay and phase of surrounding sample points: If the delay or phase of the target sample point is adjusted, the timing of the related sample points before and after may need to be adjusted to maintain the continuity of the audio signal.

[0123] The above descriptions are only some preferred embodiments of the present invention and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present invention is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above inventive concept. For example, the above features are replaced with (but not limited to) technical features with similar functions disclosed in the embodiments of the present invention.

Claims

1. An audio control method based on smart headphones, characterized in that: The following steps are involved: Performing digital signal processing on the audio signal received by the smart headset to obtain a time domain value and a frequency domain value of each sample point of the audio signal; Determine a control method for the audio signal according to the usage scenario of the smart headset, wherein the control method includes audio signal flow control, audio sample point control and audio output control; Controlling the target audio sample point using a determined control method based on the time domain value and / or frequency domain value of the target audio sample point; If the control mode is audio signal flow control, the controlled audio signal is directly obtained; if the control mode is audio sample point control or audio output control, the controlled audio sample point is re-processed with digital signals to obtain the controlled audio signal; The target audio sample point is controlled by using the audio sample point control based on the time domain value of the target audio sample point, including: adjusting a target parameter of the target audio sample point based on a time domain value of the target audio sample point; constructing a group of affected parameters affected by the target parameters; Adjusting the parameters in the affected parameter group based on the influence relationship between the target parameter and the parameters in the affected parameter group; The target audio sample point is controlled by using audio output control based on the time domain value of the target audio sample point, including: The value of the target audio output parameter of the target audio sample point is calculated according to the time domain value of the target audio sample point; Adjust the value of the target audio output parameter; updating a time domain value of a target audio sample point based on the adjusted value of the target audio output parameter; The target audio sample point is controlled by using audio signal flow control based on the time domain value and frequency domain value of the target audio sample point, including: The audio signal stream is enhanced, attenuated or filtered based on the time domain value and frequency domain value of the target audio sample point.

2. The audio control method based on smart earphones according to claim 1, characterized in that: Construct the affected parameter group affected by the target parameter, including: S3221, taking the target parameter as the current target parameter; S3222: If the current target parameter indicates the start or end of the audio signal, and the parameter indicating the start or end of the same audio signal is not in the affected parameter group, then add the parameter indicating the start or end of the same audio signal to the affected parameter group; If the current target parameter represents the frequency or amplitude of the audio signal, and the parameter representing the same frequency or amplitude of the audio signal is not in the affected parameter group, then the parameter representing the same frequency or amplitude of the audio signal is added to the affected parameter group; If the current target parameter represents the phase or time delay of the audio signal, and the parameter representing the phase or time delay of the same audio signal is not in the affected parameter group, then the parameter representing the phase or time delay of the same audio signal is added to the affected parameter group; S3223. If all parameters in the affected parameter group have been used as current target parameters, the construction of the affected parameter group is completed; otherwise, the parameters in the affected parameter group that have not been used as current target parameters are used as current target parameters, and the process returns to step S3222.

3. The audio control method based on smart earphone according to claim 1, characterized in that: The parameters in the affected parameter group are adjusted based on the influence relationship between the target parameter and the parameters in the affected parameter group, including: Determine the influence relationship of the target parameter on the parameters in the affected parameter group; the influence relationship includes frequency influence and amplitude influence; Performing frequency adjustment or phase adjustment on the frequency-influencing parameter according to the adjusted value of the target parameter; The amplitude of the parameters having amplitude influence is adjusted according to the adjusted value of the target parameter.

4. The audio control method based on smart earphones according to claim 3 is characterized in that: The frequency or phase of the parameters having frequency influence is adjusted according to the adjusted value of the target parameter, including: If the adjustment of the target parameter causes the frequency of the parameter having frequency influence to need to be adjusted, determining the frequency range of the parameter having frequency influence according to the adjusted value of the target parameter, and setting the frequency of the parameter having frequency influence as a new frequency; If the adjustment of the target parameter causes the phase of the parameter having phase influence to need to be adjusted, the phase range of the parameter having phase influence is determined according to the adjusted value of the target parameter, and the phase of the parameter having phase influence is set to a new phase.

5. The audio control method based on smart earphones according to claim 3 is characterized in that: According to the adjusted value of the target parameter, the amplitude of the parameters that have amplitude influence is adjusted, including: Based on the calculation formula (1), the amplitude value of the parameter with amplitude influence after adjustment is calculated, and the amplitude of the parameter with amplitude influence is adjusted. Yc=Xc+K×Mc (1) Among them, Xc is the amplitude value of the parameter with amplitude influence before adjustment, Yc is the amplitude value of the parameter with amplitude influence after adjustment, K is the adjustment coefficient, and MC is the amplitude change within the effective range of the target parameter.

6. The audio control method based on smart earphone according to claim 1, characterized in that: Adjusting a target parameter of a target audio sample point based on a time domain value of the target audio sample point includes: Based on formula (2), the adjusted value of the target parameter is calculated. Y=X+K×M (2) Among them, X is the original value of the target parameter before adjustment, Y is the value of the target parameter after adjustment, K is the adjustment coefficient, and M is the change in the effective range of the target parameter.

7. The audio control method based on smart earphone according to claim 1, characterized in that: Determine the control method of the audio signal according to the usage scenario of the smart headset, including: When the usage scenario of smart headphones is personal music appreciation, audio output control is adopted; When the smart headset is used for conference calls or remote collaboration, audio sample point control is adopted; When the usage scenario of the smart headset is language translation or real-time interpretation, audio signal flow control is adopted.