CN106201422A - A kind of volume adjusting method and electronic equipment - Google Patents

A kind of volume adjusting method and electronic equipment Download PDF

Info

Publication number
CN106201422A
CN106201422A CN201610514062.3A CN201610514062A CN106201422A CN 106201422 A CN106201422 A CN 106201422A CN 201610514062 A CN201610514062 A CN 201610514062A CN 106201422 A CN106201422 A CN 106201422A
Authority
CN
China
Prior art keywords
signal
output volume
electronic equipment
volume
attribute
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.)
Pending
Application number
CN201610514062.3A
Other languages
Chinese (zh)
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201610514062.3A priority Critical patent/CN106201422A/en
Publication of CN106201422A publication Critical patent/CN106201422A/en
Pending legal-status Critical Current

Links

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

Landscapes

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

Abstract

The embodiment of the invention discloses a kind of volume adjusting method and electronic equipment.Described method includes: the FM signal that demodulation receives, and obtains the 2nd FM signal;Obtain the signal of described electronic equipment to speak attribute;Speak attribute according to the signal of described electronic equipment, regulate the output volume of described 2nd FM signal.Therefore, using the method described in the embodiment of the present invention can realize effective regulation of the output volume to the 2nd FM signal, the output volume of the 2nd FM signal after regulation meets the auditory perception of user, thus ensure that the experience effect of user.

Description

A kind of volume adjusting method and electronic equipment
Technical field
The present embodiments relate to the communications field, particularly relate to a kind of volume adjusting method, and a kind of electronic equipment.
Background technology
Along with the development of electronic technology, electronic product is used by increasing user with its powerful function.Electricity Sub-interiors of products is usually mounted with radio, and the radio that user can use electronic product built-in listens to FM channel program.
During answering FM channel program, when the environment noise of electronic product place environment changes, user By corresponding operating, FM volume can be adjusted, to adapt to current environment noise.
But, owing to environment noise is continually changing, therefore the regulation of volume is operated and bothers very much by user.Work as environment When noise change is frequent, user possibly cannot meet the pace of change of environment noise to the governing speed of volume, and this can affect use The auditory perception at family, reduces the experience effect of user.
Further, since there is multiple playing device on electronic equipment, such as loudspeaker, earphone, different playing devices are to same The output effect of FM volume is different, and therefore after changing playing device, the original sound volume of FM channel program has been no longer appropriate for currently Playing device, thus the auditory perception of user cannot be met.
Summary of the invention
The invention provides a kind of volume adjusting method, with solve environment noise present in background technology change and The problem that on electronic equipment, the replacing of different playing devices can affect the experience effect of the auditory perception of user, reduction user.
First aspect, it is provided that a kind of volume adjusting method, described method includes:
The FM signal that demodulation receives, obtains the 2nd FM signal;
Obtain the signal of described electronic equipment to speak attribute;
Speak attribute according to the signal of described electronic equipment, regulate the output volume of described 2nd FM signal.
Second aspect, it is provided that a kind of electronic equipment, including:
2nd FM signal obtains module, the FM signal received for demodulation, obtains the 2nd FM signal;
Signal is spoken attribute acquisition module, speaks attribute for obtaining the signal of described electronic equipment;
Output volume adjusting module, for speaking attribute according to the signal of described electronic equipment, regulates described 2nd FM letter Number output volume.
According to embodiments of the invention, the FM signal that demodulation receives, obtain the 2nd FM signal, obtain described electronics The signal of equipment is spoken attribute, speaks attribute according to the signal of described electronic equipment, regulates the output sound of described 2nd FM signal Amount.Therefore, use the method described in the embodiment of the present invention can realize effective regulation of the output volume to the 2nd FM signal, adjust The output volume of the 2nd FM signal after joint meets the auditory perception of user, thus ensure that the experience effect of user.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention, And can be practiced according to the content of description, and in order to allow above and other objects of the present invention, the feature and advantage can Become apparent, below especially exemplified by the detailed description of the invention of the present invention.
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, below by institute in the description to the embodiment of the present invention The accompanying drawing used is needed to be briefly described, it should be apparent that, the accompanying drawing in describing below is only some enforcements of the present invention Example, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to according to these accompanying drawings Obtain other accompanying drawing.
Fig. 1 is the flow chart of the volume adjusting method of one embodiment of the invention;
Fig. 2 is the flow chart of the volume adjusting method of another embodiment of the present invention;
Fig. 3 is the block diagram of the electronic equipment of one embodiment of the invention;
Fig. 4 is the block diagram of the electronic equipment of another embodiment of the present invention;
Fig. 5 is the block diagram of the electronic equipment of another embodiment of the present invention;
Fig. 6 is the block diagram of the electronic equipment of another embodiment of the present invention.
Detailed description of the invention
It is more fully described the exemplary embodiment of the disclosure below with reference to accompanying drawings.Although accompanying drawing shows the disclosure Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure and should be by embodiments set forth here Limited.On the contrary, it is provided that these embodiments are able to be best understood from the disclosure, and can be by the scope of the present disclosure Complete conveys to those skilled in the art.
Embodiment 1
Fig. 1 is the flow chart of the volume adjusting method of one embodiment of the invention.Volume adjusting method bag shown in Fig. 1 Include:
The FM signal that step 101, demodulation receive, obtains the 2nd FM signal.
Radiofrequency signal is high-frequency signal, is generally used for transmitting data, as radio wave, mobile phone signal etc..Generally use Antenna receives high-frequency signal, and is demodulated processing, to obtain corresponding baseband signal to the high-frequency signal received.
The FM signal that radio receives is high-frequency signal, and radio, after receiving FM signal, needs the FM received Signal is demodulated processing.
In the embodiment of the present invention, a FM signal is the high frequency FM signal that radio receives, in order to obtain a FM signal In useful information, need a FM signal has been carried out demodulation process, obtain the 2nd FM signal.2nd FM signal of gained belongs to In baseband signal, wherein carry the amplitude of the useful information of signal, such as signal, frequency, phase place etc..
Step 102, obtain the signal of described electronic equipment and speak attribute.
Method described in the embodiment of the present invention is applied to electronic equipment, specifically, is applied to be provided with wireless electronics Equipment, such as mobile phone, radio, panel computer etc..
Signal speak attribute be affect volume output size characteristic, such as audio output apparatus kind, environment noise is strong Degree etc., wherein volume outut device kind can include loudspeaker, earphone etc..
If signal is spoken, attribute includes volume outut device kind, then obtain the 2nd FM signal at demodulation the oneth FM signal After, the volume outut device of current electronic device is identified by system, determines the volume outut device of current electronic device.
When attribute includes environmental noise level if signal is spoken, then can open the mike of electronic equipment to equipment place The environment noise of environment is acquired, and calculates the environment noise gathered further, obtains corresponding environment noise strong Degree, such as, calculate the environmental noise level of each environment noise, calculate the interior multiple environmental noise level gathered of preset period of time Virtual value or environmental noise level peak value.In reality, can periodically open mike according to prefixed time interval signal gone out The environment noise of sound place environment is acquired, it is also possible to random mike of opening gathers environment noise.
Step 103, signal according to described electronic equipment are spoken attribute, regulate the output volume of described 2nd FM signal.
Speak after attribute at the signal obtaining electronic equipment, can speak defeated to the 2nd FM signal of attribute according to this signal Go out volume to be adjusted, listen to so that the output volume after Tiao Jie is more suitable for user.
When signal speak attribute be environmental noise level time, if the environmental noise level of the current environment gathered is relatively big, then Can suitably increase the output volume of the 2nd FM signal;If the environmental noise level of the current environment gathered is less, then can fit When the output volume reducing the 2nd FM signal.
When signal speak attribute be volume outut device time, if playback equipment is changed into loudspeaker by earphone, then can suitably increase The output volume of big 2nd FM signal, so that user clearly hears the FM audio frequency that electronic equipment is play;If playback equipment by Loudspeaker change earphone into, then can suitably reduce the output volume of the 2nd FM signal, and to prevent, output volume is excessive to be caused user Uncomfortable.
According to embodiments of the invention, the FM signal that demodulation receives, obtain the 2nd FM signal, obtain described electronics The signal of equipment is spoken attribute, speaks attribute according to the signal of described electronic equipment, regulates the output sound of described 2nd FM signal Amount.Therefore, use the method described in the embodiment of the present invention can realize effective regulation of the output volume to the 2nd FM signal, adjust The output volume of the 2nd FM signal after joint meets the auditory perception of user, thus ensure that the experience effect of user.
Embodiment 2
Fig. 2 is the flow chart of the volume adjusting method of another embodiment of the present invention.Volume adjusting method bag shown in Fig. 2 Include:
The FM signal that step 201, demodulation receive, obtains the 2nd FM signal.
Step 202, obtain the signal of described electronic equipment and speak attribute.
In the embodiment of the present invention, the signal of electronic equipment attribute of speaking can speak mode to include signal and environment is made an uproar noisy One or more in degree, specifically, can speak mode to include signal, or signal is spoken mode and environment noisy degree.
Wherein, the signal mode of speaking can be understood as using which kind of signal output apparatus to play audio frequency, i.e. audio frequency output sets Standby kind, such as loudspeaker, earphone etc., different signal output apparatus produces different impacts to the sound effective value that goes out of signal.
Environment noisy degree can refer to environmental noise level or the environmental noise level grade of electronic equipment place environment.
When environment noisy degree is environmental noise level, can be in the environment noise collecting electronic equipment place environment After, calculate the environmental noise level of the environment noise gathered.Wherein the noise intensity of computing environment noise is common technology means, The present invention does not repeats them here.
When environment noisy degree is environmental noise level grade, determine collection environment noise environmental noise level it After, the environment noise of collection can be determined according to the corresponding relation of default environmental noise level Yu environmental noise level grade Environmental noise level grade, and then determine the environmental noise level grade of electronic equipment place environment.
In reality, according to reality environmental noise level can be divided into multiple environmental noise level grade, the highest, In, three kinds of end grade, or one-level, two grades, three grades ... the N level positive integer of three (N be greater than) multiple grades.
Step 203, speak according to the signal of electronic equipment preset attribute and the 2nd FM signal default output volume it Between corresponding relation, determine that the signal of described electronic equipment is spoken the default output volume corresponding to attribute.
In the embodiment of the present invention, default output volume can be understood as standard output volume, and user is in standard output volume Under there is preferable auditory perception, both can catch output audio frequency, will not feel well because output volume is too high again.
Different signals is spoken the corresponding different default output volume of attribute.When signal attribute of speaking is that signal is spoken mode Time, owing to unlike signal volume outut device corresponding to mode of speaking is different, the volume outut device of different structure is to volume Output effect is different, and therefore unlike signal is spoken the corresponding different default output volume of mode.
When signal speak attribute be environment noisy degree time, the corresponding different default output volume of varying environment noisy degree, ring Border noisy degree is the highest, and the default output volume of its correspondence is the highest, to guarantee that user can catch output audio frequency.
Before performing the method described in the embodiment of the present invention, attribute and the of can in advance the signal of electronic equipment being spoken Corresponding relation between the default output volume of two FM signals stores to electronic equipment.
Specifically, when signal speak attribute include signal speak mode time, mode of the signal of electronic equipment can being spoken And the 2nd FM signal default output volume between corresponding relation store to electronic equipment.
When signal speak attribute include environment noisy degree time, can be by the environment noisy degree of electronic equipment place environment and Corresponding relation between the default output volume of two FM signals stores to electronic equipment.
When signal speak attribute include signal speak mode and environment noisy degree two kinds time, the signal of preset electronic equipment goes out The first corresponding relation between the environment noisy degree threshold value of sound mode and place environment, the environment simultaneously presetting place environment is noisy The second corresponding relation between degree threshold value and the default output volume of the 2nd FM signal, can be by described first corresponding relation and institute State the second corresponding relation to store to electronic equipment.
After the signal obtaining described electronic equipment speaks attribute, can be according to the corresponding pass of storage in electronic equipment System, searches and determines that the signal of current electronic device is spoken default output volume corresponding to attribute.Further, it is possible to according to presetting The output volume of the 2nd FM signal is adjusted by output volume.
Specifically, when signal speak attribute be signal speak mode time, can from signal speak mode-preset output volume Corresponding relation in, determine that the signal of current electronic device is spoken default output volume corresponding to mode.When signal is spoken attribute During for environment noisy degree, the default output sound of correspondence can be determined from the corresponding relation of environment noisy degree-default output volume Amount.
When signal speak attribute be signal speak mode and environment noisy degree time, can be with the first basis signal mode of speaking-ring First corresponding relation of border noisy degree threshold value, determines that the signal of current electronic device is spoken environment noisy degree threshold corresponding to mode Value, afterwards according to the second corresponding relation of environment noisy degree threshold value-default output volume, finally determines the letter of current electronic device The default output volume that attribute of number speaking is corresponding.
Step 204, regulate the output volume of described 2nd FM signal to presetting output volume.
Owing to user has preferable auditory perception under default output volume, therefore go out at the signal obtaining electronic equipment After default output volume corresponding to sound attribute, can be according to the default output volume of the gained output volume to the 2nd FM signal It is adjusted, the output volume of the 2nd FM signal is adjusted the default output volume to gained, to meet user's impression.
Specifically, the output volume regulating described 2nd FM signal may comprise steps of to presetting output volume:
S1, calculate in preset period of time the virtual value of the output volume of the multiple 2nd FM signals obtained, and compare this and have Valid value and the default output volume of described 2nd FM signal.
S2, when this virtual value is less than the default output volume of described 2nd FM signal, defeated by described 2nd FM signal Go out volume and increase to the default output volume of described 2nd FM signal.
According to default step-length, the output volume of the 2nd FM signal can be adjusted.If the output sound of the 2nd FM signal Amount is less than presetting output volume, then the output volume to the 2nd FM signal increases a step-length, second after increasing further The output volume of FM signal compares with default output volume, repeat the above steps, until the 2nd FM signal after Zeng Jiaing Till output volume reaches corresponding default output volume.
Gain control circuit it is usually provided with, for the 2nd FM signal is adjusted in electronic equipment.Gain control electricity Road includes linear amplifier circuit and compression amplifying circuit, when input signal is more weak, starts linear amplifier circuit, by FM signal Signal intensity is multiplied by volume output gain, and volume output gain now is more than 1, thus amplifies the signal intensity of FM signal;When When input signal is stronger, starts compression amplifying circuit, the signal intensity of FM signal is multiplied by volume output gain, volume now Output gain is less than 1, thus reduces the signal intensity of FM signal, meets the needs decaying input signal.Volume is defeated Go out gain and can be understood as the regulation coefficient of signal intensity.
Therefore, the embodiment of the present invention can be by controlling the volume output gain of gain control circuit, it is achieved to the 2nd FM The regulation of the output volume of signal.When the output volume of the 2nd FM signal is less than when presetting output volume, volume can be increased defeated Go out gain;When the output volume of the 2nd FM signal is more than when presetting output volume, can suitably reduce volume output gain, thus Realize the regulation to output volume.
According to embodiments of the invention, the FM signal that demodulation receives, obtain the 2nd FM signal, obtain described electronics The signal of equipment is spoken attribute, speaks attribute according to the signal of described electronic equipment, regulates the output sound of described 2nd FM signal Amount.Therefore, use the method described in the embodiment of the present invention can realize effective regulation of the output volume to the 2nd FM signal, adjust The output volume of the 2nd FM signal after joint meets the auditory perception of user, thus ensure that the experience effect of user.
Embodiment 3
Fig. 3 is the block diagram of the electronic equipment of one embodiment of the invention.Electronic equipment shown in Fig. 3 includes:
2nd FM signal obtains module 301, the FM signal received for demodulation, obtains the 2nd FM signal.
Signal is spoken attribute acquisition module 302, speaks attribute for obtaining the signal of described electronic equipment.
Output volume adjusting module 303, for speaking attribute according to the signal of described electronic equipment, regulates described 2nd FM The output volume of signal.
According to embodiments of the invention, the FM signal that demodulation receives, obtain the 2nd FM signal, obtain described electronics The signal of equipment is spoken attribute, speaks attribute according to the signal of described electronic equipment, regulates the output sound of described 2nd FM signal Amount.Therefore, use the method described in the embodiment of the present invention can realize effective regulation of the output volume to the 2nd FM signal, adjust The output volume of the 2nd FM signal after joint meets the auditory perception of user, thus ensure that the experience effect of user.
Embodiment 4
Fig. 4 is the block diagram of the electronic equipment of another embodiment of the present invention.Electronic equipment shown in Fig. 4 includes:
2nd FM signal obtains module 401, the FM signal received for demodulation, obtains the 2nd FM signal.
Signal is spoken attribute acquisition module 402, speaks attribute for obtaining the signal of described electronic equipment.
Output volume adjusting module 403, for speaking attribute according to the signal of described electronic equipment, regulates described 2nd FM The output volume of signal.
Described output volume adjusting module 403 includes:
Default output volume determines submodule 4031, and be used for speaking according to the signal of the electronic equipment preset attribute and second Corresponding relation between the default output volume of FM signal, determine the signal of described electronic equipment speak corresponding to attribute preset Output volume.
Volume adjusts submodule 4032, for regulating the output volume of described 2nd FM signal to presetting output volume.
In the embodiment of the present invention, it is preferable that described volume adjusts submodule 4032 and includes:
Virtual value comparing unit, the output volume of the multiple 2nd FM signals obtained in calculate preset period of time effective Value, and compare the size of described virtual value and the default output volume of described 2nd FM signal;
Output volume increases unit, during for being less than the default output volume of described 2nd FM signal when described virtual value, The output volume of described 2nd FM signal is increased to the default output volume of described 2nd FM signal.
In the embodiment of the present invention, it is preferable that described output volume adjusting module 403, specifically for according to default step-length Regulate the output volume of described 2nd FM signal.
In the embodiment of the present invention, it is preferable that the signal of described electronic equipment attribute of speaking includes that signal is spoken mode, or letter Number speak the environment noisy degree of mode and place environment.
According to embodiments of the invention, the FM signal that demodulation receives, obtain the 2nd FM signal, obtain described electronics The signal of equipment is spoken attribute, speaks attribute according to the signal of described electronic equipment, regulates the output sound of described 2nd FM signal Amount.Therefore, use the method described in the embodiment of the present invention can realize effective regulation of the output volume to the 2nd FM signal, adjust The output volume of the 2nd FM signal after joint meets the auditory perception of user, thus ensure that the experience effect of user.
Embodiment 5
Fig. 5 is the block diagram of the electronic equipment of another embodiment of the present invention.Electronic equipment 500 shown in Fig. 5 includes: at least One processor 501, memorizer 502, at least one network interface 504 and other user interfaces 503.In electronic equipment 500 Each assembly is coupled by bus system 505.It is understood that bus system 505 is for realizing the company between these assemblies Connect letter.Bus system 505, in addition to including data/address bus, also includes power bus, controls bus and status signal bus in addition.But It is for the sake of understanding explanation, in Figure 5 various buses is all designated as bus system 505.
Wherein, user interface 503 can include display, keyboard or pointing device (such as, mouse, trace ball (trackball), touch-sensitive plate or touch screen etc..
The memorizer 502 being appreciated that in the embodiment of the present invention can be volatile memory or nonvolatile memory, Maybe can include volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read only memory (Read- OnlyMemory, ROM), programmable read only memory (ProgrammableROM, PROM), Erasable Programmable Read Only Memory EPROM (ErasablePROM, EPROM), Electrically Erasable Read Only Memory (ElectricallyEPROM, EEPROM) or sudden strain of a muscle Deposit.Volatile memory can be random access memory (RandomAccessMemory, RAM), and it is used as outside the most slow Deposit.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM (StaticRAM, SRAM), dynamic random access memory (DynamicRAM, DRAM), Synchronous Dynamic Random Access Memory (SynchronousDRAM, SDRAM), double data speed synchronous dynamic RAM (DoubleDataRate SDRAM, DDRSDRAM), enhancement mode Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links Dynamic random access memory (SynchlinkDRAM, SLDRAM) and direct rambus random access memory (DirectRambusRAM, DRRAM).The memorizer 502 of the system and method that the embodiment of the present invention describes is intended to include but does not limits In these and the memorizer of any other applicable type.
In some embodiments, memorizer 502 stores following element, executable module or data structure, or Their subset of person, or their superset: operating system 5021 and application program 5022.
Wherein, operating system 5021, comprise various system program, such as ccf layer, core library layer, driving layer etc., be used for Realize various basic business and process hardware based task.Application program 5022, comprises various application program, such as media Player (MediaPlayer), browser (Browser) etc., be used for realizing various applied business.Realize embodiment of the present invention side The program of method may be embodied in application program 5022.
In embodiments of the present invention, by calling program or the instruction of memorizer 502 storage, concrete, can be application The program stored in program 5022 or instruction, the FM signal that processor 501 receives for demodulation, obtain the 2nd FM letter Number, obtain the signal of described electronic equipment and speak attribute, speak attribute according to the signal of described electronic equipment, regulate described second The output volume of FM signal.
The method that the invention described above embodiment discloses can apply in processor 501, or is realized by processor 501. Processor 501 is probably a kind of IC chip, has the disposal ability of signal.During realizing, said method each Step can be completed by the instruction of the integrated logic circuit of the hardware in processor 501 or software form.Above-mentioned process Device 501 can be general processor, digital signal processor (DigitalSignalProcessor, DSP), special IC (ApplicationSpecific IntegratedCircuit, ASIC), ready-made programmable gate array (FieldProgrammableGateArray, FPGA) or other PLDs, discrete gate or transistor logic Device, discrete hardware components.Can realize or perform disclosed each method, step and the box in the embodiment of the present invention Figure.The processor etc. that general processor can be microprocessor or this processor can also be any routine.In conjunction with the present invention The step of the method disclosed in embodiment can be embodied directly in hardware decoding processor and perform, or uses decoding processor In hardware and software module combination execution complete.Software module may be located at random access memory, and flash memory, read only memory can In the storage medium that this areas such as program read-only memory or electrically erasable programmable memorizer, depositor are ripe.This storage Medium is positioned at memorizer 502, and processor 501 reads the information in memorizer 502, completes the step of said method in conjunction with its hardware Suddenly.
It is understood that the embodiment of the present invention describe these embodiments can use hardware, software, firmware, middleware, Microcode or a combination thereof realize.Realizing for hardware, processing unit can be implemented in one or more special IC (ApplicationSpecificIntegratedCircuits, ASIC), digital signal processor (DigitalSignalProcessing, DSP), digital signal processing appts (DSPDevice, DSPD), programmable logic device (ProgrammableLogicDevice, PLD), field programmable gate array (Field-ProgrammableGateArray, FPGA), general processor, controller, microcontroller, microprocessor, for performing other electronics list of herein described function In unit or a combination thereof.
Software is realized, can come by performing the module (such as process, function etc.) of function described in the embodiment of the present invention Realize the technology described in the embodiment of the present invention.Software code is storable in performing in memorizer and by processor.Memorizer can Within a processor or to realize outside processor.
Alternatively, processor 501 is additionally operable to speak attribute and the 2nd FM signal according to the signal of electronic equipment preset Preset the corresponding relation between output volume, determine that the signal of described electronic equipment is spoken the default output sound corresponding to attribute Amount;
Regulate the output volume of described 2nd FM signal to presetting output volume.
Alternatively, processor 501 is additionally operable to calculate in preset period of time the output volume of the multiple 2nd FM signals obtained Virtual value, and relatively described virtual value and the default output volume of described 2nd FM signal;
When described virtual value is less than the default output volume of described 2nd FM signal, by the output of described 2nd FM signal Volume increases to the default output volume of described 2nd FM signal.
Alternatively, processor 501 is additionally operable to regulate the output volume of described 2nd FM signal according to default step-length.
Alternatively, the signal of described electronic equipment attribute of speaking includes that signal is spoken mode, or signal is spoken mode and institute Environment noisy degree at environment.
Electronic equipment 500 is capable of each process that in previous embodiment, electronic equipment realizes, for avoiding repeating, here Repeat no more.
According to embodiments of the invention, the FM signal that demodulation receives, obtain the 2nd FM signal, obtain described electronics The signal of equipment is spoken attribute, speaks attribute according to the signal of described electronic equipment, regulates the output sound of described 2nd FM signal Amount.Therefore, use the method described in the embodiment of the present invention can realize effective regulation of the output volume to the 2nd FM signal, adjust The output volume of the 2nd FM signal after joint meets the auditory perception of user, thus ensure that the experience effect of user.
Embodiment 6
Fig. 6 is the structural representation of the electronic equipment of another embodiment of the present invention.Specifically, the electronic equipment in Fig. 6 600 can be mobile phone, panel computer, personal digital assistant (PersonalDigital Assistant, PDA) or vehicle-mounted computer Deng.
Electronic equipment 600 in Fig. 6 includes radio frequency (RadioFrequency, RF) circuit 610, memorizer 620, input list Unit 630, display unit 640, processor 660, voicefrequency circuit 670, WiFi (WirelessFidelity) module 680 and power supply 690。
Wherein, input block 630 can be used for receiving numeral or the character information of user's input, and produces and electronic equipment The user setup of 600 and function control relevant signal input.Specifically, in the embodiment of the present invention, this input block 630 can To include contact panel 631.Contact panel 631, also referred to as touch screen, can collect user thereon or neighbouring touch operation (such as user uses any applicable object such as finger, stylus or adnexa operation on contact panel 631), and according in advance The formula set drives corresponding attachment means.Optionally, contact panel 631 can include touch detecting apparatus and touch controller Two parts.Wherein, the touch orientation of touch detecting apparatus detection user, and detect the signal that touch operation brings, by signal Send touch controller to;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, Give this processor 660 again, and order that processor 660 sends can be received and performed.Furthermore, it is possible to employing resistance-type, The polytypes such as condenser type, infrared ray and surface acoustic wave realize contact panel 631.Except contact panel 631, input block 630 can also include other input equipments 632, and other input equipments 632 can include but not limited to physical keyboard, function key One or more in (such as volume control button, switch key etc.), trace ball, mouse, action bars etc..
Wherein, display unit 640 can be used for showing the information inputted by user or the information being supplied to user and electronics The various menu interfaces of equipment 600.Display unit 640 can include display floater 641, optionally, can use LCD or organic The forms such as optical diode (OrganicLight-EmittingDiode, OLED) configure display floater 641.
It should be noted that contact panel 631 can cover display floater 641, formed and touch display screen, when this touch display screen is examined Measure thereon or after neighbouring touch operation, send processor 660 to determine the type of touch event, with preprocessor 660 provide corresponding visual output according to the type of touch event on touch display screen.
Touch display screen and include Application Program Interface viewing area and conventional control viewing area.This Application Program Interface viewing area And the arrangement mode of this conventional control viewing area does not limit, can be arranged above and below, left-right situs etc. can be distinguished two and show Show the arrangement mode in district.This Application Program Interface viewing area is displayed for the interface of application program.Each interface is permissible The interface elements such as the icon and/or the widget desktop control that comprise at least one application program.This Application Program Interface viewing area It can also be the empty interface not comprising any content.This conventional control viewing area is for showing the control that utilization rate is higher, such as, The application icons etc. such as settings button, interface numbering, scroll bar, phone directory icon.
Wherein processor 660 is the control centre of electronic equipment 600, utilizes various interface and the whole mobile phone of connection Various piece, is stored in the software program in first memory 621 and/or module by running or performing, and calls storage Data in second memory 622, perform the various functions of electronic equipment 600 and process data, thus to electronic equipment 600 Carry out integral monitoring.Optionally, processor 660 can include one or more processing unit.
In embodiments of the present invention, by call the software program and/or module stored in this first memory 621 and/ Or the data in this second memory 622, the FM signal that processor 660 receives for demodulation, obtain the 2nd FM signal, Obtain the signal of described electronic equipment to speak attribute, speak attribute according to the signal of described electronic equipment, regulate described 2nd FM The output volume of signal.
Alternatively, processor 660 is additionally operable to speak attribute and the 2nd FM signal according to the signal of electronic equipment preset Preset the corresponding relation between output volume, determine that the signal of described electronic equipment is spoken the default output sound corresponding to attribute Amount;
Regulate the output volume of described 2nd FM signal to presetting output volume.
Alternatively, processor 660 is additionally operable to calculate in preset period of time the output volume of the multiple 2nd FM signals obtained Virtual value, and relatively described virtual value and the default output volume of described 2nd FM signal;
When described virtual value is less than the default output volume of described 2nd FM signal, by the output of described 2nd FM signal Volume increases to the default output volume of described 2nd FM signal.
Alternatively, processor 660 is additionally operable to regulate the output volume of described 2nd FM signal according to default step-length.
Alternatively, the signal of described electronic equipment attribute of speaking includes that signal is spoken mode, or signal is spoken mode and institute Environment noisy degree at environment.
Visible, according to embodiments of the invention, the FM signal that demodulation receives, obtain the 2nd FM signal, obtain institute State the signal of electronic equipment to speak attribute, speak attribute according to the signal of described electronic equipment, regulate described 2nd FM signal Output volume.Therefore, use method described in the embodiment of the present invention can realize the effective of the output volume to the 2nd FM signal Regulation, the output volume of the 2nd FM signal after regulation meets the auditory perception of user, thus ensure that the experience effect of user.
Owing to described electronic equipment embodiment essentially corresponds to the embodiment of the method shown in earlier figures 1-Fig. 2, therefore this enforcement The most detailed part in the description of example, may refer to the related description in previous embodiment, does not repeats at this.
Those of ordinary skill in the art are it is to be appreciated that combine that the disclosed embodiments in the embodiment of the present invention describe is each The unit of example and algorithm steps, it is possible to being implemented in combination in of electronic hardware or computer software and electronic hardware.These Function performs with hardware or software mode actually, depends on application-specific and the design constraint of technical scheme.Specialty Technical staff specifically should can be used for using different methods to realize described function to each, but this realization should not Think beyond the scope of this invention.
Those skilled in the art is it can be understood that arrive, for convenience and simplicity of description, the system of foregoing description, The specific works process of device and unit, is referred to the corresponding process in preceding method embodiment, does not repeats them here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, can be passed through other Mode realizes.Such as, device embodiment described above is only schematically, such as, the division of described unit, it is only A kind of logic function divides, actual can have when realizing other dividing mode, the most multiple unit or assembly can in conjunction with or Person is desirably integrated into another system, or some features can be ignored, or does not performs.Another point, shown or discussed is mutual Between coupling direct-coupling or communication connection can be the INDIRECT COUPLING by some interfaces, device or unit or communication link Connect, can be electrical, machinery or other form.
The described unit illustrated as separating component can be or may not be physically separate, shows as unit The parts shown can be or may not be physical location, i.e. may be located at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of the present embodiment scheme 's.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to two or more unit are integrated in a unit.
If described function is using the form realization of SFU software functional unit and as independent production marketing or use, permissible It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is the most in other words The part contributing prior art or the part of this technical scheme can embody with the form of software product, this meter Calculation machine software product is stored in a storage medium, including some instructions with so that a computer equipment (can be individual People's computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention. And aforesaid storage medium includes: USB flash disk, portable hard drive, ROM, RAM, magnetic disc or CD etc. are various can store program code Medium.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not limited thereto, and any Those familiar with the art, in the technical scope that the invention discloses, can readily occur in change or replace, should contain Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with scope of the claims.

Claims (10)

1. a volume adjusting method, is applied to electronic equipment, it is characterised in that described method includes:
The FM signal that demodulation receives, obtains the 2nd FM signal;
Obtain the signal of described electronic equipment to speak attribute;
Speak attribute according to the signal of described electronic equipment, regulate the output volume of described 2nd FM signal.
Volume adjusting method the most according to claim 1, it is characterised in that the described signal according to described electronic equipment goes out Sound attribute, the output volume regulating described 2nd FM signal includes:
Speak according to the signal of electronic equipment preset the corresponding relation between the default output volume of attribute and the 2nd FM signal, Determine that the signal of described electronic equipment is spoken the default output volume corresponding to attribute;
Regulate the output volume of described 2nd FM signal to presetting output volume.
Volume adjusting method the most according to claim 2, it is characterised in that the output of the described 2nd FM signal of described regulation Volume includes to presetting output volume:
Calculate in preset period of time the virtual value of the output volume of the multiple 2nd FM signals obtained, and relatively described virtual value with The default output volume of described 2nd FM signal;
When described virtual value is less than the default output volume of described 2nd FM signal, by the output volume of described 2nd FM signal Increase to the default output volume of described 2nd FM signal.
Volume adjusting method the most according to claim 1, it is characterised in that the output of the described 2nd FM signal of described regulation Volume includes:
The output volume of described 2nd FM signal is regulated according to default step-length.
Volume adjusting method the most according to claim 1, it is characterised in that the signal of described electronic equipment is spoken attribute bag Include signal to speak mode, or signal is spoken the environment noisy degree of mode and place environment.
6. an electronic equipment, it is characterised in that described electronic equipment includes:
2nd FM signal obtains module, the FM signal received for demodulation, obtains the 2nd FM signal;
Signal is spoken attribute acquisition module, speaks attribute for obtaining the signal of described electronic equipment;
Output volume adjusting module, for speaking attribute according to the signal of described electronic equipment, regulates described 2nd FM signal Output volume.
Electronic equipment the most according to claim 6, it is characterised in that described output volume adjusting module includes:
Default output volume determines submodule, for speak according to the signal of electronic equipment preset attribute and the 2nd FM signal Preset the corresponding relation between output volume, determine that the signal of described electronic equipment is spoken the default output sound corresponding to attribute Amount;
Volume adjusts submodule, for regulating the output volume of described 2nd FM signal to presetting output volume.
Electronic equipment the most according to claim 7, it is characterised in that described volume adjusts submodule and includes:
Virtual value comparing unit, the virtual value of the output volume of the multiple 2nd FM signals obtained in calculating preset period of time, And relatively described virtual value and the default output volume of described 2nd FM signal;
Output volume increases unit, for when described virtual value is less than the default output volume of described 2nd FM signal, by institute The output volume stating the 2nd FM signal increases to the default output volume of described 2nd FM signal.
Electronic equipment the most according to claim 6, it is characterised in that:
Described output volume adjusting module, specifically for regulating the output volume of described 2nd FM signal according to default step-length.
Electronic equipment the most according to claim 6, it is characterised in that the signal of described electronic equipment attribute of speaking includes Signal is spoken mode, or signal is spoken the environment noisy degree of mode and place environment.
CN201610514062.3A 2016-06-30 2016-06-30 A kind of volume adjusting method and electronic equipment Pending CN106201422A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610514062.3A CN106201422A (en) 2016-06-30 2016-06-30 A kind of volume adjusting method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610514062.3A CN106201422A (en) 2016-06-30 2016-06-30 A kind of volume adjusting method and electronic equipment

Publications (1)

Publication Number Publication Date
CN106201422A true CN106201422A (en) 2016-12-07

Family

ID=57464120

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610514062.3A Pending CN106201422A (en) 2016-06-30 2016-06-30 A kind of volume adjusting method and electronic equipment

Country Status (1)

Country Link
CN (1) CN106201422A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1617546A (en) * 2003-11-14 2005-05-18 乐金电子(中国)研究开发中心有限公司 Tune volume regulating device and method for mobile communication terminal
CN101378423A (en) * 2007-08-28 2009-03-04 希姆通信息技术(上海)有限公司 Apparatus for automatically regulating sound volume of mobile phone talking receiving terminal
CN201234260Y (en) * 2008-06-30 2009-05-06 宇龙计算机通信科技(深圳)有限公司 FM receiving circuit and mobile communication terminal
US20090262955A1 (en) * 2006-08-04 2009-10-22 Kazunobu Kimura Electronic device and volume control method of electronic device
CN103137155A (en) * 2011-12-05 2013-06-05 英顺源(上海)科技有限公司 Play system with acoustical signals adjusted according to external acoustical signal changes and method thereof
CN104010147A (en) * 2014-04-29 2014-08-27 京东方科技集团股份有限公司 Method for automatically adjusting volume of audio playing system and audio playing device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1617546A (en) * 2003-11-14 2005-05-18 乐金电子(中国)研究开发中心有限公司 Tune volume regulating device and method for mobile communication terminal
US20090262955A1 (en) * 2006-08-04 2009-10-22 Kazunobu Kimura Electronic device and volume control method of electronic device
CN101378423A (en) * 2007-08-28 2009-03-04 希姆通信息技术(上海)有限公司 Apparatus for automatically regulating sound volume of mobile phone talking receiving terminal
CN201234260Y (en) * 2008-06-30 2009-05-06 宇龙计算机通信科技(深圳)有限公司 FM receiving circuit and mobile communication terminal
CN103137155A (en) * 2011-12-05 2013-06-05 英顺源(上海)科技有限公司 Play system with acoustical signals adjusted according to external acoustical signal changes and method thereof
CN104010147A (en) * 2014-04-29 2014-08-27 京东方科技集团股份有限公司 Method for automatically adjusting volume of audio playing system and audio playing device

Similar Documents

Publication Publication Date Title
CN105246000A (en) Method for improving sound quality of headset and mobile terminal
CN106303804A (en) The control method of a kind of mike and mobile terminal
CN107369459A (en) A kind of audio-frequency processing method and mobile terminal
CN106027809A (en) Volume adjusting method and mobile terminal
CN106101909B (en) A kind of method and mobile terminal of earphone noise reduction
CN105827849A (en) Method for adjusting sound effect and mobile terminal
CN106357871A (en) Voice amplifying method and mobile terminal
CN106791109A (en) A kind of sound prompting method and mobile terminal
CN105827853A (en) Method for controlling terminal loudspeaker volume output and mobile terminal
CN106341535A (en) Audio playing control method and mobile terminal
CN107743279B (en) A kind of earphone noise-reduction method, earphone and mobile terminal
CN105260161A (en) Method for application software volume control and mobile terminal
CN106161804A (en) A kind of audio play control method and mobile terminal
CN105812976B (en) Earphone, method for adjusting the position of microphone on earphone, and a terminal
CN106060710B (en) A kind of audio-frequency inputting method and electronic equipment
CN106851486B (en) A kind of switching method and mobile terminal of earphone sound channel
CN107507621A (en) A kind of noise suppressing method and mobile terminal
CN106068009A (en) Method and the electronic installation of calibration is put outside speaker
CN107071174A (en) A kind of method of speech processing and mobile terminal
CN106055301A (en) Volume setting method and mobile terminal
CN107277268A (en) A kind of audio frequency playing method and mobile terminal
CN106878868A (en) A kind of control device of loudspeaker, method and mobile terminal
CN106024007A (en) Sound processing method and mobile terminal
CN106060719A (en) Terminal audio output control method and terminal
CN106971704A (en) A kind of audio-frequency processing method and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20161207