CN106303830A - Volume adjusting method and device - Google Patents

Volume adjusting method and device Download PDF

Info

Publication number
CN106303830A
CN106303830A CN201610817647.2A CN201610817647A CN106303830A CN 106303830 A CN106303830 A CN 106303830A CN 201610817647 A CN201610817647 A CN 201610817647A CN 106303830 A CN106303830 A CN 106303830A
Authority
CN
China
Prior art keywords
volume
earphone
smart machine
clicking operation
analog gain
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
CN201610817647.2A
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610817647.2A priority Critical patent/CN106303830A/en
Publication of CN106303830A publication Critical patent/CN106303830A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2430/00Signal processing covered by H04R, not provided for in its groups
    • H04R2430/01Aspects of volume control, not necessarily automatic, in sound systems

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The disclosure is directed to a kind of volume adjusting method and device, belong to Audiotechnica field.Described method includes: in the case of the volume of smart machine remains default volume, plays the audio signal that described smart machine provides;User is to the clicking operation of volume adjusting button on earphone in detection, and described volume adjusting button at least includes that volume increases button and volume-down keys;Based on the clicking operation detected, the analog gain of described earphone is adjusted, to regulate the volume of described earphone.Present disclose provides a kind of method regulating the volume of earphone own, broken away from and can only regulate smart machine sound quantitative limitation, improved motility.

Description

Volume adjusting method and device
Technical field
The disclosure is directed to Audiotechnica field, specifically about a kind of volume adjusting method and device.
Background technology
Along with the fast development of electronic equipment, earphone has become as a part indispensable in user's daily life, can To be widely used in the smart machine such as mobile phone, PC.And along with the appearance of polytype earphone, the function of earphone is needed by user Ask more and more higher.
Regulation volume is a critical function of earphone, and earphone can configure volume adjusting button under normal circumstances, such as volume Increasing button and volume-down keys, user is when using earphone to listen to the audio signal that smart machine is play, if needing to adjust Joint volume then clicks on corresponding volume adjusting button, after headset detection to the clicking operation of user, can send to this smart machine The volume adjustment signals corresponding with this audio frequency regulating key, when smart machine receives this volume adjustment signals, regulates this intelligence The volume of equipment.
Summary of the invention
In order to solve problem present in correlation technique, present disclose provides a kind of volume adjusting method and device.Described Technical scheme is as follows:
First aspect according to disclosure embodiment, it is provided that a kind of volume adjusting method, described method includes:
In the case of the volume of smart machine remains default volume, play the audio frequency letter that described smart machine provides Number;
To the clicking operation of volume adjusting button on earphone, described volume adjusting button, detection user at least includes that volume increases Big key and volume-down keys;
Based on the clicking operation detected, the analog gain of described earphone is adjusted, to regulate the sound of described earphone Amount.
In a kind of mode in the cards, described based on the clicking operation detected, the analog gain to described earphone It is adjusted, including:
If be detected that described volume to be increased the clicking operation of button, then increase described analog gain;
If be detected that the clicking operation to described volume-down keys, then reduce described analog gain.
In the mode of alternatively possible realization, the described analog gain of described increase, including: described analog gain is increased Preset step value;
The described analog gain of described reduction, including: described analog gain is reduced described default step value.
Second aspect according to disclosure embodiment, it is provided that a kind of volume adjusting method, described method includes:
Determine insertion earphone in the specified type interface of configuration;
By the volume adjusting of smart machine for presetting volume, so that the volume at described smart machine remains described presetting In the case of volume, described earphone regulates the volume of described earphone according to the operation detected.
In a kind of mode in the cards, described default volume is the max volume of described smart machine.
In the mode of alternatively possible realization, described is default volume by the volume adjusting of smart machine, including:
Gain to described smart machine is adjusted, so that the volume of described smart machine is after regulating described gain Described max volume.
In the mode of alternatively possible realization, described method also includes:
Obtain the device identification of described earphone;
Whether the type judging described device identification is preset kind, and described preset kind refers to that described smart machine mates Headset type;
When the type determining described device identification is described preset kind, it is institute by the volume adjusting of described smart machine State default volume.
In the mode of alternatively possible realization, described specified type interface is Type-C interface.
The third aspect according to disclosure embodiment, it is provided that a kind of volume adjustment device, described device includes:
Playing module, in the case of the volume of smart machine remains default volume, plays described smart machine The audio signal provided;
Detection module, for detecting user to the clicking operation of volume adjusting button on earphone, described volume adjusting button At least include that volume increases button and volume-down keys;
Adjustment module, for based on the clicking operation detected, is adjusted the analog gain of described earphone, with regulation The volume of described earphone.
In a kind of mode in the cards, described adjustment module, be additionally operable to if be detected that to described volume increase by The clicking operation of key, then increase described analog gain;
Described adjustment module, is additionally operable to if be detected that clicking operation to described volume-down keys, then reduce described Analog gain.
In the mode of alternatively possible realization, described adjustment module, it is additionally operable to if be detected that described volume is increased The clicking operation of button, then increase described analog gain and preset step value;
Described adjustment module, is additionally operable to if be detected that clicking operation to described volume-down keys, then by described mould Intend gain and reduce described default step value.
Fourth aspect according to disclosure embodiment, it is provided that a kind of volume adjustment device, described device includes:
Determine module, in the specified type interface determining configuration, insert earphone;
Volume adjusting module, is used for the volume adjusting of smart machine as presetting volume, so that at described smart machine In the case of volume remains described default volume, described earphone regulates the volume of described earphone according to the operation of user.
In a kind of mode in the cards, described default volume is the max volume of described smart machine.
In the mode of alternatively possible realization, described volume adjusting module, it is additionally operable to the gain to described smart machine It is adjusted, so that the volume of described smart machine is the max volume of described smart machine after regulating described gain.
In the mode of alternatively possible realization, described device also includes:
Acquisition module, for obtaining the device identification of described earphone;
Whether judge module, be preset kind for judging the type of described device identification, and described preset kind refers to institute State the headset type of smart machine coupling;
Described volume adjusting module, for when the type determining described device identification is described preset kind, by described The volume adjusting of smart machine is described default volume.
In the mode of alternatively possible realization, described specified type interface is Type-C interface.
Embodiment of the disclosure that the technical scheme of offer can include following beneficial effect:
The method and apparatus that the present embodiment provides, by when determine that earphone is inserted into and has the intelligence of specified type interface and set Time standby, by the volume adjusting of this smart machine for presetting volume and keeping constant, playing the audio signal that smart machine provides During, user is to the clicking operation of volume adjusting button on earphone, according to the clicking operation detected, to described ear in detection The analog gain of machine is adjusted, to regulate the volume of described earphone.Provide a kind of method regulating the volume of earphone own, pendulum Take off and can only regulate smart machine sound quantitative limitation, improved motility.
It should be appreciated that it is only exemplary that above general description and details hereinafter describe, can not be limited this Open.
Accompanying drawing explanation
Accompanying drawing herein is merged in description and constitutes the part of this specification, it is shown that meet the enforcement of the disclosure Example, and for explaining the principle of the disclosure together with description.
Fig. 1 is the flow chart according to a kind of volume adjusting method shown in an exemplary embodiment;
Fig. 2 is the flow chart according to a kind of volume adjusting method shown in an exemplary embodiment;
Fig. 3 is the flow chart according to a kind of volume adjusting method shown in an exemplary embodiment;
Fig. 4 is the block diagram according to a kind of volume adjustment device shown in an exemplary embodiment;
Fig. 5 is the block diagram according to a kind of volume adjustment device shown in an exemplary embodiment;
Fig. 6 is the block diagram according to a kind of volume adjustment device shown in an exemplary embodiment;
Fig. 7 is the block diagram according to a kind of volume adjustment device shown in an exemplary embodiment.
Detailed description of the invention
For making the purpose of the disclosure, technical scheme and advantage clearer, below in conjunction with embodiment and accompanying drawing, right The disclosure is described in further details.Here, the exemplary embodiment of the disclosure and explanation thereof are used for explaining the disclosure, but also Not as restriction of this disclosure.
Disclosure embodiment provides a kind of volume adjusting method and device, carries out the disclosure specifically below in conjunction with accompanying drawing Bright.
Fig. 1 is the flow chart according to a kind of volume adjusting method shown in an exemplary embodiment, as it is shown in figure 1, this sound Amount adjustment method, in earphone, comprises the following steps:
In a step 101, in the case of the volume of smart machine remains default volume, playing this smart machine provides Audio signal.
In a step 102, user is to the clicking operation of volume adjusting button on earphone in detection, and this volume adjusting button is at least Button and volume-down keys is increased including volume.
In step 103, based on the clicking operation detected, the analog gain of this earphone is adjusted, should with regulation The volume of earphone.
In correlation technique, user is when using earphone to listen to the audio signal that smart machine is play, if needing to regulate sound Amount then clicks on corresponding volume adjusting button, after headset detection to the clicking operation of user, can send to this smart machine and be somebody's turn to do The volume adjustment signals that audio frequency regulating key is corresponding, when smart machine receives this volume adjustment signals, regulates this smart machine Volume.The volume of this smart machine can only be adjusted during the regulation of this earpiece volume, and earphone can not be regulated originally The volume of body.And in the present embodiment when using earphone to listen to the audio signal that smart machine is play, the sound of fixing smart machine Measure constant, and regulate the volume of earphone itself.
The method that the present embodiment provides, by during playing the audio signal that smart machine provides, detects user To the clicking operation of volume adjusting button on earphone, according to the clicking operation detected, the analog gain of this earphone is adjusted Joint, to regulate the volume of this earphone.Provide a kind of method regulating the volume of earphone own, broken away from and can only regulate smart machine Sound quantitative limitation, improves motility.
In a kind of mode in the cards, based on the clicking operation detected, the analog gain of this earphone should be carried out Regulation, including:
If be detected that this volume to be increased the clicking operation of button, then increase this analog gain;
If be detected that the clicking operation to this volume-down keys, then reduce this analog gain.
In the mode of alternatively possible realization, increase this analog gain, including: this analog gain is increased and presets stepping Value;
Reduce this analog gain, including: this analog gain is reduced this default step value.
Above-mentioned all optional technical schemes, can use and arbitrarily combine the alternative embodiment forming the disclosure, at this no longer Repeat one by one.
Fig. 2 is the flow chart according to a kind of volume adjusting method shown in an exemplary embodiment, as in figure 2 it is shown, this sound Amount adjustment method, in smart machine, comprises the following steps:
In step 201, insertion earphone in the specified type interface of configuration is determined.
In step 202., by the volume adjusting of smart machine for presetting volume, so that the volume at this smart machine keeps In the case of this default volume, this earphone regulates the volume of this earphone according to the operation detected.
The method that the present embodiment provides, by when determining that earphone is inserted into the smart machine with specified type interface, By the volume adjusting of this smart machine for presetting volume keep constant, preset so that remaining this in the volume of this smart machine In the case of volume, this earphone regulates the volume of this earphone according to the operation detected.Above procedure is by fixing smart machine Default volume after regulate the volume of earphone, it is achieved that the regulation of volume to earphone own, broken away from and can only regulate smart machine Sound quantitative limitation, improves motility.
In a kind of mode in the cards, this default volume is the max volume of this smart machine.
In the mode of alternatively possible realization, the volume adjusting of smart machine is default volume by this, including:
Gain to this smart machine is adjusted, so that the volume of this smart machine is this maximum after regulating this gain Volume.
In the mode of alternatively possible realization, the method also includes:
Obtain the device identification of this earphone;
Whether the type judging this device identification is preset kind, and this preset kind refers to the earphone that this smart machine mates Type;
When the type determining this device identification is this preset kind, it is this default sound by the volume adjusting of this smart machine Amount.
In the mode of alternatively possible realization, this specified type interface is Type-C interface.
Above-mentioned all optional technical schemes, can use and arbitrarily combine the alternative embodiment forming the disclosure, at this no longer Repeat one by one.
Fig. 3 is the flow chart according to a kind of volume adjusting method shown in an exemplary embodiment, as it is shown on figure 3, this sound Amount adjustment method, in earphone and smart machine, comprises the following steps:
In step 301, earphone is inserted during this smart machine determines the specified type interface of configuration.
This smart machine can be mobile phone, panel computer etc., does not limits this in the present embodiment.This smart machine configures Having specified type interface, correspondingly, earphone can also configure this specified type interface, by this specified type interface and this intelligence Equipment connects, thus plays the audio signal that smart machine provides on earphone.
Actually earphone is configured with data wire, and one end of this data wire is specified type interface, and earphone inserts this intelligence and sets Standby specified type interface actually refers to that the specified type interface of earpiece data line one end is inserted into the appointment of this smart machine In style interface, after insertion, this earphone and this smart machine can be carried out data transmission by this data wire.
This specified type interface can be Type-C interface or other kinds of interface, and this is not limited by the present embodiment Fixed.
Wherein, this Type-C interface is a kind of USB (Universal Serial Bus, USB (universal serial bus)) interface, no Dividing positive and negative, both direction all can be inserted into, and supports the functions such as the charging of USB standard, data transmission, display output.Should Type-C interface is not limited by direction, takies less inner space, contributes to reducing the fuselage thickness of this smart machine.And Use this Type-C interface can be by integrated for the functions such as charge function, data transmission, then to be no need on smart machine being reconfigured at The special jack of earphone, reduces part, has saved cost.
And, in order to the Type-C interface with smart machine matches, earphone can also configure this Type-C interface, then earphone Can be connected by this Type-C interface with smart machine, thus on earphone, play the audio signal that smart machine provides.
In the present embodiment, smart machine, in running, sends ping order by this specified type interface, waits and appointing One equipment inserts this specified type interface.Wherein, this ping order refers to the order for detecting connection status, sends ping life The operating process of order actually sends a packet to target, and waits the response of target.
When arbitrary earphone inserts this specified type interface, the ping order of smart machine can be received, and set to intelligence Preparation send response ping order, and this response ping order is used for representing that earphone is connected with this smart machine.Work as smart machine When receiving response ping order, i.e. can determine that in specified type interface, inserted earphone.Now, if smart machine needs During playing audio signal, directly will not be play by speaker, but this audio signal is sent to earphone, earphone broadcast Put.
If smart machine does not receives the response ping order that arbitrary earphone returns, represent in this specified type interface and go back Be not inserted into earphone, then this smart machine continues to send ping order.
In step 302, this smart machine obtains the device identification of this earphone, and whether judges the type of this device identification For preset kind.
Wherein, this device identification, for uniquely determining this earphone, can include the supplier identity code (vender of earphone ID) at least one and in product ID (product ID), this device identification is not limited by the present embodiment.
The type of this device identification can represent the type of this earphone, and this preset kind refers to what this smart machine was supported Headset type.Therefore, when inserting earphone in the specified type interface of this smart machine, being obtained by this specified type interface should The device identification of earphone, it is judged that whether the type of this device identification is preset kind.
Wherein, this smart machine can determine the type of correspondence according to the device identification of this earphone, and the type can refer to ear The communication mode etc. that the brand of machine, earphone are supported, this is not limited by the present embodiment.
If the type of this device identification is preset kind, represent that this earphone mates with this smart machine, this smart machine Can be by this earphone normally playing audio signal.And if the type of this device identification is not preset kind, represent this ear Machine does not mates with this smart machine, and this smart machine will not pass through this earphone normally playing audio signal.Now, this intelligence Equipment can point out user to change earphone with display reminding message.
Such as, the earphone of A brand supported by A brand mobile phone, and do not supports the earphone of other brand, i.e. this preset kind is A Brand, then this A brand mobile phone can only apply the earphone playing audio signal of A brand, and can not apply the earphone of other brands.
In step 303, when the type determining this device identification is this preset kind, this intelligence is set by this smart machine Standby volume adjusting is this default volume.
This smart machine includes amplifier, and the audio signal that this smart machine is generated by this amplifier based on gain is put Greatly, then play amplify after audio signal, or will amplify after audio signal be sent to connect earphone play out.Cause This, when this smart machine volume to be regulated, can regulate the gain of this amplifier.
Wherein, this gain and the volume correlation of this smart machine, that is to say, this gain is the biggest, and this intelligence sets Standby volume is the biggest, and this gain is the least, and the volume of this smart machine is the least.
In the present embodiment, for the ease of controlling volume by earphone, insert earphone and earphone when this smart machine determines Type when mating with the preset kind of this smart machine, the gain to this smart machine is adjusted, by this smart machine Volume adjusting is this default volume, and keeps this default volume constant, the follow-up audio frequency letter playing this smart machine at earphone Number time, the volume of earphone itself can be adjusted by user.And when this earphone pulls out from the specified type interface of this smart machine When going out, volume is reverted to again the volume before this earphone inserts by this smart machine automatically.
Wherein, this default volume can be the arbitrary volume between minimal volume and the max volume of this smart machine, this This is not limited by embodiment.
It is true that when this default volume is the biggest, during earphone playing audio signal, result of broadcast is the best, therefore, Yi Zhongke In the implementation of energy, this default volume can be the max volume of this smart machine, that is to say the sound keeping this smart machine Amount is 0dB.Correspondingly, the volume adjusting of smart machine is to preset volume to include by this: the gain to this smart machine is adjusted Joint, so that the volume of this smart machine is this max volume after regulating this gain.
In step 304, in the case of the volume of smart machine remains default volume, this smart machine is this earphone Thering is provided audio signal, the audio signal that this smart machine provides play by this earphone.
In the present embodiment, after volume adjusting is this default volume by this smart machine, when this smart machine sound to be play Frequently, during signal, will not directly be played out by the speaker of this smart machine, but can be by this specified type interface, to this Earphone sends this audio signal, and this earphone receives this audio signal, and by the speaker playing audio signal of this earphone.Its In, the speaker of this earphone includes amplifier, and the audio signal received can be entered by this amplifier based on current analog gain Row amplifies, then plays the audio signal after amplifying.
Under normal circumstances, this earphone is provided with broadcasting button and pause button etc., sets when this earphone is inserted into this intelligence Standby, when user wishes to listen to, by this earphone, the audio signal that this smart machine provides, this user only need to click on this earphone Play button, can be by this audio signal of speaker uppick on this earphone.When this user is not intended to be received by this earphone When listening the audio signal that this smart machine provides, this user only need to click on the pause button on this earphone, can stop listening to this Audio signal.
In step 305, this headset detection user is to the clicking operation of volume adjusting button on this earphone.
Within step 306, the analog gain of this earphone, based on the clicking operation detected, is adjusted by this earphone.
On this earphone in addition to including playing button and pause button, it is additionally provided with volume adjusting button.This volume adjusting Button includes that volume increases button and volume-down keys.
This user is during listening to the audio signal provided by this smart machine, when this user wishes by this earphone During regulation volume, only can need to realize by clicking on the volume adjusting button on this earphone.And this earphone should according to detect User's clicking operation to this volume adjusting button, by regulating the analog gain on this earphone according to default step value, it is achieved Regulation process to this volume.
Wherein, this default step value, can be to mould according to this default step value for representing the amplitude of accommodation of analog gain Intend gain to be adjusted, thus regulate the volume of earphone, can be predefined by this earphone or be set by technical staff, this reality Execute in example and this is not limited.
If this headset detection is to the clicking operation to this volume increment key, then increase this analog gain.Such as, should Analog gain increases presets step value.Assume that the volume change amount that this default step value is corresponding is 1dB, the volume of current earphone For-50dB, after this user clicks on once this volume increment key, this analog gain is increased and presets step value, then this earphone Volume become-49dB.
If this headset detection is to the clicking operation to this volume-down keys, then reduce this analog gain.Such as, should Analog gain reduces presets step value, it is assumed that the volume change amount that this default step value is corresponding is 1dB, the volume of current earphone For-40dB, after this user clicks on once this volume-down keys, this analog gain is reduced and presets step value, then this earphone Volume become-41dB.
It should be noted that the result of broadcast of audio signal is relevant with audio sample figure place (Bits), audio sample figure place The highest, result of broadcast is the best.When only by this smart machine regulation volume, the audio frequency that result of broadcast is supported with this smart machine Sampling resolution is relevant, and when regulating volume by this earphone, the audio frequency that result of broadcast is not only supported with this smart machine is adopted Sample figure place is relevant, and the audio sample figure place also supported with this earphone is relevant.And under normal circumstances, the audio sample that earphone is supported Figure place is higher than the audio sample figure place that smart machine is supported, so the effect play by this earphone is than only leading to this intelligence Device plays effective.
Such as, the audio sample figure place of this smart machine support is 16Bits, and the earphone matched with this smart machine props up The audio sample figure place held is 24Bits, the audio sample supported than this smart machine due to the audio sample figure place of earphone support Figure place is big, and when therefore using earphone playing audio signal, result of broadcast is more preferable.
The method that the present embodiment provides, by when determining that earphone is inserted into the smart machine with specified type interface, By the volume adjusting of this smart machine for presetting volume and keep constant, in the process playing the audio signal that smart machine provides In, detection user is to the clicking operation of volume adjusting button on earphone, and according to the clicking operation detected, the simulation to earphone increases Benefit is adjusted, to regulate the volume of earphone.Present embodiments provide a kind of method regulating the volume of earphone own, broken away from only Smart machine sound quantitative limitation can be regulated, improve motility.
Fig. 4 is the block diagram according to a kind of volume adjustment device shown in an exemplary embodiment.See Fig. 4, this device bag Include playing module 401, detection module 402 and adjustment module 403.
This playing module 401, is configured in the case of the volume of smart machine remains default volume, plays The audio signal that this smart machine provides;
This detection module 402, is configurable for detecting user to the clicking operation of volume adjusting button on earphone, this sound Amount regulating key at least includes that volume increases button and volume-down keys;
This adjustment module 403, is configurable for, based on the clicking operation detected, carrying out the analog gain of this earphone Regulation, to regulate the volume of this earphone.
The device that the present embodiment provides, by during playing the audio signal that smart machine provides, detects user To the clicking operation of volume adjusting button on earphone, according to the clicking operation detected, the analog gain of this earphone is adjusted Joint, to regulate the volume of this earphone.Provide a kind of method regulating the volume of earphone own, broken away from and can only regulate smart machine Sound quantitative limitation, improves motility.
In a kind of mode in the cards, this adjustment module 403 is additionally configured to for if be detected that to this volume Increase the clicking operation of button, then increase this analog gain;
This adjustment module 403 is additionally configured to for if be detected that clicking operation to this volume-down keys, then subtracting This analog gain little.
In the mode of alternatively possible realization, this adjustment module 403 is additionally configured to for if be detected that to this sound Amount increases the clicking operation of button, then increased by this analog gain and preset step value;
This adjustment module 403 is additionally configured to for if be detected that clicking operation to this volume-down keys, then This analog gain reduces this default step value.
Above-mentioned all optional technical schemes, can use and arbitrarily combine the alternative embodiment forming the disclosure, at this no longer Repeat one by one.
Fig. 5 is the block diagram according to a kind of volume adjustment device shown in an exemplary embodiment.See Fig. 4, this device bag Include and determine module 501 and volume adjusting module 502.
Determine module 501, be configurable for determining in the specified type interface of configuration and insert earphone;
Volume adjusting module 502, is configurable for the volume adjusting of smart machine as presetting volume, so that in this intelligence In the case of the volume of energy equipment remains this default volume, this earphone regulates the volume of this earphone according to the operation of user.
The device that the present embodiment provides, by when determining that earphone is inserted into the smart machine with specified type interface, By the volume adjusting of smart machine for presetting volume and keeping constant, so that the volume at this smart machine remains this default sound In the case of amount, this earphone regulates the volume of this earphone according to the operation detected.Above procedure is by fixing smart machine Regulate the volume of earphone after presetting volume, it is achieved that the regulation of volume to earphone own, broken away from and can only regulate smart machine sound Quantitative limitation, improves motility.
In a kind of mode in the cards, this default volume is the max volume of this smart machine.
In the mode of alternatively possible realization, this volume adjusting module 502, it is additionally operable to the gain of this smart machine is entered Row regulation, so that the max volume that volume is this smart machine of this smart machine after regulating this gain.
Seeing Fig. 6, in the mode of alternatively possible realization, this device also includes acquisition module 503 and judge module 504。
Acquisition module 503 is configurable for obtaining the device identification of this earphone;
Judge module 504 is configurable for judging whether the type of this device identification is preset kind, this preset kind Refer to the headset type that this smart machine mates;
This volume adjusting module 502 is additionally configured to for when the type determining this device identification is this preset kind, It is this default volume by the volume adjusting of this smart machine.
In the mode of alternatively possible realization, this specified type interface is Type-C interface.
Above-mentioned all optional technical schemes, can use and arbitrarily combine the alternative embodiment forming the disclosure, at this no longer Repeat one by one.
About the device in above-described embodiment, wherein modules performs the concrete mode of operation in relevant the method Embodiment in be described in detail, explanation will be not set forth in detail herein.
It should be understood that the volume adjustment device that above-described embodiment provides is when regulating volume, only with above-mentioned each function The division of module is illustrated, and in actual application, can distribute above-mentioned functions by different function moulds as desired Block completes, and the internal structure of earphone and smart machine will be divided into different functional modules, with complete described above all Or partial function.It addition, the volume adjustment device that above-described embodiment provides belongs to same structure with volume adjusting method embodiment Thinking, it implements process and refers to embodiment of the method, repeats no more here.
Fig. 7 is the block diagram according to a kind of volume adjustment device 700 shown in an exemplary embodiment.Such as, device 700 can To be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, armarium, strong Body equipment, personal digital assistant etc..
With reference to Fig. 7, device 700 can include following one or more assembly: processes assembly 702, memorizer 704, power supply Assembly 706, multimedia groupware 708, audio-frequency assembly 710, the interface 712 of input/output (I/O), sensor cluster 714, and Communications component 716.
Process assembly 702 and generally control the integrated operation of device 700, such as with display, call, data communication, phase The operation that machine operation and record operation are associated.Process assembly 702 and can include that one or more processor 720 performs to refer to Order, to complete all or part of step of above-mentioned method.Additionally, process assembly 702 can include one or more module, just Mutual in process between assembly 702 and other assemblies.Such as, process assembly 702 and can include multi-media module, many to facilitate Media component 708 and process between assembly 702 mutual.
Memorizer 704 is configured to store various types of data to support the operation at device 700.Showing of these data Example includes any application program for operation on device 700 or the instruction of method, contact data, telephone book data, disappears Breath, picture, video etc..Memorizer 704 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), erasable compile Journey read only memory (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash Device, disk or CD.
The various assemblies that power supply module 706 is device 700 provide electric power.Power supply module 706 can include power management system System, one or more power supplys, and other generate, manage and distribute, with for device 700, the assembly that electric power is associated.
The screen of one output interface of offer that multimedia groupware 708 is included between this device 700 and user.At some In embodiment, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen May be implemented as touch screen, to receive the input signal from user.Touch panel includes one or more touch sensor With the gesture on sensing touch, slip and touch panel.This touch sensor can not only sense touch or the limit of sliding action Boundary, but also detect the persistent period relevant to this touch or slide and pressure.In certain embodiments, multimedia groupware 708 include a front-facing camera and/or post-positioned pick-up head.When device 700 is in operator scheme, such as screening-mode or video screen module During formula, front-facing camera and/or post-positioned pick-up head can receive the multi-medium data of outside.Each front-facing camera and rearmounted take the photograph As head can be a fixing optical lens system or has focal length and optical zoom ability.
Audio-frequency assembly 710 is configured to output and/or input audio signal.Such as, audio-frequency assembly 810 includes a Mike Wind (MIC), when device 700 is in operator scheme, during such as call model, logging mode and speech recognition mode, mike is joined It is set to receive external audio signal.The audio signal received can be further stored at memorizer 704 or via communication set Part 716 sends.In certain embodiments, audio-frequency assembly 710 also includes a speaker, is used for exporting audio signal.
I/O interface 712 provides interface for processing between assembly 702 and peripheral interface module, above-mentioned peripheral interface module can To be keyboard, put striking wheel, button etc..These buttons may include but be not limited to: home button, volume button, start button and lock Set button.
Sensor cluster 714 includes one or more sensor, for providing the state of various aspects to comment for device 700 Estimate.Such as, what sensor cluster 714 can detect device 700 opens/closed mode, the relative localization of assembly, such as this group Part is display and the keypad of device 700, and sensor cluster 714 can also detect device 700 or 700 1 assemblies of device Position change, the presence or absence that user contacts with device 700, device 700 orientation or acceleration/deceleration and the temperature of device 700 Degree change.Sensor cluster 714 can include proximity transducer, is configured to detect when not having any physical contact attached The existence of nearly object.Sensor cluster 714 can also include optical sensor, such as CMOS or ccd image sensor, is used in imaging Application uses.In certain embodiments, this sensor cluster 714 can also include acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 716 is configured to facilitate the communication of wired or wireless mode between device 700 and other equipment.Device 700 can access wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.An exemplary enforcement In example, communications component 716 receives the broadcast singal from external broadcasting management system or broadcast related information via broadcast channel. In one exemplary embodiment, this communications component 716 also includes near-field communication (NFC) module, to promote junction service.Example As, can be based on RF identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, Bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 700 can be by one or more application specific integrated circuits (ASIC), numeral letter Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components realize, be used for performing said method.
In the exemplary embodiment, a kind of non-transitory computer-readable recording medium including instruction, example are additionally provided As included the memorizer 704 of instruction, above-mentioned instruction can have been performed said method by the processor 720 of device 700.Such as, This non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and Optical data storage devices etc..
A kind of non-transitory computer-readable recording medium, when the instruction in this storage medium is performed by the processor of earphone Time so that earphone is able to carry out a kind of volume adjusting method, and the method includes the step that in said method embodiment, earphone performs.
Another kind of non-transitory computer-readable recording medium, when the instruction in this storage medium is by the process of smart machine When device performs so that smart machine is able to carry out a kind of volume adjusting method, the method includes intelligence in said method embodiment The step that equipment performs.
Those skilled in the art, after considering description and putting into practice invention disclosed herein, will readily occur to its of the disclosure Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modification, purposes or Person's adaptations is followed the general principle of the disclosure and includes the undocumented common knowledge in the art of the disclosure Or conventional techniques means.Description and embodiments is considered only as exemplary, and the true scope of the disclosure and spirit are by following Claim is pointed out.
It should be appreciated that the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and And various modifications and changes can carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.

Claims (18)

1. a volume adjusting method, it is characterised in that described method includes:
In the case of the volume of smart machine remains default volume, play the audio signal that described smart machine provides;
Detection user to the clicking operation of volume adjusting button on earphone, described volume adjusting button at least include volume increase by Key and volume-down keys;
Based on the clicking operation detected, the analog gain of described earphone is adjusted, to regulate the volume of described earphone.
Method the most according to claim 1, it is characterised in that described based on the clicking operation detected, to described earphone Analog gain be adjusted, including:
If be detected that described volume to be increased the clicking operation of button, then increase described analog gain;
If be detected that the clicking operation to described volume-down keys, then reduce described analog gain.
Method the most according to claim 2, it is characterised in that
The described analog gain of described increase, including: described analog gain is increased and presets step value;
The described analog gain of described reduction, including: described analog gain is reduced described default step value.
4. a volume adjusting method, it is characterised in that described method includes:
Determine insertion earphone in the specified type interface of configuration;
By the volume adjusting of smart machine for presetting volume, so that the volume at described smart machine remains described default volume In the case of, described earphone regulates the volume of described earphone according to the operation detected.
Method the most according to claim 4, it is characterised in that described default volume is the maximum sound of described smart machine Amount.
Method the most according to claim 4, it is characterised in that described is default volume by the volume adjusting of smart machine, Including:
Gain to described smart machine is adjusted, so that the volume of described smart machine is described after regulating described gain Max volume.
Method the most according to claim 4, it is characterised in that described method also includes:
Obtain the device identification of described earphone;
Whether the type judging described device identification is preset kind, and described preset kind refers to the ear that described smart machine mates Machine type;
When the type determining described device identification is described preset kind, it is described pre-by the volume adjusting of described smart machine If volume.
Method the most according to claim 4, it is characterised in that described specified type interface is Type-C interface.
9. a volume adjustment device, it is characterised in that described device includes:
Playing module, in the case of the volume of smart machine remains default volume, playing described smart machine provides Audio signal;
Detection module, for detecting user to the clicking operation of volume adjusting button on earphone, described volume adjusting button is at least Button and volume-down keys is increased including volume;
Adjustment module, for based on the clicking operation detected, is adjusted the analog gain of described earphone, described with regulation The volume of earphone.
Device the most according to claim 9, it is characterised in that described adjustment module, is additionally operable to if be detected that to described Volume increases the clicking operation of button, then increase described analog gain;
Described adjustment module, is additionally operable to if be detected that clicking operation to described volume-down keys, then reduce described simulation Gain.
11. devices according to claim 10, it is characterised in that described adjustment module, are additionally operable to if be detected that to institute State volume and increase the clicking operation of button, then described analog gain is increased and preset step value;
Described adjustment module, is additionally operable to if be detected that clicking operation to described volume-down keys, then described simulation be increased Benefit reduces described default step value.
12. 1 kinds of volume adjustment devices, it is characterised in that described device includes:
Determine module, in the specified type interface determining configuration, insert earphone;
Volume adjusting module, is used for the volume adjusting of smart machine as presetting volume, so that in the volume of described smart machine In the case of remaining described default volume, described earphone regulates the volume of described earphone according to the operation of user.
13. devices according to claim 12, it is characterised in that described default volume is the maximum sound of described smart machine Amount.
14. devices according to claim 12, it is characterised in that described volume adjusting module, are additionally operable to described intelligence The gain of equipment is adjusted, so that the volume of described smart machine is the maximum of described smart machine after regulating described gain Volume.
15. devices according to claim 12, it is characterised in that described device also includes:
Acquisition module, for obtaining the device identification of described earphone;
Whether judge module, be preset kind for judging the type of described device identification, and described preset kind refers to described intelligence The headset type of energy equipment coupling;
Described volume adjusting module, for when the type determining described device identification is described preset kind, by described intelligence The volume adjusting of equipment is described default volume.
16. devices according to claim 12, it is characterised in that described specified type interface is Type-C interface.
17. 1 kinds of volume adjustment devices, it is characterised in that including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
In the case of the volume of smart machine remains default volume, play the audio signal that described smart machine provides;
Detection user to the clicking operation of volume adjusting button on earphone, described volume adjusting button at least include volume increase by Key and volume-down keys;
Based on the clicking operation detected, the analog gain of described earphone is adjusted, to regulate the volume of described earphone.
18. 1 kinds of volume adjustment devices, it is characterised in that including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Determine insertion earphone in the specified type interface of configuration;
By the volume adjusting of smart machine for presetting volume, so that the volume at described smart machine remains described default volume In the case of, described earphone regulates the volume of described earphone according to the operation detected.
CN201610817647.2A 2016-09-12 2016-09-12 Volume adjusting method and device Pending CN106303830A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610817647.2A CN106303830A (en) 2016-09-12 2016-09-12 Volume adjusting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610817647.2A CN106303830A (en) 2016-09-12 2016-09-12 Volume adjusting method and device

Publications (1)

Publication Number Publication Date
CN106303830A true CN106303830A (en) 2017-01-04

Family

ID=57710119

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610817647.2A Pending CN106303830A (en) 2016-09-12 2016-09-12 Volume adjusting method and device

Country Status (1)

Country Link
CN (1) CN106303830A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113301206A (en) * 2021-05-25 2021-08-24 昆腾微电子股份有限公司 Audio adjusting method and device, electronic equipment and readable storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2591910Y (en) * 2002-11-22 2003-12-10 林伟生 Adjustable volume earphone
US20070098202A1 (en) * 2005-10-27 2007-05-03 Steven Viranyi Variable output earphone system
CN101018043A (en) * 2006-02-07 2007-08-15 环达电脑(上海)有限公司 Method for automatic detection of volume adjusting during sound switching
CN201639749U (en) * 2010-03-29 2010-11-17 广州市立伟电子有限公司 Earphone with adjustable and controllable vibration effect
CN101964932A (en) * 2010-10-22 2011-02-02 张沈平 Sound source equipment and control method
CN102325216A (en) * 2011-06-29 2012-01-18 惠州Tcl移动通信有限公司 Mobile communication equipment and volume control method thereof
CN202444601U (en) * 2012-02-21 2012-09-19 陈悦 Earphone capable of respectively controlling volume
CN102915751A (en) * 2012-09-26 2013-02-06 广东欧珀移动通信有限公司 Method for automatically regulating sound volume and terminal equipment thereof
CN204741542U (en) * 2015-06-09 2015-11-04 东莞市伟旺达电子有限公司 Earphone drive -by -wire ware that mechanical type control was adjusted
US20160261948A1 (en) * 2008-08-18 2016-09-08 Voyetra Turtle Beach, Inc. Gaming headset with programmable audio paths

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2591910Y (en) * 2002-11-22 2003-12-10 林伟生 Adjustable volume earphone
US20070098202A1 (en) * 2005-10-27 2007-05-03 Steven Viranyi Variable output earphone system
CN101018043A (en) * 2006-02-07 2007-08-15 环达电脑(上海)有限公司 Method for automatic detection of volume adjusting during sound switching
US20160261948A1 (en) * 2008-08-18 2016-09-08 Voyetra Turtle Beach, Inc. Gaming headset with programmable audio paths
CN201639749U (en) * 2010-03-29 2010-11-17 广州市立伟电子有限公司 Earphone with adjustable and controllable vibration effect
CN101964932A (en) * 2010-10-22 2011-02-02 张沈平 Sound source equipment and control method
CN102325216A (en) * 2011-06-29 2012-01-18 惠州Tcl移动通信有限公司 Mobile communication equipment and volume control method thereof
CN202444601U (en) * 2012-02-21 2012-09-19 陈悦 Earphone capable of respectively controlling volume
CN102915751A (en) * 2012-09-26 2013-02-06 广东欧珀移动通信有限公司 Method for automatically regulating sound volume and terminal equipment thereof
CN204741542U (en) * 2015-06-09 2015-11-04 东莞市伟旺达电子有限公司 Earphone drive -by -wire ware that mechanical type control was adjusted

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113301206A (en) * 2021-05-25 2021-08-24 昆腾微电子股份有限公司 Audio adjusting method and device, electronic equipment and readable storage medium

Similar Documents

Publication Publication Date Title
EP3163748B1 (en) Method, device and terminal for adjusting volume
CN105451111A (en) Earphone play control method and apparatus and terminal
CN106453838B (en) Volume adjusting method and device
CN105828281A (en) Device connection method and device
CN104378485A (en) Volume adjustment method and volume adjustment device
CN104281432A (en) Method and device for regulating sound effect
CN106371799A (en) Volume control method and device for multimedia playback equipment
CN104021148A (en) Method and device for adjusting sound effect
CN110022487A (en) Volume adjusting method and device
CN106161781A (en) Method for regulation of sound volume and device
CN104112459B (en) Method and apparatus for playing audio data
CN104376239A (en) Terminal unlocking method and device
CN104378501A (en) Phone number naming method and device
CN106445453A (en) Method and device for switching audio output paths
CN103986999A (en) Method, device and terminal equipment for detecting earphone impedance
CN108549529A (en) Control the method and device of audio output
CN106033397A (en) Method and device for adjusting memory buffer, and terminal
CN105530384A (en) Method and device for power reminding based on alarm clock
CN105071473A (en) USB charging method and device
CN105282446A (en) Camera management method and device
CN104378715A (en) Device and method for lowering earphone POP sound
CN104935729A (en) Audio output method and device
CN107393528A (en) Sound control method and device
CN106941635A (en) Audio amplifier connection method and device
CN104159283A (en) Method and device for controlling message transmission

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

Application publication date: 20170104

RJ01 Rejection of invention patent application after publication