CN108111950B - A kind of volume adjusting method and speaker based on ambient noise - Google Patents
A kind of volume adjusting method and speaker based on ambient noise Download PDFInfo
- Publication number
- CN108111950B CN108111950B CN201711418054.XA CN201711418054A CN108111950B CN 108111950 B CN108111950 B CN 108111950B CN 201711418054 A CN201711418054 A CN 201711418054A CN 108111950 B CN108111950 B CN 108111950B
- Authority
- CN
- China
- Prior art keywords
- pressure level
- sound pressure
- threshold
- difference
- audio data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 18
- 230000003321 amplification Effects 0.000 claims abstract description 23
- 238000003199 nucleic acid amplification method Methods 0.000 claims abstract description 23
- 230000000630 rising effect Effects 0.000 claims description 2
- 230000006870 function Effects 0.000 description 7
- 230000008901 benefit Effects 0.000 description 4
- 238000003860 storage Methods 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 210000004556 brain Anatomy 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R3/00—Circuits for transducers, loudspeakers or microphones
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R2430/00—Signal processing covered by H04R, not provided for in its groups
- H04R2430/01—Aspects 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 invention discloses a kind of volume adjusting methods based on ambient noise, comprising: acquisition background noise calculates the first sound pressure level according to the background noise;Receive audio data to be played;Decode the audio data received;The broadcast sound volume for obtaining speaker calculates the second sound pressure level according to the broadcast sound volume;Compare first sound pressure level and second sound pressure level, decoded audio data is amplified according to comparison result;Play amplified audio data.The invention also discloses a kind of speakers, including background noise acquisition module, receiving module, audio decoder module, broadcast sound volume to obtain module, amplification module and loudspeaker.Present invention speaker when ambient noise changes can be manually operated according to preset condition adjust automatically output volume without user, and the practical sound size experienced of user does not generate larger fluctuation because of the variation of ambient noise, significantly improves user experience.
Description
Technical field
The present invention relates to field of intelligent control technology, and in particular to a kind of volume adjusting method and sound based on ambient noise
Case.
Background technique
With the rapid development of science and technology, people's lives level is higher and higher.It is following that there are also the fast paces of life
Change, place specialization and noise pollution etc..Commonly the noise sound difference of indoor and outdoor is larger, different places (example
Such as library and market) noise sound difference it is larger;At the same time, same place is poor in the noise sound of different time
It is also not larger.It needs to manually adjust sound regularly when ambient noise size changes to obtain preferable user experience
Ring the output volume of equipment.
Summary of the invention
In order to solve the above-mentioned technical problems, the present invention provides a kind of volume adjusting methods based on ambient noise, specifically
Technical solution is as described below:
A kind of volume adjusting method based on ambient noise, comprising the following steps:
Background noise is acquired, the first sound pressure level is calculated according to the background noise;
Receive audio data to be played;
Decode the audio data received;
The broadcast sound volume for obtaining speaker calculates the second sound pressure level according to the broadcast sound volume;
Compare first sound pressure level and second sound pressure level, decoded audio data is amplified according to comparison result;
Play amplified audio data.
Further, first sound pressure level and second sound pressure level are amplified decoded according to comparison result
Audio data, comprising:
If first sound pressure level is lower than second sound pressure level, first sound pressure level and second acoustic pressure are judged
Whether the difference of grade exceeds first threshold;
If the difference of first sound pressure level and second sound pressure level increases mould without departing from first threshold, according to volume
Formula amplifies decoded audio data, makes the difference of first sound pressure level and second sound pressure level between the first threshold
Between second threshold.
Further, judge the difference of first sound pressure level and second sound pressure level whether exceed first threshold it
Afterwards, further includes:
If the difference of first sound pressure level and second sound pressure level exceeds the first threshold, described first is judged
Whether the difference of sound pressure level and second sound pressure level exceeds the second threshold;
If the difference of first sound pressure level and second sound pressure level exceeds the second threshold, according to volume down
Mode amplifies decoded audio data, makes the difference of first sound pressure level and second sound pressure level between first threshold
Between value and the second threshold.
Further, judge whether first sound pressure level and the difference of second sound pressure level exceed the second threshold
Later, further includes:
If the difference of first sound pressure level and second sound pressure level without departing from second threshold, is put according to mode standard
Big decoded audio data.
Further, first sound pressure level and second sound pressure level are amplified decoded according to comparison result
Audio data, comprising:
If first sound pressure level is higher than second sound pressure level, increases mode according to volume and amplify decoded audio
Data, make the difference of first sound pressure level after adjusting and second sound pressure level between first threshold and second threshold it
Between.
It further, further include the size that first threshold and second threshold are preset according to user demand.
The present invention also provides a kind of speaker, specific technical solution is as described below:
A kind of speaker, comprises the following modules:
Background noise acquisition module calculates the first sound pressure level according to the background noise for acquiring background noise;
Receiving module, for receiving audio data to be played;
Audio decoder module, for decoding the audio data received;
Broadcast sound volume obtains module, for obtaining the broadcast sound volume of speaker, calculates the second acoustic pressure according to the broadcast sound volume
Grade;
Amplification module amplifies according to comparison result and decodes for first sound pressure level and second sound pressure level
Audio data afterwards;
Loudspeaker, for playing amplified audio data.
Further, the amplification module includes:
First judgment module judges first sound if lower than second sound pressure level for first sound pressure level
It arbitrarily downgrades with whether the difference of second sound pressure level exceeds first threshold;
First volume increases module, for lower than second sound pressure level in first sound pressure level, and first sound
When arbitrarily downgrading with the difference of second sound pressure level without departing from first threshold, increases mode according to volume and amplify decoded audio number
According to making the difference of first sound pressure level and second sound pressure level between the first threshold and second threshold.
Further, the amplification module includes:
Second judgment module, if exceeding first threshold for the difference of first sound pressure level and second sound pressure level
Value, then judge whether first sound pressure level and the difference of second sound pressure level exceed the second threshold;
Volume down module, if exceeding second threshold for the difference of first sound pressure level and second sound pressure level
Value makes the difference of first sound pressure level Yu second sound pressure level then according to the decoded audio data of mode amplification is reduced
Between the first threshold and the second threshold.
Further, the amplification module includes:
Keep module, if the difference for first sound pressure level and second sound pressure level without departing from second threshold,
Amplify decoded audio data according to mode standard.
Further, the amplification module includes:
Second volume increases module, is used for when first sound pressure level is than second sound pressure level, according to increase mode
Amplify decoded audio data, makes the difference of first sound pressure level after adjusting and second sound pressure level between the first threshold
Between value and second threshold.
It further, further include setup module, for presetting first threshold and second threshold according to user demand
Size.
Implement the invention has the following advantages:
1, the present invention can preset first threshold and second threshold according to user demand, and first threshold is that user can connect
The minimal difference of the sound pressure level (the first sound pressure level) of the sound pressure level (the second sound pressure level) and ambient noise for the output volume received, second
Threshold value is the maximum difference of user's acceptable second sound pressure level and the first sound pressure level, after being provided with, is occurred in ambient noise
Speaker can be manually operated according to preset condition adjust automatically output volume without user when change.
2, the present invention can according to ambient noise automatically adjust output volume, the practical sound size experienced of user not because
The variation of ambient noise and generate larger fluctuation, significantly improve user experience.
Additional aspect and advantage of the invention will be set forth in part in the description, and will partially become from the following description
Obviously, or practice through the invention is recognized.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the flow chart for the volume adjusting method based on ambient noise that the embodiment of the present invention 1 provides;
Fig. 2 is the structural block diagram for the speaker that the embodiment of the present invention 2 provides.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.It is described
The example of embodiment is shown in the accompanying drawings, and in which the same or similar labels are throughly indicated same or similar element or tools
There is the element of same or like function.
Embodiment 1
The present invention provides a kind of volume adjusting method based on ambient noise, below in conjunction with attached drawing to the present embodiment into
Row is described in detail.For simplicity, step those of related to theme described in the text is illustrated only.Overall is made an uproar based on background
The volume adjusting method of sound can have many other steps.Fig. 1 is the volume based on ambient noise that the embodiment of the present invention 1 provides
The flow chart of adjusting method, as shown in Figure 1, the volume adjusting method provided in this embodiment based on ambient noise includes following step
It is rapid:
S1: acquisition background noise calculates the first sound pressure level according to the background noise;
S2: audio data to be played is received;
S3: the audio data received is decoded;
S4: obtaining the broadcast sound volume of speaker, calculates the second sound pressure level according to the broadcast sound volume;
S5: first sound pressure level and second sound pressure level amplify decoded audio number according to comparison result
According to;
S6: amplified audio data is played.
Further, first sound pressure level and second sound pressure level are amplified decoded according to comparison result
Audio data, comprising:
If first sound pressure level is lower than second sound pressure level, first sound pressure level and second acoustic pressure are judged
Whether the difference of grade exceeds first threshold;
If the difference of first sound pressure level and second sound pressure level increases mould without departing from first threshold, according to volume
Formula amplifies decoded audio data, makes the difference of first sound pressure level and second sound pressure level between the first threshold
Between second threshold.
Further, judge the difference of first sound pressure level and second sound pressure level whether exceed first threshold it
Afterwards, further includes:
If the difference of first sound pressure level and second sound pressure level exceeds the first threshold, described first is judged
Whether the difference of sound pressure level and second sound pressure level exceeds the second threshold;
If the difference of first sound pressure level and second sound pressure level exceeds the second threshold, according to volume down
Mode amplifies decoded audio data, makes the difference of first sound pressure level and second sound pressure level between first threshold
Between value and the second threshold.
Further, judge whether first sound pressure level and the difference of second sound pressure level exceed the second threshold
Later, further includes:
If the difference of first sound pressure level and second sound pressure level without departing from second threshold, is put according to mode standard
Big decoded audio data.
Further, first sound pressure level and second sound pressure level are amplified decoded according to comparison result
Audio data, comprising:
If first sound pressure level is higher than second sound pressure level, increases mode according to volume and amplify decoded audio
Data, make the difference of first sound pressure level after adjusting and second sound pressure level between first threshold and second threshold it
Between.
The present invention also provides a kind of speaker, specific technical solution is as described below:
A kind of speaker, comprises the following modules:
Background noise acquisition module calculates the first sound pressure level according to the background noise for acquiring background noise;
Receiving module, for receiving audio data to be played;
Audio decoder module, for decoding the audio data received;
Broadcast sound volume obtains module, for obtaining the broadcast sound volume of speaker, calculates the second acoustic pressure according to the broadcast sound volume
Grade;
Amplification module amplifies according to comparison result and decodes for first sound pressure level and second sound pressure level
Audio data afterwards;
Loudspeaker, for playing amplified audio data.
Further, the amplification module includes:
First judgment module judges first sound if lower than second sound pressure level for first sound pressure level
It arbitrarily downgrades with whether the difference of second sound pressure level exceeds first threshold;
First volume increases module, for lower than second sound pressure level in first sound pressure level, and first sound
When arbitrarily downgrading with the difference of second sound pressure level without departing from first threshold, increases mode according to volume and amplify decoded audio number
According to making the difference of first sound pressure level and second sound pressure level between the first threshold and second threshold.
Further, the amplification module includes:
Second judgment module, if exceeding first threshold for the difference of first sound pressure level and second sound pressure level
Value, then judge whether first sound pressure level and the difference of second sound pressure level exceed the second threshold;
Volume down module, if exceeding second threshold for the difference of first sound pressure level and second sound pressure level
Value makes the difference of first sound pressure level Yu second sound pressure level then according to the decoded audio data of mode amplification is reduced
Between the first threshold and the second threshold.
Further, the amplification module includes:
Keep module, if the difference for first sound pressure level and second sound pressure level without departing from second threshold,
Amplify decoded audio data according to mode standard.
Further, the amplification module includes:
Second volume increases module, is used for when first sound pressure level is than second sound pressure level, according to increase mode
Amplify decoded audio data, makes the difference of first sound pressure level after adjusting and second sound pressure level between the first threshold
Between value and second threshold.
Implement the invention has the following advantages:
1, the present invention can preset first threshold and second threshold according to user demand, and first threshold is that user can connect
The minimal difference of the sound pressure level (the first sound pressure level) of the sound pressure level (the second sound pressure level) and ambient noise for the output volume received, second
Threshold value is the maximum difference of user's acceptable second sound pressure level and the first sound pressure level, after being provided with, is occurred in ambient noise
Speaker can be manually operated according to preset condition adjust automatically output volume without user when change.
2, the present invention can according to ambient noise automatically adjust output volume, the practical sound size experienced of user not because
The variation of ambient noise and generate larger fluctuation, significantly improve user experience.
Embodiment 2
The present invention also provides a kind of speakers, and the present embodiment is described in detail below in conjunction with attached drawing.Fig. 2 is this hair
The structural block diagram for the speaker that bright embodiment 2 provides illustrates only mould those of related to theme described in the text for simplicity
Block, the overall volume adjusting method based on ambient noise can have many other modules and element.As shown in Fig. 2, this implementation
The speaker that example provides comprises the following modules:
Background noise acquisition module 201 calculates the first sound pressure level according to the background noise for acquiring background noise;
Receiving module 202, for receiving audio data to be played;
Audio decoder module 203, for decoding the audio data received;
Broadcast sound volume obtains module 204, for obtaining the broadcast sound volume of speaker, calculates the rising tone according to the broadcast sound volume
It arbitrarily downgrades;
Amplification module 205 amplifies according to comparison result and solves for first sound pressure level and second sound pressure level
Audio data after code;
Loudspeaker 206, for playing amplified audio data.
Further, the amplification module 205 includes:
First judgment module judges first sound if lower than second sound pressure level for first sound pressure level
It arbitrarily downgrades with whether the difference of second sound pressure level exceeds first threshold;
First volume increases module, for lower than second sound pressure level in first sound pressure level, and first sound
When arbitrarily downgrading with the difference of second sound pressure level without departing from first threshold, increases mode according to volume and amplify decoded audio number
According to making the difference of first sound pressure level and second sound pressure level between the first threshold and second threshold.
Further, the amplification module 205 includes:
Second judgment module, if exceeding first threshold for the difference of first sound pressure level and second sound pressure level
Value, then judge whether first sound pressure level and the difference of second sound pressure level exceed the second threshold;
Volume down module, if exceeding second threshold for the difference of first sound pressure level and second sound pressure level
Value makes the difference of first sound pressure level Yu second sound pressure level then according to the decoded audio data of mode amplification is reduced
Between the first threshold and the second threshold.
Further, the amplification module 205 includes:
Keep module, if the difference for first sound pressure level and second sound pressure level without departing from second threshold,
Amplify decoded audio data according to mode standard.
Further, the amplification module 205 includes:
Second volume increases module, is used for when first sound pressure level is than second sound pressure level, according to increase mode
Amplify decoded audio data, makes the difference of first sound pressure level after adjusting and second sound pressure level between the first threshold
Between value and second threshold.
Those skilled in the art will also be appreciated that the various illustrative components, blocks that the embodiment of the present invention is listed
(illustrative logical block), unit and step can by electronic hardware, computer software, or both knot
Conjunction is realized.For the replaceability (interchangeability) for clearly showing that hardware and software, above-mentioned various explanations
Property component (illustrative components), unit and step universally describe their function.Such function
It can be that the design requirement for depending on specific application and whole system is realized by hardware or software.Those skilled in the art
Can be can be used by various methods and realize the function, but this realization is understood not to for every kind of specific application
Range beyond protection of the embodiment of the present invention.
Various illustrative logical blocks or unit described in the embodiment of the present invention can by general processor,
Digital signal processor, specific integrated circuit (ASIC), field programmable gate array (FPGA) or other programmable logic devices,
Discrete gate or transistor logic, discrete hardware components or above-mentioned any combination of design carry out implementation or operation described function.
General processor can be microprocessor, optionally, the general processor may be any traditional processor, controller,
Microcontroller or state machine.Processor can also realize by the combination of computing device, such as digital signal processor and micro-
Processor, multi-microprocessor, one or more microprocessors combine a digital signal processor core or any other like
Configuration realize.
The step of method described in the embodiment of the present invention or algorithm can be directly embedded into hardware, processor execute it is soft
The combination of part module or the two.Software module can store in RAM memory, flash memory, ROM memory, EPROM storage
Other any form of storaging mediums in device, eeprom memory, register, hard disk, moveable magnetic disc, CD-ROM or this field
In.Illustratively, storaging medium can be connect with processor, so that processor can read information from storaging medium, and
It can be to storaging medium stored and written information.Optionally, storaging medium can also be integrated into the processor.Processor and storaging medium can
To be set in asic, ASIC be can be set in user terminal.Optionally, processor and storaging medium also can be set in
In different components in the terminal of family.
In one or more exemplary designs, above-mentioned function described in the embodiment of the present invention can be in hardware, soft
Part, firmware or any combination of this three are realized.If realized in software, these functions be can store and computer-readable
On medium, or it is transferred on a computer readable medium in the form of one or more instructions or code forms.Computer readable medium includes electricity
Brain storaging medium and convenient for so that computer program is allowed to be transferred to from a place telecommunication media in other places.Storaging medium can be with
It is that any general or special computer can be with the useable medium of access.For example, such computer readable media may include but
It is not limited to RAM, ROM, EEPROM, CD-ROM or other optical disc storages, disk storage or other magnetic storage devices or other
What can be used for carry or store with instruct or data structure and it is other can be by general or special computer or general or specially treated
The medium of the program code of device reading form.In addition, any connection can be properly termed computer readable medium, example
Such as, if software is to pass through a coaxial cable, optical fiber computer, double from a web-site, server or other remote resources
Twisted wire, Digital Subscriber Line (DSL) are defined with being also contained in for the wireless way for transmitting such as example infrared, wireless and microwave
In computer readable medium.The disk (disk) and disk (disc) includes compress disk, radium-shine disk, CD, DVD, floppy disk
And Blu-ray Disc, disk is usually with magnetic replicate data, and disk usually carries out optically replicated data with laser.Combinations of the above
Also it may be embodied in computer readable medium.
Above-described specific embodiment has carried out further the purpose of the present invention, technical scheme and beneficial effects
It is described in detail, it should be understood that being not intended to limit the present invention the foregoing is merely a specific embodiment of the invention
Protection scope, all within the spirits and principles of the present invention, any modification, equivalent substitution, improvement and etc. done should all include
Within protection scope of the present invention.
Claims (6)
1. a kind of volume adjusting method based on ambient noise characterized by comprising
Background noise is acquired, the first sound pressure level is calculated according to the background noise;
Receive audio data to be played;
Decode the audio data received;
The broadcast sound volume for obtaining speaker calculates the second sound pressure level according to the broadcast sound volume;
Compare first sound pressure level and second sound pressure level, decoded audio data is amplified according to comparison result;It is described
Before comparing first sound pressure level and second sound pressure level, further includes: according to user demand preset first threshold and
Second threshold, the first threshold are the minimal differences of user's acceptable second sound pressure level and first sound pressure level,
The second threshold is the maximum difference of user's acceptable second sound pressure level and first sound pressure level;
First sound pressure level and second sound pressure level, comprising: by first sound pressure level and the rising tone
The difference arbitrarily downgraded is compared with the first threshold and/or the second threshold;
Play amplified audio data;
Compare first sound pressure level and second sound pressure level, decoded audio data amplified according to comparison result, comprising:
If first sound pressure level is lower than second sound pressure level, first sound pressure level and second sound pressure level are judged
Whether difference exceeds the first threshold;
If the difference of first sound pressure level and second sound pressure level increases mould without departing from the first threshold, according to volume
Formula amplifies decoded audio data, makes the difference of first sound pressure level and second sound pressure level between the first threshold
Between the second threshold;
If the difference of first sound pressure level and second sound pressure level exceeds the first threshold, first acoustic pressure is judged
Whether the difference of grade and second sound pressure level exceeds the second threshold;
If the difference of first sound pressure level and second sound pressure level exceeds the second threshold, according to volume down mode
Amplify decoded audio data, make the difference of first sound pressure level and second sound pressure level between the first threshold with
Between the second threshold.
2. the method according to claim 1, wherein judging first sound pressure level and second sound pressure level
Whether difference exceeds after the second threshold, further includes:
If the difference of first sound pressure level and second sound pressure level without departing from the second threshold, is put according to mode standard
Big decoded audio data.
3. the method according to claim 1, wherein first sound pressure level and second sound pressure level,
Amplify decoded audio data according to comparison result, comprising:
If first sound pressure level is higher than second sound pressure level, increases mode according to volume and amplify decoded audio number
According to the difference of first sound pressure level and second sound pressure level after making adjusting is between the first threshold and second threshold
Between value.
4. a kind of speaker characterized by comprising
Background noise acquisition module calculates the first sound pressure level according to the background noise for acquiring background noise;
Receiving module, for receiving audio data to be played;
Audio decoder module, for decoding the audio data received;
Broadcast sound volume obtains module, for obtaining the broadcast sound volume of speaker, calculates the second sound pressure level according to the broadcast sound volume;
Amplification module amplifies decoded for first sound pressure level and second sound pressure level according to comparison result
Audio data;First sound pressure level and second sound pressure level, comprising: will first sound pressure level and described the
The difference of two sound pressure levels is compared with first threshold and/or second threshold;
Setup module, for presetting the first threshold and the second threshold, the first threshold according to user demand
It is the minimal difference of user's acceptable second sound pressure level and first sound pressure level, the second threshold is that user can connect
The maximum difference of second sound pressure level and first sound pressure level received;
Loudspeaker, for playing amplified audio data;
The amplification module includes:
First judgment module judges first sound pressure level if lower than second sound pressure level for first sound pressure level
Whether exceed the first threshold with the difference of second sound pressure level;
First volume increases module, for lower than second sound pressure level in first sound pressure level, and first sound pressure level
When with the difference of second sound pressure level without departing from the first threshold, increases mode according to volume and amplify decoded audio number
According to making the difference of first sound pressure level and second sound pressure level between the first threshold and the second threshold;
Second judgment module, if exceeding the first threshold for the difference of first sound pressure level and second sound pressure level,
Then judge whether first sound pressure level and the difference of second sound pressure level exceed the second threshold;
Volume down module, if exceeding the second threshold for the difference of first sound pressure level and second sound pressure level,
Then amplify decoded audio data according to reducing mode, make the difference of first sound pressure level and second sound pressure level between
Between the first threshold and the second threshold.
5. speaker according to claim 4, which is characterized in that the amplification module includes:
Keep module, if the difference for first sound pressure level and second sound pressure level without departing from the second threshold,
Amplify decoded audio data according to mode standard.
6. speaker according to claim 4, which is characterized in that the amplification module includes:
Second volume increases module, for amplifying according to mode is increased when first sound pressure level is than second sound pressure level
Decoded audio data makes the difference of first sound pressure level after adjusting and second sound pressure level between first threshold
Between value and the second threshold.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711418054.XA CN108111950B (en) | 2017-12-25 | 2017-12-25 | A kind of volume adjusting method and speaker based on ambient noise |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711418054.XA CN108111950B (en) | 2017-12-25 | 2017-12-25 | A kind of volume adjusting method and speaker based on ambient noise |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108111950A CN108111950A (en) | 2018-06-01 |
CN108111950B true CN108111950B (en) | 2019-12-03 |
Family
ID=62212770
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711418054.XA Active CN108111950B (en) | 2017-12-25 | 2017-12-25 | A kind of volume adjusting method and speaker based on ambient noise |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108111950B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110838210A (en) * | 2018-08-16 | 2020-02-25 | 北汽福田汽车股份有限公司 | Alarm method, alarm device and storage medium |
CN109688498B (en) * | 2018-11-23 | 2020-10-09 | 潍坊歌尔电子有限公司 | Volume adjusting method, earphone and storage medium |
CN109819375A (en) * | 2019-01-11 | 2019-05-28 | 平安科技(深圳)有限公司 | Adjust method and apparatus, storage medium, the electronic equipment of volume |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101924828A (en) * | 2010-07-21 | 2010-12-22 | 惠州Tcl移动通信有限公司 | Mobile terminal, method and device for adjusting volume thereof |
CN102572646A (en) * | 2011-12-31 | 2012-07-11 | 广东步步高电子工业有限公司 | Denoising method and device implemented in state of listening to music by using headset |
CN103684302A (en) * | 2012-09-12 | 2014-03-26 | 国基电子(上海)有限公司 | Volume control device and method |
CN104348436A (en) * | 2013-08-08 | 2015-02-11 | 联想(北京)有限公司 | Parameter adjusting method and electronic equipment |
CN106648520A (en) * | 2016-09-18 | 2017-05-10 | 惠州Tcl移动通信有限公司 | Volume output control method and device of mobile terminal |
-
2017
- 2017-12-25 CN CN201711418054.XA patent/CN108111950B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101924828A (en) * | 2010-07-21 | 2010-12-22 | 惠州Tcl移动通信有限公司 | Mobile terminal, method and device for adjusting volume thereof |
CN102572646A (en) * | 2011-12-31 | 2012-07-11 | 广东步步高电子工业有限公司 | Denoising method and device implemented in state of listening to music by using headset |
CN103684302A (en) * | 2012-09-12 | 2014-03-26 | 国基电子(上海)有限公司 | Volume control device and method |
CN104348436A (en) * | 2013-08-08 | 2015-02-11 | 联想(北京)有限公司 | Parameter adjusting method and electronic equipment |
CN106648520A (en) * | 2016-09-18 | 2017-05-10 | 惠州Tcl移动通信有限公司 | Volume output control method and device of mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN108111950A (en) | 2018-06-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US12112766B2 (en) | Efficient DRC profile transmission | |
US8165321B2 (en) | Intelligent clip mixing | |
CN108111950B (en) | A kind of volume adjusting method and speaker based on ambient noise | |
CN104410379B (en) | A kind of volume adjusting method | |
CN104090766A (en) | Sound effect switching method and system for mobile terminal | |
US9756439B2 (en) | Method and devices for outputting an audio file | |
CN108134973A (en) | A kind of output volume control method and speaker | |
US9166547B2 (en) | Electronic device and method for adjusting volume levels of audio signal outputted by the electronic device | |
CN105679356B (en) | The way of recording, device and terminal | |
CN104020979B (en) | A kind of mobile terminal and method of adaptive desktop selection audio | |
WO2015143896A1 (en) | Recognition circuit, method, apparatus and system for external device based on earphone socket | |
CN103634168A (en) | A volume adjusting method for a household electrical appliance in an intelligent household and a system | |
US10530318B2 (en) | Audio system having variable reset volume | |
CN103945253A (en) | Volume control method and device and multimedia playing control method and device | |
CN111258532A (en) | Volume adaptive adjustment method and device, storage medium and electronic equipment | |
CN105812581A (en) | Volume automatic adjustment method and device | |
CN202373295U (en) | Recording detection device | |
US20140010377A1 (en) | Electronic device and method of adjusting volume in teleconference | |
CN104602157A (en) | Earphone noise reduction method and device | |
CN112151025A (en) | Volume adjusting method, device, equipment and storage medium | |
CN104168000A (en) | Audio processing system and method | |
WO2016131373A1 (en) | Method and terminal for controlling high-fidelity function | |
CN207625544U (en) | A kind of phonograph and its bluetooth receiving circuit | |
CN204650791U (en) | A kind of reading Play System with microphone | |
CN103986997B (en) | A kind of adjustment audio frequency output loop filtering parameter method, device and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20240102 Address after: Room 302, No. 9 Huancun Street, Dongguan Village, Xinya Street, Huadu District, Guangzhou City, Guangdong Province, 510800 Patentee after: Guangzhou Aihua Electrical Technology Co.,Ltd. Address before: Building 2-8, A3, No.10 Furong Xinhua Road, Shiling Town, Huadu District, Guangzhou City, Guangdong Province, 510000 (can be used as a factory building) Patentee before: GUANGZHOU JULIAN ELECTRONICS Co.,Ltd. |