CN105227151A - Speech playing method and system - Google Patents

Speech playing method and system Download PDF

Info

Publication number
CN105227151A
CN105227151A CN201410301272.5A CN201410301272A CN105227151A CN 105227151 A CN105227151 A CN 105227151A CN 201410301272 A CN201410301272 A CN 201410301272A CN 105227151 A CN105227151 A CN 105227151A
Authority
CN
China
Prior art keywords
frequency
information
volume value
bandpass filter
low frequency
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
Application number
CN201410301272.5A
Other languages
Chinese (zh)
Other versions
CN105227151B (en
Inventor
程德凯
吕艳红
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Midea Group Co Ltd
Original Assignee
Midea Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Midea Group Co Ltd filed Critical Midea Group Co Ltd
Priority to CN201410301272.5A priority Critical patent/CN105227151B/en
Publication of CN105227151A publication Critical patent/CN105227151A/en
Application granted granted Critical
Publication of CN105227151B publication Critical patent/CN105227151B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The embodiment of the present invention discloses a kind of speech playing method and system, and described speech playing method comprises: gather the acoustic information in environment; The described acoustic information gathered is transferred to low frequency bandpass filter and high freguency bandpass filter respectively, obtains through the filtered low frequency information of low frequency bandpass filter, and through the filtered high-frequency information of high freguency bandpass filter; The audio frequency component of more described low frequency information and high-frequency information, according to comparative result, the volume value needed for voice messaging is play in adjustment; According to the described volume value after adjustment, play described voice messaging to user; Have and automatically can adjust broadcast sound volume and play the beneficial effect of voice messaging according to the volume after adjustment by the ambient conditions residing for this playback terminal.

Description

Speech playing method and system
Technical field
The present invention relates to speech play technology, particularly relate to a kind of speech playing method and system.
Background technology
Along with the progress of speech play technology, the playback equipment of increasing the equipment such as household electrical appliance such as television set, air conditioner or other types, if the playback terminals such as the equipment of raising one's voice are when receiving corresponding play instruction, all can be play corresponding voice messaging and listening to for user.Conventional playback equipment can only be play corresponding voice messaging according to fixing volume, and environmentally situation such as environmental noise etc. can not adjust corresponding broadcast sound volume.Therefore, the broadcast sound volume that how environmentally noise adjusts playback terminal becomes a problem demanding prompt solution.
The way that conventional environmentally noise adjusts broadcast sound volume is: using the level of noise of 20Hz ~ 20kHz that collects as input signal, and directly above-mentioned input signal is adjusted, but be to be can't hear by people's ear or the sound of insensitive low frequency and radio-frequency component produces greatly in above-mentioned input signal, these low frequencies and radio-frequency component produce larger interference by the control of broadcast sound volume.
Above content is only auxiliary and understands technical scheme of the present invention, does not represent and admits that foregoing is prior art.
Summary of the invention
Main purpose of the present invention is that environmentally sound is to adjust broadcast sound volume.
For achieving the above object, the embodiment of the present invention provides a kind of speech playing method, comprises the following steps:
Gather the acoustic information in environment;
The described acoustic information gathered is transferred to low frequency bandpass filter and high freguency bandpass filter respectively, obtains through the filtered low frequency information of low frequency bandpass filter, and through the filtered high-frequency information of high freguency bandpass filter;
The audio frequency component of more described low frequency information and high-frequency information, according to comparative result, the volume value needed for voice messaging is play in adjustment;
According to the described volume value after adjustment, play described voice messaging to user.
Preferably, the described described acoustic information by collection transfers to low frequency bandpass filter and high freguency bandpass filter respectively, obtains through the filtered low frequency information of low frequency bandpass filter, and comprises through the step of the filtered high-frequency information of high freguency bandpass filter:
The described acoustic information gathered is transferred to low frequency bandpass filter, and filtering is less than the low-frequency component of the first predeterminated frequency, obtains the described low frequency information that frequency band is described first predeterminated frequency to the second predeterminated frequency;
The described acoustic information gathered is transferred to high freguency bandpass filter, and filtering is higher than the radio-frequency component of the 3rd predeterminated frequency, and obtaining frequency band is the described high-frequency information of described second predeterminated frequency to the 3rd predeterminated frequency.
Preferably, described according to comparative result, the step of the volume value that adjustment is play needed for voice messaging comprises:
If comparative result is: the audio frequency component of described low frequency information is higher than the audio frequency component of described high-frequency information, then adjustment is play the volume value required for voice messaging and is:
The bass value that described low frequency information is corresponding and first presets volume value sum.
Preferably, described according to comparative result, the step of the volume value that adjustment is play needed for voice messaging comprises:
If comparative result is: the audio frequency component of described low frequency information is lower than the audio frequency component of described high-frequency information, then adjustment is play the volume value required for voice messaging and is:
The high frequency audio value that described high-frequency information is corresponding and second presets volume value sum.
Preferably, described according to comparative result, the step of the volume value that adjustment is play needed for voice messaging comprises:
If comparative result is: the audio frequency component of described low frequency information and the audio frequency component of described high-frequency information are all lower than preset audio composition, then the volume value of adjustment broadcasting required for voice messaging is:
The collection volume value that the described acoustic information gathered is corresponding and the 3rd presets volume value sum.
In addition, for achieving the above object, the present invention also provides a kind of language play back system, comprising:
Acquisition module, for gathering the acoustic information in environment;
Filtration module, for the described acoustic information gathered is transferred to low frequency bandpass filter and high freguency bandpass filter respectively, obtains through the filtered low frequency information of low frequency bandpass filter, and through the filtered high-frequency information of high freguency bandpass filter;
Adjusting module, for the audio frequency component of more described low frequency information and high-frequency information, according to comparative result, the volume value needed for voice messaging is play in adjustment;
Playing module, for according to the described volume value after adjustment, plays described voice messaging to user.
Preferably, described filtration module also for:
The described acoustic information gathered is transferred to low frequency bandpass filter, and filtering is less than the low-frequency component of the first predeterminated frequency, obtains the described low frequency information that frequency band is described first predeterminated frequency to the second predeterminated frequency;
The described acoustic information gathered is transferred to high freguency bandpass filter, and filtering is higher than the radio-frequency component of the 3rd predeterminated frequency, and obtaining frequency band is the described high-frequency information of described second predeterminated frequency to the 3rd predeterminated frequency.
Preferably, described adjusting module also for:
If comparative result is: the audio frequency component of described low frequency information is higher than the audio frequency component of described high-frequency information, then adjustment is play the volume value required for voice messaging and is:
The bass value that described low frequency information is corresponding and first presets volume value sum.
Preferably, described adjusting module also for:
If comparative result is: the audio frequency component of described low frequency information is lower than the audio frequency component of described high-frequency information, then adjustment is play the volume value required for voice messaging and is:
The high frequency audio value that described high-frequency information is corresponding and second presets volume value sum.
Preferably, described adjusting module also for:
If comparative result is: the audio frequency component of described low frequency information and the audio frequency component of described high-frequency information are all lower than preset audio composition, then the volume value of adjustment broadcasting required for voice messaging is:
The collection volume value that the described acoustic information gathered is corresponding and the 3rd presets volume value sum.
Embodiment of the present invention playback terminal gathers the acoustic information in environment; The described acoustic information gathered is transferred to low frequency bandpass filter and high freguency bandpass filter respectively, obtains through the filtered low frequency information of low frequency bandpass filter, and through the filtered high-frequency information of high freguency bandpass filter; The audio frequency component of more described low frequency information and high-frequency information, according to comparative result, the volume value needed for voice messaging is play in adjustment; According to the described volume value after adjustment, play described voice messaging to user; Have and automatically can adjust broadcast sound volume and play the beneficial effect of voice messaging according to the volume after adjustment by the ambient conditions residing for this playback terminal.
Accompanying drawing explanation
Fig. 1 is the hardware structure schematic diagram that the present invention realizes the playback terminal preferred embodiment of speech play;
Fig. 2 is the high-level schematic functional block diagram of language play back system preferred embodiment of the present invention;
Fig. 3 is the schematic flow sheet of speech playing method preferred embodiment of the present invention.
The realization of embodiment of the present invention object, functional characteristics and advantage will in conjunction with the embodiments, are described further with reference to accompanying drawing.
Embodiment
Technical scheme of the present invention is further illustrated below in conjunction with Figure of description and specific embodiment.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Please refer to Fig. 1, Fig. 1 is the hardware structure schematic diagram that the present invention realizes the playback terminal preferred embodiment of speech play.As shown in Figure 1, described playback terminal 100 comprises processing unit 11, memory cell 12, collecting unit 13, language play back system 14.Wherein, described playback terminal 100 includes but not limited to: PC (PersonalComputer, PC) machine, mobile terminal (such as mobile phone, panel computer etc.), household electrical appliance (such as air conditioner, remote controller etc.) or other any suitable electronic equipments.
Described memory cell 12, for storing: described language play back system 14 and service data thereof, the acoustic information that described language play back system 14 gathers, described language play back system 14 adjust the volume value etc. that the adjustment parameter needed for broadcast sound volume is such as preset.It is emphasized that this memory cell 12 both can be an independent storage device, also can be the general designation of multiple different storage device, therefore not to repeat here.
Described collecting unit 13, under the control of described processing unit 11, gathers the acoustic information in environment residing for playback terminal 100.Corresponding voice messaging can be play with suitable volume for the ease of playback terminal 100, described collecting unit 13 under the control of described processing unit 11, the acoustic information in Real-time Collection environment.Certainly, also can according to specific needs, in order to reduce the power consumption of playback terminal 100, described collecting unit 13, under the control of described processing unit 11, gathers the acoustic information in environment according to predetermined period.
Described processing unit 11, for calling and performing described language play back system 14, to gather the acoustic information in environment; The described acoustic information gathered is transferred to low frequency bandpass filter and high freguency bandpass filter respectively, obtains through the filtered low frequency information of low frequency bandpass filter, and through the filtered high-frequency information of high freguency bandpass filter; The audio frequency component of more described low frequency information and high-frequency information, according to comparative result, the volume value needed for voice messaging is play in adjustment; According to the described volume value after adjustment, play described voice messaging to user.This processing unit 11 can be both independent unit with memory cell 12 respectively, and also can integrate, form a controller, therefore not to repeat here.
In the present embodiment, described acoustic information can be understood as the information corresponding to any sound in environment residing for playback terminal 100; Such as, sound that is that people's ear of the sound that the sound that nature is corresponding, people send, musical sound or other types can be heard or that can not hear, as long as the described acoustic information that described playback terminal 100 can gather.
In the present embodiment, described processing unit 11 calls and performs in the process of described language play back system 14, when the described acoustic information gathered is transferred to low frequency bandpass filter, the interference of the low-frequency component of filtering below 200Hz, this is because, lower than in the audio frequency component of 200Hz, proportion shared by the sound that nature is corresponding is very large, and it is unstable, but it is little to the interference of the sense of hearing, so by its filtering, be convenient to follow-up described playback terminal 100 and the described acoustic information gathered is processed, thus play out the acceptable acoustic information of people's ear.By above-mentioned implementation, the playback terminal 100 described in the embodiment of the present invention reach can environmentally situation to adjust the object of broadcast sound volume.
Please refer to Fig. 2, Fig. 2 is the high-level schematic functional block diagram of language play back system preferred embodiment of the present invention.
It is emphasized that, to one skilled in the art, functional block diagram shown in Fig. 2 is only the exemplary plot of a preferred embodiment, and those skilled in the art, around the functional module of the described language play back system 14 shown in Fig. 2, can carry out supplementing of new functional module easily; The title of each functional module is self-defined title, only for each program function block of the described language play back system 14 of auxiliary understanding, be not used in and limit technical scheme of the present invention, the core of technical solution of the present invention is, the function that the functional module of respective define name will be reached.
The described language play back system 14 that the present embodiment proposes runs in playback terminal 100 described in Fig. 1, and described language play back system 14 comprises: acquisition module 141, filtration module 142, adjusting module 143 and playing module 144, and the function of modules is as follows:
Acquisition module 141, for gathering the acoustic information in environment;
In the present embodiment, the acoustic information that acquisition module 141 gathers from current environment comprises: all sound that acquisition module 141 described in current environment can collect, and includes but not limited to: sound that is that people's ear of the sound that the sound that nature is corresponding, people send, musical sound or other types can be heard or that can not hear.In order to get the acoustic situations of environment residing for described playback terminal 100 in time, be convenient to described playback terminal 100 plays suitable volume in time voice messaging to user, when in the process that language play back system 14 runs, acquisition module 141 gathers corresponding acoustic information in real time from the current environment residing for described playback terminal 100.Certainly, also can in order to save the operating cost of language play back system 14, reduce the power consumption of language play back system 14, acquisition module 141 also can gather corresponding acoustic information according to predetermined period from the current environment residing for described playback terminal 100.Described predetermined period can be self-defined by language play back system 14, such as arranging described predetermined period is 10ms, also can be arranged according to self-demand by user, or running the playback terminal 100 of described language play back system 14 when dispatching from the factory, arranged according to the running environment of described language play back system 14 by technical staff; The concrete duration of the present embodiment to described predetermined period does not specifically limit.Certainly, this predetermined period also can carry out upgrading or resetting according to specific needs.
Filtration module 142, for the described acoustic information gathered is transferred to low frequency bandpass filter and high freguency bandpass filter respectively, obtains through the filtered low frequency information of low frequency bandpass filter, and through the filtered high-frequency information of high freguency bandpass filter;
After described acquisition module 141 collects corresponding acoustic information, the described acoustic information that described acquisition module 141 gathers is transferred to low frequency bandpass filter and high freguency bandpass filter by described filtration module 142 respectively, after the described acoustic information gathered is carried out filtering, again the filtered acoustic information obtained is sent to described adjusting module 143, then is adjusted according to the filtered acoustic information of described filtration module 142 by described adjusting module 143.
In the embodiment of the present invention, when described filtration module 142 carries out filtering to described acoustic information, the acoustic constituents of the acoustic constituents and high band that human auditory system are affected to little low-frequency range is carried out filtering.The described acoustic information that described acquisition module 141 gathers by filtration module 142, after low frequency bandpass filter filtering, obtains corresponding low frequency information; The described acoustic information gathered by described acquisition module 141, after high freguency bandpass filter filtering, obtains corresponding high-frequency information.Wherein, the particular type of described low frequency bandpass filter and high freguency bandpass filter and design parameter can be arranged by the specific environment residing for real needs and described playback terminal 100, and the embodiment of the present invention does not limit the particular type of above-mentioned low frequency bandpass filter and high freguency bandpass filter and design parameter.
Adjusting module 143, for the audio frequency component of more described low frequency information and high-frequency information, according to comparative result, the volume value needed for voice messaging is play in adjustment;
When after the described acoustic information filtering that filtration module 142 pairs of acquisition modules 141 gather, the acoustic information obtained is sent to described adjusting module 143, the acoustic information obtained after comparing filtering by described adjusting module 143 after filtering; Such as, in the more filtered acoustic information of described adjusting module 143, the audio frequency component that low frequency information is corresponding and the ratio shared by audio frequency component corresponding to high-frequency information, and according to comparative result, take corresponding adjustable strategies.Or, after obtaining the filtered acoustic information of described filtration module 142, described adjusting module 143 is according to after filtering, the high-low sound frequency ratio value of the audio frequency component that audio frequency component corresponding to tut information medium-high frequency information is corresponding with described low frequency information, search the adjustable strategies table prestored, from described adjustable strategies table, obtain the volume value that described high-low sound frequency ratio value is corresponding, namely obtain described playing module 144 and play described volume value needed for voice messaging; Or, after the above-mentioned high-low sound frequency ratio value obtained, described high-low sound frequency ratio value is substituted into the mathematical formulae pre-set, utilize the mathematical formulae preset and arrange, calculate the volume value that described high-low sound frequency ratio value is corresponding, namely obtain described playing module 144 and play described volume value needed for voice messaging.
Playing module 144, for according to the described volume value after adjustment, plays described voice messaging to user.
Adjust after the filtered acoustic information of described filtration module 142 obtains corresponding described volume value at described adjusting module 143, described playing module 144, according to the described volume value obtained, plays corresponding voice messaging to user.
In the embodiment of the present invention, sound in environment residing for described playback terminal 100 may be change, therefore when acoustic information in described acquisition module 141 Real-time Collection environment, the described acoustic information collected also is likely change, when tut information being processed by each functional module in described playback terminal 100, the volume value that the broadcasting voice messaging finally obtained adopts is also likely different, therefore, in order to avoid causing the larger fluctuation playing the broadcast sound volume that voice messaging brings when described playback terminal 100 plays voice messaging to user because of the difference of broadcast sound volume value, following measure can be taked:
When acoustic information in the described acquisition module 141 Real-time Collection environment in described playback terminal 100, described filtration module 142 can be set and according to predetermined period, filtering be carried out to the described acoustic information that described acquisition module 141 gathers; Or, when the variable quantity of described volume value in preset duration that the adjustment of described adjusting module 143 obtains is no more than predetermined threshold value, continue to continue to play described voice messaging according to the described volume value used; Described predetermined threshold value can be understood as: the deficient change of above-mentioned volume value is to cause discovering of people's ear.Or, when the variable quantity of described volume value in preset duration that the adjustment of described adjusting module 143 obtains exceedes predetermined threshold value, described playing module 144 according to default fade interval successively volume value described in gradual change, and plays corresponding voice messaging according to the volume value of gradual change.Certainly, other modes also can be taked to reach above-mentioned technique effect, the embodiment of the present invention is not carried out exhaustive one by one to it.
Embodiment of the present invention playback terminal gathers the acoustic information in environment; The described acoustic information gathered is transferred to low frequency bandpass filter and high freguency bandpass filter respectively, obtains through the filtered low frequency information of low frequency bandpass filter, and through the filtered high-frequency information of high freguency bandpass filter; The audio frequency component of more described low frequency information and high-frequency information, according to comparative result, the volume value needed for voice messaging is play in adjustment; According to the described volume value after adjustment, play described voice messaging to user; Have and automatically can adjust broadcast sound volume and play the beneficial effect of voice messaging according to the volume after adjustment by the ambient conditions residing for this playback terminal; Improve the intelligent and man-machine interaction of language play back system, make speech play hommization more.
Further, continue referring to Fig. 1 and Fig. 2, in language play back system 14 of the present invention, the acoustic information that described acquisition module 141 gathers by described filtration module 142 carries out filtering by low frequency bandpass filter and high freguency bandpass filter respectively, obtain corresponding low frequency information and the implementation of high-frequency information, can take as under type:
When the described acoustic information that acquisition module 141 gathers by described filtration module 142 transfers to low frequency bandpass filter, the low-frequency component filtering of the first predeterminated frequency will be less than; In the present embodiment, preferably described first predeterminated frequency is 200Hz, this is because the composition of occurring in nature sound shared by being less than in this frequency range of 200Hz is comparatively large, and unstable, and the sense of hearing interference of audio frequency to people's ear being less than this frequency range of 200Hz is little, therefore by its filtering; Through low frequency bandpass filter, described filtration module 142, by means of only the sound of described first predeterminated frequency to the second predeterminated frequency, obtains the described low frequency information that frequency band is described first predeterminated frequency to the second predeterminated frequency; Such as described filtration module 142 is by means of only the sound of voice frequency band 200Hz ~ 4kHz, obtains the described low frequency information that frequency band is 200Hz ~ 4kHz.When the described acoustic information gathered is transferred to high freguency bandpass filter by filtration module 142, filtering is higher than the radio-frequency component of the 3rd predeterminated frequency, by the sound beyond high frequency to human auditory system scope, obtaining frequency band is the described high-frequency information of described second predeterminated frequency to the 3rd predeterminated frequency, in the present embodiment, preferably described 3rd predeterminated frequency is 20kH; Such as, filtering, higher than the radio-frequency component of 20kHz, by the sound beyond high frequency to human auditory system scope, obtains the described high-frequency information that frequency band is 4kHz ~ 20kHz.And then by more above-mentioned two types of adjusting module 143 and low frequency information and the audio frequency component shared in described acoustic information of high-frequency information, thus according to comparative result, adjustment draws corresponding described volume value.
Above-mentioned implementation is convenient to described adjusting module 143 and is compared filtered acoustic information and adjust, and makes processing procedure more convenient and efficient.
Further, continue referring to Fig. 1 and Fig. 2, in language play back system 14 of the present invention, described adjusting module 143 compares the audio frequency component of the filtered low frequency information of filtration module 142 and high-frequency information, and according to comparative result, adjustment is play in the implementation of the volume value needed for voice messaging, and described adjusting module 143, according to comparative result, adjusts described volume value and can take as under type:
If the described low frequency information that described adjusting module 143 pairs of filtration modules 142 obtain and the result that high-frequency information compares are: the audio frequency component of described low frequency information is higher than the audio frequency component of described high-frequency information, then adjustment is play the volume value required for voice messaging and is: the bass value that described low frequency information is corresponding and the first default volume value sum.Such as, it is 55db (decibel) that extraneous low-frequency band leads to acoustic pressure, and first to preset volume value be 10db, then the volume value that playback of audio information adopts is (55+10) db, i.e. in the preset range of 65db or more than 65db.
If the described low frequency information that described adjusting module 143 pairs of filtration modules 142 obtain and the result that high-frequency information compares are: the audio frequency component of described low frequency information is lower than the audio frequency component of described high-frequency information, then adjustment is play the volume value required for voice messaging and is: the high frequency audio value that described high-frequency information is corresponding and the second default volume value sum.Such as, extraneous high-frequency band pass acoustic pressure is 60db (decibel), and second to preset volume value be 6db, then the volume value that playback of audio information adopts is (60+6) db, i.e. in the preset range of 66db or more than 66db.
If the described low frequency information that described adjusting module 143 pairs of filtration modules 142 obtain and the result that high-frequency information compares are: the audio frequency component of described low frequency information and the audio frequency component of described high-frequency information are all lower than preset audio composition, then the volume value of adjustment broadcasting required for voice messaging is: the collection volume value and the 3rd that the described acoustic information of collection is corresponding presets volume value sum.Such as, the extraneous acoustic pressure that the acoustic information of collection is corresponding is 55db (decibel), and the 3rd to preset volume value be 6db, then the volume value that playback of audio information adopts is (55+6) db, i.e. in the preset range of 61db or more than 61db.
Described adjusting module 143 takes different adjustment modes according to different comparative results, improves flexibility and the diversity of audio frequency adjustment.
Please refer to Fig. 3, Fig. 3 is the schematic flow sheet of speech playing method preferred embodiment of the present invention.As shown in Figure 3, speech playing method of the present invention comprises the following steps:
Step S01, the acoustic information gathered in environment;
In the present embodiment, the acoustic information that playback terminal gathers from current environment comprises: all sound that playback terminal described in current environment can collect, and includes but not limited to: sound that is that people's ear of the sound that the sound that nature is corresponding, people send, musical sound or other types can be heard or that can not hear.In order to get the acoustic situations of environment residing for described playback terminal in time, be convenient to described playback terminal plays suitable volume in time voice messaging to user, playback terminal gathers corresponding acoustic information in real time from the current environment residing for described playback terminal.Certainly, also can in order to save the operating cost of playback terminal, reduce the power consumption of playback terminal, playback terminal also can gather corresponding acoustic information according to predetermined period from the current environment residing for described playback terminal.Described predetermined period can be self-defined by playback terminal, and such as arranging described predetermined period is 10ms, also can be arranged according to self-demand by user, or when playback terminal dispatches from the factory, is arranged according to the running environment of described playback terminal by technical staff; The concrete duration of the present embodiment to described predetermined period does not specifically limit.Certainly, this predetermined period also can carry out upgrading or resetting according to specific needs.
Step S02, the described acoustic information gathered is transferred to low frequency bandpass filter and high freguency bandpass filter respectively, to obtain through the filtered low frequency information of low frequency bandpass filter, and through the filtered high-frequency information of high freguency bandpass filter;
After collecting corresponding acoustic information, the described acoustic information gathered is transferred to low frequency bandpass filter and high freguency bandpass filter by described playback terminal respectively, after the described acoustic information gathered is carried out filtering, more filtered acoustic information is carried out to the adjustment of volume value.
In the embodiment of the present invention, when described playback terminal carries out filtering to described acoustic information, the acoustic constituents of the acoustic constituents and high band that human auditory system are affected to little low-frequency range is carried out filtering.The described acoustic information of collection after low frequency bandpass filter filtering, is obtained corresponding low frequency information by playback terminal; By the 1 described acoustic information gathered after high freguency bandpass filter filtering, obtain corresponding high-frequency information.Wherein, the particular type of described low frequency bandpass filter and high freguency bandpass filter and design parameter can be arranged by the specific environment residing for real needs and described playback terminal, and the embodiment of the present invention does not limit the particular type of above-mentioned low frequency bandpass filter and high freguency bandpass filter and design parameter.
The audio frequency component of step S03, more described low frequency information and high-frequency information, according to comparative result, the volume value needed for voice messaging is play in adjustment;
After playback terminal is to the described acoustic information filtering gathered, the acoustic information that playback terminal obtains after comparing filtering; Such as, in the more filtered acoustic information of described playback terminal, the audio frequency component that low frequency information is corresponding and the ratio shared by audio frequency component corresponding to high-frequency information, and according to comparative result, take corresponding adjustable strategies.Or, after obtaining filtered acoustic information, playback terminal is according to the high-low sound frequency ratio value of the audio frequency component that tut information medium-high frequency information after filtering the is corresponding audio frequency component corresponding with described low frequency information, search the adjustable strategies table prestored, from described adjustable strategies table, obtain the volume value that described high-low sound frequency ratio value is corresponding, namely obtain the described volume value of playback terminal broadcasting needed for voice messaging; Or, after the above-mentioned high-low sound frequency ratio value obtained, described high-low sound frequency ratio value is substituted into the mathematical formulae pre-set, utilize the mathematical formulae preset and arrange, calculate the volume value that described high-low sound frequency ratio value is corresponding, namely obtain the described volume value of playback terminal broadcasting needed for voice messaging.
Step S04, according to adjustment after described volume value, play described voice messaging to user.
Adjust after filtered acoustic information obtains corresponding described volume value at described playback terminal, described playback terminal, according to the described volume value obtained, plays corresponding voice messaging to user.
In the embodiment of the present invention, sound in environment residing for described playback terminal may be change, therefore when acoustic information in described playback terminal Real-time Collection environment, the described acoustic information collected also is likely change, when tut information being processed by each functional module in described playback terminal, the volume value that the broadcasting voice messaging finally obtained adopts is also likely different, therefore, in order to avoid causing the larger fluctuation playing the broadcast sound volume that voice messaging brings when described playback terminal plays voice messaging to user because of the difference of broadcast sound volume value, following measure can be taked:
When acoustic information in described playback terminal Real-time Collection environment, described playback terminal can be set and according to predetermined period, filtering be carried out to the described acoustic information gathered; Or, when the variable quantity of described volume value in preset duration that the adjustment of described playback terminal obtains is no more than predetermined threshold value, continue to continue to play described voice messaging according to the described volume value used; Described predetermined threshold value can be understood as: the deficient change of above-mentioned volume value is to cause discovering of people's ear.Or when the variable quantity of described volume value in preset duration that the adjustment of described playback terminal obtains exceedes predetermined threshold value, described playback terminal according to default fade interval successively volume value described in gradual change, and plays corresponding voice messaging according to the volume value of gradual change.Certainly, other modes also can be taked to reach above-mentioned technique effect, the embodiment of the present invention is not carried out exhaustive one by one to it.
Embodiment of the present invention playback terminal gathers the acoustic information in environment; The described acoustic information gathered is transferred to low frequency bandpass filter and high freguency bandpass filter respectively, obtains through the filtered low frequency information of low frequency bandpass filter, and through the filtered high-frequency information of high freguency bandpass filter; The audio frequency component of more described low frequency information and high-frequency information, according to comparative result, the volume value needed for voice messaging is play in adjustment; According to the described volume value after adjustment, play described voice messaging to user; Have and automatically can adjust broadcast sound volume and play the beneficial effect of voice messaging according to the volume after adjustment by the ambient conditions residing for this playback terminal; Improve the intelligent and man-machine interaction of language play back system, make speech play hommization more.
Further, continue referring to Fig. 3, in speech playing method of the present invention, the described acoustic information gathered is transferred to low frequency bandpass filter and high freguency bandpass filter by described playback terminal respectively, obtain through the filtered low frequency information of low frequency bandpass filter, and can in the following way through the filtered high-frequency information of high freguency bandpass filter:
When the described acoustic information gathered is transferred to low frequency bandpass filter by described playback terminal, the low-frequency component filtering of the first predeterminated frequency will be less than; In the present embodiment, preferably described first predeterminated frequency is 200Hz, this is because the composition of occurring in nature sound shared by being less than in this frequency range of 200Hz is comparatively large, and unstable, and the sense of hearing interference of audio frequency to people's ear being less than this frequency range of 200Hz is little, therefore by its filtering; Through low frequency bandpass filter, described playback terminal, by means of only the sound of described first predeterminated frequency to the second predeterminated frequency, obtains the described low frequency information that frequency band is described first predeterminated frequency to the second predeterminated frequency; Such as described filtration module 142 is by means of only the sound of voice frequency band 200Hz ~ 4kHz, obtains the described low frequency information that frequency band is 200Hz ~ 4kHz.When the described acoustic information gathered is transferred to high freguency bandpass filter by playback terminal, filtering is higher than the radio-frequency component of the 3rd predeterminated frequency, by the sound beyond high frequency to human auditory system scope, obtaining frequency band is the described high-frequency information of described second predeterminated frequency to the 3rd predeterminated frequency, in the present embodiment, preferably described 3rd predeterminated frequency is 20kH; Such as, filtering, higher than the radio-frequency component of 20kHz, by the sound beyond high frequency to human auditory system scope, obtains the described high-frequency information that frequency band is 4kHz ~ 20kHz.And then more above-mentioned two types of described playback terminal and low frequency information and the audio frequency component shared in described acoustic information of high-frequency information, thus according to comparative result, adjustment draws corresponding described volume value.
Above-mentioned implementation is convenient to described playback terminal and is compared filtered acoustic information and adjust, and makes processing procedure more convenient and efficient.
Further, continue referring to Fig. 3, in speech playing method of the present invention, the audio frequency component of the more filtered low frequency information of described playback terminal and high-frequency information, and according to comparative result, volume value needed for voice messaging is play in adjustment can in the following way:
If described playback terminal to the result that described low frequency information and high-frequency information compare is: the audio frequency component of described low frequency information is higher than the audio frequency component of described high-frequency information, then adjustment is play the volume value required for voice messaging and is: the bass value that described low frequency information is corresponding and the first default volume value sum.Such as, it is 55db (decibel) that extraneous low-frequency band leads to acoustic pressure, and first to preset volume value be 10db, then the volume value that playback of audio information adopts is (55+10) db, i.e. in the preset range of 65db or more than 65db.
If described playback terminal to the result that described low frequency information and high-frequency information compare is: the audio frequency component of described low frequency information is lower than the audio frequency component of described high-frequency information, then adjustment is play the volume value required for voice messaging and is: the high frequency audio value that described high-frequency information is corresponding and the second default volume value sum.Such as, extraneous high-frequency band pass acoustic pressure is 60db (decibel), and second to preset volume value be 6db, then the volume value that playback of audio information adopts is (60+6) db, i.e. in the preset range of 66db or more than 66db.
If described playback terminal to the result that described low frequency information and high-frequency information compare is: the audio frequency component of described low frequency information and the audio frequency component of described high-frequency information are all lower than preset audio composition, then the volume value of adjustment broadcasting required for voice messaging is: the collection volume value and the 3rd that the described acoustic information of collection is corresponding presets volume value sum.Such as, the extraneous acoustic pressure that the acoustic information of collection is corresponding is 55db (decibel), and the 3rd to preset volume value be 6db, then the volume value that playback of audio information adopts is (55+6) db, i.e. in the preset range of 61db or more than 61db.
Described playback terminal takes different adjustment modes according to different comparative results, improves flexibility and the diversity of audio frequency adjustment.
It should be noted that, in this article, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or system and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or system.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the system comprising this key element and also there is other identical element.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that above-described embodiment method can add required general hardware platform by software and realize, hardware can certainly be passed through, but in a lot of situation, the former is better execution mode.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in a storage medium (as ROM/RAM, magnetic disc, CD), comprising some instructions in order to make a station terminal equipment (can be mobile phone, computer, server, or the network equipment etc.) perform method described in each embodiment of the present invention.
The foregoing is only the preferred embodiments of the present invention; not thereby its scope of the claims is limited; every utilize specification of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; directly or indirectly be used in the technical field that other are relevant, be all in like manner included in scope of patent protection of the present invention.

Claims (10)

1. a speech playing method, is characterized in that, comprises the following steps:
Gather the acoustic information in environment;
The described acoustic information gathered is transferred to low frequency bandpass filter and high freguency bandpass filter respectively, obtains through the filtered low frequency information of low frequency bandpass filter, and through the filtered high-frequency information of high freguency bandpass filter;
The audio frequency component of more described low frequency information and high-frequency information, according to comparative result, the volume value needed for voice messaging is play in adjustment;
According to the described volume value after adjustment, play described voice messaging to user.
2. speech playing method as claimed in claim 1, it is characterized in that, the described described acoustic information by collection transfers to low frequency bandpass filter and high freguency bandpass filter respectively, obtain through the filtered low frequency information of low frequency bandpass filter, and comprise through the step of the filtered high-frequency information of high freguency bandpass filter:
The described acoustic information gathered is transferred to low frequency bandpass filter, and filtering is less than the low-frequency component of the first predeterminated frequency, obtains the described low frequency information that frequency band is described first predeterminated frequency to the second predeterminated frequency;
The described acoustic information gathered is transferred to high freguency bandpass filter, and filtering is higher than the radio-frequency component of the 3rd predeterminated frequency, and obtaining frequency band is the described high-frequency information of described second predeterminated frequency to the 3rd predeterminated frequency.
3. speech playing method as claimed in claim 1 or 2, is characterized in that, described according to comparative result, and the step of the volume value that adjustment is play needed for voice messaging comprises:
If comparative result is: the audio frequency component of described low frequency information is higher than the audio frequency component of described high-frequency information, then adjustment is play the volume value required for voice messaging and is:
The bass value that described low frequency information is corresponding and first presets volume value sum.
4. speech playing method as claimed in claim 1 or 2, is characterized in that, described according to comparative result, and the step of the volume value that adjustment is play needed for voice messaging comprises:
If comparative result is: the audio frequency component of described low frequency information is lower than the audio frequency component of described high-frequency information, then adjustment is play the volume value required for voice messaging and is:
The high frequency audio value that described high-frequency information is corresponding and second presets volume value sum.
5. speech playing method as claimed in claim 1 or 2, is characterized in that, described according to comparative result, and the step of the volume value that adjustment is play needed for voice messaging comprises:
If comparative result is: the audio frequency component of described low frequency information and the audio frequency component of described high-frequency information are all lower than preset audio composition, then the volume value of adjustment broadcasting required for voice messaging is:
The collection volume value that the described acoustic information gathered is corresponding and the 3rd presets volume value sum.
6. a language play back system, is characterized in that, comprising:
Acquisition module, for gathering the acoustic information in environment;
Filtration module, for the described acoustic information gathered is transferred to low frequency bandpass filter and high freguency bandpass filter respectively, obtains through the filtered low frequency information of low frequency bandpass filter, and through the filtered high-frequency information of high freguency bandpass filter;
Adjusting module, for the audio frequency component of more described low frequency information and high-frequency information, according to comparative result, the volume value needed for voice messaging is play in adjustment;
Playing module, for according to the described volume value after adjustment, plays described voice messaging to user.
7. language play back system as claimed in claim 6, is characterized in that, described filtration module also for:
The described acoustic information gathered is transferred to low frequency bandpass filter, and filtering is less than the low-frequency component of the first predeterminated frequency, obtains the described low frequency information that frequency band is described first predeterminated frequency to the second predeterminated frequency;
The described acoustic information gathered is transferred to high freguency bandpass filter, and filtering is higher than the radio-frequency component of the 3rd predeterminated frequency, and obtaining frequency band is the described high-frequency information of described second predeterminated frequency to the 3rd predeterminated frequency.
8. language play back system as claimed in claims 6 or 7, is characterized in that, described adjusting module also for:
If comparative result is: the audio frequency component of described low frequency information is higher than the audio frequency component of described high-frequency information, then adjustment is play the volume value required for voice messaging and is:
The bass value that described low frequency information is corresponding and first presets volume value sum.
9. language play back system as claimed in claims 6 or 7, is characterized in that, described adjusting module also for:
If comparative result is: the audio frequency component of described low frequency information is lower than the audio frequency component of described high-frequency information, then adjustment is play the volume value required for voice messaging and is:
The high frequency audio value that described high-frequency information is corresponding and second presets volume value sum.
10. language play back system as claimed in claims 6 or 7, is characterized in that, described adjusting module also for:
If comparative result is: the audio frequency component of described low frequency information and the audio frequency component of described high-frequency information are all lower than preset audio composition, then the volume value of adjustment broadcasting required for voice messaging is:
The collection volume value that the described acoustic information gathered is corresponding and the 3rd presets volume value sum.
CN201410301272.5A 2014-06-26 2014-06-26 Speech playing method and system Active CN105227151B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410301272.5A CN105227151B (en) 2014-06-26 2014-06-26 Speech playing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410301272.5A CN105227151B (en) 2014-06-26 2014-06-26 Speech playing method and system

Publications (2)

Publication Number Publication Date
CN105227151A true CN105227151A (en) 2016-01-06
CN105227151B CN105227151B (en) 2018-07-03

Family

ID=54995899

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410301272.5A Active CN105227151B (en) 2014-06-26 2014-06-26 Speech playing method and system

Country Status (1)

Country Link
CN (1) CN105227151B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105763736A (en) * 2016-04-06 2016-07-13 上海斐讯数据通信技术有限公司 Adaptive noise volume regulating device, method thereof and mobile terminal
CN107666639A (en) * 2016-07-29 2018-02-06 马克西姆综合产品公司 Perceive power and reduce system and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4102122B2 (en) * 2002-06-26 2008-06-18 株式会社東芝 Voice communication device
CN101997498A (en) * 2009-08-27 2011-03-30 北京宏景捷讯网络技术股份有限公司 Volume adjusting method and device
CN102413218A (en) * 2011-08-03 2012-04-11 宇龙计算机通信科技(深圳)有限公司 Method, device and communication terminal for automatically adjusting speaking tone
CN103546617A (en) * 2013-10-21 2014-01-29 深圳市金立通信设备有限公司 Voice adjusting method and terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4102122B2 (en) * 2002-06-26 2008-06-18 株式会社東芝 Voice communication device
CN101997498A (en) * 2009-08-27 2011-03-30 北京宏景捷讯网络技术股份有限公司 Volume adjusting method and device
CN102413218A (en) * 2011-08-03 2012-04-11 宇龙计算机通信科技(深圳)有限公司 Method, device and communication terminal for automatically adjusting speaking tone
CN103546617A (en) * 2013-10-21 2014-01-29 深圳市金立通信设备有限公司 Voice adjusting method and terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105763736A (en) * 2016-04-06 2016-07-13 上海斐讯数据通信技术有限公司 Adaptive noise volume regulating device, method thereof and mobile terminal
CN107666639A (en) * 2016-07-29 2018-02-06 马克西姆综合产品公司 Perceive power and reduce system and method
CN107666639B (en) * 2016-07-29 2021-08-17 马克西姆综合产品公司 Perceptual power reduction system and method

Also Published As

Publication number Publication date
CN105227151B (en) 2018-07-03

Similar Documents

Publication Publication Date Title
CN105281693A (en) Voice playing method and system
CN104521247B (en) Bluetooth headset hearing aid and anti-noise method and apparatus
CN109274909B (en) Television sound adjusting method, television and storage medium
CN105225681B (en) Speech playing method and system
EP2712207A1 (en) Audio signal broadcasting system and electronic apparatus
CN103259898B (en) The method of Automatic adjusument frequency response and terminal
CN108401204A (en) A kind of novel active noise reduction earphone
CN104104800A (en) Method for adjusting volume output of mobile terminal according to environment noises and mobile terminal
CN104581539A (en) Method for controlling audio playing of mobile terminal and mobile terminal
CN101060724A (en) A method for avoiding the hearing injury of audio equipment and electro-acoustic device made through this method
CN101641965A (en) Acoustic processing system and method for electronic device and mobile telephone terminal
CN103473005A (en) Method and device for performing sound effect control on played audio frequency
CN103905646B (en) Communicating terminal and sound processing method thereof
CN105276751A (en) Voice playing method and system
CN104092801A (en) Intelligent terminal call noise reduction method and intelligent terminal
CN104299622A (en) Audio processing method
CN203537555U (en) Audio device
CN104869505B (en) A kind of method for controlling volume, playback equipment, mobile terminal and system
CN102970632A (en) Sound based volume adjustment device, product and method
CN107277683A (en) A kind of audio amplifier system and method
CN103796136A (en) Equipment and method for ensuring output loudness and tone quality of different sound effect modes
CN104180473A (en) Wind direction switching method and system for air conditioner
CN107172527A (en) Cooperate with the volume adjusting method played, device and collaboration playing device
CN103297896B (en) A kind of audio-frequency inputting method and electronic equipment
CN105227151A (en) Speech playing method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant