Headback adjustment method and device, terminal equipment and storage medium
By using a sound pickup unit in the earphones to obtain ambient audio and human voice audio, and adjusting the loudness or frequency according to the target audio parameters, the problem of unclear output of the prior art middle earphones in a noisy environment is solved, and the effect and efficiency of the audio output are improved.
Patent Information
- Application Number
- CN202311119197.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-31
- Publication Date
- 2025-02-28
AI Technical Summary
When the existing earphones input vocals, due to the influence of surrounding environmental noise, the output vocals may not be clear. The manual adjustment of the prior art is inefficient and the fixed gain coefficient cannot match different environments.
The initial audio of the environment in which the headphones are located is obtained through the sound pickup unit, and determine the adjustment method according to the target audio parameters of the ambient audio and human voice audio, and adjust the loudness or frequency to match the target audio parameters.
It realizes providing appropriate output results in different environments, improves the audio output effect during the ear return process, and reduces the cumbersomeness of manual adjustment.
Smart Images

Figure CN119545235A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of earphone technology, and in particular to an ear return adjustment method, device, terminal equipment and storage medium. Background Art
[0002] In the application process of in-ear return headphones, the human voice input by the user is usually collected by the sound transmission unit of the headphone, and then the human voice is output by the audio playback end of the headphone through the in-ear return function. In the actual implementation process, since there may be certain noise in the surrounding environment when the human voice is input, the output human voice may not be clear.
[0003] In the prior art, in order to avoid this situation, the technical means usually adopted are that the user manually adjusts the input volume, or amplifies the input volume using a fixed gain coefficient, so as to avoid unclear hearing.
[0004] However, the manual adjustment process is too cumbersome and may require repeated adjustments, resulting in poor adjustment efficiency; using a fixed gain coefficient may result in a mismatch with the surrounding environment, and the human voice may appear too loud when there is no noise. Therefore, neither of these two adjustment methods can provide suitable output results, resulting in poor audio output effects. Summary of the invention
[0005] In order to solve the problems of the prior art, provide appropriate output results, and improve the effect of audio output, the embodiments of the present application provide an ear return adjustment method, device, terminal device, and storage medium. The technical solution is as follows:
[0006] In one aspect of an embodiment of the present application, an ear return adjustment method is provided, which is applied to an earphone, the earphone comprising: a sound pickup unit, and the method comprising:
[0007] Acquire the initial audio of the headset in the current environment through the sound pickup unit, the initial audio includes: environmental audio and human voice audio;
[0008] Determining a target adjustment method for the initial audio according to target audio parameters of the ambient audio and target audio parameters of the vocal audio, wherein the target adjustment method includes adjusting target audio parameters of the target audio, and the target audio includes the ambient audio and / or the vocal audio;
[0009] The initial audio is adjusted according to the target adjustment method, and the adjusted audio is output.
[0010] Optionally, determining a target adjustment method for the initial audio according to a target audio parameter of the ambient audio and a target audio parameter of the human voice audio includes:
[0011] According to the loudness of the ambient audio and the loudness of the human voice audio, determining that the target adjustment method is to adjust the loudness of the target audio; and / or,
[0012] According to the frequency of the ambient audio and the frequency of the human voice audio, it is determined that the target adjustment method is to adjust the frequency of the target audio.
[0013] Optionally, determining the target adjustment method as loudness adjustment of the target audio according to the loudness of the ambient audio and the loudness of the human voice audio includes:
[0014] The loudness adjustment gain is determined according to the loudness of the ambient audio and the loudness of the human voice audio;
[0015] The initial audio is adjusted according to the target adjustment method, and the adjusted audio is output, including:
[0016] The original audio is adjusted according to the loudness adjustment gain, and the adjusted audio is output.
[0017] Optionally, determining the loudness adjustment gain according to the loudness of the ambient audio and the loudness of the human voice audio includes:
[0018] Determine the loudness of the target human voice audio corresponding to the loudness of the ambient audio according to a preset mapping relationship between the loudness of the ambient audio and the loudness of the target human voice audio;
[0019] A loudness adjustment gain is determined based on the loudness of the target vocal audio and the magnitude relationship of the loudness of the vocal audio.
[0020] Optionally, determining the loudness adjustment gain based on the loudness of the target human voice audio and the magnitude relationship of the loudness of the human voice audio includes:
[0021] If the loudness of the target human voice audio is greater than the loudness of the human voice audio, the difference between the loudness of the target human voice audio and the loudness of the human voice audio is used as the loudness adjustment gain;
[0022] If the loudness of the target vocal audio is less than or equal to the loudness of the vocal audio, the loudness adjustment gain is set to 0.
[0023] Optionally, adjusting the initial audio according to the loudness adjustment gain and outputting the adjusted audio includes:
[0024] If the loudness adjustment gain is greater than 0, the loudness of the human voice audio is amplified, and / or the loudness of the ambient audio is reduced, to obtain and output the adjusted audio;
[0025] If the loudness adjustment gain is 0, the original audio is output as the adjusted audio.
[0026] Optionally, determining the target adjustment method as frequency adjustment of the target audio according to the frequency of the ambient audio and the frequency of the human voice audio includes:
[0027] Determine a frequency adjustment parameter according to the frequency of the ambient audio and the frequency of the human voice audio;
[0028] The initial audio is adjusted according to the target adjustment method, and the adjusted audio is output, including:
[0029] The initial audio is adjusted according to the frequency adjustment parameter, and the adjusted audio is output.
[0030] Optionally, determining the frequency adjustment parameter according to the frequency of the ambient audio and the frequency of the human voice audio includes:
[0031] Determine a target frequency of the ambient audio and a target frequency of the vocal audio in the target audio clip;
[0032] Determining a first frequency adjustment parameter set based on each audio frequency of the ambient audio and a target frequency of the ambient audio;
[0033] A second frequency adjustment parameter set is determined based on the respective audio frequencies of the vocal audio and the target frequency of the vocal audio.
[0034] Optionally, adjusting the initial audio according to the frequency adjustment parameter and outputting the adjusted audio includes:
[0035] According to the first frequency adjustment parameter set, the frequency of each audio in the ambient audio is adjusted to obtain an adjusted first audio;
[0036] According to the second frequency adjustment parameter set, frequency adjustment is performed on each audio in the human voice audio to obtain adjusted second audio;
[0037] The first audio and / or the second audio is output as the adjusted audio.
[0038] Optionally, after acquiring the initial audio of the earphone in the current environment through the sound pickup unit, the method further includes:
[0039] If the loudness of the ambient audio in the initial audio is greater than the target threshold, the target prompt information is output.
[0040] Another aspect of the embodiment of the present application provides an ear return adjustment device, which is applied to headphones, the headphones comprising: a sound pickup unit, the device comprising: an acquisition module, a determination module and an adjustment module;
[0041] An acquisition module is used to acquire the initial audio of the headset in the current environment through the sound pickup unit, and the initial audio includes: environmental audio and human voice audio;
[0042] A determination module, used to determine a target adjustment method for the initial audio according to target audio parameters of the ambient audio and target audio parameters of the human voice audio, wherein the target adjustment method includes adjusting the target audio parameters of the target audio, and the target audio includes the ambient audio and / or the human voice audio;
[0043] The adjustment module is used to adjust the initial audio according to the target adjustment method and output the adjusted audio.
[0044] Optionally, the determination module is specifically used to determine that the target adjustment method is to adjust the loudness of the target audio according to the loudness of the ambient audio and the loudness of the human voice audio; and / or, to determine that the target adjustment method is to adjust the frequency of the target audio according to the frequency of the ambient audio and the frequency of the human voice audio.
[0045] Optionally, the determination module is specifically used to determine the loudness adjustment gain according to the loudness of the ambient audio and the loudness of the human voice audio; the adjustment module is specifically used to adjust the initial audio according to the loudness adjustment gain and output the adjusted audio.
[0046] Optionally, the determination module is specifically used to determine the loudness of the target human voice audio corresponding to the loudness of the ambient audio according to a preset mapping relationship between the loudness of the ambient audio and the loudness of the target human voice audio; and determine the loudness adjustment gain based on the relationship between the loudness of the target human voice audio and the loudness of the human voice audio.
[0047] Optionally, the determination module is specifically used to, if the loudness of the target human voice audio is greater than the loudness of the human voice audio, use the difference between the loudness of the target human voice audio and the loudness of the human voice audio as the loudness adjustment gain; if the loudness of the target human voice audio is less than or equal to the loudness of the human voice audio, set the loudness adjustment gain to 0.
[0048] Optionally, the adjustment module is specifically used to amplify the loudness of the human voice audio and / or reduce the loudness of the ambient audio if the loudness adjustment gain is greater than 0, to obtain and output the adjusted audio; if the loudness adjustment gain is 0, to output the initial audio as the adjusted audio.
[0049] Optionally, the determination module is specifically used to determine the frequency adjustment parameter according to the frequency of the ambient audio and the frequency of the human voice audio; the adjustment module is specifically used to adjust the initial audio according to the frequency adjustment parameter and output the adjusted audio.
[0050] Optionally, a determination module is specifically used to determine the target frequency of the ambient audio and the target frequency of the human voice audio in the target audio segment; determine a first frequency adjustment parameter set based on the individual audio frequencies of the ambient audio and the target frequency of the ambient audio; and determine a second frequency adjustment parameter set based on the individual audio frequencies of the human voice audio and the target frequency of the human voice audio.
[0051] Optionally, the adjustment module is specifically used to perform frequency adjustment on each audio in the ambient audio according to a first frequency adjustment parameter set to obtain an adjusted first audio; perform frequency adjustment on each audio in the human voice audio according to a second frequency adjustment parameter set to obtain an adjusted second audio; and output the first audio and / or the second audio as the adjusted audio.
[0052] Optionally, the acquisition module is further configured to output target prompt information if the loudness of the ambient audio in the initial audio is greater than a target threshold.
[0053] In another aspect of an embodiment of the present application, a terminal device is provided, the terminal device includes a processor and a memory, a computer program is stored in the memory, and the computer program is executed by the processor to implement an ear return adjustment method.
[0054] In another aspect of an embodiment of the present application, a computer-readable storage medium is provided, in which a computer program is stored. The computer program is executed by a processor to implement an earphone return adjustment method.
[0055] The beneficial effects brought by the technical solution provided by the embodiment of the present application include at least:
[0056] In an ear return adjustment method, device, terminal device and storage medium provided by an embodiment of the present application, the initial audio of the earphone in the current environment can be obtained through a sound pickup unit, and the initial audio includes: environmental audio and human voice audio; according to the target audio parameters of the environmental audio and the target audio parameters of the human voice audio, a target adjustment method for the initial audio is determined, and the target adjustment method includes adjusting the target audio parameters of the target audio, and the target audio includes environmental audio and / or human voice audio; the initial audio is adjusted according to the target adjustment method, and the adjusted audio is output. Among them, the initial audio obtained by the sound pickup unit can be adjusted, and specifically, the corresponding target adjustment method can be determined according to the target audio parameters selected for adjustment, so as to achieve the adjustment change of the initial audio and obtain a more appropriate output result, thereby also improving the effect of the audio output during the ear return process. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] The drawings herein are incorporated into the specification and constitute a part of the specification. These drawings illustrate embodiments consistent with the present application and are used together with the specification to illustrate the technical solution of the present application.
[0058] Figure 1 A schematic diagram of the structure of the earphone provided in an embodiment of the present application;
[0059] Figure 2 A schematic diagram of the flow of the earphone monitoring adjustment method provided in an embodiment of the present application;
[0060] Figure 3 Another schematic diagram of the flow of the earphone monitoring adjustment method provided in an embodiment of the present application;
[0061] Figure 4 Another schematic diagram of the flow of the earphone monitoring adjustment method provided in an embodiment of the present application;
[0062] Figure 5 Another schematic diagram of the flow of the earphone monitoring adjustment method provided in an embodiment of the present application;
[0063] Figure 6 Another schematic diagram of the flow of the earphone monitoring adjustment method provided in an embodiment of the present application;
[0064] Figure 7 Another schematic diagram of the flow of the earphone monitoring adjustment method provided in an embodiment of the present application;
[0065] Figure 8 Another schematic diagram of the flow of the earphone monitoring adjustment method provided in an embodiment of the present application;
[0066] Fig. 9 Another schematic diagram of the flow of the earphone monitoring adjustment method provided in an embodiment of the present application;
[0067] Fig.10 A schematic diagram of the structure of an ear-return adjustment device provided in an embodiment of the present application;
[0068] Fig.11 A schematic diagram of the structure of a terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0069] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0070] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for which protection is sought, but merely represents selected embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0071] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.
[0072] In the description of the present application, it should be noted that the terms "first", "second", "third", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.
[0073] The term "multiple" as used herein refers to two or more than two. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the related objects are in an "or" relationship.
[0074] In order to more clearly explain the ear return adjustment method adopted in the present application, the specific structure of the earphone to which the method is applied is explained below.
[0075] Figure 1 For a schematic diagram of the structure of the earphone provided in the embodiment of the present application, please refer to Figure 1 The earphone may include: an earphone body 110 and a sound pickup unit 120.
[0076] It should be noted that the earphones provided in this embodiment can specifically be earphones with an ear return function. The so-called ear return function is to pick up audio through the pickup unit 120, and play audio based on the picked up audio through the speaker on the earphone body.
[0077] Optionally, the sound pickup unit 120 may specifically be a microphone. In the embodiment of the present application, at least two microphones may be included, which are used to obtain environmental audio and human voice audio respectively.
[0078] Specifically, a micro-electro-mechanical system (MEMS) microphone may be provided. When the user wears headphones, the microphone may be placed at a position far from the user's mouth to pick up the above-mentioned ambient audio.
[0079] An electret microphone may also be provided. When the user wears headphones, the microphone may be placed closer to the user's mouth to pick up the above-mentioned human voice audio.
[0080] It should be noted that, based on the actual structure of the earphone, any number of sound pickup units 120 may be provided to respectively acquire the ambient audio and the human voice audio. Figure 1 The two pickup units 120 and their locations shown in the figure are merely examples and are not intended to be limiting.
[0081] The headset can be a wearable device with an audio playback function, for example, a headset connected to other devices by wire, or a headset connected to other devices wirelessly, the wireless connection can be a Bluetooth connection, or a WI-FI connection, which is not specifically limited here. In addition, the headset can be a head-mounted headset, or a neck-hanging open-type headset, which is not specifically limited here.
[0082] When the headset is in operation, the sound pickup unit 120 can specifically pick up the initial audio, that is, the above-mentioned environmental audio and human voice audio, and can perform corresponding processing. After the processing is completed, the audio can be played by the speaker on the headset body 110 or other output units.
[0083] The specific implementation process of the ear return adjustment method provided in the embodiment of the present application can be explained below based on the specific structure of the above-mentioned headphones.
[0084] Figure 2 For a flow chart of the earphone adjustment method provided in the embodiment of the present application, please refer to Figure 2 , the method comprising:
[0085] S210: Acquire initial audio of the earphone in the current environment through the sound pickup unit.
[0086] The initial audio includes: environmental audio and human voice audio.
[0087] Optionally, the sound pickup unit can be started working by turning on the ear return function or turning on the power. After the sound pickup unit starts working, the initial audio of the current environment, that is, the ambient audio and the human voice audio, can be obtained based on the two types of microphones mentioned above.
[0088] Among them, the ambient audio can specifically be the ambient noise in the current environment where the headset is located. For example, when the user is in a noisy market, the noisy sound in the background is the ambient audio; correspondingly, the human voice audio can specifically be the sound of the user or other people speaking through the sound pickup unit of the headset in the current environment. For example, when the user is recording, he uses the sound pickup unit to record what he says, and the recorded audio is the human voice audio.
[0089] It should be noted that the ambient audio and the human voice audio should be acquired synchronously, that is, the ambient audio and the human voice audio are acquired at the same time, and these audios are used as the above-mentioned initial audio.
[0090] S220: Determine a target adjustment method for the initial audio according to the target audio parameters of the ambient audio and the target audio parameters of the human voice audio.
[0091] The target adjustment method includes adjusting target audio parameters of the target audio, and the target audio includes environmental audio and / or human voice audio.
[0092] Optionally, the target audio parameter may be any parameter of the audio, for example, the loudness of the audio represented by the waveform amplitude of the signal, the frequency of the audio signal, or the duration of the audio signal. At least one of the parameters may be selected for adjustment based on actual adjustment requirements.
[0093] When adjusting the target audio, the adjustment may be made to the ambient audio, or to the vocal audio, or to both. No specific limitation is made here, and corresponding settings may be made according to actual needs.
[0094] S230: adjusting the initial audio according to the target adjustment method, and outputting the adjusted audio.
[0095] Optionally, after determining the target adjustment method, the initial audio can be adjusted based on the target adjustment method. The specific process can adopt different audio adjustment processes based on different target adjustment methods. For example, if the target adjustment method is to adjust the loudness, the loudness of the human voice audio, the loudness of the ambient audio, or both in the initial audio can be adjusted; accordingly, other target adjustment methods can also be used to adjust the corresponding target parameters.
[0096] After the adjustment is completed based on the above method, the adjusted audio can be obtained. It should be noted that the adjusted audio can be obtained by adjusting the initial audio. After obtaining the adjusted audio, the adjusted audio can be played by the speaker of the earphone body or other output unit, that is, the user can hear the adjusted audio through the ear return function.
[0097] In an ear return adjustment method provided in an embodiment of the present application, the initial audio of the earphone in the current environment can be obtained through a sound pickup unit, and the initial audio includes: environmental audio and human voice audio; according to the target audio parameters of the environmental audio and the target audio parameters of the human voice audio, a target adjustment method for the initial audio is determined, and the target adjustment method includes adjusting the target audio parameters of the target audio, and the target audio includes environmental audio and / or human voice audio; the initial audio is adjusted according to the target adjustment method, and the adjusted audio is output. Among them, the initial audio obtained by the sound pickup unit can be adjusted, and specifically, the corresponding target adjustment method can be determined according to the target audio parameters selected for adjustment, so as to achieve the adjustment change of the initial audio and obtain a more appropriate output result, thereby also improving the effect of the audio output during the ear return process.
[0098] Optionally, determining a target adjustment method for the initial audio according to a target audio parameter of the ambient audio and a target audio parameter of the human voice audio includes:
[0099] According to the loudness of the ambient audio and the loudness of the human voice audio, the target adjustment method is determined to be the loudness adjustment of the target audio; and / or, according to the frequency of the ambient audio and the frequency of the human voice audio, the target adjustment method is determined to be the frequency adjustment of the target audio.
[0100] Among them, loudness represents the size of the audio sound, and frequency represents the pitch of the audio. In the actual adjustment process, you can choose to adjust the loudness and / or frequency of the target audio.
[0101] For example, if you choose to adjust the loudness of the initial audio alone, you can adjust the volume of the sound of the initial audio; if you choose to adjust the frequency of the initial audio alone, you can adjust the pitch of the initial audio; accordingly, if you choose to adjust the loudness and frequency of the initial audio at the same time, you can adjust the volume and pitch of the sound of the initial audio.
[0102] In the actual selection process, the target adjustment method can be determined according to the corresponding needs. For example, if the current environment is noisy and the sound needs to be increased, the target adjustment method for adjusting the loudness can be determined based on the volume of the ambient audio; if the current environment is normal and the user needs to hear a sound that meets the pitch requirements, the target adjustment method for adjusting the frequency can be determined based on the user's choice.
[0103] In the ear return adjustment method provided in the embodiment of the present application, the target adjustment method can be determined as the loudness adjustment of the target audio according to the loudness of the ambient audio and the loudness of the human voice audio; and / or, the target adjustment method can be determined as the frequency adjustment of the target audio according to the frequency of the ambient audio and the frequency of the human voice audio. Among them, the corresponding adjustment method can be selected for parameters such as loudness or frequency based on actual needs, so that the initial audio can be adjusted in a more appropriate adjustment method, thereby increasing the comprehensiveness of the audio adjustment and obtaining a more appropriate output result.
[0104] The following is a detailed explanation of the specific implementation method used when adjusting the loudness of the initial audio in the embodiment of the present application.
[0105] Figure 3 For another flowchart of the earphone adjustment method provided in the embodiment of the present application, please refer to Figure 3 According to the loudness of the ambient audio and the loudness of the human voice audio, the target adjustment method is determined to be the loudness adjustment of the target audio, including:
[0106] S310: Determine a loudness adjustment gain according to the loudness of the ambient audio and the loudness of the human voice audio.
[0107] It should be noted that, when the loudness is adjusted, the adjustment process may be implemented based on the relationship between the loudness of the ambient audio and the loudness of the human voice audio.
[0108] After obtaining the ambient audio and the human voice audio, the loudness of the two audios can be determined, and then the loudness of the two audios can be compared, so as to determine that the target adjustment method is to adjust the loudness of the target audio.
[0109] In the actual application of the ear return function, since the ear return function usually needs to realize the ear return of human voice, that is, the audio played by the ear return should be human voice audio, therefore, in the process of adjusting the initial audio, you can choose to increase the loudness of the human voice audio, or reduce the loudness of the ambient audio to highlight the human voice audio. In other words, you can choose to adjust the audio loudness when the loudness of the human voice audio is less than a certain threshold.
[0110] Optionally, the loudness adjustment gain may specifically be a gain value used for adjusting the loudness of the initial audio when adjusting the loudness of the initial audio, for example, increasing the loudness by N decibels, or decreasing the loudness by N decibels.
[0111] The loudness adjustment gain may be specifically determined by the loudness of the ambient audio and the loudness of the human voice audio.
[0112] Accordingly, the initial audio is adjusted according to the target adjustment method, and the adjusted audio is output, including:
[0113] S320: Adjust the initial audio according to the loudness adjustment gain, and output the adjusted audio.
[0114] Optionally, after the loudness adjustment gain is determined, the loudness of the initial audio may be adjusted based on the loudness adjustment gain, for example, the overall loudness of the initial audio may be increased or decreased, or only the loudness of the human voice audio or the ambient audio in the initial audio may be adjusted.
[0115] You can select one of them to adjust the loudness of the initial audio according to the actual needs of the user, so as to obtain the adjusted audio.
[0116] After the adjusted audio is obtained, it can be played by a speaker or other output unit on the headset body, so that the user can hear the original audio after the loudness is adjusted.
[0117] In the ear return adjustment method provided in the embodiment of the present application, the loudness adjustment gain can be determined according to the loudness of the ambient audio and the loudness of the human voice audio; the initial audio is adjusted according to the loudness adjustment gain, and the adjusted audio is output. Among them, when the loudness adjustment is performed by the loudness adjustment gain, the accuracy of the adjustment can be improved, so that the loudness of the initial audio can be adjusted more accurately, and then a more appropriate output result can be obtained, so that the user can hear his own voice more clearly through the ear return function.
[0118] The specific implementation process of determining the loudness adjustment gain in the ear return adjustment method provided in the embodiment of the present application is explained in detail below.
[0119] Figure 4 For another flowchart of the earphone adjustment method provided in the embodiment of the present application, please refer to Figure 4 , the loudness adjustment gain is determined according to the loudness of the ambient audio and the loudness of the human voice audio, including:
[0120] S410: Determine the loudness of the target human voice audio corresponding to the loudness of the ambient audio according to a preset mapping relationship between the loudness of the ambient audio and the loudness of the target human voice audio.
[0121] Optionally, a mapping table may be preconfigured, in which a mapping relationship between the loudness of the ambient audio and the loudness of the target vocal audio may be recorded, wherein the target audio loudness may be the minimum loudness at which the vocal audio can be clearly heard under any ambient audio loudness.
[0122] For example, when the ambient audio is 40 decibels, if the human voice loudness is 70 decibels and can be clearly heard, then 70 decibels is the loudness of the target human voice audio when the ambient audio is 40 decibels.
[0123] In the mapping table, the loudness of the target human voice audio corresponding to the loudness of each ambient audio can be recorded. In the actual adjustment process, if the loudness of the ambient audio is determined, the loudness of the target human voice audio corresponding to the loudness of the ambient audio can be determined based on the mapping relationship.
[0124] S420: Determine a loudness adjustment gain based on the loudness of the target human voice audio and the magnitude relationship of the loudness of the human voice audio.
[0125] It should be noted that the loudness of the target human voice audio may be specifically quantified in terms of the size of the sound, that is, in terms of decibel values. Accordingly, the loudness of the human voice audio may also be quantified in terms of decibel values.
[0126] After the loudness of the target vocal audio is obtained based on the above step S410, the loudness adjustment gain can be further determined based on the magnitude relationship between the loudness of the target vocal audio and the loudness of the vocal audio collected by the sound pickup unit.
[0127] The loudness adjustment gain may be specifically quantified in the form of a decibel value. During the actual adjustment process, the audio power amplifier may be adjusted according to the decibel value, thereby achieving loudness adjustment.
[0128] In the ear-return adjustment method provided in the embodiment of the present application, the loudness of the target human voice audio corresponding to the loudness of the ambient audio can be determined according to the preset mapping relationship between the loudness of the ambient audio and the loudness of the target human voice audio; the loudness adjustment gain can be determined based on the loudness of the target human voice audio and the magnitude relationship of the loudness of the human voice audio. The mapping relationship can more accurately determine the loudness of the target human voice audio corresponding to each ambient audio loudness, thereby more accurately determining the loudness adjustment gain.
[0129] The following is a detailed explanation of how to implement the loudness adjustment gain determination process in the embodiment of the present application.
[0130] Figure 5 For another flowchart of the earphone adjustment method provided in the embodiment of the present application, please refer to Figure 5 , based on the loudness of the target human voice audio and the magnitude relationship of the loudness of the human voice audio, determining the loudness adjustment gain includes:
[0131] If the loudness of the target human voice audio is greater than the loudness of the human voice audio, S510: taking the difference between the loudness of the target human voice audio and the loudness of the human voice audio as the loudness adjustment gain.
[0132] If the loudness of the target human voice audio is less than or equal to the loudness of the human voice audio, S520: the loudness adjustment gain is set to 0.
[0133] Optionally, after determining the loudness of the target human voice audio and the loudness of the human voice audio, a comparison of the magnitude of the loudness can be performed, and the result of the comparison can be divided into the above-mentioned two situations, that is, the situation where the loudness of the target human voice audio is greater than the loudness of the human voice audio and the situation where the loudness of the target human voice audio is less than or equal to the loudness of the human voice audio.
[0134] When it is determined that the loudness of the target human voice audio is greater than the loudness of the human voice audio, that is, the loudness of the actual human voice audio does not reach the loudness of the target human voice audio, this may cause the user to not be able to clearly hear the human voice audio when using the ear return function of the headset. The specific calculation formula is as follows:
[0135] Loudness adjustment gain = loudness of target vocal audio - loudness of vocal audio;
[0136] It should be noted that, since in the above formula, the loudness of the target human voice audio is greater than the loudness of the human voice audio, the loudness adjustment gain is a positive number.
[0137] In contrast, when it is determined that the loudness of the target vocal audio is less than or equal to the loudness of the vocal audio, that is, the loudness of the actual vocal audio has reached the loudness of the target audio, this can indicate that the user can hear the vocal audio normally and clearly when using the ear return function of the headset, and no corresponding adjustment is required, that is, the loudness adjustment gain can be set to 0.
[0138] The following is a detailed explanation of the process of determining the loudness adjustment gain using multiple examples:
[0139] If the loudness of the ambient audio is 40dB, the loudness of the target human voice audio is 70dB, and the loudness of the human voice audio is 50dB, then the calculated loudness adjustment gain can be 20dB;
[0140] If the loudness of the ambient audio is 50dB, and the loudness of the target human voice audio is 80dB, then the loudness of the human voice audio is 50dB, and the loudness adjustment gain can be calculated to be 30dB;
[0141] If the loudness of the ambient audio is 40dB, and the loudness of the target human voice audio is 70dB, then the loudness of the human voice audio is 40dB, and the loudness adjustment gain can be calculated to be 30dB;
[0142] If the loudness of the ambient audio is 50dB, the loudness of the target human voice audio is 80dB, and the loudness of the human voice audio is 40dB, then the calculated loudness adjustment gain can be 40dB;
[0143] If the loudness of the ambient audio is 50 dB, the loudness of the target human voice audio is 80 dB, and the loudness of the human voice audio is 90 dB, then the calculated loudness adjustment gain may be 0.
[0144] In the ear-return adjustment method provided in the embodiment of the present application, when the loudness of the target human voice audio is greater than the loudness of the human voice audio, the difference between the loudness of the target human voice audio and the loudness of the human voice audio can be used as the loudness adjustment gain; when the loudness of the target human voice audio is less than or equal to the loudness of the human voice audio, the loudness adjustment gain is set to 0. In the process of adjustment, whether the corresponding audio adjustment is required can be determined based on whether the loudness of the human voice audio reaches the loudness of the target human voice audio, so that the corresponding loudness adjustment gain can be set. Based on the above two different comparison results, different loudness adjustment gain setting methods can be adopted to improve the accuracy of gain determination.
[0145] The specific implementation process of loudness adjustment based on gain in the ear return adjustment method provided in the embodiment of the present application is explained in detail below.
[0146] Figure 6 For another flowchart of the earphone adjustment method provided in the embodiment of the present application, please refer to Figure 6 , adjust the initial audio according to the loudness adjustment gain, and output the adjusted audio, including:
[0147] If the loudness adjustment gain is greater than 0, S610: amplify the loudness of the human voice audio and / or reduce the loudness of the ambient audio to obtain and output the adjusted audio.
[0148] If the loudness adjustment gain is 0, S620: output the initial audio as the adjusted audio.
[0149] Optionally, according to the above explanation of the loudness adjustment gain, it can be obtained that the loudness adjustment gain can only be a positive number or 0.
[0150] Among them, when the loudness gain is greater than 0, it can be determined that the initial audio needs to be adjusted to highlight the human voice audio. In the specific implementation process, the loudness of the human voice audio can be amplified, the loudness of the ambient audio can be reduced, or both methods can be used at the same time to highlight the human voice audio.
[0151] Correspondingly, when the loudness gain is 0, it can be determined that the initial audio does not need to be adjusted, the currently input initial audio can be played clearly, and the initial audio can be output as the adjusted audio.
[0152] Among them, when making specific adjustments, for example: if the loudness adjustment gain is 40dB, when the loudness of the human voice audio is amplified, the loudness of the human voice audio can be increased by 40dB; correspondingly, when the loudness of the ambient audio is reduced, the loudness of the ambient audio can also be reduced by 40dB; or, when a combination of the two is adopted, the loudness of the human voice audio can be increased by 20dB, and the loudness of the ambient audio can be reduced by 20dB at the same time.
[0153] It should be noted that the above explanation is only one feasible example. In the actual calculation process, due to the interference of various factors, there may be certain differences in the specific decibel values that need to be adjusted. Corresponding adjustments can be made according to actual needs and are not limited to the decibel values exemplified above.
[0154] In the ear return adjustment method provided in the embodiment of the present application, when the loudness adjustment gain is greater than 0, the loudness of the human voice audio can be amplified, and / or the loudness of the ambient audio can be reduced to obtain and output the adjusted audio; when the loudness adjustment gain is 0, the initial audio is output as the adjusted audio. Among them, different adjustment methods can be used to adjust the loudness of the initial audio through different sizes of the loudness adjustment gain, so as to obtain a more appropriate output result, that is, to obtain a more appropriate adjusted audio, so that the user can hear his own voice more clearly through the ear return function.
[0155] The following is a detailed explanation of the specific implementation method used when adjusting the frequency of the initial audio provided in the embodiment of the present application.
[0156] Figure 7 For another flowchart of the earphone adjustment method provided in the embodiment of the present application, please refer to Figure 7 According to the frequency of the ambient audio and the frequency of the human voice audio, the target adjustment method is determined to be the frequency adjustment of the target audio, including:
[0157] S710: Determine a frequency adjustment parameter according to the frequency of the ambient audio and the frequency of the human voice audio.
[0158] Optionally, the frequency of the audio may specifically refer to the frequency band of the corresponding audio signal, which may be divided into a low frequency band, a medium frequency band, a high frequency band, etc. according to actual application conditions, and the specific unit may be Hertz. Different frequencies will result in different pitches of the corresponding audio.
[0159] When users actually use the earphone's return-to-ear function, they may be more sensitive to sounds of a certain frequency due to actual usage habits, that is, they can more easily hear the audio at this frequency. Therefore, the frequency adjustment parameters can be determined based on the acquired frequencies of the ambient audio and the human voice audio.
[0160] The initial audio is adjusted according to the target adjustment method, and the adjusted audio is output, including:
[0161] S720: Adjust the initial audio according to the frequency adjustment parameter, and output the adjusted audio.
[0162] Optionally, after obtaining the frequency adjustment parameter, the frequency of the human voice audio and / or the frequency of the ambient audio in the initial audio can be adjusted accordingly based on the frequency adjustment parameter, so as to obtain the adjusted audio that meets the actual needs, and the audio can be output.
[0163] In the ear-return adjustment method provided in the embodiment of the present application, the frequency adjustment parameter can be determined according to the frequency of the ambient audio and the frequency of the human voice audio; the initial audio is adjusted according to the frequency adjustment parameter, and the adjusted audio is output. Among them, based on the frequency of the ambient audio and the frequency of the human voice audio, it can be more accurately determined whether the initial audio needs to be adjusted, so that the frequency of the initial audio can be adjusted accordingly in a more appropriate and matching manner.
[0164] The specific implementation process of determining the frequency adjustment parameters in the ear return adjustment method provided in the embodiment of the present application is explained in detail below.
[0165] Figure 8 For another flowchart of the earphone adjustment method provided in the embodiment of the present application, please refer to Figure 8 , determining the frequency adjustment parameters according to the frequency of the ambient audio and the frequency of the human voice audio, including:
[0166] S810: Determine a target frequency of the ambient audio and a target frequency of the vocal audio in the target audio segment.
[0167] Optionally, the target audio segment may be any audio segment in the input initial audio, and may be actively selected by the user, or may be automatically selected based on a pre-configuration, and no specific limitation is made herein.
[0168] After determining the target audio segment, the frequency of the ambient audio and the frequency of the vocal audio in the target audio segment can be determined, and the frequency of the ambient audio is used as the target frequency of the ambient audio, and the frequency of the vocal audio is used as the target frequency of the vocal audio.
[0169] S820: Determine a first frequency adjustment parameter set based on each audio frequency of the ambient audio and a target frequency of the ambient audio.
[0170] S830: Determine a second frequency adjustment parameter set based on each audio frequency of the human voice audio and the target frequency of the human voice audio.
[0171] Optionally, after determining the target frequency of the ambient audio, the first frequency adjustment parameter of each segment of ambient audio in the initial audio can be determined based on the frequency of the segment of ambient audio, wherein a portion of the audio with equal frequency and connected front and back can be regarded as a segment of ambient audio, and there is a first frequency adjustment parameter for this segment of ambient audio. In this way, the entire initial audio can be divided into multiple segments, each of which can have a first frequency adjustment parameter, and the set of these first frequency adjustment parameters is the first frequency adjustment parameter set.
[0172] Similarly, after determining the target frequency of the vocal audio, the second frequency adjustment parameter of each segment of the vocal audio in the initial audio can be determined based on the frequency of the vocal audio in that segment, wherein the part of the audio with equal frequency and connected front and back can be regarded as a segment of vocal audio, and there is a second frequency adjustment parameter for this segment of vocal audio. In this way, the entire initial audio can be divided into multiple segments, each of which can have a second frequency adjustment parameter, and the set of these second frequency adjustment parameters is the second frequency adjustment parameter set.
[0173] After the first frequency adjustment parameter set and the second frequency adjustment parameter set are determined based on the above method, corresponding frequency adjustment can be performed.
[0174] In the ear return adjustment method provided in the embodiment of the present application, the target frequency of the ambient audio and the target frequency of the human voice audio in the target audio segment can be specifically determined; based on the individual audio frequencies of the ambient audio and the target frequency of the ambient audio, a first frequency adjustment parameter set can be determined; based on the individual audio frequencies of the human voice audio and the target frequency of the human voice audio, a second frequency adjustment parameter set can be determined. Among them, by determining the first frequency adjustment parameter and the second frequency adjustment parameter of each segment, and then obtaining the first frequency adjustment parameter set and the second frequency adjustment parameter set, the frequency adjustment of the initial audio can be achieved more accurately and quickly, and the accuracy of the frequency adjustment can be improved.
[0175] The following explains the specific implementation process of performing corresponding adjustments based on the first frequency adjustment parameter set and the second frequency adjustment parameter set in the earphone return adjustment method provided in the embodiment of the present application.
[0176] Fig. 9 For another flowchart of the earphone adjustment method provided in the embodiment of the present application, please refer to Fig. 9 , adjust the initial audio according to the frequency adjustment parameter, and output the adjusted audio, including:
[0177] S910: Perform frequency adjustment on each audio in the ambient audio according to the first frequency adjustment parameter set to obtain an adjusted first audio.
[0178] S920: Perform frequency adjustment on each audio in the human voice audio according to the second frequency adjustment parameter set to obtain adjusted second audio.
[0179] Optionally, since each first frequency adjustment parameter in the first frequency adjustment parameter set is a parameter for frequency adjustment of a corresponding segment of ambient audio, all ambient audio (or part of the ambient audio selected according to actual needs) can be adjusted based on the first frequency adjustment parameter set, thereby unifying the ambient audio frequency and obtaining the adjusted first audio.
[0180] Accordingly, since each second frequency adjustment parameter in the second frequency adjustment parameter set is a parameter for frequency adjustment of a corresponding segment of human voice audio, all human voice audio (or part of the human voice audio selected according to actual needs) can be adjusted based on the second frequency adjustment parameter set, thereby unifying the human voice audio frequency and obtaining the adjusted second audio.
[0181] After the above adjustment, the adjusted ambient audio and the adjusted vocal audio, that is, the first audio and the second audio, can be obtained respectively.
[0182] S930: Output the first audio and / or the second audio as the adjusted audio.
[0183] Optionally, after obtaining the first audio and the second audio, the corresponding audio can be selected as the adjusted audio output according to actual needs. For example, if only human voice is needed during use, only the second audio can be output; if a more realistic human voice is to be output, the first audio and the second audio can be output at the same time, etc.
[0184] In the ear return adjustment method provided in the embodiment of the present application, the frequency of each audio in the environmental audio can be adjusted according to the first frequency adjustment parameter set to obtain the adjusted first audio; the frequency of each audio in the human voice audio can be adjusted according to the second frequency adjustment parameter set to obtain the adjusted second audio; the first audio and / or the second audio can be output as the adjusted audio. In the process of audio output, the corresponding adjusted environmental audio and / or adjusted human voice audio can be selected for output, thereby improving the applicability of the output audio and the output effect.
[0185] Optionally, after acquiring the initial audio of the earphone in the current environment through the sound pickup unit, the method further includes: if the loudness of the ambient audio in the initial audio is greater than a target threshold, outputting target prompt information.
[0186] The target threshold can be a pre-set fixed value that can be adjusted according to the actual environment, and is not a fixed value. When the loudness of the ambient audio in the initial audio is greater than the target threshold, it can be said that the current environment is too noisy. If the ear return mode is used for human voice output at this time, it may damage hearing. Even if the ear return mode is not used, being in this environment for a long time will also affect human hearing. In order to avoid this effect, the target prompt information can be output.
[0187] The target prompt information may specifically be information for prompting the user to change the current scene, such as "You are currently in a noisy environment, please switch to a quiet environment" and the like.
[0188] In the ear-return adjustment method provided in the embodiment of the present application, when the loudness of the ambient audio in the initial audio is greater than the target threshold, the target prompt information can be output, so that the user can timely understand the relevant information of the current environment during use, avoid being in a noisy environment, and thus improve the safety of using the earphones.
[0189] The following describes the devices, equipment, storage media, etc. corresponding to the ear return adjustment method provided in the present application. The specific implementation process is described above.
[0190] Fig.10 For a structural diagram of the ear return adjustment device provided in the embodiment of the present application, please refer to Fig.10 , an ear return adjustment device, applied to earphones, the earphones comprising: a sound pickup unit, the device comprising: an acquisition module 200, a determination module 300 and an adjustment module 400;
[0191] The acquisition module 200 is used to acquire the initial audio of the earphone in the current environment through the sound pickup unit, and the initial audio includes: environmental audio and human voice audio;
[0192] A determination module 300 is used to determine a target adjustment method for the initial audio according to target audio parameters of the ambient audio and target audio parameters of the human voice audio, wherein the target adjustment method includes adjusting the target audio parameters of the target audio, and the target audio includes the ambient audio and / or the human voice audio;
[0193] The adjustment module 400 is used to adjust the initial audio according to a target adjustment method and output the adjusted audio.
[0194] Optionally, the determination module 300 is specifically used to determine that the target adjustment method is to adjust the loudness of the target audio according to the loudness of the ambient audio and the loudness of the human voice audio; and / or, to determine that the target adjustment method is to adjust the frequency of the target audio according to the frequency of the ambient audio and the frequency of the human voice audio.
[0195] Optionally, the determination module 300 is specifically used to determine the loudness adjustment gain according to the loudness of the ambient audio and the loudness of the human voice audio; the adjustment module 400 is specifically used to adjust the initial audio according to the loudness adjustment gain and output the adjusted audio.
[0196] Optionally, the determination module 300 is specifically used to determine the loudness of the target human voice audio corresponding to the loudness of the ambient audio according to a preset mapping relationship between the loudness of the ambient audio and the loudness of the target human voice audio; and determine the loudness adjustment gain based on the relationship between the loudness of the target human voice audio and the loudness of the human voice audio.
[0197] Optionally, the determination module 300 is specifically used to, if the loudness of the target human voice audio is greater than the loudness of the human voice audio, use the difference between the loudness of the target human voice audio and the loudness of the human voice audio as the loudness adjustment gain; if the loudness of the target human voice audio is less than or equal to the loudness of the human voice audio, set the loudness adjustment gain to 0.
[0198] Optionally, the adjustment module 300 is specifically used to amplify the loudness of the human voice audio and / or reduce the loudness of the ambient audio if the loudness adjustment gain is greater than 0, to obtain and output the adjusted audio; if the loudness adjustment gain is 0, to output the initial audio as the adjusted audio.
[0199] Optionally, the determination module 300 is specifically used to determine a frequency adjustment parameter according to the frequency of the ambient audio and the frequency of the human voice audio; the adjustment module 400 is specifically used to adjust the initial audio according to the frequency adjustment parameter and output the adjusted audio.
[0200] Optionally, the determination module 300 is specifically used to determine the target frequency of the ambient audio and the target frequency of the human voice audio in the target audio segment; determine a first frequency adjustment parameter set based on the individual audio frequencies of the ambient audio and the target frequency of the ambient audio; and determine a second frequency adjustment parameter set based on the individual audio frequencies of the human voice audio and the target frequency of the human voice audio.
[0201] Optionally, the adjustment module 400 is specifically used to perform frequency adjustment on each audio in the ambient audio according to a first frequency adjustment parameter set to obtain an adjusted first audio; perform frequency adjustment on each audio in the human voice audio according to a second frequency adjustment parameter set to obtain an adjusted second audio; and output the first audio and / or the second audio as the adjusted audio.
[0202] Optionally, the acquisition module 200 is further configured to output target prompt information if the loudness of the ambient audio in the initial audio is greater than a target threshold.
[0203] In an ear return adjustment device provided by an embodiment of the present application, the initial audio of the earphone in the current environment can be obtained through a sound pickup unit, and the initial audio includes: environmental audio and human voice audio; according to the target audio parameters of the environmental audio and the target audio parameters of the human voice audio, a target adjustment method for the initial audio is determined, and the target adjustment method includes adjusting the target audio parameters of the target audio, and the target audio includes environmental audio and / or human voice audio; the initial audio is adjusted according to the target adjustment method, and the adjusted audio is output. Among them, the initial audio obtained by the sound pickup unit can be adjusted, and specifically, the corresponding target adjustment method can be determined according to the target audio parameters selected for adjustment, so as to achieve the adjustment change of the initial audio and obtain a more appropriate output result, thereby also improving the effect of the audio output during the ear return process.
[0204] The embodiments of this application are Fig.11 In the figure, the memory and the processor are connected by a bus, and the bus is represented by a thick line in the figure. The connection between other components is only for schematic illustration and is not limited. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
[0205] In the embodiments of the present application, the processor may be a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, and may implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application may be directly embodied as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.
[0206] In the embodiment of the present application, the memory may be a non-volatile memory, such as a hard disk drive (HDD) or a solid-state drive (SSD), etc., or a volatile memory (volatile memory), such as a random access memory (RAM). The memory is any other medium that can be used to carry or store a desired program code in the form of an instruction or data structure and can be accessed by a computer, but is not limited thereto. The memory in the embodiment of the present application may also be a circuit or any other device that can implement a storage function, for storing program instructions and / or data.
[0207] Fig.11 For a schematic diagram of the structure of the terminal device provided in the embodiment of the present application, please refer to Fig.11, terminal device, the terminal device includes a processor 500 and a memory 600, the memory 600 stores a computer program, and the computer program is executed by the processor 500 to implement the ear return adjustment method.
[0208] In another aspect of the embodiments of the present application, a computer-readable storage medium is provided, in which a computer program is stored. The computer program is executed by a processor to implement the ear return adjustment method.
[0209] Optionally, an embodiment of the present application also provides a computer program product, which stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set are loaded and executed by the processor to implement all or part of the steps corresponding to the methods described in the above embodiments.
[0210] It should be noted that: when the device provided in the above embodiment performs the control of the terminal device, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
[0211] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0212] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.
[0213] The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.
Claims
1. A method for adjusting an earphone monitor, characterized in that: Applied to earphones, the earphones comprising: a sound pickup unit, the method comprising: Acquiring the initial audio of the headset in the current environment through the sound pickup unit, wherein the initial audio includes: environmental audio and human voice audio; Determining a target adjustment method for the initial audio according to the target audio parameters of the ambient audio and the target audio parameters of the vocal audio, wherein the target adjustment method includes adjusting the target audio parameters of the target audio, and the target audio includes the ambient audio and / or the vocal audio; The initial audio is adjusted according to the target adjustment method, and the adjusted audio is output.
2. The earphone monitoring adjustment method according to claim 1, characterized in that: The step of determining a target adjustment method for the initial audio according to the target audio parameters of the ambient audio and the target audio parameters of the human voice audio includes: According to the loudness of the ambient audio and the loudness of the human voice audio, determining that the target adjustment method is to adjust the loudness of the target audio; and / or, According to the frequency of the ambient audio and the frequency of the human voice audio, it is determined that the target adjustment method is to adjust the frequency of the target audio.
3. The earphone monitoring adjustment method according to claim 2, characterized in that: The step of determining, according to the loudness of the ambient audio and the loudness of the human voice audio, that the target adjustment method is to adjust the loudness of the target audio includes: Determining a loudness adjustment gain according to the loudness of the ambient audio and the loudness of the human voice audio; The adjusting the initial audio according to the target adjustment mode and outputting the adjusted audio includes: The initial audio is adjusted according to the loudness adjustment gain, and the adjusted audio is output.
4. The earphone monitoring adjustment method according to claim 3, characterized in that: The step of determining the loudness adjustment gain according to the loudness of the ambient audio and the loudness of the human voice audio includes: Determine the loudness of the target human voice audio corresponding to the loudness of the ambient audio according to a preset mapping relationship between the loudness of the ambient audio and the loudness of the target human voice audio; The loudness adjustment gain is determined based on the loudness of the target vocal audio and the magnitude relationship between the loudness of the vocal audio.
5. The earphone monitoring adjustment method according to claim 4, characterized in that: The determining the loudness adjustment gain based on the loudness of the target human voice audio and the magnitude relationship of the loudness of the human voice audio includes: If the loudness of the target human voice audio is greater than the loudness of the human voice audio, taking the difference between the loudness of the target human voice audio and the loudness of the human voice audio as the loudness adjustment gain; If the loudness of the target vocal audio is less than or equal to the loudness of the vocal audio, the loudness adjustment gain is set to 0.
6. The earphone monitoring adjustment method according to claim 3, characterized in that: The adjusting the initial audio according to the loudness adjustment gain and outputting the adjusted audio includes: If the loudness adjustment gain is greater than 0, the loudness of the human voice audio is amplified, and / or the loudness of the ambient audio is reduced, to obtain and output the adjusted audio; If the loudness adjustment gain is 0, the initial audio is output as the adjusted audio.
7. The earphone monitoring adjustment method according to claim 2, characterized in that: The step of determining, according to the frequency of the ambient audio and the frequency of the human voice audio, that the target adjustment method is to adjust the frequency of the target audio includes: Determine a frequency adjustment parameter according to the frequency of the ambient audio and the frequency of the human voice audio; The adjusting the initial audio according to the target adjustment mode and outputting the adjusted audio includes: The initial audio is adjusted according to the frequency adjustment parameter, and the adjusted audio is output.
8. The earphone monitoring adjustment method according to claim 7, characterized in that: The determining of the frequency adjustment parameter according to the frequency of the ambient audio and the frequency of the human voice audio includes: Determine a target frequency of the ambient audio and a target frequency of the vocal audio in the target audio clip; Determining a first frequency adjustment parameter set based on each audio frequency of the ambient audio and a target frequency of the ambient audio; A second frequency adjustment parameter set is determined based on the respective audio frequencies of the human voice audio and the target frequency of the human voice audio.
9. The earphone monitoring adjustment method according to claim 8, characterized in that: The adjusting the initial audio according to the frequency adjustment parameter and outputting the adjusted audio includes: According to the first frequency adjustment parameter set, frequency adjustment is performed on each audio in the ambient audio to obtain an adjusted first audio; According to the second frequency adjustment parameter set, frequency adjustment is performed on each audio in the human voice audio to obtain an adjusted second audio; The first audio and / or the second audio is output as adjusted audio.
10. The earphone monitoring adjustment method according to any one of claims 1 to 9, characterized in that: After acquiring the initial audio of the headset in the current environment through the sound pickup unit, the method further includes: If the loudness of the ambient audio in the initial audio is greater than the target threshold, target prompt information is output.
11. An in-ear monitor adjustment device, characterized in that: Applied to earphones, the earphones include: a sound pickup unit, the device includes: an acquisition module, a determination module and an adjustment module; The acquisition module is used to acquire the initial audio of the headset in the current environment through the sound pickup unit, and the initial audio includes: environmental audio and human voice audio; The determination module is used to determine a target adjustment method for the initial audio according to the target audio parameters of the environmental audio and the target audio parameters of the human voice audio, wherein the target adjustment method includes adjusting the target audio parameters of the target audio, and the target audio includes the environmental audio and / or the human voice audio; The adjustment module is used to adjust the initial audio according to the target adjustment method and output the adjusted audio.
12. A terminal device, characterized in that: The terminal device includes a processor and a memory, wherein a computer program is stored in the memory, and the computer program is executed by the processor to implement the ear return adjustment method as described in any one of claims 1 to 10.
13. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and the computer program is executed by a processor to implement the earphone return adjustment method as described in any one of claims 1-10.
Citation Information
Patent Citations
Method for adjusting parameter of sound playing device
CN101442699A
Earphone adaptive output method and device, equipment and storage medium
CN115580804A
Multi-channel audio source automatic sound mixing method, system and device based on Android system and medium
CN116634221A
Ear return Bluetooth earphone with storage function
CN219459267U
Method and Apparatus for In-Ear Canal Sound Suppression
US20090147966A1