CN110401772A - The tinkle of bells setting method, the tinkle of bells setting device, mobile terminal and can storage medium - Google Patents
The tinkle of bells setting method, the tinkle of bells setting device, mobile terminal and can storage medium Download PDFInfo
- Publication number
- CN110401772A CN110401772A CN201910661772.2A CN201910661772A CN110401772A CN 110401772 A CN110401772 A CN 110401772A CN 201910661772 A CN201910661772 A CN 201910661772A CN 110401772 A CN110401772 A CN 110401772A
- Authority
- CN
- China
- Prior art keywords
- tinkle
- bells
- loudness
- sound data
- ambient sound
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72442—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for playing music files
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M19/00—Current supply arrangements for telephone systems
- H04M19/02—Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone
- H04M19/04—Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone the ringing-current being generated at the substations
- H04M19/041—Encoding the ringing signal, i.e. providing distinctive or selective ringing capability
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M19/00—Current supply arrangements for telephone systems
- H04M19/02—Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone
- H04M19/04—Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone the ringing-current being generated at the substations
- H04M19/042—Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone the ringing-current being generated at the substations with variable loudness of the ringing tone, e.g. variable envelope or amplitude of ring signal
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Multimedia (AREA)
- Environmental & Geological Engineering (AREA)
- Electrophonic Musical Instruments (AREA)
- Telephone Function (AREA)
Abstract
The present embodiments relate to terminals, and field to be arranged automatically, discloses a kind of the tinkle of bells setting method, the tinkle of bells setting device, mobile terminal and can storage medium.The tinkle of bells setting method includes: to obtain ambient sound data in the present invention;Ambient sound data are parsed, determine the first loudness of ambient sound data;The tinkle of bells for meeting preset condition is obtained as target the tinkle of bells, wherein preset condition includes: that the loudness of the tinkle of bells is greater than the first loudness.Above scheme can make the target the tinkle of bells of setting be easier to be heard by the user.
Description
Technical field
The present embodiments relate to terminals, and field, in particular to the tinkle of bells setting method, the tinkle of bells setting device, shifting to be arranged automatically
Dynamic terminal and can storage medium.
Background technique
With the development of network technology, mobile phone has become essential communication products for people's lives, in actual use
In, it receives calls, receive information, receive the mode that the functions such as prompting are generally used the tinkle of bells prompting, then, guarantee that the tinkle of bells is reminded
It is heard by the user in time just very crucial.
In the prior art, mobile phone is preset with various modes, such as outdoor mode, conference model, silent mode, and user can be with
Different contextual models is set according to demand.But present inventor has found: in the preset various modes of mobile phone, the difference of jingle bell
From ringing volume, that is, in different mode, the tinkle of bells is adjusted to different volumes, and in a noisy environment, although with
Mobile phone is set outdoor mode by family (volume is very high), it is also possible to because mobile phone hypertelorism or noise can not be heard greatly very much
The incoming call jingle bell of mobile phone, so that causing the case where missing important phone.
Summary of the invention
Embodiment of the present invention be designed to provide a kind of the tinkle of bells setting method, mobile terminal and can storage medium, make
The target the tinkle of bells that must be arranged is easier to be heard by the user.
In order to solve the above technical problems, embodiments of the present invention provide a kind of the tinkle of bells setting method, comprising: obtain ring
Border voice data;The ambient sound data are parsed, determine the first loudness of the ambient sound data;Acquisition meets default item
The tinkle of bells of part is as target the tinkle of bells, wherein the preset condition includes: that the loudness of the tinkle of bells is greater than first loudness.
Embodiments of the present invention additionally provide a kind of the tinkle of bells setting method, comprising: module are obtained, for obtaining ambient sound
Sound data;Parsing module determines the first loudness of the ambient sound data for parsing the ambient sound data;Target
The tinkle of bells determining module, for obtaining the tinkle of bells for meeting preset condition as target the tinkle of bells, wherein the preset condition includes: institute
The loudness for stating the tinkle of bells is greater than first loudness.
Embodiments of the present invention additionally provide a kind of mobile terminal, comprising: at least one processor;And with it is described
The memory of at least one processor communication connection;Wherein, the memory, which is stored with, to be held by least one described processor
Capable instruction, described instruction are executed by least one described processor, so that at least one described processor is able to carry out as above
The tinkle of bells setting method stated.
Embodiments of the present invention additionally provide a kind of computer readable storage medium, are stored with computer program, described
Such as above-mentioned the tinkle of bells setting method is realized when computer program is executed by processor.
Embodiment of the present invention in terms of existing technologies, the side based on volume adjustment when avoiding existing adjusting the tinkle of bells
Method, and use and more represent human ear to the loudness parameter of the susceptibility of sound, the sound and light setting target the tinkle of bells from volume are avoided, and
It is that target the tinkle of bells is set from loudness angle, especially by the loudness parameter for measuring ambient sound, analyzes user at that time and be easy to know
The loudness scope for the tinkle of bells being clipped to obtains the tinkle of bells for meeting preset condition as target the tinkle of bells, so that the target the tinkle of bells of setting is more
It is easily heard by the user, so that the tinkle of bells is reminded more effectively.
As a further improvement, the acquisition ambient sound data, specifically: in the tinkle of bells jingle bell duration more than preset duration
Afterwards, ambient sound data are obtained;Alternatively, obtaining ambient sound data after incoming ring tone is triggered, the present embodiment is clearly obtained
3 kinds of opportunitys of ambient sound data.
As a further improvement, the parsing ambient sound data, determine the first sound of the ambient sound data
Degree, comprising: according to frequency information, the ambient sound data are divided into multiple frequency ranges;Obtain the sound pressure level of each frequency range;According to
The sound pressure level of each frequency range determines the loudness of each frequency range;The ambient sound data are calculated according to the loudness of each frequency range
Total loudness;Using total loudness as first loudness.The clearly specific analytic method of the present embodiment.
As a further improvement, described be divided into multiple frequency ranges for the ambient sound data, specifically: by the ambient sound
The data for belonging to default band limits in sound data are divided into multiple frequency ranges.The present embodiment avoids parsing by the way that default frequency range is arranged
Outliers improve analyzing efficiency.
As a further improvement, calculating the ambient sound data using following formula according to the loudness of each frequency range
Total loudness:Wherein, the α is octave, and the Si is the loudness of i-th of frequency range, institute
Stating Smax is the maximum loudness in n frequency range.The calculation formula of the clearly total loudness of the present embodiment.
As a further improvement, the preset condition further include: the frequency and sound pressure level of the target the tinkle of bells are all larger than institute
State the corresponding frequency of the maximum frequency range of loudness and sound pressure level in each frequency range.The present embodiment reference frequency and sound pressure level, so that choosing
The target the tinkle of bells effect taken is more preferable.
As a further improvement, the preset condition further include: the loudness of the target the tinkle of bells and first loudness
Difference is less than preset value.The loudness of the present embodiment hard objectives the tinkle of bells is small as far as possible, since the inventor's discovery loudness the big more can
Can have an impact to melodious degree, although excessive loudness is readily heard, it is poor to will also result in sensory experience.
As a further improvement, described obtain meets the tinkle of bells of preset condition as target the tinkle of bells, specifically: from preset
The tinkle of bells for meeting preset condition is chosen in the tinkle of bells library as the target the tinkle of bells;Alternatively, adjusting the frequency of default the tinkle of bells until adjusting
Default the tinkle of bells after whole meets the preset condition, will meet the default the tinkle of bells adjusted of the preset condition as the mesh
Mark the tinkle of bells.The target the tinkle of bells for meeting preset condition can be obtained there are many mode, acquisition scheme can be selected according to actual needs,
So that embodiment is more flexible and changeable.
As a further improvement, if by choosing the tinkle of bells for meeting preset condition from the tinkle of bells library as the target
The tinkle of bells then judges the tinkle of bells quantity for meeting the preset condition chosen, and when the tinkle of bells quantity chosen is greater than 1, chooses and rings
The smallest the tinkle of bells is spent as target the tinkle of bells.
Detailed description of the invention
One or more embodiments are illustrated by the picture in corresponding attached drawing, these exemplary theorys
The bright restriction not constituted to embodiment, the element in attached drawing with same reference numbers label are expressed as similar element, remove
Non- to have special statement, composition does not limit the figure in attached drawing.
Fig. 1 is the tinkle of bells setting method flow chart in first embodiment according to the present invention;
Fig. 2 is the process for parsing ambient sound data in the tinkle of bells setting method in first embodiment according to the present invention
Figure;
Fig. 3 is the tinkle of bells setting method moderate amplitude curve synoptic diagram in first embodiment according to the present invention;
Fig. 4 is the tinkle of bells setting method flow chart in third embodiment according to the present invention;
Fig. 5 is the tinkle of bells setting schematic device in the 4th embodiment according to the present invention;
Fig. 6 is the mobile terminal schematic diagram in the 5th embodiment according to the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with attached drawing to the present invention
Each embodiment be explained in detail.However, it will be understood by those skilled in the art that in each embodiment party of the present invention
In formula, in order to make the reader understand this application better, many technical details are proposed.But even if without these technical details
And various changes and modifications based on the following respective embodiments, the application technical solution claimed also may be implemented.With
Under the division of each embodiment be for convenience, any restriction should not to be constituted to specific implementation of the invention, it is each
Embodiment can be combined with each other mutual reference under the premise of reconcilable.
The first embodiment of the present invention is related to a kind of the tinkle of bells setting methods.
Present embodiment is applied to a kind of mobile terminal, such as mobile phone, the tablet computer PAD of user, takes the mobile phone as an example, and uses
Family can be connected to another user of incoming call under mobile phone power-on state, and mobile phone can be issued in the call request for receiving incoming call
Electric bell sound is to remind user to answer.Present inventor's discovery, although existing can adjust automatically according to the decibel of ambient noise
MIDI Volume is saved, but when ambient enviroment is extremely noisy, even if MIDI Volume has tuned up, but still remains cell phone incoming call jingle bell
The problem of can not being heard by the user.
The process of the tinkle of bells setting method is as shown in Figure 1, specific as follows in present embodiment:
Step 101, ambient sound data are obtained.
Specifically, ambient sound data may include ambient noise, more specifically, present embodiment can be by making an uproar
Sound acquires microphone (noise reduction microphone) and acquires ambient noise.In one example, the sound of 1 second or 2 seconds durations can be acquired
Data are used as subsequent processing.By the ambient noise of preset duration, can avoid continuing with the ambient sound of basic understanding at that time
Overabundance of data is handled caused by acquisition, helps speed up processing speed.It in another example, can also be using groups such as decibel instruments
Part carries out the acquisition of ambient sound, and decibel instrument can be standardized sampling to ambient sound data, handles for subsequent analysis,
In practical application, ambient sound data can also be obtained using other assemblies, will not enumerate herein.
Specifically, ambient sound data can be obtained after the tinkle of bells jingle bell duration is more than preset duration.Generally there is incoming call
When incoming call, mobile phone plays default ring tone first to remind user, monitors jingle bell duration later, and since terminal can be having incoming call incoming call
Timing, by timing to duration and preset threshold make comparisons, when timing to duration reach threshold value when, triggering obtain ambient sound
Sound data.It is 3 seconds that threshold value, which is such as arranged, when the tinkle of bells jingle bell duration is more than 3 seconds, then ambient sound data is obtained, in another example
In, the duration of setting is also possible to 5 seconds, it is not limited here.Since user can hear incoming ring tone sometimes, will soon connect
It listens, then the tinkle of bells can not be adjusted in this case, obtains ambient sound data so delaying using preset duration, it is invalid to reduce
Data processing, reduce system power dissipation.
In practical application, ambient sound data can be directly acquired after incoming ring tone is triggered.Specific acquisition opportunity can
To be arranged according to the actual situation, it is not limited here.
Furthermore it is also possible to further determine the need for obtaining according to the bell mode of user mobile phone, such as it is being set as quiet
When sound mode or vibrating mode, due to not needing triggering jingle bell, then ambient sound data are not obtained, are such as being set as bell mode
When, then it is obtained when meeting acquisition condition.
Step 102, ambient sound data are parsed, determine the first loudness of ambient sound data.
Specifically, since human ear has auditory properties, for the sound of different frequency range, the susceptibility of human ear is different
, excessively high and too low frequency range is all insensitive.And even identical volume, but it is based on different frequency range, there are different frequency ranges pair
The sound answered, human ear have different auditory effects for the corresponding sound of different frequency range.Loudness, can be with quantitative response sound
Sonority, loudness is related to frequency and sound pressure level, can more characterize sensitivity when human ear is heard.Therefore, the present application
People expects the loudness value by calculating ambient sound data as the subsequent foundation for choosing single-frequency the tinkle of bells.
In one example, parsing ambient sound data can with as shown in Fig. 2, including the following steps:
Step 201, according to frequency information, ambient sound data are divided into multiple frequency ranges.
Specifically, frequency range division is carried out first, can be drawn according to octave, 1/2 octave or third-octave
Point, the sound pressure level (dB) of each frequency range is obtained later.
In one example, the data that default band limits is belonged in ambient sound data are divided into multiple frequency ranges.Although
The threshold of audibility range of human ear is 20Hz~20KHz, but the auditory system of human ear has filter function, can be in the sound of different frequency
In environment, low-frequency sound is fallen in automatic fitration.So while the low-frequency sound in ambient sound data will be filtered by human ear, not
It will affect the hearing perception of people, therefore, in ambient sound data, only extract for human ear more sensitive 200~
The voice data of 6400Hz, to reduce total data processing amount.
Step 202, the sound pressure level of each frequency range is obtained.
Present embodiment is illustrated by taking 1/2 octave as an example, shown in each frequency range such as following table (1) after division:
Frequency range (Hz) | 200~400 | 400~800 | 800~1600 | 1600~3200 | 3200~6400 |
Basic frequency (Hz) | 300 | 600 | 1200 | 2400 | 4800 |
Sound pressure level (dB) | 48 | 54 | 60 | 42 | 57 |
Table (1)
In addition, other octaves can also be used in practical application, it is not limited here.
Step 203, the loudness Si of each frequency range is determined according to the sound pressure level of each frequency range.
Specifically, the correspondence table of frequency, sound pressure level and loudness is to prestore table, and data can be reflected as the following figure
Contour of equal loudness, can be with as shown in figure 3, horizontal axis indicates frequency in Fig. 3, the longitudinal axis indicates sound pressure level, is determining frequency and sound pressure level
Afterwards, the loudness of each frequency range is determined by the corresponding relationship in Fig. 3, after obtaining loudness, is deposited jointly into following table (2) in case subsequent
Data processing.
Frequency range (Hz) | 200~400 | 400~800 | 800~1600 | 1600~3200 | 3200~6400 |
Basic frequency (Hz) | 300 | 600 | 1200 | 2400 | 4800 |
Sound pressure level (dB) | 48 | 56 | 60 | 42 | 39 |
Loudness (sone) | 1.86 | 3.73 | 4.02 | 1.41 | 1.62 |
Table (2)
Step 204, total loudness of ambient sound data is calculated according to the loudness of each frequency range.
Specifically, it can use total loudness that following formula (1) calculates ambient sound data:
Wherein, α is constant related with octave, and Si is the loudness of i-th of frequency range, and Smax is the maximum in n frequency range
Loudness.Wherein, if octave is 1, α=0.3;If octave is 1/2, α=0.2;If octave be 1/3, α=
0.15。
For the above table (2), it can know, α=0.2, while the loudness maximum value Smax of five frequency ranges is 4.02, it is corresponding
Ground, the basic frequency of the frequency range where loudness maximum value are 1200Hz, sound pressure level 60dB.Further according to other numbers in upper table (2)
According to listing following calculating formula (2):
SAlways=0.3 (1.86+3.73+4.02+1.41+1.62)+0.7 × 4.02=6.61; (2)
It continues to explain, it can be using total loudness as the first loudness, that is to say, that calculated first loudness of present embodiment
It is 6.61.
Step 103, the tinkle of bells for meeting preset condition is chosen from the tinkle of bells library prestored as target the tinkle of bells.
Present embodiment has preset a series of the tinkle of bells library comprising single-frequency the tinkle of bells, table (3) specific as follows:
Frequency (Hz) | Sound pressure level (dB) | Loudness (sone) | |
The tinkle of bells 1 | 1000 | 60 | 3.86 |
The tinkle of bells 2 | 1100 | 70 | 9.19 |
The tinkle of bells 3 | 2000 | 70 | 9.85 |
The tinkle of bells 4 | 2500 | 60 | 5.66 |
The tinkle of bells 5 | 3000 | 65 | 10.56 |
Table (3)
In one example, the single-frequency the tinkle of bells of predetermined quantity is prestored in user mobile phone, which is that will not make
User's ear feels the tinkle of bells of pain, and preserve the frequency of the above single-frequency the tinkle of bells, sound pressure level and loudness in client
Corresponding data.In one example, the single-frequency the tinkle of bells prestored can be stored in server in a manner of the tinkle of bells library, later can basis
Specific mechanism is downloaded to local.If user is according to hobby downloading in advance;Or it can be switched in user, and when connection wireless network
Downloading etc., will not enumerate herein.
It continues to explain, in one example, choosing the required preset condition met when default the tinkle of bells may include: target bell
The loudness of sound is greater than the first loudness (i.e. SAlways), in another example, preset condition can also include: target the tinkle of bells frequency and
Sound pressure level is all larger than the corresponding frequency of the maximum frequency range of loudness and sound pressure level in each frequency range.That is, the target bell chosen
Sound meets the following conditions: as close possible to noise longitudinal direction degree SAlways, and compare SAlwaysThe big the tinkle of bells of loudness, this point mainly considers, if
Total loudness S of the tinkle of bells loudness that direct election takes than ambient soundAlwaysIt is much larger, it is easier to hear although family can be used, may make
It is excessively lofty to obtain sound.By taking above-mentioned table (3) as an example, loudness is greater than 6.61: the tinkle of bells 2 (9.19), the tinkle of bells 3 (9.85) and the tinkle of bells
5(10.56)。
In one example, the target the tinkle of bells of selection can be one of the tinkle of bells 2, the tinkle of bells 3 and the tinkle of bells 5, the target bell selected
Sound persistently plays.The difference that loudness and the first loudness that preset condition includes target the tinkle of bells such as can be set is less than preset value, this
It is 3 that preset value can be set in embodiment, that is to say, that selects loudness greater than 6.61, and the tinkle of bells of the difference less than 3 is as mesh
The tinkle of bells is marked, then loudness is greater than 6.61, and the tinkle of bells of the difference less than 3 is the tinkle of bells 2 in present embodiment.
In another example, the tinkle of bells may include: after adjusting frequency processing in advance to a certain the tinkle of bells in preset the tinkle of bells library
The tinkle of bells of obtained multiple and different frequencies is chosen when choosing target the tinkle of bells according to multiple the tinkle of bells loudness values after frequency-conversion processing.
It in another example, can be with if the tinkle of bells quantity for meeting preset condition chosen from the tinkle of bells library is greater than 1
The smallest the tinkle of bells of loudness is chosen as target the tinkle of bells.According to upper table (3), meet in the tinkle of bells of preset condition, the smallest bell of loudness
Sound is the tinkle of bells 2, then the target the tinkle of bells selected is the tinkle of bells 2.
In another example, the tinkle of bells 2, the tinkle of bells 3, the tinkle of bells 5 selected can be playd in order, it can root when plaing in order
It is played out according to the mode of loudness from low to high, so that the tinkle of bells played is more and more prominent, is increasingly easy to be heard by the user.
Although it should be noted that be illustrated for including the tinkle of bells library of five the tinkle of bells in present embodiment, and it is real
In the application of border, the tinkle of bells in the tinkle of bells library can also be more, such as 10, will not enumerate herein.Furthermore though in present embodiment
So by taking single-frequency the tinkle of bells as an example, but in practical application, furthermore it is also possible to first analyze required target bell according to ambient sound data
The condition of sound downloads the tinkle of bells met further according to the condition of target the tinkle of bells from the tinkle of bells library, and selection mode no longer arranges one by one herein
It lifts.
As it can be seen that avoiding the method based on volume adjustment when existing adjusting the tinkle of bells in present embodiment, and use more representative
Ear avoids the sound and light setting target the tinkle of bells from volume, but is arranged from loudness angle to the loudness parameter of the susceptibility of sound
Target the tinkle of bells analyzes the loudness for the tinkle of bells that user at that time easily identifies especially by the loudness parameter for measuring ambient sound
Range selects the tinkle of bells for meeting preset condition in conjunction with preset the tinkle of bells library from the tinkle of bells library, so that the target the tinkle of bells of setting is more
It is easily heard by the user, so that the tinkle of bells is reminded more effectively.
Second embodiment of the present invention is related to a kind of the tinkle of bells setting method.Second embodiment is in first embodiment
On the basis of be further improved, mainly the improvement is that: in second embodiment of the invention, choose target the tinkle of bells when it is pre-
If condition can increase: the frequency and sound pressure level of target the tinkle of bells are all larger than the corresponding frequency of the maximum frequency range of loudness in each frequency range
And sound pressure level, so that the effect for the target the tinkle of bells chosen is more preferable.
Specifically, by taking the tinkle of bells library of the analysis data of above-mentioned table (2) and table (3) as an example, selected with loudness condition three
A the tinkle of bells be the tinkle of bells 2, the tinkle of bells 3 and the tinkle of bells 5, continue in present embodiment frequency and sound pressure level condition chosen, specifically
Say, the frequency of the maximum frequency range of loudness is 1200Hz, and corresponding sound pressure level is 60dB, so in the tinkle of bells 2, the tinkle of bells 3 and the tinkle of bells 5
Frequency is greater than 1200Hz, and the tinkle of bells of the sound pressure level greater than 60dB is the tinkle of bells 3, that is to say, that the target the tinkle of bells selected is the tinkle of bells 3.
As it can be seen that present embodiment is not only according to selection target the tinkle of bells with loudness, it is foundation herein in connection with frequency and sound pressure level
It chooses, so that the target the tinkle of bells selected is easier to be heard by the user, further promotes the effect of the target the tinkle of bells selected.
Third embodiment of the present invention is related to a kind of the tinkle of bells setting method.Third embodiment and first embodiment are big
Cause identical, be in place of the main distinction: it is by choosing from default the tinkle of bells library that target the tinkle of bells is obtained in first embodiment
Mode obtains, and is to obtain in present embodiment by way of to preset the tinkle of bells making frequency adjustment, provides another mesh
Mark the acquisition modes of the tinkle of bells.
The flow chart of the tinkle of bells setting method is as shown in figure 4, specific as follows in present embodiment:
In present embodiment step 401 and step 402 in first embodiment step 101 and step 102 it is similar,
Details are not described herein.
Step 403, the frequency of default the tinkle of bells is adjusted until default the tinkle of bells adjusted meets preset condition, it is default by meeting
The default the tinkle of bells adjusted of condition is as target the tinkle of bells.
Specifically, it since sensitivity of the human ear to the sound of different frequency is different, even if loudness is identical, can also generate
Different auditory effects, and since after changing frequency, loudness parameter be may also change accordingly, so present embodiment is pre- by user
If the tinkle of bells making frequency adjustment so that the tinkle of bells adjusted meets preset condition, it can so that the tinkle of bells adjusted meets
Loudness is greater than the first loudness.
In present embodiment, the frequency for adjusting the tinkle of bells can be realized by audio processing software, can also be put by fundamental frequency
Contracting mode is realized: specifically to the frequency component in signal simultaneously multiplied by a scale factor.Such as in a signal comprising f1 and
Two frequency contents of f2, after scale factor a, the frequency in the signal becomes af1 and af2.In this process, in addition to
Reference frequency is adjusted on the tune needed, corresponding harmonic components can also be modified, and keep original multiple proportion.According to
Musical note definition, as a=2, tone improves octave, and as a=0.5, tone reduces octave.
To sum up, present embodiments provide for the acquisition modes of another target the tinkle of bells, without default the tinkle of bells in this mode
Library directly carries out audio processing according to the tinkle of bells of existing setting, reduces the demand that prestores of the tinkle of bells, saves memory space.And due to
Default the tinkle of bells is that user is default according to hobby, so adjusting on the basis of default the tinkle of bells, more meets the hobby of user.
The step of various methods divide above, be intended merely to describe it is clear, when realization can be merged into a step or
Certain steps are split, multiple steps are decomposed into, as long as including identical logical relation, all in the protection scope of this patent
It is interior;To adding inessential modification in algorithm or in process or introducing inessential design, but its algorithm is not changed
Core design with process is all in the protection scope of the patent.
Four embodiment of the invention is related to a kind of the tinkle of bells setting device, as shown in Figure 5, comprising:
Module is obtained, for obtaining ambient sound data;
Parsing module determines the first loudness of ambient sound data for parsing ambient sound data;
Target the tinkle of bells determining module, for obtaining the tinkle of bells for meeting preset condition as target the tinkle of bells, wherein preset condition
It include: the loudness of target the tinkle of bells greater than the first loudness.
In one example, obtaining module includes:
First acquisition submodule, for obtaining ambient sound data after the tinkle of bells jingle bell duration is more than preset duration;Or
Person,
Second acquisition submodule, for obtaining ambient sound data after incoming ring tone is triggered.
In one example, parsing module includes:
Frequency-division section submodule, for according to frequency information, ambient sound data to be divided into multiple frequency ranges;
Sound pressure level acquisition submodule, for obtaining the sound pressure level of each frequency range;
Loudness acquisition submodule, for determining the loudness of each frequency range according to the sound pressure level of each frequency range;
Computational submodule, for calculating total loudness of ambient sound data according to the loudness of each frequency range, by total loudness
As the first loudness.
In one example, frequency-division section submodule is specifically used for that the number of default band limits will be belonged in ambient sound data
According to being divided into multiple frequency ranges.
In one example, computational submodule calculates total loudness using following formula:
Wherein, α is octave, and Si is the loudness of i-th of frequency range, and Smax is the maximum loudness in n frequency range.
In one example, the preset condition of target the tinkle of bells determining module further include: the frequency and sound pressure level of target the tinkle of bells
It is all larger than the corresponding frequency of the maximum frequency range of loudness and sound pressure level in each frequency range.
In one example, the preset condition of target the tinkle of bells determining module further include: the loudness of target the tinkle of bells and the first sound
The difference of degree is less than preset value.
In one example, target the tinkle of bells determining module, comprising:
First the tinkle of bells determines submodule, meets described in the tinkle of bells conduct of preset condition for choosing from preset the tinkle of bells library
Target the tinkle of bells;Alternatively,
Second the tinkle of bells determines submodule, for adjust the frequency of default the tinkle of bells until default the tinkle of bells adjusted meet it is described
Preset condition will meet the default the tinkle of bells adjusted of the preset condition as the target the tinkle of bells.
In one example, the second the tinkle of bells determines that submodule is specifically used for the bell for meeting the preset condition that judgement is chosen
Sound quantity chooses the smallest the tinkle of bells of loudness as target the tinkle of bells when the tinkle of bells quantity chosen is greater than 1.
It is not difficult to find that present embodiment is system embodiment corresponding with first embodiment, present embodiment can be with
First embodiment is worked in coordination implementation.The relevant technical details mentioned in first embodiment still have in the present embodiment
Effect, in order to reduce repetition, which is not described herein again.Correspondingly, the relevant technical details mentioned in present embodiment are also applicable in
In first embodiment.
It is noted that each module involved in present embodiment is logic module, and in practical applications, one
A logic unit can be a physical unit, be also possible to a part of a physical unit, can also be with multiple physics lists
The combination of member is realized.In addition, in order to protrude innovative part of the invention, it will not be with solution institute of the present invention in present embodiment
The technical issues of proposition, the less close unit of relationship introduced, but this does not indicate that there is no other single in present embodiment
Member.
Fifth embodiment of the invention is related to a kind of mobile terminal, as shown in Figure 6, comprising:
At least one processor;And the memory being connect at least one processor communication;Wherein, memory stores
There is the instruction that can be executed by least one processor, instruction is executed by least one processor, so that at least one processor energy
It is enough to execute such as the tinkle of bells setting method in first embodiment or second embodiment.
Wherein, memory is connected with processor using bus mode, and bus may include the bus of any number of interconnection
And bridge, bus is by one or more processors together with the various circuit connections of memory.Bus can also will be such as peripheral
Together with various other circuit connections of management circuit or the like, these are all well known in the art for equipment, voltage-stablizer
, therefore, it will not be further described herein.Bus interface provides interface between bus and transceiver.Transceiver
Can be an element, be also possible to multiple element, such as multiple receivers and transmitter, provide for over a transmission medium with
The unit of various other device communications.The data handled through processor are transmitted on the radio medium by antenna, further,
Antenna also receives data and transfers data to processor.
Processor is responsible for managing bus and common processing, can also provide various functions, including periodically, peripheral interface,
Voltage adjusting, power management and other control functions.And memory can be used for storage processor and execute operation when institute
The data used.
Sixth embodiment of the invention is related to a kind of computer readable storage medium, is stored with computer program.Computer
Above method embodiment is realized when program is executed by processor.
That is, it will be understood by those skilled in the art that implement the method for the above embodiments be can be with
Relevant hardware is instructed to complete by program, which is stored in a storage medium, including some instructions are to make
It obtains an equipment (can be single-chip microcontroller, chip etc.) or processor (processor) executes each embodiment method of the application
All or part of the steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey
The medium of sequence code.
It will be understood by those skilled in the art that the respective embodiments described above are to realize specific embodiments of the present invention,
And in practical applications, can to it, various changes can be made in the form and details, without departing from the spirit and scope of the present invention.
Claims (12)
1. a kind of the tinkle of bells setting method characterized by comprising
Obtain ambient sound data;
The ambient sound data are parsed, determine the first loudness of the ambient sound data;
The tinkle of bells for meeting preset condition is obtained as target the tinkle of bells, wherein the preset condition includes: that the loudness of the tinkle of bells is big
In first loudness.
2. the tinkle of bells setting method according to claim 1, which is characterized in that the acquisition ambient sound data include:
After the tinkle of bells jingle bell duration is more than preset duration, ambient sound data are obtained;Alternatively,
After incoming ring tone is triggered, ambient sound data are obtained.
3. the tinkle of bells setting method according to claim 1, which is characterized in that the parsing ambient sound data, really
First loudness of the fixed ambient sound data, comprising:
According to frequency information, the ambient sound data are divided into multiple frequency ranges;
Obtain the sound pressure level of each frequency range;
The loudness of each frequency range is determined according to the sound pressure level of each frequency range;
Total loudness that the ambient sound data are calculated according to the loudness of each frequency range, using total loudness as described first
Loudness.
4. the tinkle of bells setting method according to claim 3, which is characterized in that it is described the ambient sound data are divided into it is more
A frequency range, specifically: the data for belonging to default band limits in the ambient sound data are divided into multiple frequency ranges.
5. the tinkle of bells setting method according to claim 3, which is characterized in that according to the loudness of each frequency range, utilization is following
Formula calculates total loudness of the ambient sound data:
Wherein, the α is octave, and the Si is the loudness of i-th of frequency range, and the Smax is the maximum loudness in n frequency range.
6. the tinkle of bells setting method according to claim 3, which is characterized in that the preset condition further include: the target
The frequency and sound pressure level of the tinkle of bells are all larger than the corresponding frequency of the maximum frequency range of loudness and sound pressure level in each frequency range.
7. the tinkle of bells setting method according to claim 1, which is characterized in that the preset condition further include: the target
The difference of the loudness of the tinkle of bells and first loudness is less than preset value.
8. the tinkle of bells setting method according to claim 1, which is characterized in that described to obtain the tinkle of bells work for meeting preset condition
For target the tinkle of bells, specifically:
The tinkle of bells for meeting preset condition is chosen from preset the tinkle of bells library as the target the tinkle of bells;Alternatively,
The frequency of the default the tinkle of bells of adjustment meets the preset condition up to default the tinkle of bells adjusted, will meet the preset condition
Default the tinkle of bells adjusted as the target the tinkle of bells.
9. the tinkle of bells setting method according to claim 8, which is characterized in that if being met by being chosen from the tinkle of bells library
The tinkle of bells of preset condition then judges the tinkle of bells quantity for meeting the preset condition chosen, is choosing as the target the tinkle of bells
The tinkle of bells quantity be greater than 1 when, choose the smallest the tinkle of bells of loudness as target the tinkle of bells.
10. device is arranged in a kind of the tinkle of bells characterized by comprising
Module is obtained, for obtaining ambient sound data;
Parsing module determines the first loudness of the ambient sound data for parsing the ambient sound data;
Target the tinkle of bells determining module, for obtaining the tinkle of bells for meeting preset condition as target the tinkle of bells, wherein the preset condition
It include: the loudness of the tinkle of bells greater than first loudness.
11. a kind of mobile terminal characterized by comprising
At least one processor;And
The memory being connect at least one described processor communication;Wherein,
The memory is stored with the instruction that can be executed by least one described processor, and described instruction is by described at least one
It manages device to execute, so that at least one described processor is able to carry out the tinkle of bells setting side as claimed in any one of claims 1-9 wherein
Method.
12. a kind of computer readable storage medium, is stored with computer program, which is characterized in that the computer program is located
Reason device realizes the tinkle of bells setting method as claimed in any one of claims 1-9 wherein when executing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910661772.2A CN110401772B (en) | 2019-07-22 | 2019-07-22 | Ringtone setting method, ringtone setting device, mobile terminal, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910661772.2A CN110401772B (en) | 2019-07-22 | 2019-07-22 | Ringtone setting method, ringtone setting device, mobile terminal, and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110401772A true CN110401772A (en) | 2019-11-01 |
CN110401772B CN110401772B (en) | 2021-08-06 |
Family
ID=68325310
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910661772.2A Active CN110401772B (en) | 2019-07-22 | 2019-07-22 | Ringtone setting method, ringtone setting device, mobile terminal, and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110401772B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112351138A (en) * | 2020-11-03 | 2021-02-09 | Tcl通讯(宁波)有限公司 | Automatic ring mode changing method and device, storage medium and mobile terminal |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1324171A (en) * | 2000-05-11 | 2001-11-28 | 英业达集团(南京)电子技术有限公司 | Intelligent ringing realizing method and device |
US20040264705A1 (en) * | 2003-06-30 | 2004-12-30 | Nokia Corporation | Context aware adaptive equalization of user interface sounds |
CN101578848A (en) * | 2006-12-29 | 2009-11-11 | 摩托罗拉公司 | Methods and devices for adaptive ringtone generation |
CN103177727A (en) * | 2011-12-23 | 2013-06-26 | 重庆重邮信科通信技术有限公司 | Audio frequency band processing method and system |
CN104219392A (en) * | 2014-09-29 | 2014-12-17 | 宇龙计算机通信科技(深圳)有限公司 | Intelligent incoming ring adjusting method, intelligent incoming ring adjusting system and mobile terminal |
CN105681589A (en) * | 2016-03-24 | 2016-06-15 | 宇龙计算机通信科技(深圳)有限公司 | Incoming call prompt method and terminal |
CN106791252A (en) * | 2017-01-05 | 2017-05-31 | 珠海格力电器股份有限公司 | The player method and device of a kind of incoming ring tone |
CN108012035A (en) * | 2017-12-26 | 2018-05-08 | 奇酷互联网络科技(深圳)有限公司 | The tinkle of bells adjusting method, device, readable storage medium storing program for executing and intelligent terminal |
CN108762716A (en) * | 2018-08-27 | 2018-11-06 | 歌尔科技有限公司 | The method, apparatus and earphone of volume adjustment |
-
2019
- 2019-07-22 CN CN201910661772.2A patent/CN110401772B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1324171A (en) * | 2000-05-11 | 2001-11-28 | 英业达集团(南京)电子技术有限公司 | Intelligent ringing realizing method and device |
US20040264705A1 (en) * | 2003-06-30 | 2004-12-30 | Nokia Corporation | Context aware adaptive equalization of user interface sounds |
CN101578848A (en) * | 2006-12-29 | 2009-11-11 | 摩托罗拉公司 | Methods and devices for adaptive ringtone generation |
CN103177727A (en) * | 2011-12-23 | 2013-06-26 | 重庆重邮信科通信技术有限公司 | Audio frequency band processing method and system |
CN104219392A (en) * | 2014-09-29 | 2014-12-17 | 宇龙计算机通信科技(深圳)有限公司 | Intelligent incoming ring adjusting method, intelligent incoming ring adjusting system and mobile terminal |
CN105681589A (en) * | 2016-03-24 | 2016-06-15 | 宇龙计算机通信科技(深圳)有限公司 | Incoming call prompt method and terminal |
CN106791252A (en) * | 2017-01-05 | 2017-05-31 | 珠海格力电器股份有限公司 | The player method and device of a kind of incoming ring tone |
CN108012035A (en) * | 2017-12-26 | 2018-05-08 | 奇酷互联网络科技(深圳)有限公司 | The tinkle of bells adjusting method, device, readable storage medium storing program for executing and intelligent terminal |
CN108762716A (en) * | 2018-08-27 | 2018-11-06 | 歌尔科技有限公司 | The method, apparatus and earphone of volume adjustment |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112351138A (en) * | 2020-11-03 | 2021-02-09 | Tcl通讯(宁波)有限公司 | Automatic ring mode changing method and device, storage medium and mobile terminal |
CN112351138B (en) * | 2020-11-03 | 2021-10-26 | Tcl通讯(宁波)有限公司 | Automatic ring mode changing method and device, storage medium and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN110401772B (en) | 2021-08-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6212496B1 (en) | Customizing audio output to a user's hearing in a digital telephone | |
CN108922558B (en) | Voice processing method, voice processing device and mobile terminal | |
CN109147818A (en) | Acoustic feature extracting method, device, storage medium and terminal device | |
CN102498482B (en) | System for adaptive voice intelligibility processing | |
WO2018205366A1 (en) | Audio signal adjustment method and system | |
CN104980337A (en) | Method and device for improving audio processing performance | |
CN110832830B (en) | Volume adjusting method and electronic equipment | |
CN102905028A (en) | Mobile terminal prompt information regulating method and corresponding mobile terminal | |
CN108172237B (en) | Voice call data processing method and device, storage medium and mobile terminal | |
CN111161699A (en) | Method, device and equipment for masking environmental noise | |
CN105262887A (en) | Mobile terminal and audio setting method thereof | |
US9251803B2 (en) | Voice filtering method, apparatus and electronic equipment | |
CN116980804B (en) | Volume adjustment method, device, equipment and readable storage medium | |
CN108418982B (en) | Voice call data processing method and device, storage medium and mobile terminal | |
CN110401772A (en) | The tinkle of bells setting method, the tinkle of bells setting device, mobile terminal and can storage medium | |
CN113176870B (en) | Volume adjustment method and device, electronic equipment and storage medium | |
JP2007512767A (en) | Method and device for generating a paging signal based on acoustic metrics of a noise signal | |
CN103618823A (en) | Mobile terminal ringtone customizing method and system | |
US20030072455A1 (en) | Method and system for generating audio streams during a hearing test | |
CN111045633A (en) | Method and apparatus for detecting loudness of audio signal | |
US8897840B1 (en) | Generating a wireless device ringtone | |
KR20020020162A (en) | A terminal for generating signals inducing a brain wave, and a system for generating signals inducing a brain wave using a network and method thereof | |
CN109995941B (en) | Data adjusting method, device and storage medium | |
CN110827851B (en) | Method for adjusting volume, electronic device and computer storage medium | |
CN107493376A (en) | A kind of ringing volume adjusting method and device |
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 |