CN107526570B - Volume adjusting method and device, terminal equipment and storage medium - Google Patents

Volume adjusting method and device, terminal equipment and storage medium Download PDF

Info

Publication number
CN107526570B
CN107526570B CN201710711365.9A CN201710711365A CN107526570B CN 107526570 B CN107526570 B CN 107526570B CN 201710711365 A CN201710711365 A CN 201710711365A CN 107526570 B CN107526570 B CN 107526570B
Authority
CN
China
Prior art keywords
amplitude
determining
sound source
adjusting
audio information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710711365.9A
Other languages
Chinese (zh)
Other versions
CN107526570A (en
Inventor
严锋贵
许钊铵
郑志勇
甘高亭
杨海
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710711365.9A priority Critical patent/CN107526570B/en
Publication of CN107526570A publication Critical patent/CN107526570A/en
Priority to PCT/CN2018/098647 priority patent/WO2019033940A1/en
Application granted granted Critical
Publication of CN107526570B publication Critical patent/CN107526570B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Circuit For Audible Band Transducer (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a volume adjusting method, a volume adjusting device, terminal equipment and a storage medium, wherein the method comprises the steps of acquiring audio information of a sound source when the terminal equipment is detected to play the sound source; determining the corresponding amplitude according to the audio information; determining an amplitude adjusting coefficient according to the amplitude and the obtained current volume value of the terminal equipment; and adjusting the amplitude of the sound source according to the amplitude adjustment coefficient. According to the scheme, the volume adjusting efficiency is improved, and the power consumption of the terminal equipment is reduced.

Description

Volume adjusting method and device, terminal equipment and storage medium
Technical Field
The embodiment of the invention relates to computer technology, in particular to a volume adjusting method, a volume adjusting device, terminal equipment and a storage medium.
Background
With the increasing popularity of terminal devices, more and more users use the terminal devices to perform various functions to meet their own needs, such as reading text, watching video, listening to music, playing games, etc. When the terminal equipment plays audio and video, the adjustment of the volume has defects and needs to be improved.
Disclosure of Invention
The invention provides a volume adjusting method, a volume adjusting device, terminal equipment and a storage medium, which improve the volume adjusting efficiency and reduce the power consumption of the terminal equipment.
In a first aspect, an embodiment of the present invention provides a volume adjustment method, including:
when detecting that terminal equipment plays a sound source, acquiring audio information of the sound source;
determining the corresponding amplitude according to the audio information;
determining an amplitude adjusting coefficient according to the amplitude and the obtained current volume value of the terminal equipment;
and adjusting the amplitude of the sound source according to the amplitude adjustment coefficient.
In a second aspect, an embodiment of the present invention further provides a volume adjusting apparatus, including:
the acquisition module is used for acquiring audio information of a sound source when the terminal equipment is detected to play the sound source;
the amplitude determining module is used for determining the corresponding amplitude according to the audio information;
the adjusting coefficient determining module is used for determining an amplitude adjusting coefficient according to the amplitude and the obtained current volume value of the terminal equipment;
and the adjusting module is used for adjusting the amplitude of the sound source according to the amplitude adjusting coefficient.
In a third aspect, an embodiment of the present invention further provides a terminal device, including: a processor, a memory, and a computer program stored on the memory and executable on the processor, the processor implementing the volume adjustment method according to an embodiment of the present invention when executing the computer program.
In a fourth aspect, an embodiment of the present invention further provides a storage medium containing terminal device executable instructions, where the terminal device executable instructions are used to execute the volume adjustment method according to the embodiment of the present invention when executed by a terminal device processor.
According to the technical scheme provided by the embodiment of the invention, when the terminal equipment is detected to play the sound source, the audio information of the sound source is obtained; determining the corresponding amplitude according to the audio information; determining an amplitude adjusting coefficient according to the amplitude and the obtained current volume value of the terminal equipment; and adjusting the amplitude of the sound source according to the amplitude adjustment coefficient. According to the scheme, the volume adjusting efficiency is improved, and the power consumption of the terminal equipment is reduced.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments made with reference to the following drawings:
fig. 1 is a flowchart of a volume adjustment method according to an embodiment of the present invention;
fig. 2 is a flow chart of another volume adjustment method provided by the embodiment of the invention;
fig. 3 is a flow chart of another volume adjustment method provided by the embodiment of the invention;
fig. 4 is a flow chart of another volume adjustment method provided by the embodiment of the invention;
fig. 5 is a flow chart of another volume adjustment method provided by the embodiment of the invention;
fig. 6 is a block diagram of a volume adjustment device according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are for purposes of illustration and not limitation. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Fig. 1 is a flowchart of a volume adjusting method provided in an embodiment of the present invention, where this embodiment is applicable to a situation where a terminal device adjusts a volume when playing a sound source, and the method may be executed by the terminal device provided in the embodiment of the present invention, and a volume adjusting device of the terminal device may be implemented in a software and/or hardware manner, as shown in fig. 1, a specific scheme provided in this embodiment is as follows:
and S101, when detecting that the terminal equipment plays the sound source, acquiring audio information of the sound source.
The terminal equipment can play the sound source through the installed third-party application program or the audio and video playing software carried by the system. The method mainly comprises the steps of obtaining, decoding, outputting and the like of the sound source file. Illustratively, the obtained sound source file may be a multicast stream received through a network, or may be an audio/video file locally stored by the terminal device; loading the sound source file into a memory buffer area after the sound source file is obtained; the method comprises the steps of decoding a sound source file loaded into a memory buffer area, before decoding starts, if the sound source file simultaneously contains video data, separating the audio data from the video data, and inputting the separated audio data into an audio decoder, wherein the audio decoder is mainly used for reading the audio data in the memory buffer area to obtain a digital audio signal and converting the digital audio signal into an analog audio signal, and a playing device of a terminal device plays audio according to the analog audio signal. In one embodiment, when it is monitored that a sound source playing event is triggered, it is determined that the terminal device starts playing a sound source, where the triggering event may be that a playing button displayed in a touch screen is pressed, or that a playing device of the terminal device, such as a speaker, starts playing sound, and the terminal device is determined to play the sound source.
And when detecting that the terminal equipment plays the sound source, acquiring the audio information of the sound source. In one embodiment, the digital audio signal decoded by the audio decoder may be sampled to determine the audio information corresponding to the audio source. In another embodiment, an original file of a currently played sound source may also be obtained, and audio information corresponding to the sound source may be determined through parsing the original file. In another embodiment, for example, in an Android system, the audio information of the sound source may be obtained through an Android.
And step S102, determining the corresponding amplitude according to the audio information.
The amplitude refers to the maximum distance from the original position in the vibration process of the object, the loudness of the sound heard by human ears is related to the amplitude of the sound source, and the loudness is stronger when the amplitude is larger. In one embodiment, the digital audio signal decoded by the audio decoder may be sampled to obtain amplitude information within a preset time period T, where the amplitude information may be composed of a plurality of amplitude values, and an amplitude curve of the sound source played within the preset time period T may be correspondingly determined according to the obtained plurality of amplitude values. In another embodiment, for example, in an Android system, the audio information of the sound source may be obtained through an Android. In another embodiment, when the audio information obtained in step S101 is an original file corresponding to the sound source, the original file may be parsed to obtain a corresponding amplitude.
In one embodiment, the amplitude is determined every predetermined time (e.g., 1s, 3s, or 10s) when detecting the audio source play, or in real time, for each frame of audio information. Specifically, the acquiring the audio information of the sound source includes: acquiring audio frame information of the sound source; accordingly, determining the amplitude of the audio source from the audio information comprises: and determining the amplitude of each frame of the sound source according to the audio frame information. Illustratively, when audio source playing is detected, the audio source file is parsed to obtain a sequence of audio frames, and a corresponding amplitude is determined according to each frame of the sequence of audio frames.
And S103, determining an amplitude adjusting coefficient according to the amplitude and the obtained current volume value of the terminal equipment, and adjusting the amplitude of the sound source according to the amplitude adjusting coefficient.
In an embodiment, a fixed amplitude adjustment coefficient may be determined according to the determined amplitude and the obtained current volume value of the terminal device, or different amplitude adjustment coefficients may be determined, and then, the amplitude may be adjusted by performing allocation according to the specific amplitude of the sound source, where the terminal device is divided into 18 adjustable levels in total from mute to maximum volume, and each level corresponds to one volume value. In the process of adjusting the amplitude of the sound source, the sound source file can be analyzed, data representing amplitude information in the obtained audio data is modified, the data is packaged after the modification is finished, and the amplitude of the sound source is correspondingly increased when the data is buffered to the corresponding sound source file and is played; in the process of decoding the sound source playing, the obtained digital audio signal is analyzed to obtain amplitude data, and the amplitude data is multiplied by the corresponding adjusting coefficient to change the amplitude, so as to adjust the volume of the sound source. Therefore, the volume of the sound source is adjusted on the premise that the original volume of the terminal equipment system is not changed, the adjustment process can be carried out before the sound source file does not enter the buffer area so as to reduce the playing load, and the adjustment process can also be carried out aiming at the sound source content in the buffer area so as to improve the adjustment efficiency.
In another embodiment, the amplitude of each frame of the audio source is adjusted. Specifically, in the adjustment process, different amplitude adjustment coefficients are allocated for different amplitude sizes of each frame to perform corresponding adjustment, and for example, several possible corresponding relationships may be given as shown in the following table:
TABLE 1
Amplitude of vibration Volume value (grade) Coefficient of regulation
Greater than-3 db 5 0.5
Less than-3 db and greater than-10 db 15 0.8
Less than-20 db 18 2
As shown in table 1, when the amplitude of the audio frame is greater than-3 db and the current volume value of the terminal equipment is low, the corresponding setting of the adjustment coefficient to 0.5 reduces the high amplitude part of the sound source; when the amplitude of the audio frame is smaller than-3 db and larger than-10 db and the volume value of the current terminal equipment is moderate, correspondingly setting the adjusting coefficient to be 0.8 to finely adjust the amplitude of the sound source in the middle amplitude area; when the amplitude of the audio frame is less than-20 db and the current terminal equipment volume value is higher, the lower amplitude part of the sound source is correspondingly increased.
According to the content, when the terminal equipment is detected to play the sound source, the amplitude of the sound source and the current terminal volume are analyzed to obtain the corresponding amplitude adjustment coefficient, the amplitude of the sound source is adjusted, automatic adjustment of the volume is completed on the premise that the terminal volume is not changed when the sound source is played, the amplitude of the sound source is more reasonable, and the adjustment of the volume is more automatic.
Fig. 2 is a flowchart of another volume adjustment method according to an embodiment of the present invention, where optionally, the acquiring the audio information of the sound source, and determining the corresponding amplitude according to the audio information includes: acquiring audio information of the sound source with a preset length, and determining a corresponding maximum amplitude and an average amplitude according to the audio information; correspondingly, the determining an amplitude adjustment coefficient according to the amplitude and the obtained current volume value of the terminal device includes: determining an amplitude adjustment factor as a function of the maximum amplitude, the average amplitude and the volume value. As shown in fig. 2, the technical solution provided in this embodiment is as follows:
step S201, when detecting that the terminal equipment plays the sound source, acquiring audio information of the sound source with preset length.
And when detecting that the terminal equipment plays the sound source, acquiring audio information of the sound source with the preset length. In one embodiment, the digital audio signal decoded by the audio decoder may be sampled to determine the audio information corresponding to the sound source, where the preset length may be 3s, 5s, or 10 s. In another embodiment, an original file of a currently played sound source may also be obtained, and audio information with a preset length corresponding to the sound source may be determined through parsing of the original file.
Step S202, determining the corresponding maximum amplitude and the average amplitude according to the audio information.
In one embodiment, the digital audio signal decoded by the audio decoder may be sampled to obtain amplitude information, wherein the amplitude information may be composed of a plurality of amplitude values. For example, taking 3s as an example, in a sound source played within a time period of 3s, the acquired amplitude values are recorded corresponding to a plurality of amplitude values in the obtained audio information, and the maximum amplitude and the average amplitude of each amplitude are determined.
In another embodiment, the audio information is determined once every predetermined time (e.g., 1s, 3s, or 10s) when the audio source is detected to play, or in real time, the amplitude of each frame of the audio information is determined. Specifically, the acquiring the audio information of the sound source includes: the acquiring the audio information of the preset length of the sound source comprises: acquiring audio frame information of the sound source with a preset length; correspondingly, the determining the maximum amplitude and the average amplitude in the preset length of audio information includes: and determining the maximum amplitude and the average amplitude in the audio information with the preset length according to the audio frame information. Illustratively, when a sound source playing is detected, a sound source file is analyzed to obtain a sequence of audio frames, and a corresponding amplitude is determined for each frame under audio information with a preset length, so as to determine a maximum amplitude and an average amplitude.
Step S203, determining an amplitude adjusting coefficient according to the maximum amplitude, the average amplitude and the obtained current volume value of the terminal equipment.
In one possible embodiment, said determining an amplitude adjustment factor as a function of said maximum amplitude, said average amplitude and said volume value comprises: and if the difference value of the maximum amplitude and the average amplitude meets a preset condition, determining an amplitude adjusting coefficient according to the maximum amplitude, the average amplitude and the volume value. Illustratively, when the difference between the maximum amplitude and the average amplitude is large (e.g., 0.2db), the volume is large when the sound source with large amplitude is not avoided, and the volume is reduced by adjusting the high amplitude. Optionally, if the difference between the maximum amplitude and the average amplitude does not satisfy the preset condition, that is, the difference is not large, the amplitude of the sound source is not adjusted.
In one embodiment, if the difference between the maximum amplitude and the average amplitude satisfies a predetermined condition, a first amplitude adjustment coefficient may be determined according to the difference between the maximum amplitude and the average amplitude and the volume value, and accordingly, the amplitude of the sound source greater than a first predetermined threshold may be adjusted according to the first amplitude adjustment coefficient. Illustratively, the relationship between the first amplitude adjustment coefficient and the current volume value of the terminal device is determined according to the difference between the maximum amplitude and the average amplitude as follows:
TABLE 2
Amplitude difference Volume value Coefficient of regulation
Greater than 0.4db 8 0.3
Greater than 0.3db and less than 0.4db 10 0.7
Greater than 0.2db and less than 0.3db 15 0.9
The first preset amplitude threshold may be-2 db, that is, the amplitude greater than the first amplitude threshold is multiplied by the corresponding adjustment coefficient to perform amplitude attenuation to reduce the volume. Therefore, the part with larger amplitude in the sound source is reasonably attenuated to avoid the sudden hearing feeling, and the playing effect of the sound source is improved.
And step S204, adjusting the amplitude of the sound source according to the amplitude adjusting coefficient.
According to the method, when the difference value between the maximum amplitude and the average amplitude in the audio information with the preset length is detected to meet the preset condition, the amplitude adjusting coefficient is distributed according to the difference value and the current volume of the terminal equipment, and meanwhile, the amplitude adjusting coefficient is adjusted according to the amplitude of the sound source meeting the condition, so that the volume adjusting efficiency is improved, and the problem of poor adjusting effect caused by synchronous adjustment of irrelevant amplitude in the sound source is solved.
Fig. 3 is a flowchart of another volume adjustment method according to an embodiment of the present invention, and optionally, after determining the first amplitude adjustment coefficient according to the difference between the maximum amplitude and the average amplitude and the volume value, the method further includes: determining a second amplitude adjustment coefficient according to the average amplitude; correspondingly, the adjusting the amplitude of the sound source according to the amplitude adjusting coefficient further includes: and adjusting the amplitude of the sound source which is smaller than a second preset threshold and larger than a third preset threshold according to the second amplitude adjustment coefficient, wherein the second preset threshold is smaller than the first preset threshold. As shown in fig. 3, the method specifically includes:
step S301, when detecting that the terminal equipment plays the sound source, acquiring audio information of the sound source with the preset length.
Step S302, determining the maximum amplitude and the average amplitude in the audio information, and acquiring the current volume value of the terminal equipment.
Step S303, determining a first amplitude adjustment coefficient according to the difference between the maximum amplitude and the average amplitude and the volume value, and adjusting the amplitude of the sound source greater than a first preset threshold according to the first amplitude adjustment coefficient.
Step S304, determining a second amplitude adjustment coefficient according to the average amplitude, and adjusting the amplitude smaller than a second preset threshold and larger than a third preset threshold in the sound source according to the second amplitude adjustment coefficient.
Wherein the second preset threshold is smaller than the first preset threshold. In one embodiment, a second amplitude adjustment factor is determined as a function of the average amplitude. Illustratively, the correspondence between the average amplitude and the second amplitude adjustment coefficient is as follows:
TABLE 3
Average amplitude Coefficient of regulation
-25db 1.2
-20db 1.5
-15db 1.8
Illustratively, the second predetermined threshold may be-30 db and the third predetermined amplitude threshold may be-50 db. And when the determined sound source amplitude is smaller than the second preset threshold and larger than the third preset threshold, adjusting the amplitude meeting the condition according to the adjusting coefficient corresponding to the table 3.
Therefore, the corresponding adjusting coefficient is determined according to the average amplitude of the sound source, the larger the average amplitude is, the higher the corresponding adjusting coefficient is, the amplitude meeting the conditions (smaller than the second preset threshold and larger than the third preset threshold) is adjusted according to the adjusting coefficient, and the volume of the lower volume part in the sound source is increased, so that the playing effect in the playing process of the sound source is better, the manual volume adjustment of a user is avoided, and the volume adjustment efficiency is improved.
Fig. 4 is a flowchart of another volume adjustment method according to an embodiment of the present invention, and optionally before determining an amplitude adjustment coefficient according to the maximum amplitude, the average amplitude, and the volume value, the method further includes: determining an impedance value of a playing device of the terminal equipment; correspondingly, the amplitude adjustment coefficient is determined according to the maximum amplitude, the average amplitude and the volume value: determining an amplitude adjustment factor as a function of the impedance value, the maximum amplitude, the average amplitude, and the volume value. The concrete figure is as follows:
step S401, when detecting that the terminal equipment plays the sound source, acquiring audio information of the preset length of the sound source.
And S402, determining the maximum amplitude and the average amplitude in the audio information, and acquiring the current volume value of the terminal equipment.
And step S403, determining the impedance value of the terminal equipment playing device.
In one embodiment, the impedance value of the playing device (such as a loudspeaker) installed in the terminal equipment can be detected through the power amplifier chip, and the impedance of the playing device can also be detected in a physical mode.
Step S404, determining a first amplitude adjusting coefficient according to the impedance value, the maximum amplitude, the average amplitude and the volume value.
In one embodiment, the first amplitude adjustment coefficient is further determined by combining the impedance value of the terminal device playing device determined in step S403 on the basis of the maximum amplitude, the average amplitude and the current volume value in the above embodiments. For example, the larger the impedance value, the larger the corresponding first amplitude adjustment factor determined in common. Specifically, assuming that the nominal impedance value of the playback device is x, and the detected impedance value is 1.2x, the corresponding first amplitude adjustment coefficient may be 1.2 times the amplitude adjustment coefficient determined only by the maximum amplitude, the average amplitude, and the volume value as the finally determined amplitude adjustment coefficient.
Step S405, adjusting the amplitude of the sound source greater than a first preset threshold according to the first amplitude adjustment coefficient.
Step S406, determining a second amplitude adjustment coefficient according to the average amplitude, and adjusting the amplitude smaller than a second preset threshold and larger than a third preset threshold in the sound source according to the second amplitude adjustment coefficient.
Therefore, in the process of adjusting the amplitude of the sound source, the impedance value of the playing device is introduced as one of the parameters for determining the amplitude adjustment coefficient, so that the problem that the impedance value of the playing device is higher and higher along with the increase of the playing time so as to influence the volume in the normal playing process is avoided, the adjusted volume better meets the user requirement, and the volume adjustment effect is further improved.
Fig. 5 is a flowchart of another volume adjustment method according to an embodiment of the present invention, and optionally before determining an amplitude adjustment coefficient according to the maximum amplitude, the average amplitude, and the volume value, the method further includes: determining the noise value of a playing device of the terminal equipment; correspondingly, the determining an amplitude adjustment coefficient according to the maximum amplitude, the average amplitude and the volume value comprises: determining an amplitude adjustment factor as a function of the noise value, the maximum amplitude, the average amplitude and the volume value. The concrete figure is as follows:
step S501, when detecting that the terminal equipment plays the sound source, acquiring audio information of the sound source with the preset length.
Step S502, determining the maximum amplitude and the average amplitude in the audio information, and acquiring the current volume value of the terminal equipment.
And S503, determining the noise value of the current environment of the terminal equipment.
In one embodiment, the noise of the environment in which the terminal device is currently located may be collected by a microphone mounted on the terminal device to determine a corresponding noise value.
Step S504, determining a first amplitude adjustment coefficient according to the noise value, the maximum amplitude, the average amplitude and the volume value.
In one embodiment, the first amplitude adjustment coefficient is further determined according to the maximum amplitude, the average amplitude and the volume value in combination with the noise value of the environment in which the terminal device is currently located, which is determined in step S503. For example, the larger the noise value, the larger the corresponding first amplitude adjustment factor determined in common. Specifically, assuming that the noise value of the terminal device in a quiet environment is y, and the determined noise value is 1.2y when the terminal device is in an outdoor or noisy environment, the corresponding first amplitude adjustment coefficient may be 1.2 times the amplitude adjustment coefficient determined only by the maximum amplitude, the average amplitude, and the loudness value as the finally determined amplitude adjustment coefficient. The impedance value, the noise value, and the maximum amplitude and the average amplitude of the sound source may be used together to determine the amplitude adjustment coefficient of the sound source.
And step S505, adjusting the amplitude of the sound source greater than a first preset threshold according to the first amplitude adjustment coefficient.
Step S506, determining a second amplitude adjustment coefficient according to the average amplitude, and adjusting the amplitude smaller than a second preset threshold and larger than a third preset threshold in the sound source according to the second amplitude adjustment coefficient.
Therefore, in the process of adjusting the amplitude of the sound source, the influence of noise on the volume of the terminal equipment is considered, and the determined noise value is taken as one of the parameters for determining the amplitude adjustment coefficient, so that the adjusted volume better meets the requirements of users, and the volume adjustment effect is further improved.
Fig. 6 is a block diagram of a volume adjusting apparatus according to an embodiment of the present invention, where the apparatus is configured to execute the volume adjusting method according to the embodiment of the present invention, and has corresponding functional modules and beneficial effects of the execution method. As shown in fig. 6, the apparatus specifically includes: an obtaining module 101, an amplitude determining module 102, an adjustment coefficient determining module 103 and an adjusting module 104.
The obtaining module 101 is configured to obtain audio information of a sound source when it is detected that the terminal device plays the sound source.
The terminal equipment can play the sound source through the installed third-party application program or the audio and video playing software carried by the system. The method mainly comprises the steps of obtaining, decoding, outputting and the like of the sound source file. Illustratively, the obtained sound source file may be a multicast stream received through a network, or may be an audio/video file locally stored by the terminal device; loading the sound source file into a memory buffer area after the sound source file is obtained; the method comprises the steps of decoding a sound source file loaded into a memory buffer area, before decoding starts, if the sound source file simultaneously contains video data, separating the audio data from the video data, and inputting the separated audio data into an audio decoder, wherein the audio decoder is mainly used for reading the audio data in the memory buffer area to obtain a digital audio signal and converting the digital audio signal into an analog audio signal, and a playing device of a terminal device plays audio according to the analog audio signal. In one embodiment, when it is monitored that a sound source playing event is triggered, it is determined that the terminal device starts playing a sound source, where the triggering event may be that a playing button displayed in a touch screen is pressed, or that a playing device of the terminal device, such as a speaker, starts playing sound, and the terminal device is determined to play the sound source.
And when detecting that the terminal equipment plays the sound source, acquiring the audio information of the sound source. In one embodiment, the digital audio signal decoded by the audio decoder may be sampled to determine the audio information corresponding to the audio source. In another embodiment, an original file of a currently played sound source may also be obtained, and audio information corresponding to the sound source may be determined through parsing the original file. In another embodiment, for example, in an Android system, the audio information of the sound source can be obtained through an Android
An amplitude determining module 102, configured to determine a corresponding amplitude according to the audio information.
The amplitude refers to the maximum distance from the original position in the vibration process of the object, the loudness of the sound heard by human ears is related to the amplitude of the sound source, and the loudness is stronger when the amplitude is larger. In one embodiment, the digital audio signal decoded by the audio decoder may be sampled to obtain amplitude information within a preset time period T, where the amplitude information may be composed of a plurality of amplitude values, and an amplitude curve of the sound source played within the preset time period T may be correspondingly determined according to the obtained plurality of amplitude values. In another embodiment, for example, in an Android system, the audio information of the sound source may be obtained through an Android. In another embodiment, when the audio information obtained in step S101 is an original file corresponding to the sound source, the original file may be parsed to obtain a corresponding amplitude.
In one embodiment, the amplitude is determined every predetermined time (e.g., 1s, 3s, or 10s) when detecting the audio source play, or in real time, for each frame of audio information. Specifically, the acquiring the audio information of the sound source includes: acquiring audio frame information of the sound source; accordingly, determining the amplitude of the audio source from the audio information comprises: and determining the amplitude of each frame of the sound source according to the audio frame information. Illustratively, when audio source playing is detected, the audio source file is parsed to obtain a sequence of audio frames, and a corresponding amplitude is determined according to each frame of the sequence of audio frames.
And the adjusting coefficient determining module 103 determines an amplitude adjusting coefficient according to the amplitude and the obtained current volume value of the terminal device.
And an adjusting module 104, configured to adjust the amplitude of the sound source according to the amplitude adjusting coefficient.
In an embodiment, a fixed amplitude adjustment coefficient may be determined according to the determined amplitude and the obtained current volume value of the terminal device, or different amplitude adjustment coefficients may be determined, and then, the amplitude may be adjusted by performing allocation according to the specific amplitude of the sound source, where the terminal device is divided into 18 adjustable levels in total from mute to maximum volume, and each level corresponds to one volume value. In the process of adjusting the amplitude of the sound source, the sound source file can be analyzed, data representing amplitude information in the obtained audio data is modified, the data is packaged after the modification is finished, and the amplitude of the sound source is correspondingly increased when the data is buffered to the corresponding sound source file and is played; in the process of decoding the sound source playing, the obtained digital audio signal is analyzed to obtain amplitude data, and the amplitude data is multiplied by the corresponding adjusting coefficient to change the amplitude, so as to adjust the volume of the sound source. Therefore, the volume of the sound source is adjusted on the premise that the original volume of the terminal equipment system is not changed, the adjustment process can be carried out before the sound source file does not enter the buffer area so as to reduce the playing load, and the adjustment process can also be carried out aiming at the sound source content in the buffer area so as to improve the adjustment efficiency.
According to the technical scheme provided by the embodiment, when the terminal equipment is detected to play the sound source, the audio information of the sound source is acquired; determining the corresponding amplitude according to the audio information; determining an amplitude adjusting coefficient according to the amplitude and the obtained current volume value of the terminal equipment; and adjusting the amplitude of the sound source according to the amplitude adjustment coefficient. According to the scheme, the volume adjusting efficiency is improved, and the power consumption of the terminal equipment is reduced.
In a possible embodiment, the amplitude determination module 102 is specifically configured to:
acquiring audio information of the sound source with a preset length, and determining a corresponding maximum amplitude and an average amplitude according to the audio information;
the adjustment coefficient determining module 103 is specifically configured to:
and determining an amplitude adjusting coefficient according to the maximum amplitude, the average amplitude and the obtained current volume value of the terminal equipment.
In a possible embodiment, the adjustment coefficient determining module 103 is specifically configured to:
and if the difference value of the maximum amplitude and the average amplitude meets a preset condition, determining an amplitude adjusting coefficient according to the maximum amplitude, the average amplitude and the volume value.
In a possible embodiment, the adjustment coefficient determining module 103 is specifically configured to:
determining a first amplitude adjustment coefficient according to the difference value between the maximum amplitude and the average amplitude and the volume value;
the adjusting module 104 is specifically configured to:
and adjusting the amplitude of the sound source which is greater than a first preset threshold value according to the first amplitude adjusting coefficient.
In a possible embodiment, the adjustment coefficient determining module 103 is further configured to:
after determining a first amplitude adjustment coefficient according to the difference between the maximum amplitude and the average amplitude and the volume value, determining a second amplitude adjustment coefficient according to the average amplitude;
the adjustment module 104 is further configured to:
and adjusting the amplitude of the sound source which is smaller than a second preset threshold and larger than a third preset threshold according to the second amplitude adjustment coefficient, wherein the second preset threshold is smaller than the first preset threshold.
In a possible embodiment, the adjustment coefficient determining module 103 is further configured to:
before determining an amplitude adjustment coefficient according to the maximum amplitude, the average amplitude and the volume value, determining an impedance value of a playing device of the terminal equipment; determining an amplitude adjustment factor as a function of the impedance value, the maximum amplitude, the average amplitude, and the volume value.
In a possible embodiment, the adjustment coefficient determining module 103 is further configured to:
before determining an amplitude adjusting coefficient according to the maximum amplitude, the average amplitude and the volume value, determining a noise value of an environment where the terminal equipment is currently located; determining an amplitude adjustment factor as a function of the noise value, the maximum amplitude, the average amplitude and the volume value.
In this embodiment, a terminal device is provided on the basis of the foregoing embodiments, and fig. 7 is a schematic structural diagram of a terminal device provided in an embodiment of the present invention, as shown in fig. 7, the terminal device 200 includes: memory 201, processor (CPU) 202, peripheral interfaces 203, RF (Radio Frequency) circuitry 205, audio circuitry 206, speaker 211, power management chip 208, input/output (I/O) subsystem 209, touch screen 212, other input/control devices 210, and external port 204, which communicate via one or more communication buses or signal lines 207.
It should be understood that the illustrated terminal device 200 is only one example of a terminal device, and that the terminal device 200 may have more or fewer components than shown in the figures, may combine two or more components, or may have a different configuration of components. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
The following describes in detail a terminal device for rights management of multi-open applications provided in this embodiment, where the terminal device is a smart phone as an example.
A memory 201, the memory 201 being accessible by the CPU202, the peripheral interface 203, and the like, the memory 201 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, or other volatile solid state storage devices.
A peripheral interface 203, said peripheral interface 203 may connect input and output peripherals of the device to the CPU202 and the memory 201.
An I/O subsystem 209, the I/O subsystem 209 may connect input and output peripherals on the device, such as a touch screen 212 and other input/control devices 210, to the peripheral interface 203. The I/O subsystem 209 may include a display controller 2091 and one or more input controllers 2092 for controlling the other input/control devices 210. Where one or more input controllers 2092 receive electrical signals from or transmit electrical signals to other input/control devices 210, the other input/control devices 210 may include physical buttons (push buttons, rocker buttons, etc.), dials, slide switches, joysticks, click wheels. It is noted that the input controller 2092 may be coupled to any one of: a keyboard, an infrared port, a USB interface, and a pointing device such as a mouse.
A touch screen 212, the touch screen 212 being an input interface and an output interface between the user terminal and the user, displaying visual output to the user, which may include graphics, text, icons, video, and the like.
The display controller 2091 within the I/O subsystem 209 receives electrical signals from the touch screen 212 or transmits electrical signals to the touch screen 212. The touch screen 212 detects a contact on the touch screen, and the display controller 2091 converts the detected contact into an interaction with a user interface object displayed on the touch screen 212, i.e., implements a human-machine interaction, and the user interface object displayed on the touch screen 212 may be an icon for running a game, an icon networked to a corresponding network, or the like. It is worth mentioning that the device may also comprise a light mouse, which is a touch sensitive surface that does not show visual output, or an extension of the touch sensitive surface formed by the touch screen.
The RF circuit 205 is mainly used to establish communication between the mobile phone and the wireless network (i.e., network side), and implement data reception and transmission between the mobile phone and the wireless network. Such as sending and receiving short messages, e-mails, etc. In particular, the RF circuitry 205 receives and transmits RF signals, also referred to as electromagnetic signals, through which the RF circuitry 205 converts electrical signals to or from electromagnetic signals and communicates with communication networks and other devices. RF circuitry 205 may include known circuitry for performing these functions including, but not limited to, an antenna system, an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a CODEC (CODEC) chipset, a Subscriber Identity Module (SIM), and so forth.
The audio circuit 206 is mainly used to receive audio data from the peripheral interface 203, convert the audio data into an electric signal, and transmit the electric signal to the speaker 211.
And a speaker 211 for reproducing the voice signal received by the handset from the wireless network through the RF circuit 205 into sound and playing the sound to the user.
And the power management chip 208 is used for supplying power and managing power to the hardware connected with the CPU202, the I/O subsystem and the peripheral interface.
The volume adjusting device of the terminal device and the terminal device provided in the above embodiments can execute the volume adjusting method of the terminal device provided in any embodiment of the present invention, and have corresponding functional modules and beneficial effects for executing the method. For details of the technology not described in detail in the above embodiments, reference may be made to a volume adjustment method of a terminal device provided in any embodiment of the present invention.
An embodiment of the present invention further provides a storage medium containing terminal device executable instructions, where the terminal device executable instructions are executed by a terminal device processor to perform a volume adjustment method, and the method includes:
when detecting that terminal equipment plays a sound source, acquiring audio information of the sound source;
determining the corresponding amplitude according to the audio information;
determining an amplitude adjusting coefficient according to the amplitude and the obtained current volume value of the terminal equipment;
and adjusting the amplitude of the sound source according to the amplitude adjustment coefficient.
In a possible embodiment, the obtaining audio information of the audio source, and determining the corresponding amplitude according to the audio information includes:
acquiring audio information of the sound source with a preset length, and determining a corresponding maximum amplitude and an average amplitude according to the audio information;
correspondingly, the determining an amplitude adjustment coefficient according to the amplitude and the obtained current volume value of the terminal device includes:
and determining an amplitude adjusting coefficient according to the maximum amplitude, the average amplitude and the obtained current volume value of the terminal equipment.
In one possible embodiment, said determining an amplitude adjustment factor as a function of said maximum amplitude, said average amplitude and said volume value comprises:
and if the difference value of the maximum amplitude and the average amplitude meets a preset condition, determining an amplitude adjusting coefficient according to the maximum amplitude, the average amplitude and the volume value.
In one possible embodiment, said determining an amplitude adjustment factor as a function of said maximum amplitude, said average amplitude and said volume value comprises:
determining a first amplitude adjustment coefficient according to the difference value between the maximum amplitude and the average amplitude and the volume value;
correspondingly, the adjusting the amplitude of the sound source according to the amplitude adjusting coefficient includes:
and adjusting the amplitude of the sound source which is greater than a first preset threshold value according to the first amplitude adjusting coefficient.
In a possible embodiment, after determining the first amplitude adjustment coefficient according to the difference between the maximum amplitude and the average amplitude and the volume value, the method further includes:
determining a second amplitude adjustment coefficient according to the average amplitude;
correspondingly, the adjusting the amplitude of the sound source according to the amplitude adjusting coefficient further includes:
and adjusting the amplitude of the sound source which is smaller than a second preset threshold and larger than a third preset threshold according to the second amplitude adjustment coefficient, wherein the second preset threshold is smaller than the first preset threshold.
In a possible embodiment, before said determining an amplitude adjustment coefficient according to said maximum amplitude, said average amplitude and said volume value, further comprises:
determining an impedance value of a playing device of the terminal equipment;
correspondingly, the determining an amplitude adjustment coefficient according to the maximum amplitude, the average amplitude and the volume value comprises:
determining an amplitude adjustment factor as a function of the impedance value, the maximum amplitude, the average amplitude, and the volume value.
In a possible embodiment, before said determining an amplitude adjustment coefficient according to said maximum amplitude, said average amplitude and said volume value, further comprises:
determining a noise value of the current environment of the terminal equipment;
correspondingly, the determining an amplitude adjustment coefficient according to the maximum amplitude, the average amplitude and the volume value comprises:
determining an amplitude adjustment factor as a function of the noise value, the maximum amplitude, the average amplitude and the volume value.
Storage medium-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, Lanbas (Rambus) RAM, etc.; non-volatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in a first computer system in which the program is executed, or may be located in a different second computer system connected to the first computer system through a network (such as the internet). The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations, such as in different computer systems that are connected by a network. The storage medium may store program instructions (e.g., embodied as a computer program) that are executable by one or more processors.
Of course, the storage medium provided by the embodiment of the present invention contains computer-executable instructions, and the computer-executable instructions are not limited to the operations of the volume adjustment method described above, and may also perform related operations in the volume adjustment method provided by any embodiment of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (8)

1. A method of adjusting volume, comprising:
when detecting that terminal equipment plays a sound source, acquiring audio information of the sound source;
determining the corresponding amplitude according to the audio information;
determining an amplitude adjusting coefficient according to the amplitude and the obtained current volume value of the terminal equipment;
adjusting the amplitude of the sound source according to the amplitude adjustment coefficient;
analyzing a sound source file in the process of adjusting the amplitude of a sound source, modifying amplitude data in the obtained audio information, and packaging the audio file after modification is finished; alternatively, the first and second electrodes may be,
in the decoding process of audio playing, the amplitude data is obtained by analyzing the obtained audio information, and the amplitude data is multiplied by the corresponding regulating coefficient to change the amplitude;
wherein, the obtaining the audio information of the sound source and determining the corresponding amplitude according to the audio information includes:
acquiring audio information of the sound source with a preset length, and determining a corresponding maximum amplitude and an average amplitude according to the audio information;
correspondingly, the determining an amplitude adjustment coefficient according to the amplitude and the obtained current volume value of the terminal device includes:
determining an amplitude adjustment coefficient as a function of the maximum amplitude, the average amplitude, and the volume value;
wherein said determining an amplitude adjustment factor as a function of said maximum amplitude, said average amplitude and said volume value comprises:
and if the difference value of the maximum amplitude and the average amplitude meets a preset condition, determining an amplitude adjusting coefficient according to the maximum amplitude, the average amplitude and the volume value.
2. The method of claim 1, wherein said determining an amplitude adjustment factor as a function of said maximum amplitude, said average amplitude, and said volume value further comprises:
determining a first amplitude adjustment coefficient according to the difference value between the maximum amplitude and the average amplitude and the volume value;
correspondingly, the adjusting the amplitude of the sound source according to the amplitude adjusting coefficient includes:
and adjusting the amplitude of the sound source which is greater than a first preset threshold value according to the first amplitude adjusting coefficient.
3. The method of claim 2, wherein after said determining a first amplitude adjustment factor as a function of the difference between the maximum amplitude and the average amplitude and the volume value, further comprising:
determining a second amplitude adjustment coefficient according to the average amplitude;
correspondingly, the adjusting the amplitude of the sound source according to the amplitude adjusting coefficient further includes:
and adjusting the amplitude of the sound source which is smaller than a second preset threshold and larger than a third preset threshold according to the second amplitude adjustment coefficient, wherein the second preset threshold is smaller than the first preset threshold.
4. The method according to any of claims 1-3, further comprising, before said determining an amplitude adjustment coefficient from said maximum amplitude, said average amplitude and said volume value:
determining an impedance value of a playing device of the terminal equipment;
correspondingly, the determining an amplitude adjustment coefficient according to the maximum amplitude, the average amplitude and the volume value comprises:
determining an amplitude adjustment factor as a function of the impedance value, the maximum amplitude, the average amplitude, and the volume value.
5. The method according to any of claims 1-3, further comprising, before said determining an amplitude adjustment coefficient from said maximum amplitude, said average amplitude and said volume value:
determining a noise value of the current environment of the terminal equipment;
correspondingly, the determining an amplitude adjustment coefficient according to the maximum amplitude, the average amplitude and the volume value comprises:
determining an amplitude adjustment factor as a function of the noise value, the maximum amplitude, the average amplitude and the volume value.
6. A volume adjustment device, comprising:
the acquisition module is used for acquiring audio information of a sound source when the terminal equipment is detected to play the sound source;
the amplitude determining module is used for determining the corresponding amplitude according to the audio information;
the adjusting coefficient determining module is used for determining an amplitude adjusting coefficient according to the amplitude and the obtained current volume value of the terminal equipment;
the adjusting module is used for adjusting the amplitude of the sound source according to the amplitude adjusting coefficient;
analyzing a sound source file in the process of adjusting the amplitude of a sound source, modifying amplitude data in the obtained audio information, and packaging the audio file after modification is finished; alternatively, the first and second electrodes may be,
in the decoding process of audio playing, the amplitude data is obtained by analyzing the obtained audio information, and the amplitude data is multiplied by the corresponding regulating coefficient to change the amplitude;
wherein the amplitude determination module is specifically configured to:
acquiring audio information of the sound source with a preset length, and determining a corresponding maximum amplitude and an average amplitude according to the audio information;
the adjustment coefficient determining module is specifically configured to:
determining an amplitude adjusting coefficient according to the maximum amplitude, the average amplitude and the obtained current volume value of the terminal equipment;
and if the difference value of the maximum amplitude and the average amplitude meets a preset condition, determining an amplitude adjusting coefficient according to the maximum amplitude, the average amplitude and the volume value.
7. A terminal device, comprising: processor, memory and computer program stored on the memory and executable on the processor, characterized in that the processor implements the volume adjustment method according to any one of claims 1-5 when executing the computer program.
8. A storage medium containing terminal device-executable instructions, which when executed by a terminal device processor, are configured to perform the volume adjustment method of any one of claims 1-5.
CN201710711365.9A 2017-08-18 2017-08-18 Volume adjusting method and device, terminal equipment and storage medium Active CN107526570B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710711365.9A CN107526570B (en) 2017-08-18 2017-08-18 Volume adjusting method and device, terminal equipment and storage medium
PCT/CN2018/098647 WO2019033940A1 (en) 2017-08-18 2018-08-03 Volume adjustment method and apparatus, terminal device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710711365.9A CN107526570B (en) 2017-08-18 2017-08-18 Volume adjusting method and device, terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN107526570A CN107526570A (en) 2017-12-29
CN107526570B true CN107526570B (en) 2020-01-14

Family

ID=60681451

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710711365.9A Active CN107526570B (en) 2017-08-18 2017-08-18 Volume adjusting method and device, terminal equipment and storage medium

Country Status (2)

Country Link
CN (1) CN107526570B (en)
WO (1) WO2019033940A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107526570B (en) * 2017-08-18 2020-01-14 Oppo广东移动通信有限公司 Volume adjusting method and device, terminal equipment and storage medium
CN109375893A (en) * 2018-11-20 2019-02-22 北京小米移动软件有限公司 Audio frequency playing method and device
CN110661502A (en) * 2019-10-18 2020-01-07 上海锐伟电子科技有限公司 Volume adjusting method based on embedded system
CN113497852A (en) 2020-04-07 2021-10-12 北京字节跳动网络技术有限公司 Automatic volume adjustment method, apparatus, medium, and device
CN112306451A (en) * 2020-10-30 2021-02-02 西安万像电子科技有限公司 Volume adjustment method, device and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101997498A (en) * 2009-08-27 2011-03-30 北京宏景捷讯网络技术股份有限公司 Volume adjusting method and device
CN103916797A (en) * 2014-04-04 2014-07-09 安徽森力汽车电子有限公司 Vehicle-mounted audible device
CN104410379A (en) * 2014-10-29 2015-03-11 深圳市金立通信设备有限公司 A volume adjusting method

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI352310B (en) * 2004-02-17 2011-11-11 Hon Hai Prec Ind Co Ltd System and method for controlling volume with a si
US20070104337A1 (en) * 2005-11-08 2007-05-10 Shurtz Gregory R Apparatus and method for automatic volume synchronization of a digital audio device with an analog audio source
US8275151B2 (en) * 2007-12-19 2012-09-25 Agere Systems Inc. Speakerphone using adaptive phase rotation
CN101714855A (en) * 2009-11-19 2010-05-26 无敌科技(西安)有限公司 System and method for automatically adjusting volume
CN102075829B (en) * 2009-11-24 2013-11-20 鸿富锦精密工业(深圳)有限公司 Volume adjusting system
CN103746668A (en) * 2013-12-31 2014-04-23 上海斐讯数据通信技术有限公司 Sound volume control method and system
US9794669B2 (en) * 2014-02-11 2017-10-17 Mediatek Inc. Devices and methods for headphone speaker impedance detection
CN104363510B (en) * 2014-10-29 2019-04-30 深圳市金立通信设备有限公司 A kind of playback terminal
CN106775563A (en) * 2016-12-13 2017-05-31 珠海市魅族科技有限公司 The method and device of volume adjusting
CN107526570B (en) * 2017-08-18 2020-01-14 Oppo广东移动通信有限公司 Volume adjusting method and device, terminal equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101997498A (en) * 2009-08-27 2011-03-30 北京宏景捷讯网络技术股份有限公司 Volume adjusting method and device
CN103916797A (en) * 2014-04-04 2014-07-09 安徽森力汽车电子有限公司 Vehicle-mounted audible device
CN104410379A (en) * 2014-10-29 2015-03-11 深圳市金立通信设备有限公司 A volume adjusting method

Also Published As

Publication number Publication date
CN107526570A (en) 2017-12-29
WO2019033940A1 (en) 2019-02-21

Similar Documents

Publication Publication Date Title
CN107526570B (en) Volume adjusting method and device, terminal equipment and storage medium
US11251763B2 (en) Audio signal adjustment method, storage medium, and terminal
CN107465824B (en) Volume adjusting method and device, mobile terminal and storage medium
CN107566618B (en) Volume adjusting method and device, terminal equipment and storage medium
CN111033614B (en) Volume adjusting method and device, mobile terminal and storage medium
CN108810749B (en) Player control method, device, terminal equipment and storage medium
US10440464B2 (en) Method and apparatus for adjusting volume, terminal device and storage medium
CN110799936B (en) Volume adjusting method, volume adjusting device, terminal equipment and storage medium
WO2017215657A1 (en) Sound effect processing method, and terminal device
WO2019033942A1 (en) Volume adjustment method and apparatus, terminal device, and storage medium
WO2019033941A1 (en) Volume adjustment method and apparatus, terminal device, and storage medium
WO2023131155A1 (en) Wireless earphone control method and apparatus, and electronic device
CN107483734B (en) Volume adjusting method and device, terminal equipment and storage medium
CN107506168B (en) Volume adjusting method and device, terminal equipment and storage medium
WO2019033939A1 (en) Volume adjustment method and apparatus, terminal device, and storage medium
CN106293607B (en) Method and system for automatically switching audio output modes
CN110753919B (en) Volume adjusting method and device, storage medium and mobile terminal
CN107506170A (en) volume adjusting method, device, terminal device and storage medium
CN110731087A (en) Volume adjusting method and device, mobile terminal and storage medium
CN107506169A (en) volume adjusting method, device, terminal device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant