WO2021098698A1 - Audio playback method and terminal device - Google Patents
Audio playback method and terminal device Download PDFInfo
- Publication number
- WO2021098698A1 WO2021098698A1 PCT/CN2020/129628 CN2020129628W WO2021098698A1 WO 2021098698 A1 WO2021098698 A1 WO 2021098698A1 CN 2020129628 W CN2020129628 W CN 2020129628W WO 2021098698 A1 WO2021098698 A1 WO 2021098698A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- energy
- value
- volume
- audio
- time period
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 56
- 230000005236 sound signal Effects 0.000 claims abstract description 68
- 230000002159 abnormal effect Effects 0.000 claims abstract description 45
- 230000004044 response Effects 0.000 claims abstract description 10
- 230000003321 amplification Effects 0.000 claims description 36
- 238000003199 nucleic acid amplification method Methods 0.000 claims description 36
- 230000003827 upregulation Effects 0.000 claims description 36
- 230000007613 environmental effect Effects 0.000 claims description 20
- 238000004590 computer program Methods 0.000 claims description 12
- 230000006870 function Effects 0.000 description 16
- 238000010586 diagram Methods 0.000 description 11
- 230000000694 effects Effects 0.000 description 11
- 230000003044 adaptive effect Effects 0.000 description 8
- 238000004364 calculation method Methods 0.000 description 7
- 230000003631 expected effect Effects 0.000 description 5
- 102100026436 Regulator of MON1-CCZ1 complex Human genes 0.000 description 4
- 101710180672 Regulator of MON1-CCZ1 complex Proteins 0.000 description 4
- 238000001514 detection method Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000002474 experimental method Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000009527 percussion Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72442—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for playing music files
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/60—Substation equipment, e.g. for use by subscribers including speech amplifiers
- H04M1/6033—Substation equipment, e.g. for use by subscribers including speech amplifiers for providing handsfree use or a loudspeaker mode in telephone sets
- H04M1/6041—Portable telephones adapted for handsfree use
- H04M1/605—Portable telephones adapted for handsfree use involving control of the receiver volume to provide a dual operational mode at close or far distance from the user
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72469—User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72484—User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events
Definitions
- the present disclosure relates to the technical field of terminal equipment, and in particular to an audio playback method and terminal equipment.
- the volume increase button of the terminal device is used to increase the volume of the terminal device.
- the volume increase button of the terminal device is based on the audio signal carried by the video file, audio file, etc., and is output to the speaker. Based on the audio signal and the volume level set by the user, the terminal device controls the power input to the speaker, thereby controlling the playback To adjust the volume.
- the inventor found in the process of research that for some files with abnormal sound, such as some old video files and audio files, the sound data may be abnormal. Even after the volume component of the terminal device is adjusted to the maximum value, the sound may still be It is relatively small, which may make the user unable to hear clearly.
- the embodiments of the present disclosure provide an audio playback method and terminal device to solve the problem that when the terminal device is playing an abnormal audio file in the prior art, even when the volume is adjusted to the maximum value, the sound of the played file is still too small, which may make the user unable to listen.
- the problem of clearing is provided.
- embodiments of the present disclosure also provide an audio playback method, which is applied to a terminal device, and the method includes:
- the volume state is the abnormal volume state
- the volume component of the terminal device has been adjusted to the maximum volume, receiving the user's first input
- the sound signal that amplifies the audio energy is output to the speaker for playback.
- the embodiments of the present disclosure also provide a terminal device, the terminal device including:
- the determination module is used to determine the current volume status of the content being played
- a receiving module configured to receive a user's first input if the volume component of the terminal device has been adjusted to the maximum volume when the volume state is an abnormal volume state;
- An adjustment module configured to amplify the audio energy of the sound signal corresponding to the playback content in response to the first input
- the playback module is used to output the sound signal of the amplified audio energy to the speaker for playback.
- the embodiments of the present disclosure also provide a terminal device.
- the terminal device includes a processor, a memory, and a computer program stored on the memory and capable of running on the processor.
- the computer program is The steps of the audio playback method described in the present disclosure are realized when the processor is executed.
- the embodiments of the present disclosure also provide a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above-mentioned audio playback method are implemented.
- the volume state of the current playback content is determined; in the case that the volume state is the abnormal volume state, if the volume component of the terminal device has been adjusted to the maximum volume, the user's first input is received In response to the first input, the audio energy of the sound signal corresponding to the playback content is amplified; the sound signal of the amplified audio energy is output to the speaker for playback, and the volume state of the current playback content is determined to be at the volume In abnormal state and the volume component has been adjusted to the maximum volume, it can amplify the audio energy of the sound signal of the file with abnormal audio content and then input it into the speaker to increase the intensity of the sound signal input to the speaker, so that the speaker can play The sound becomes louder, which makes the user hear louder. It can gain the audio energy input to the speaker according to the user’s first input, thereby further increasing the output volume of the terminal device and satisfying the user’s need for the terminal device. Need for large output volume.
- Figure 1 shows a flow chart of the steps of an audio playback method provided by an embodiment of the present disclosure
- Figure 2 shows a flowchart of another audio playback method provided by an embodiment of the present disclosure
- FIG. 3 shows a schematic diagram of a volume mode display interface of a terminal device according to an embodiment of the present disclosure
- FIG. 4 shows a schematic diagram of a display interface for exiting the intelligent multi-level mode provided by an embodiment of the present disclosure
- FIG. 5 shows a schematic diagram of a display interface of an equal interval upward adjustment mode provided by an embodiment of the present disclosure
- FIG. 6 shows a schematic structural diagram of a terminal device provided by an embodiment of the present disclosure
- FIG. 7 shows a flowchart of steps of a method for determining a second amplification factor provided by an embodiment of the present disclosure
- FIG. 8 shows a schematic diagram of a display interface of an adaptive up-regulation mode provided by an embodiment of the present disclosure
- FIG. 9 shows a structural block diagram of a terminal device provided by an embodiment of the present disclosure.
- FIG. 10 shows a schematic diagram of the hardware structure of a terminal device provided by an embodiment of the present disclosure.
- one embodiment or “an embodiment” mentioned throughout the specification means that a specific feature, structure, or characteristic related to the embodiment is included in at least one embodiment of the present disclosure. Therefore, the appearances of "in one embodiment” or “in an embodiment” in various places throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner.
- an embodiment of the present disclosure provides an audio playback method, which is applied to a terminal device, and the method includes:
- Step 101 Determine the current volume state of the content being played.
- the terminal device plays the audio and video data in a timely manner. Even if the volume of the playback component is adjusted to the maximum, the volume output by the speaker in the terminal device still cannot meet the actual needs of the user. . Specifically, the volume state is used to describe whether the actual playback effect of the audio file played by the terminal device achieves the expected effect. Specifically, the audio energy can be input according to the speaker input of the terminal device when the normal audio file is played and the target audio is played. The speaker input audio energy in the file determines whether the actual playback effect of the current terminal device reaches the expected effect.
- the volume state of the current playback content is the normal volume state.
- the effect does not reach the expected effect, it is determined that the volume status of the current playback content is an abnormal volume status.
- the volume state can be the energy of the sound output by the speaker when the terminal device is playing audio content. It should be noted that when determining whether the actual playback effect achieves the expected effect, the audio energy of the ambient noise collected by the microphone can be further integrated, so that the determined volume state can take into account the environmental factors of the terminal device.
- the current playback content may be the playback content after the audio file is played, it may also be the content after the video file is played, or the content after other files with audio data are played.
- Step 102 When the volume state is the abnormal volume state, if the volume component of the terminal device has been adjusted to the maximum volume, receive a first input from the user.
- the speaker output effect does not meet the needs of the user. It may be that the audio and video data files are too long, so that the player's output audio energy after reading is lower than Expected, resulting in too small speaker input. Therefore, when judging the volume terminal, it is possible to compare the speaker input audio energy when playing a normal audio file with the speaker input audio energy when playing the target audio file to determine whether the playback status of the target audio file is abnormal in volume. Or it can be determined whether the playback status of the target audio file is an abnormal volume state by comparing the audio energy input from the speaker when the target audio file is played with the audio energy of the ambient noise collected by the microphone on the terminal device.
- the first input of the user can be received through the terminal device to activate the intelligent multi-level function for volume compensation in the terminal device.
- the intelligent multi-level function may specifically include an equal interval upward adjustment mode and an adaptive upward adjustment mode.
- the volume component of the terminal device can be further adjusted dynamically and incrementally according to the audio energy of the ambient noise.
- the first input may be in an equal interval up-regulation mode or an adaptive up-regulation mode, which is adapted to different up-regulation modes, and the actual adjusted volume value of the first input may be different.
- the equal-interval up-regulation mode is suitable for users to adjust the volume when the environmental noise is small
- the adaptive up-regulation mode is suitable for the environmental noises and allows the user to quickly adjust the volume to a volume that adapts to the environmental noise.
- the volume state is the normal volume state
- the user's normal volume increase or volume decrease input is received, and the power of the speaker of the control terminal device is correspondingly increased or decreased.
- Step 103 In response to the first input, amplify the audio energy of the sound signal corresponding to the playback content.
- the user can generate a first input by performing a preset operation on the volume component, and the terminal device will add a sound signal corresponding to the playback content corresponding to the first input according to the first input of the user.
- Gain so that the audio energy value of the sound information input to the speaker is further increased on the basis of the original maximum volume value of the volume component.
- Step 104 Output the sound signal of the amplified audio energy to the speaker for playback.
- the terminal device inputs audio energy to the speaker according to the sound signal that amplifies the audio energy for the playback content according to the first input of the user, so that the speaker outputs a larger volume of sound to meet the user's volume. demand.
- the volume state of the current playback content when it is determined that the volume state of the current playback content is in the abnormal volume state and the volume component has been adjusted to the maximum volume, it is possible to amplify the audio energy of the sound signal of the file with abnormal audio content.
- Input to the speaker increases the strength of the sound signal input to the speaker, thereby increasing the sound played by the speaker, and the sound heard by the user, which meets the user's demand for a larger output volume of the terminal device.
- an embodiment of the present disclosure provides another audio playback method, which is applied to a terminal device, and the method includes:
- Step 201 Obtain a first energy value of environmental noise through the microphone of the terminal device.
- the environmental noise of the surrounding environment of the terminal device can be collected through the microphone for a preset period of time, such as 1s or other time length collection, so as to start from the collection to the Analyze the average value of the audio energy of the collected noise audio to obtain the first energy value E1 of the noise audio.
- Step 202 Obtain a second energy value of the sound signal input to the speaker.
- the mean value of the audio energy input to the speaker of the terminal device is obtained, thereby obtaining the second energy value E2. It should be noted that the noise audio is different from the The sound signals are collected at the same time, and the collection time period is the same, so as to ensure the accuracy of subsequent processing.
- Step 203 In a case where the ratio of the first energy value to the second energy value is greater than a preset first threshold, determine that the volume state of the playback content is an abnormal volume state.
- the first threshold T1 can be obtained through experiments, such as using a terminal device to play sample audio files according to different input audio energy under different noise audio energy environments, and the user determines it according to the actual auditory effect.
- the input audio energy when the audio content of the sample audio file can be clearly identified, so that the T1 is determined according to the ratio of the current noise audio energy in the environment to the current input audio energy. If the ratio of the first energy value E1 to the second energy value E2 of the terminal device in the current environment is greater than the first threshold T1, it is determined that the user cannot clearly recognize the audio of the playback content in the current noisy environment, then it is determined
- the volume state of the playback content is an abnormal volume state.
- the ratio of the first energy value E1 to the second energy value E2 of the terminal device in the current environment is less than or equal to the first threshold T1
- it is determined that the user can clearly recognize the audio of the playback content in the current noisy environment Then, it is determined that the volume state of the playback content is a normal volume state, and no volume gain is required.
- the sample audio file may be a normal volume audio file, and the normal volume audio file is a file that meets the needs of the user when the volume of the terminal device is adjusted to the maximum when being played in a set scene.
- steps 201 to 203 are a method of determining the abnormal volume state according to the embodiments of the present disclosure.
- the ratio of the environmental noise collected by the microphone of the terminal device and the energy of the sound input to the speaker can be compared with the preset first.
- the comparison result of a threshold determines whether the volume state of the currently played content is an abnormal volume state or an abnormal volume state.
- Step 204 Obtain a first energy average value of the sound signal in a first preset time period.
- Step 205 Obtain a second energy mean value of the sound signal in a second preset time period, where the end time of the second preset time period is the current time, and the second preset time period is the first preset time period. A time period after the time period, and the second preset time period and the first preset time period are adjacent time periods.
- Step 206 If the ratio of the second energy average value to the target value is greater than a preset second threshold, determine that the volume state of the playback content is an abnormal volume state; wherein the target value is the first energy value And the second energy value.
- the lengths of the first preset time period t1 and the second preset time period t2 can be set according to actual needs, such as 2s or other time lengths.
- the second time period t2 is the first time period after t1, for example, the first time period is 0-2s, and the second time period is 2s-4s.
- the first preset time period when the file is played can be set to be empty.
- the second time period is the first preset time period mentioned above.
- the playing time of the file is 5 minutes and the time period is 2s
- the time period of the 0-2s playback progress is regarded as the aforementioned second preset time period
- the first preset time period corresponding to 0-2s is set to empty .
- the energy average value Eb of the audio energy input to the speaker is collected in the second preset time period 0-2s, and the first energy average value of the first preset time period corresponding to 0-2s is the initial energy value B0, and the initial energy value B0 is It is obtained by pre-playing normal volume audio files of different audio formats in different scenes, and then statistics.
- the second preset time period is 2-4s
- the first preset time period is 0-2s. Then, at this time, the second energy average value of the sound signal within 2-4 s can be obtained, and the first energy average value of the sound signal within the first preset time period can also be obtained. It should be noted that the first energy average value can be determined according to the preset initial energy value B0, so as to ensure that the volume state determination process is more accurate.
- the preset second threshold T2 can be obtained through experiments.
- T2 can be used to play sample audio files under different input audio energies, and the sample audio files can be identified according to the user's actual hearing sense. Determined by the ratio between the audio energy and the first energy mean of the sample audio file. If the ratio between the second energy average value and the target value is greater than the preset second threshold, it is determined that the playback content is an old file, and its playback effect does not meet the user's hearing needs, then the playback content is determined
- the volume status of is an abnormal volume status.
- the ratio between the second energy mean value and the target value is less than or equal to the preset second threshold, it is determined that the playback effect of the playback content can meet the user's hearing needs, and then it is determined that the volume state of the playback content is volume Normal state, no need for volume gain.
- the ratio between the second energy average value and the target value can be calculated by using the following formula (1):
- B1 is the ratio between the second energy average value and the target value, and the target value is (B0+Eb).
- the aforementioned volume state is an abnormal volume state, and if B1 is less than or equal to T2, the aforementioned volume state is a normal volume state.
- Step 207 If the ratio of the second energy average value to the target value is less than or equal to the preset second threshold value, determine a third energy average value according to the first energy average value and the second energy average value, and In the case that the second preset time period is changed to a third preset time period, the third energy average value is used as the target energy average value of the third preset time period, and the third preset time period Is a time period after the second preset time period, and the third preset time period and the second preset time period are adjacent time periods.
- the first energy average value may also be dynamically updated during the use of the terminal device, so as to adapt to the change of the playing content. Specifically, when the ratio between the second average energy value and the target value is less than or equal to the preset second threshold, the first average energy value may be updated with reference to the following formula (2):
- the B0_old refers to the first average value of energy in the first time period
- the Eb refers to the second average value of energy
- the B0_new refers to the updated first average value of energy
- the c is an audio energy adjustment parameter, which can be adjusted according to actual conditions. Demand setting.
- the second preset time period is 0-2s
- the second energy average value thereof is Eb
- the first energy average value of the first preset time period corresponding to 0-2s is the initial energy value B0.
- the first energy average value in the first preset time period is continued to be used as the second energy value in the second preset time period.
- the first average value of energy is greater than the preset second threshold value
- the initial energy value B0 continues to be the first energy average value of 0-2s.
- the first energy mean value B0 corresponding to the first preset time period of 0-2s continues to be the first energy value B0 corresponding to 2-4s A mean value of energy.
- Other situations can be deduced by analogy.
- the first energy average value is not necessarily fixed, and it can be dynamically updated in real time according to different playback contents played by the user.
- the second energy mean value is not necessarily fixed, and it can be dynamically updated in real time according to different playback contents played by the user. Then for a file with audio data, the audio volume of some audio segments may be normal, while the audio volume of some audio segments is abnormal. Then the sound signal of the audio segment with abnormal audio volume can be compensated to make the adjustment more convenient. Accurately target abnormal audio segments in audio content.
- Step 208 In the case that the volume state is the abnormal volume state and the volume component of the terminal device has been adjusted to the maximum volume, if the user triggers the volume up button, two up-regulation modes are displayed, where , The two up-regulation modes include a first up-regulation mode and a second up-regulation mode, and in the case of receiving a selection operation for any one of the two up-regulation modes, each time a volume increase button is received If the trigger operation is performed, it is determined that the first input is received.
- FIG. 3 a schematic diagram of a volume mode display interface of a terminal device is shown.
- the volume can be increased by increasing the volume of the volume component.
- the display interface of the terminal device will display the upward mode selection options including equal interval upward mode and adaptive upward mode for users to choose.
- the user may click the volume component of the terminal device again to perform a first input, and the first input may be a single click operation of the user or a long press operation of the user.
- the user wants to exit the smart multi-level mode, he can click the volume down button of the volume component, so that the selection options of the smart multi-level function in the display interface are gradually exited to exit the smart multi-level mode.
- the intelligent multi-level function adjust the speaker input audio volume of the terminal device back to the original maximum volume of the audio component.
- the power of the speaker is reduced to lower the speaker The volume of the playback.
- Step 209 In a case where the selection operation for the first up-regulation mode is received, and a trigger operation for the volume increase button is received, the audio energy is increased according to a preset amplitude.
- the first upward adjustment mode is an equal interval upward adjustment mode.
- the speaker can be The input audio energy is increased by a fixed amount. For example, each time you click the volume increase button, you can increase the volume by 3db (decibel) or 6db. It should be noted that, in this case, every time a user clicks on the volume increase button is received, the sound signal to be input to the speaker can be gained, and the amplitude of the gain is subject to an increase of 3db or 6db.
- the equal interval upward adjustment mode of the embodiment of the present disclosure has a simple adjustment strategy, and can complete the adjustment of the intensity of the sound signal of the audio data under the condition that the terminal device avoids a large amount of calculation.
- Step 210 If the terminal device includes a first microphone and a second microphone, in the case of receiving a selection operation for the second up-regulation mode and receiving a trigger operation for a volume increase button, pass the first microphone The first energy value of the environmental noise is acquired, and the second energy value of the environmental noise and the audio energy value of the sound signal are acquired through the second microphone.
- FIG. 6 a schematic structural diagram of a terminal device is shown.
- the lower right side of the terminal device is provided with a microphone mic1
- the upper left side is provided with a microphone mic2
- the lower left side is provided with a speaker. If the user selects the second up-regulation mode, that is, the adaptive up-regulation mode, collect the first energy value of the ambient noise through mic1, collect the second energy value of the ambient noise through mic2, and collect the audio of the sound signal input to the speaker energy.
- the second up-regulation mode that is, the adaptive up-regulation mode
- Step 211 Determine a second amplification factor according to the first energy value, the second energy value, the audio energy value, and the preset first amplification factor.
- the first amplification factor is an amplification factor of a volume component of the terminal device from a minimum volume to a maximum volume.
- the second amplification factor h for gaining the input audio energy of the playback content can be specifically obtained by the following formula (3):
- the An refers to the first amplification factor that the terminal device is adjusted up from the smallest to the largest
- the E1 refers to the first energy value of mic1
- the E2 refers to the second energy value of mic2
- the h refers to The updated second magnification factor.
- the step 211 includes:
- Step 2111 Determine a first value corresponding to the first microphone according to the first energy value, the first amplification factor, and the audio energy value.
- Step 2112 Determine a second value corresponding to the second microphone according to the second energy value, the first amplification factor, the audio energy value, and the preset energy attenuation factor, where the preset energy attenuation factor is the When the sound signal played by the loudspeaker reaches the second microphone, it is relative to the energy attenuation factor when the sound signal played by the loudspeaker reaches the first microphone.
- Step 2113 Determine the second amplification factor according to the first value, the second value, and the first amplification factor.
- the speaker in the terminal device considering that the speaker in the terminal device is playing audio, it will interfere with the audio energy of the actual environmental noise collected by the first microphone and the second microphone, so it is necessary to interfere with the first microphone and the second microphone.
- the energy value is corrected with the second energy value.
- the first energy value can be corrected by the following formula (4) to obtain the first value
- the second energy can be corrected by the following formula (5).
- the value is corrected to get the second value:
- the e1 refers to the first value
- the e2 refers to the second value
- the N refers to the audio energy value collected from environmental noise
- the An is the first amplification factor
- the E refers to the input to the speaker Enter the audio energy value.
- the a refers to the energy attenuation factor of the sound played by the speaker reaching mic2 relative to the energy reaching mic1.
- the energy attenuation law of the sound signal played by the loudspeaker reaching the two microphones is utilized, and the audio amplification coefficient is calculated, which can more quickly and effectively adjust the subsequent sound to meet the needs of the user.
- Step 212 Amplify the audio energy corresponding to the audio energy value according to the second amplification factor.
- each time the user clicks the volume increase button it is recorded as the first input, and the second amplification factor determined by the above formula (2) is used to dynamically gain the sound signal of the playback content.
- the second amplification factor determined by the above formula (2) is used to dynamically gain the sound signal of the playback content.
- Figure 8 a schematic diagram of an adaptive up-regulation mode of a terminal device is shown. Each time the user clicks the volume up button in the volume component on the side of the terminal device, the volume increased by the user will recursively follow the current volume level. The form increases the volume, so that the user can quickly adjust the volume to the desired volume.
- Step 213 Output the sound signal of the amplified audio energy to the speaker for playback.
- step 104 please refer to the detailed description of step 104, which will not be repeated here.
- an audio playback method when the user has adjusted the volume component of the terminal device to the maximum volume, according to the user's click operation on the volume increase button of the volume component, the user can select the equal interval upward adjustment mode or self-adjustment.
- Adapt to the up-regulation mode so as to further increase the sound signal input to the speaker according to the environmental noise according to the user's selection operation of the up-regulation mode, thereby satisfying the user's demand for greater volume.
- the embodiment of the present disclosure may perform the adjustment process of the embodiment of the present disclosure on the part of the file with abnormal volume, and the adjustment is more accurate.
- an embodiment of the present disclosure also provides a terminal device 30, the terminal device including:
- the determining module 301 is used to determine the current volume state of the content being played.
- the determining module 301 includes:
- the first obtaining submodule 3011 is configured to obtain the first energy value of the environmental noise through the microphone of the terminal device.
- the second acquiring sub-module 3012 is used to acquire the second energy value of the sound signal input to the speaker.
- the first determining submodule 3013 is configured to determine that the volume state of the playback content is an abnormal volume state when the ratio of the first energy value to the second energy value is greater than a preset first threshold.
- the determining module 301 includes:
- the third acquiring submodule 3014 is configured to acquire the first energy average value of the sound signal in the first preset time period.
- the fourth acquiring sub-module 3015 is configured to acquire the second energy average value of the sound signal in the second preset time period.
- the end time of the second preset time period is the current time
- the second preset time period is the time period after the first preset time period
- the second preset time period is the same as the first preset time period.
- a preset time period is an adjacent time period.
- the second determining sub-module 3016 is configured to determine that the volume state of the playback content is an abnormal volume state if the ratio of the second energy average value to the target value is greater than a preset second threshold value.
- the target value is the sum of the first energy value and the second energy value.
- the determining module 301 further includes:
- the update sub-module 3017 is configured to determine a third average energy value based on the first average energy value and the second average energy value when the ratio of the second average energy value to the target value is less than or equal to a preset second threshold value.
- Energy average value and when the second preset time period is changed to a third preset time period, the third energy average value is used as the target energy average value of the third preset time period, and the third The preset time period is a time period after the second preset time period, and the third preset time period and the second preset time period are adjacent time periods.
- the terminal device 30 further includes:
- the display module 305 is configured to display two kinds of up-regulation if the user's trigger operation on the volume up button is received when the volume state is the abnormal volume state and the volume component of the terminal device has been adjusted to the maximum volume Mode, wherein the two up-regulation modes include a first up-regulation mode and a second up-regulation mode.
- the receiving module 302 is configured to receive the user's first input if the volume component of the terminal device has been adjusted to the maximum volume when the volume state is an abnormal volume state.
- the receiving module 302 includes:
- the receiving sub-module 3021 is configured to, in the case of receiving a selection operation for any one of the two up-regulation modes, each time a trigger operation on the volume up button is received, it is determined that the first enter.
- the adjustment module 303 is configured to amplify the audio energy of the sound signal corresponding to the playback content in response to the first input.
- the adjustment module 303 includes:
- the first adjustment sub-module 3031 is configured to increase the audio energy according to a preset amplitude when a selection operation on the first up-regulation mode is received and a trigger operation on the volume increase button is received.
- the terminal device includes a first microphone and a second microphone
- the adjustment module 303 includes:
- the obtaining sub-module 3032 is configured to obtain the first energy value of the environmental noise through the first microphone in the case that the selection operation of the second up-regulation mode is received, and a trigger operation of the volume increase button is received , And obtaining the second energy value of the environmental noise and the audio energy value of the sound signal through the second microphone.
- the calculation sub-module 3033 is configured to determine the second amplification factor according to the first energy value, the second energy value, the audio energy value and the preset first amplification factor.
- the first amplification factor is an amplification factor of a volume component of the terminal device from a minimum volume to a maximum volume.
- the second adjustment sub-module 3034 is configured to amplify the audio energy corresponding to the audio energy value according to the second amplification coefficient.
- calculation sub-module 3033 includes:
- the first calculation unit 30331 is configured to determine the first value corresponding to the first microphone according to the first energy value, the first amplification factor, and the audio energy value.
- the second calculation unit 30332 is configured to determine a second value corresponding to the second microphone according to the second energy value, the first amplification factor, the audio energy value, and the preset energy attenuation factor, wherein the preset energy
- the attenuation factor is the energy attenuation factor when the sound signal played by the loudspeaker reaches the second microphone, relative to the energy attenuation factor when the sound signal played by the loudspeaker reaches the first microphone.
- the third calculation unit 30333 is configured to determine the second amplification factor according to the first value, the second value, and the first amplification factor.
- the playing module 304 is used for outputting the sound signal of the amplified audio energy to the speaker for playing.
- the terminal device 30 provided by the embodiment of the present disclosure can implement the various processes implemented by the terminal device in the method embodiments of FIG. 1 to FIG. 8. In order to avoid repetition, details are not described herein again.
- a terminal device includes: a determining module for determining the volume state of the current content to be played; a receiving module for determining the volume state of an abnormal volume state If the volume component of the terminal device has been adjusted to the maximum volume, receiving a first input from the user; an adjustment module for amplifying the audio energy of the sound signal corresponding to the playback content in response to the first input ; The playback module is used to output the sound signal of the amplified audio energy to the speaker for playback.
- the volume component By confirming that the volume status of the current playback content is in the abnormal volume state and the volume component has been adjusted to the maximum volume, it is possible to amplify the audio energy of the sound signal of the file with abnormal audio content and then input it into the speaker to make the input
- the sound signal strength of the loudspeaker increases, so that the sound played by the loudspeaker becomes louder, and the sound heard by the user becomes louder, which meets the user's demand for a larger output volume of the terminal device.
- FIG. 10 is a schematic diagram of the hardware structure of a terminal device that implements various embodiments of the present disclosure.
- the terminal device 400 includes, but is not limited to: a radio frequency unit 401, a network module 402, an audio output unit 403, an input unit 404, a sensor 405, a display unit 406, a user input unit 407, an interface unit 408, a memory 409, a processor 410, and Power supply 411 and other components.
- a radio frequency unit 401 includes, but is not limited to: a radio frequency unit 401, a network module 402, an audio output unit 403, an input unit 404, a sensor 405, a display unit 406, a user input unit 407, an interface unit 408, a memory 409, a processor 410, and Power supply 411 and other components.
- terminal devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals, wearable devices, and pedometers.
- the processor 410 is configured to determine the volume status of the current content to be played; if the volume status is the abnormal volume status, if the volume component of the terminal device has been adjusted to the maximum volume, then the user’s first volume status is received. Input; in response to the first input, amplify the audio energy of the sound signal corresponding to the playback content; output the sound signal of the amplified audio energy to the speaker for playback.
- the volume state of the current playback content when it is determined that the volume state of the current playback content is in the abnormal volume state and the volume component has been adjusted to the maximum volume, it is possible to amplify the audio energy of the sound signal of the file with abnormal audio content before inputting it.
- the strength of the sound signal input to the speaker is increased, so that the sound played by the speaker is also increased, and the sound heard by the user is also increased, which meets the user's demand for a larger output volume of the terminal device.
- the radio frequency unit 401 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 410; in addition, Uplink data is sent to the base station.
- the radio frequency unit 401 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
- the radio frequency unit 401 can also communicate with the network and other devices through a wireless communication system.
- the terminal device provides users with wireless broadband Internet access through the network module 402, such as helping users to send and receive emails, browse web pages, and access streaming media.
- the audio output unit 403 may convert the audio data received by the radio frequency unit 401 or the network module 402 or stored in the memory 409 into an audio signal and output it as sound. Moreover, the audio output unit 403 may also provide audio output related to a specific function performed by the terminal device 400 (for example, call signal reception sound, message reception sound, etc.).
- the audio output unit 403 includes a speaker, a buzzer, a receiver, and the like.
- the input unit 404 is used to receive audio or video signals.
- the input unit 404 may include a graphics processing unit (GPU) 4041 and a microphone 4042.
- the graphics processor 4041 is configured to monitor images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode.
- the data is processed.
- the processed image frame can be displayed on the display unit 406.
- the image frame processed by the graphics processor 4041 may be stored in the memory 409 (or other storage medium) or sent via the radio frequency unit 401 or the network module 402.
- the microphone 4042 can receive sound, and can process such sound into audio data.
- the processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 401 in the case of a telephone call mode for output.
- the terminal device 400 also includes at least one sensor 405, such as a light sensor, a motion sensor, and other sensors.
- the light sensor includes an ambient light sensor and a proximity sensor.
- the ambient light sensor can adjust the brightness of the display panel 4061 according to the brightness of the ambient light.
- the proximity sensor can close the display panel 4061 and the display panel 4061 when the terminal device 400 is moved to the ear. / Or backlight.
- the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three-axis), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the terminal device (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 405 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
- the display unit 406 is used to display information input by the user or information provided to the user.
- the display unit 606 may include a display panel 4061, and the display panel 4061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
- LCD liquid crystal display
- OLED organic light-emitting diode
- the user input unit 407 may be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the terminal device.
- the user input unit 407 includes a touch panel 4071 and other input devices 4072.
- the touch panel 4071 also called a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 4071 or near the touch panel 4071. operating).
- the touch panel 4071 may include two parts: a touch detection device and a touch controller.
- the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 410, the command sent by the processor 410 is received and executed.
- the touch panel 4071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
- the user input unit 407 may also include other input devices 4072.
- other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
- the touch panel 4071 can be overlaid on the display panel 4061.
- the touch panel 6071 detects a touch operation on or near it, it transmits it to the processor 410 to determine the type of the touch event, and then the processor 410 determines the type of the touch event according to the touch.
- the type of event provides corresponding visual output on the display panel 4061.
- the touch panel 4071 and the display panel 4061 are used as two independent components to implement the input and output functions of the terminal device, in some embodiments, the touch panel 4071 and the display panel 4061 can be integrated
- the implementation of the input and output functions of the terminal device is not specifically limited here.
- the interface unit 408 is an interface for connecting an external device with the terminal device 400.
- the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc.
- the interface unit 408 may be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the terminal device 400 or may be used to connect to the terminal device 400 and an external device. Transfer data between devices.
- the memory 409 can be used to store software programs and various data.
- the memory 409 may mainly include a storage program area and a storage data area.
- the storage program area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc.
- the memory 409 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
- the processor 410 is the control center of the terminal device. It uses various interfaces and lines to connect the various parts of the entire terminal device, runs or executes software programs and/or modules stored in the memory 409, and calls data stored in the memory 409 , Perform various functions of the terminal equipment and process data, so as to monitor the terminal equipment as a whole.
- the processor 410 may include one or more processing units; preferably, the processor 410 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface and application programs, etc., the modem
- the processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 410.
- the terminal device 400 may also include a power source 411 (such as a battery) for supplying power to various components.
- a power source 411 such as a battery
- the power source 611 may be logically connected to the processor 410 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system. And other functions.
- the terminal device 400 includes some functional modules not shown, which will not be repeated here.
- the embodiment of the present disclosure further provides a terminal device, including a processor 410, a memory 409, and a computer program stored on the memory 409 and running on the processor 410.
- a terminal device including a processor 410, a memory 409, and a computer program stored on the memory 409 and running on the processor 410.
- the computer program is executed by the processor 410,
- Each process of the foregoing audio playback method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
- the embodiments of the present disclosure also provide a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium.
- a computer program is stored on the computer-readable storage medium.
- the computer program is executed by a processor, each process of the above-mentioned audio playback method embodiment is realized, and the same technology can be achieved. The effect, in order to avoid repetition, will not be repeated here.
- the computer-readable storage medium such as read-only memory (Read-Only Memory, ROM for short), random access memory (Random Access Memory, RAM for short), magnetic disk, or optical disk, etc.
- the technical solution of the present disclosure essentially or the part that contributes to the related technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk). ) Includes several instructions to make a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present disclosure.
- a terminal which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Multimedia (AREA)
- Circuit For Audible Band Transducer (AREA)
- Telephone Function (AREA)
Abstract
Description
Claims (13)
- 一种音频播放方法,应用于终端设备,所述方法包括:An audio playback method, applied to a terminal device, the method including:确定当前的播放内容的音量状态;Determine the volume status of the current playback content;在所述音量状态为音量异常状态的情况下,若所述终端设备的音量组件已调至最大音量,则接收用户的第一输入;In the case that the volume state is the abnormal volume state, if the volume component of the terminal device has been adjusted to the maximum volume, receiving the first input of the user;响应于所述第一输入,将所述播放内容对应的声音信号的音频能量进行放大;In response to the first input, amplify the audio energy of the sound signal corresponding to the playback content;将放大音频能量的声音信号输出至扬声器以进行播放。The sound signal that amplifies the audio energy is output to the speaker for playback.
- 根据权利要求1所述的方法,其中,所述确定当前的播放内容的音量状态,包括:The method according to claim 1, wherein said determining the current volume state of the content being played comprises:通过所述终端设备的麦克风获取环境噪声的第一能量值;Acquiring the first energy value of the environmental noise through the microphone of the terminal device;获取输入到扬声器的声音信号的第二能量值;Acquiring the second energy value of the sound signal input to the speaker;在所述第一能量值与所述第二能量值的比值大于预设的第一阈值的情况下,确定所述播放内容的音量状态为音量异常状态。In a case where the ratio of the first energy value to the second energy value is greater than the preset first threshold, it is determined that the volume state of the playback content is an abnormal volume state.
- 根据权利要求1所述的方法,其中,所述确定当前的播放内容的音量状态,包括:The method according to claim 1, wherein said determining the current volume state of the content being played comprises:获取第一预设时间段内的声音信号的第一能量均值;Acquiring the first energy average value of the sound signal in the first preset time period;获取第二预设时间段内的声音信号的第二能量均值;所述第二预设时间段的结束时刻为当前时刻,所述第二预设时间段为所述第一预设时间段之后的时间段,且所述第二预设时间段与所述第一预设时间段为相邻的时间段;Acquire the second energy mean value of the sound signal in the second preset time period; the end time of the second preset time period is the current moment, and the second preset time period is after the first preset time period The second preset time period and the first preset time period are adjacent time periods;若所述第二能量均值与目标值的比值大于预设的第二阈值,则确定所述播放内容的音量状态为音量异常状态;其中,所述目标值为所述第一能量值与所述第二能量值之和。If the ratio of the second energy average value to the target value is greater than the preset second threshold value, it is determined that the volume state of the playback content is an abnormal volume state; wherein the target value is the first energy value and the The sum of the second energy value.
- 根据权利要求3所述的方法,其中,还包括:The method according to claim 3, further comprising:在所述第二能量均值与目标值的比值小于或等于预设的第二阈值的情况下,根据所述第一能量均值和所述第二能量均值,确定第三能量均值,并在所述第二预设时间段变更为第三预设时间段的情况下,将所述第三能量均值作为所述第三预设时间段的目标能量均值,所述第三预设时间段为所述第二预设时间段之后的时间段,且所述第三预设时间段与所述第二预设时间段为相邻的时间段。In the case where the ratio of the second energy average value to the target value is less than or equal to the preset second threshold value, a third energy average value is determined according to the first energy average value and the second energy average value, and the third energy average value is determined in the When the second preset time period is changed to the third preset time period, the third energy average value is used as the target energy average value of the third preset time period, and the third preset time period is the A time period after the second preset time period, and the third preset time period and the second preset time period are adjacent time periods.
- 根据权利要求1所述的方法,其中,所述接收用户的第一输入之前,还包括:The method according to claim 1, wherein before the receiving the first input from the user, the method further comprises:在所述音量状态为音量异常状态,且所述终端设备的音量组件已调至最大音量的情况 下,若接收到用户对音量增按键的触发操作,则显示两种上调模式,其中,所述两种上调模式包括第一上调模式和第二上调模式;In the case that the volume state is the abnormal volume state and the volume component of the terminal device has been adjusted to the maximum volume, if a user's trigger operation on the volume increase button is received, two upward adjustment modes are displayed, wherein the The two up-regulation modes include the first up-regulation mode and the second up-regulation mode;所述接收用户的第一输入,包括:The receiving the first input of the user includes:在接收到对所述两种上调模式中的任一上调模式的选择操作的情况下,每接收到一次对音量增按键的触发操作,则确定接收到所述第一输入。In the case of receiving a selection operation for any one of the two up-regulation modes, it is determined that the first input is received every time a trigger operation on the volume up button is received.
- 根据权利要求5所述的方法,其中,所述将所述播放内容对应的声音信号的音频能量进行放大,包括:The method according to claim 5, wherein the amplifying the audio energy of the sound signal corresponding to the playback content comprises:在接收到对所述第一上调模式的选择操作,且接收到一次对音量增按键的触发操作的情况下,按照预设幅度增大所述音频能量。In a case where a selection operation for the first up-regulation mode is received, and a trigger operation for a volume increase button is received, the audio energy is increased according to a preset amplitude.
- 根据权利要求5所述的方法,其中,所述终端设备包括第一麦克风和第二麦克风,所述将所述播放内容对应的声音信号的音频能量进行放大,包括:The method according to claim 5, wherein the terminal device comprises a first microphone and a second microphone, and said amplifying the audio energy of the sound signal corresponding to the playback content comprises:在接收到对所述第二上调模式的选择操作,且接收到一次对音量增按键的触发操作的情况下,通过所述第一麦克风获取环境噪声的第一能量值,以及通过所述第二麦克风获取环境噪声的第二能量值,以及声音信号的音频能量值;In the case that the selection operation of the second up-regulation mode is received, and a trigger operation of the volume up button is received, the first energy value of the environmental noise is obtained through the first microphone, and the second energy value is obtained through the second The microphone acquires the second energy value of the environmental noise and the audio energy value of the sound signal;根据所述第一能量值、第二能量值、音频能量值以及预设的第一放大系数,确定第二放大系数;其中,所述第一放大系数为所述终端设备的音量组件从最小音量到最大音量的放大系数;According to the first energy value, the second energy value, the audio energy value and the preset first amplification factor, the second amplification factor is determined; wherein, the first amplification factor is the minimum volume of the volume component of the terminal device. Amplification factor to the maximum volume;根据所述第二放大系数,对所述音频能量值对应的音频能量进行放大。According to the second amplification factor, the audio energy corresponding to the audio energy value is amplified.
- 根据权利要求7所述的方法,其中,所述根据所述第一能量值、第二能量值、音频能量值以及预设的第一放大系数,确定第二放大系数,包括:The method according to claim 7, wherein the determining the second amplification factor according to the first energy value, the second energy value, the audio energy value, and a preset first amplification factor comprises:根据所述第一能量值、第一放大系数、音频能量值,确定对应所述第一麦克风的第一值;Determine the first value corresponding to the first microphone according to the first energy value, the first amplification factor, and the audio energy value;根据所述第二能量值、第一放大系数、音频能量值、预设能量衰减因子,确定对应所述第二麦克风的第二值,其中,所述预设能量衰减因子为所述扬声器播放的声音信号到达所述第二麦克风时,相对于所述扬声器播放的声音信号到达第一麦克风时的能量衰减因子;According to the second energy value, the first amplification factor, the audio energy value, and the preset energy attenuation factor, the second value corresponding to the second microphone is determined, wherein the preset energy attenuation factor is played by the speaker When the sound signal reaches the second microphone, it is relative to the energy attenuation factor when the sound signal played by the speaker reaches the first microphone;根据所述第一值、第二值、所述第一放大系数,确定所述第二放大系数。The second amplification factor is determined according to the first value, the second value, and the first amplification factor.
- 一种终端设备,所述终端设备包括:A terminal device, the terminal device includes:确定模块,用于确定当前的播放内容的音量状态;The determination module is used to determine the current volume status of the content being played;接收模块,用于在所述音量状态为音量异常状态的情况下,若所述终端设备的音量组件已调至最大音量,则接收用户的第一输入;A receiving module, configured to receive a user's first input if the volume component of the terminal device has been adjusted to the maximum volume when the volume state is an abnormal volume state;调节模块,用于响应于所述第一输入,将所述播放内容对应的声音信号的音频能量进行放大;An adjustment module, configured to amplify the audio energy of the sound signal corresponding to the playback content in response to the first input;播放模块,用于将放大音频能量的声音信号输出至扬声器以进行播放。The playback module is used to output the sound signal of the amplified audio energy to the speaker for playback.
- 根据权利要求9所述的终端设备,其中,所述确定模块,包括:The terminal device according to claim 9, wherein the determining module comprises:第一获取子模块,用于通过所述终端设备的麦克风获取环境噪声的第一能量值;The first obtaining submodule is configured to obtain the first energy value of the environmental noise through the microphone of the terminal device;第二获取子模块,用于获取输入到扬声器的声音信号的第二能量值;The second acquisition sub-module is used to acquire the second energy value of the sound signal input to the speaker;第一确定子模块,用于在所述第一能量值与所述第二能量值的比值大于预设的第一阈值的情况下,确定所述播放内容的音量状态为音量异常状态。The first determining sub-module is configured to determine that the volume state of the playback content is an abnormal volume state when the ratio of the first energy value to the second energy value is greater than a preset first threshold value.
- 根据权利要求9所述的终端设备,其中,所述确定模块,包括:The terminal device according to claim 9, wherein the determining module comprises:第三获取子模块,用于获取第一预设时间段内的声音信号的第一能量均值;The third acquisition sub-module is configured to acquire the first energy average value of the sound signal in the first preset time period;第四获取子模块,用于获取第二预设时间段内的声音信号的第二能量均值;所述第二预设时间段的结束时刻为当前时刻,所述第二预设时间段为所述第一预设时间段之后的时间段,且所述第二预设时间段与所述第一预设时间段为相邻的时间段;The fourth acquisition sub-module is configured to acquire the second energy mean value of the sound signal in the second preset time period; the end time of the second preset time period is the current time, and the second preset time period is the current time. A time period after the first preset time period, and the second preset time period and the first preset time period are adjacent time periods;第二确定子模块,用于若所述第二能量均值与目标值的比值大于预设的第二阈值,则确定所述播放内容的音量状态为音量异常状态;其中,所述目标值为所述第一能量值与所述第二能量值之和。The second determining sub-module is configured to determine that the volume state of the playback content is an abnormal volume state if the ratio of the second energy average value to the target value is greater than the preset second threshold; wherein, the target value is The sum of the first energy value and the second energy value.
- 一种终端设备,所述终端设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1-8中任一项所述的音频播放方法的步骤。A terminal device, the terminal device comprising a processor, a memory, and a computer program stored on the memory and running on the processor, and the computer program is executed by the processor to achieve as claimed in claim 1. -8 steps of the audio playback method described in any one of them.
- 一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1-8中任一项所述的音频播放方法的步骤。A computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of the audio playback method according to any one of claims 1-8 are realized.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911144547.8 | 2019-11-20 | ||
CN201911144547.8A CN111049972B (en) | 2019-11-20 | 2019-11-20 | Audio playing method and terminal equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021098698A1 true WO2021098698A1 (en) | 2021-05-27 |
Family
ID=70232718
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/129628 WO2021098698A1 (en) | 2019-11-20 | 2020-11-18 | Audio playback method and terminal device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN111049972B (en) |
WO (1) | WO2021098698A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114554278A (en) * | 2022-01-28 | 2022-05-27 | 青岛海尔科技有限公司 | Play control method and device, storage medium and electronic device |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111049972B (en) * | 2019-11-20 | 2021-04-27 | 维沃移动通信有限公司 | Audio playing method and terminal equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103516899A (en) * | 2013-09-13 | 2014-01-15 | 广东欧珀移动通信有限公司 | Method increasing volume through combination key and mobile terminal |
US20140302799A1 (en) * | 2013-04-09 | 2014-10-09 | Samsung Electronics Co., Ltd. | Method for connecting with external device and electronic device thereof |
CN107124149A (en) * | 2017-05-05 | 2017-09-01 | 北京小鱼在家科技有限公司 | A kind of method for regulation of sound volume, device and equipment |
CN111049972A (en) * | 2019-11-20 | 2020-04-21 | 维沃移动通信有限公司 | Audio playing method and terminal equipment |
Family Cites Families (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9459209B2 (en) * | 2012-06-04 | 2016-10-04 | Shimadzu Corporation | Gas analysis device |
US9549060B2 (en) * | 2013-10-29 | 2017-01-17 | At&T Intellectual Property I, L.P. | Method and system for managing multimedia accessiblity |
JP6439261B2 (en) * | 2014-03-19 | 2018-12-19 | ヤマハ株式会社 | Audio signal processing device |
CN204119309U (en) * | 2014-09-24 | 2015-01-21 | 西安邮电大学 | A kind of mobile phone estimating adjustment In Call automatically based on noise |
CN105898555A (en) * | 2015-12-28 | 2016-08-24 | 乐视致新电子科技(天津)有限公司 | Audio abnormity positioning method and device |
CN106101923B (en) * | 2016-05-27 | 2020-06-09 | 亳州鼎源科技信息有限公司 | Audio data processing method and device |
CN106453838B (en) * | 2016-09-12 | 2019-11-08 | 北京小米移动软件有限公司 | Volume adjusting method and device |
CN106775563A (en) * | 2016-12-13 | 2017-05-31 | 珠海市魅族科技有限公司 | The method and device of volume adjusting |
CN106507245A (en) * | 2016-12-26 | 2017-03-15 | 深圳Tcl数字技术有限公司 | Method for regulating audio signal and device |
CN106878866B (en) * | 2017-03-03 | 2020-01-10 | Oppo广东移动通信有限公司 | Audio signal processing method and device and terminal |
US10483933B2 (en) * | 2017-03-30 | 2019-11-19 | Sorenson Ip Holdings, Llc | Amplification adjustment in communication devices |
CN107086039B (en) * | 2017-05-25 | 2021-02-09 | 北京小鱼在家科技有限公司 | Audio signal processing method and device |
CN107566618B (en) * | 2017-08-18 | 2021-01-22 | Oppo广东移动通信有限公司 | Volume adjusting method and device, terminal equipment and storage medium |
CN107613128B (en) * | 2017-09-26 | 2020-06-26 | 努比亚技术有限公司 | Volume adjusting method, terminal and computer readable storage medium |
CN207706378U (en) * | 2017-10-11 | 2018-08-07 | 深圳传音制造有限公司 | A kind of earpiece volume regulating system based on intelligent terminal |
CN109358999A (en) * | 2018-10-15 | 2019-02-19 | 广东小天才科技有限公司 | Water inlet detection method, intelligent terminal and the storage medium of intelligent terminal |
-
2019
- 2019-11-20 CN CN201911144547.8A patent/CN111049972B/en active Active
-
2020
- 2020-11-18 WO PCT/CN2020/129628 patent/WO2021098698A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140302799A1 (en) * | 2013-04-09 | 2014-10-09 | Samsung Electronics Co., Ltd. | Method for connecting with external device and electronic device thereof |
CN103516899A (en) * | 2013-09-13 | 2014-01-15 | 广东欧珀移动通信有限公司 | Method increasing volume through combination key and mobile terminal |
CN107124149A (en) * | 2017-05-05 | 2017-09-01 | 北京小鱼在家科技有限公司 | A kind of method for regulation of sound volume, device and equipment |
CN111049972A (en) * | 2019-11-20 | 2020-04-21 | 维沃移动通信有限公司 | Audio playing method and terminal equipment |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114554278A (en) * | 2022-01-28 | 2022-05-27 | 青岛海尔科技有限公司 | Play control method and device, storage medium and electronic device |
CN114554278B (en) * | 2022-01-28 | 2023-12-19 | 青岛海尔科技有限公司 | Playing control method and device, storage medium and electronic device |
Also Published As
Publication number | Publication date |
---|---|
CN111049972A (en) | 2020-04-21 |
CN111049972B (en) | 2021-04-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107231473B (en) | Audio output regulation and control method, equipment and computer readable storage medium | |
CN109461117B (en) | Image processing method and mobile terminal | |
CN109918039B (en) | Volume adjusting method and mobile terminal | |
CN107562406B (en) | Volume adjusting method, mobile terminal and computer readable storage medium | |
CN111370018B (en) | Audio data processing method, electronic device and medium | |
WO2019062364A1 (en) | Display method and mobile terminal | |
CN108319442B (en) | Audio playing control method and mobile terminal | |
CN108196815B (en) | Method for adjusting call sound and mobile terminal | |
WO2020220990A1 (en) | Receiver control method and terminal | |
CN109639863B (en) | Voice processing method and device | |
CN111147919A (en) | Play adjustment method, electronic equipment and computer readable storage medium | |
WO2021078096A1 (en) | Receiver control method, apparatus, and electronic device | |
CN109981904B (en) | Volume control method and terminal equipment | |
WO2021129835A1 (en) | Volume control method and device, and computer-readable storage medium | |
WO2021169869A1 (en) | Audio-playing apparatus, audio-playing method, and electronic device | |
WO2021098698A1 (en) | Audio playback method and terminal device | |
WO2021238844A1 (en) | Audio output method and electronic device | |
CN111614329B (en) | Power amplifier, electronic equipment, voltage control method and device | |
CN111078186A (en) | Playing method and electronic equipment | |
US20220174146A1 (en) | Incoming call processing method and electronic device | |
CN109873894B (en) | Volume adjusting method and mobile terminal | |
WO2021098708A1 (en) | Calling method, and terminal apparatus | |
CN111459447B (en) | Volume adjustment display method and electronic equipment | |
CN109348366B (en) | Method for adjusting volume by using electrical parameters and mobile terminal | |
CN108900942B (en) | Play control method and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20889839 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20889839 Country of ref document: EP Kind code of ref document: A1 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20889839 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 07.07.2023) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20889839 Country of ref document: EP Kind code of ref document: A1 |