CN105225681B - Speech playing method and system - Google Patents

Speech playing method and system Download PDF

Info

Publication number
CN105225681B
CN105225681B CN201410301000.5A CN201410301000A CN105225681B CN 105225681 B CN105225681 B CN 105225681B CN 201410301000 A CN201410301000 A CN 201410301000A CN 105225681 B CN105225681 B CN 105225681B
Authority
CN
China
Prior art keywords
value
volume value
broadcast sound
parameter
sound volume
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410301000.5A
Other languages
Chinese (zh)
Other versions
CN105225681A (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 CN201410301000.5A priority Critical patent/CN105225681B/en
Publication of CN105225681A publication Critical patent/CN105225681A/en
Application granted granted Critical
Publication of CN105225681B publication Critical patent/CN105225681B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Circuit For Audible Band Transducer (AREA)
  • Telephone Function (AREA)
  • Reverberation, Karaoke And Other Acoustics (AREA)

Abstract

The embodiment of the present invention discloses a kind of speech playing method, and this method includes:The distance between object and playback terminal are listened in measurement, obtain corresponding distance parameter;Meanwhile the acoustic information in environment is acquired, obtain the noise ration value of the corresponding ambient noise of the acoustic information;According to the distance parameter and noise ration value of acquisition, the broadcast sound volume value needed for the playback terminal broadcasting voice messaging is obtained;According to the broadcast sound volume value of acquisition, corresponding voice messaging is played to the object of listening to;A kind of language play back system is also disclosed in the embodiment of the present invention;Speech playing method of the embodiment of the present invention and system have and according to the playback terminal and can listen to the distance between object and ambient noise volume adjust automatically broadcast sound volume and play the advantageous effect of voice messaging according to the volume after adjustment.

Description

Speech playing method and system
Technical field
The present invention relates to speech play technology more particularly to a kind of speech playing method and systems.
Background technology
With the progress of speech play technology, the household electrical appliance such as more and more equipment such as television set, air conditioner, Or other kinds of playback terminal such as raises one's voice equipment playback terminal when receiving corresponding play instruction, playable pair The voice messaging answered is listened to for user.Common playback terminal can only according to fixed volume to corresponding voice messaging into Row plays, and cannot be according to listening to object at a distance from the playback terminal and ambient noise volume adjusts corresponding broadcasting sound Amount;For example, corresponding broadcast sound volume cannot be adjusted according to the variation of the change in location and ambient noise volume of listening to object. Therefore, how according to listening to object at a distance from playback terminal and ambient noise volume adjusts the broadcast sound volume of playback terminal As a urgent problem to be solved.
The above content is only to assist understanding technical scheme of the present invention, does not represent and recognizes the above as the prior art.
Invention content
It is a primary object of the present invention to according to listening to object at a distance from playback terminal and ambient noise volume is adjusted Whole broadcast sound volume.
To achieve the above object, the embodiment of the present invention provides a kind of speech playing method, includes the following steps:
The distance between object and playback terminal are listened in measurement, obtain corresponding distance parameter;Meanwhile it acquiring in environment Acoustic information obtains the noise ration value of the corresponding ambient noise of the acoustic information;
According to the distance parameter and noise ration value of acquisition, obtains the playback terminal and play needed for voice messaging Broadcast sound volume value;
According to the broadcast sound volume value of acquisition, corresponding voice messaging is played to the object of listening to.
Preferably, the distance parameter and noise ration value according to acquisition obtains the playback terminal and plays language Message breath needed for broadcast sound volume value the step of include:
According to the distance parameter and noise ration value of acquisition, corresponding parameter list is searched, from corresponding parameter list, Obtain the broadcast sound volume value.
Preferably, the distance parameter and noise ration value according to acquisition, searches corresponding parameter list, from correspondence Parameter list in, the step of obtaining the broadcast sound volume value includes:
According to the distance parameter of acquisition, searches distance parameter table and obtain the distance from the distance parameter table Parameter mapping apart from volume value;
The volume difference apart from volume value and noise ration value is obtained, broadcast sound volume is searched according to the volume difference Table obtains the broadcast sound volume value of the volume difference map.
Preferably, the distance parameter and noise ration value according to acquisition obtains the playback terminal and plays language Message breath needed for broadcast sound volume value the step of include:
Using the distance parameter of acquisition and noise ration value as input parameter, substitutes into preset broadcast sound volume and obtain letter The broadcast sound volume value needed for the playback terminal broadcasting voice messaging is calculated in numerical expression.
Preferably, described measurement the step of listening to the distance between object and playback terminal, includes:
Using infrared technique and/or ultrasonic technology and/or Bluetooth technology and/or camera, measurement is listened to object and is broadcast Put the distance between terminal.
In addition, to achieve the above object, the present invention also provides a kind of language play back systems, including:
Parameter acquisition module listens to the distance between object and playback terminal for measuring, obtains corresponding distance parameter; Meanwhile the acoustic information in environment is acquired, obtain the noise ration value of the corresponding ambient noise of the acoustic information;
Volume acquisition module obtains the playback terminal for the distance parameter and noise ration value according to acquisition Play the broadcast sound volume value needed for voice messaging;
Voice playing module plays corresponding language for the broadcast sound volume value according to acquisition to the object of listening to Message ceases.
Preferably, the parameter acquisition module is additionally operable to:
According to the distance parameter and noise ration value of acquisition, corresponding parameter list is searched, from corresponding parameter list, Obtain the broadcast sound volume value.
Preferably, the parameter acquisition module is additionally operable to:
According to the distance parameter of acquisition, searches distance parameter table and obtain the distance from the distance parameter table Parameter mapping apart from volume value;
The volume difference apart from volume value and noise ration value is obtained, broadcast sound volume is searched according to the volume difference Table obtains the broadcast sound volume value of the volume difference map.
Preferably, the volume acquisition module is additionally operable to:
Using the distance parameter of acquisition and noise ration value as input parameter, substitutes into preset broadcast sound volume and obtain letter The broadcast sound volume value needed for the playback terminal broadcasting voice messaging is calculated in numerical expression.
Preferably, the parameter acquisition module is additionally operable to:
Using infrared technique and/or ultrasonic technology and/or Bluetooth technology and/or camera, measurement is listened to object and is broadcast Put the distance between terminal.
The distance between object and playback terminal are listened in measurement of the embodiment of the present invention, obtain corresponding distance parameter;Meanwhile The acoustic information in environment is acquired, the noise ration value of the corresponding ambient noise of the acoustic information is obtained;According to the institute of acquisition Distance parameter and noise ration value are stated, the broadcast sound volume value needed for the playback terminal broadcasting voice messaging is obtained;According to acquisition The broadcast sound volume value, play corresponding voice messaging to the object of listening to;With can according to the playback terminal with receive It listens the distance between object and ambient noise volume adjust automatically broadcast sound volume and plays voice letter according to the volume after adjustment The advantageous effect of breath.
Description of the drawings
Fig. 1 is the hardware structure schematic diagram for the playback terminal preferred embodiment that the present invention realizes speech play;
Fig. 2 is one embodiment high-level schematic functional block diagram of language play back system of the present invention;
Fig. 3 is one embodiment flow diagram of speech playing method of the present invention.
Realization, functional characteristics and the advantage of purpose of the embodiment of the present invention will be done furtherly with reference to attached drawing in conjunction with the embodiments It is bright.
Specific implementation mode
The technical solution further illustrated the present invention below in conjunction with Figure of description and specific embodiment.It should be appreciated that this The described specific embodiment in place is only used to explain the present invention, is not intended to limit the present invention.
Fig. 1 is please referred to, Fig. 1 is the hardware structure signal for the playback terminal preferred embodiment that the present invention realizes speech play Figure.As shown in Figure 1, the playback terminal 100 includes processing unit 11, storage unit 12, collecting unit 13, language play back system 14 and distance measuring unit 15.Wherein, the playback terminal 100 includes but not limited to:PC (Personal Computer, personal electricity Brain) machine, mobile terminal (such as mobile phone, tablet computer etc.), household electrical appliance (such as air conditioner, remote controler etc.) or any other Applicable electronic equipment.The corresponding object of listening to of the playback terminal 100 can be corresponding audio reception device, or Audience, the present embodiment are only described by taking audience as an example.When it is described listen to object be audio reception device when, the playback terminal 100 course of work please refers to the description of the present embodiment, herein without repeating one by one.
The storage unit 12, for storing:The language play back system 14 and its operation data, the speech play system Distance parameter, the language play back system 14 of 14 acquisition of system adjust the such as preset broadcasting of adjustment formula needed for broadcast sound volume Volume obtains functional expression etc..It is emphasized that the storage unit 12 is either an individual storage device, can also be The general designation of multiple and different storage devices, therefore not to repeat here.
The distance measuring unit 15, under the control of the processing unit 11, it is corresponding with listening to measure playback terminal 100 The distance between, obtain corresponding distance parameter.Infrared technique, ultrasonic technology, bluetooth may be used in the distance measuring unit 15 Technology etc. carries out range measurement, and certainly, the distance measuring unit 15 can also carry out range measurement by camera, and the present invention is implemented Example does not limit specific ranging technology and realization method used in distance measuring unit 15, as long as the playback terminal can be got 100 with listen to the distance between object.
The collecting unit 13, under the control of the processing unit 11, acquiring in 100 local environment of playback terminal Acoustic information, and then the acoustic information acquired according to the collecting unit 13 by the processing unit 11, described in acquisition The noise ration value of the corresponding ambient noise of acoustic information;To the distance parameter and described obtained according to distance measuring unit 15 Noise ration value obtains the broadcast sound volume value needed for the broadcasting voice messaging of the playback terminal 100 by the processing unit 11. Under this way of example, corresponding voice messaging can be played with volume appropriate for the ease of playback terminal 100, it is described to adopt Collect unit 13 under the control of the processing unit 11, acquires the acoustic information in environment in real time.It is of course also possible to according to specific It needs, in order to reduce the power consumption of playback terminal 100, the collecting unit 13 is under the control of the processing unit 11, according to pre- If the period acquires the acoustic information in environment.In the present embodiment, the acoustic information can be understood as:Residing for playback terminal 100 In environment, information that the collecting unit 13 can be corresponding to collected arbitrary sound;For example, the corresponding sound of nature, Sound that human hair goes out, musical sound either other kinds of human ear can hear or the sound that cannot hear, as long as the acquisition The acoustic information that unit 13 can acquire.
The processing unit 11 is listened to object and is played for calling and executing the language play back system 14 to measure The distance between terminal obtains corresponding distance parameter;Meanwhile the acoustic information in environment is acquired, obtain the acoustic information The noise ration value of corresponding ambient noise;According to the distance parameter and noise ration value of acquisition, the broadcasting is obtained eventually End plays the broadcast sound volume value needed for voice messaging;According to the broadcast sound volume value of acquisition, object broadcasting pair is listened to described The voice messaging answered.The processing unit 11 and storage unit 12 both can be individual unit respectively, can also integrate, A controller is constituted, therefore not to repeat here.
In the present embodiment, 100 control process unit 11 of the playback terminal calls and executes the language play back system 14 It measures the playback terminal 100 and listens to the distance between object, obtain corresponding distance parameter;Meanwhile it acquiring in environment Acoustic information obtains the noise ration value of the corresponding ambient noise of the acoustic information;According to the distance parameter of acquisition and Noise ration value obtains the broadcast sound volume value needed for the playback terminal broadcasting voice messaging;According to the broadcasting sound of acquisition Magnitude plays corresponding voice messaging to the object of listening to.By above-mentioned realization method, the broadcasting described in the embodiment of the present invention Terminal 100 has reached can be according to listening to object at a distance from playback terminal and ambient noise volume adjusts broadcast sound volume Purpose.
Fig. 2 is please referred to, Fig. 2 is language play back system first embodiment high-level schematic functional block diagram of the present invention.
It is emphasized that it will be apparent to those skilled in the art that functional block diagram shown in Fig. 2 is only one preferably real The exemplary plot of example is applied, those skilled in the art surrounds the function module of the language play back system 14 shown in Fig. 2, can be easily Carry out the supplement of new function module;The title of each function module is self-defined title, is only used for auxiliary and understands that the voice is broadcast Each program function block of place system 14 is not used in restriction technical scheme of the present invention, and the core of technical solution of the present invention is, respectively The function to be reached of the function module of self-defined title.
The language play back system 14 that the present embodiment proposes is run in playback terminal 100 described in Fig. 1, and the voice is broadcast Place system 14 includes:Parameter acquisition module 141, volume acquisition module 142 and voice playing module 143, the work(of modules It can be as follows:
Parameter acquisition module 141 listens to the distance between object and playback terminal for measuring, and obtains corresponding distance ginseng Number;Meanwhile the acoustic information in environment is acquired, obtain the noise ration value of the corresponding ambient noise of the acoustic information;
In the present embodiment, the distance between object and playback terminal 100 are listened in the measurement of the parameter acquisition module 141, are obtained Take distance parameter between the two;Meanwhile the parameter acquisition module 141 acquires the acoustic information in environment, obtains the sound Message ceases the noise ration value of corresponding ambient noise.
In the present embodiment, the distance parameter can be understood as:Listen to the level between object and the playback equipment 100 At a distance from other definition of displacement or the playback equipment 100 and the horizontal displacement listened between object center point etc. are lower Parameter.In the embodiment of the present invention, infrared technique, ultrasonic technology, Bluetooth technology etc. may be used in the parameter acquisition module 141 Range measurement is carried out, certainly, the parameter acquisition module 141 can also carry out range measurement by camera, and the present invention is implemented Example does not limit specific ranging technology and realization method used in the parameter acquisition module 141, as long as institute can be got It states playback terminal 100 and listens to the distance between object.
In addition, in the present embodiment, parameter acquisition module 141 acquires correspondence from the environment residing for the playback terminal 100 Acoustic information the noise ration value of the corresponding ambient noise of the acoustic information is obtained according to the acoustic information of acquisition. Wherein, the acoustic information that the parameter acquisition module 141 is acquired from current environment includes:Parameter acquiring described in current environment Module 141 can collected all sound, including but not limited to:Sound, the musical sound that the corresponding sound of nature, human hair go out Either other kinds of human ear can hear or the sound that cannot hear.
In order to get the acoustic situations of 100 local environment of the playback terminal in time, convenient for the playback terminal 100 and When the voice messaging of appropriate volume is played to user, during language play back system 14 is run, parameter acquisition module 141 Corresponding acoustic information is acquired from the current environment residing for the playback terminal 100 in real time.It is of course also possible in order to save language The operating cost of sound play system 14, the power consumption for reducing language play back system 14, parameter acquisition module 141 can also be according to default Period acquires corresponding acoustic information from the current environment residing for the playback terminal 100.The predetermined period can be by voice Play system 14 is self-defined, for example it is 10ms that the predetermined period, which is arranged, can also be arranged according to self-demand by user, or When the playback terminal 100 for running the language play back system 14 is in manufacture, by technical staff according to the language play back system 14 running environment is configured;The present embodiment is to the specific duration of the predetermined period without concrete restriction.Certainly, this is pre- If the period can also be updated or reset according to specific needs.In the present embodiment, interested in playback terminal 100 Be itself local environment noise, therefore, the collected acoustic information of institute is considered ring by the parameter acquisition module 141 Border noise, after collecting the acoustic information in 100 local environment of the playback terminal, the parameter acquisition module 141 obtains The noise ration value of the corresponding ambient noise of the acoustic information of acquisition.
Volume acquisition module 142 obtains the broadcasting eventually for the distance parameter and noise ration value according to acquisition End plays the broadcast sound volume value needed for voice messaging;
It is described that the playback terminal 100 is measured and obtained apart from acquisition module 141 and listens to the distance between object parameter And after acquiring the acoustic information in environment and obtaining corresponding noise ration value, the volume acquisition module 142 is according to acquisition The distance parameter and noise ration value, obtain the playback terminal 100 play the required broadcast sound volume value of voice messaging.
In the embodiment of the present invention, the volume acquisition module 142 according to the distance parameter and noise ration value of acquisition, Obtaining the corresponding broadcast sound volume value can take such as under type:
After the volume acquisition module 142 gets distance parameter, distance parameter table is searched, from the distance parameter table In, obtain the described apart from volume value of the distance parameter mapping.For example, the distance parameter and the reflecting apart from volume value The relationship of penetrating corresponds to the distance parameter table:
Distance parameter Apart from volume value
1 meter 65db
2 meters 63db
3 meters 61db
4 meters 55db
5 meters 48db
…… ……
After the parameter acquisition module 141 measures the distance parameter, the volume acquisition module 142 by searching for The distance parameter table, you can obtain described in the distance parameter mapped apart from volume value.In order to improve described in acquisition Accuracy apart from volume value, the language play back system 14 update the distance parameter table according to predetermined period.
Obtain distance parameter mapping after volume value, the volume acquisition module 142 obtains described apart from sound The volume difference of magnitude and noise ration value, directly using the volume difference of acquisition as the broadcast sound volume value.Alternatively, root According to the volume difference, the volume acquisition module 142 searches broadcast sound volume table, obtains the described of the volume difference map and broadcasts Playback magnitude.
Certainly, in the embodiment of the present invention, the volume acquisition module 142 is obtained according to the parameter acquisition module 141 The distance parameter and noise ration value, obtaining the corresponding broadcast sound volume value can also be corresponding according to the distance parameter Preset broadcast sound volume obtains functional expression, for example, the preset broadcast sound volume obtain functional expression can be the distance parameter and The corresponding quadratic function of noise ration value or other include the letter of the distance parameter and noise ration value as parameter value Several classes of types etc.;When the parameter acquisition module 141 measures and gets the distance parameter and noise ration value, the volume The distance parameter and noise ration value can also be substituted into the preset broadcast sound volume and obtain functional expression by acquisition module 142, The distance parameter and the corresponding broadcast sound volume value of noise ration value is calculated.The preset broadcast sound volume obtains letter Numerical expression can carry out specifically being arranged or configuring, this reality according to the specifically used environment and requirement of the playback terminal 100 It applies the specific calculating parameter that example obtains the concrete form of functional expression and included to the preset broadcast sound volume not limit, energy Realize any functional expression of inventive concept.
Voice playing module 143, for according to acquisition the broadcast sound volume value, to it is described listen to object play it is corresponding Voice messaging.
Used institute when the voice playing module 143 plays voice is acquired in the volume acquisition module 142 After stating broadcast sound volume value, the voice playing module 143 plays corresponding voice letter according to the obtained broadcast sound volume value Breath.
In the embodiment of the present invention, the position due to listening to object may be mobile or variation, i.e., is listened to pair when described When the position of elephant is not fixed, the described of the measurement of the parameter acquisition module 141 is listened between object and the playback terminal 100 Distance is also likely to be variation, therefore the parameter acquisition module 141 distance parameter that obtains is it could also be possible that variation, When being handled above-mentioned distance parameter by each function module in the playback terminal 100, finally obtained broadcasting voice The broadcast sound volume value used by information is also possible to difference, therefore, in order to avoid the playback terminal 100 is played to user Lead to because of the difference of broadcast sound volume value the larger fluctuation for playing broadcast sound volume caused by voice messaging when voice messaging, it can be with Take following measure:
Object and the broadcasting are listened to when the parameter acquisition module 141 in the playback terminal 100 measures in real time eventually In the distance between end 100 and in real time acquisition environment when acoustic information, the volume can be arranged in the language play back system 14 The distance parameter and loop noise volume that acquisition module 142 is obtained according to predetermined period according to the parameter acquisition module 141 Value, obtains the distance parameter and the corresponding broadcast sound volume value of loop noise volume value;Alternatively, working as the volume acquisition module Variable quantity of the 142 broadcast sound volume values obtained according to the distance parameter and loop noise volume value in preset duration does not surpass When crossing default broadcasting threshold value, continuation continues to play the voice messaging according to the broadcast sound volume value currently in use;It is described pre- If playing threshold value can be understood as:The deficient change of broadcast sound volume value is (in such cases, described to listen to cause discovering for human ear Object is audience).Alternatively, got according to the distance parameter and loop noise volume value when the volume acquisition module 142 Variable quantity of the broadcast sound volume value in preset duration is more than default when playing threshold value, the voice playing module 143 according to Default fade interval broadcast sound volume value described in gradual change successively, and play corresponding voice messaging according to the broadcast sound volume value of gradual change. It is of course also possible to which other modes is taken to reach above-mentioned technique effect, the embodiment of the present invention does not carry out it exhaustive one by one.
The distance between object and playback terminal are listened in playback terminal measurement of the embodiment of the present invention, obtain corresponding distance ginseng Number;Meanwhile the acoustic information in environment is acquired, obtain the noise ration value of the corresponding ambient noise of the acoustic information;According to The distance parameter and noise ration value obtained obtains the broadcast sound volume value needed for the playback terminal broadcasting voice messaging; According to the broadcast sound volume value of acquisition, corresponding voice messaging is played to the object of listening to;With can be according to the broadcasting Terminal with listen to the distance between object and ambient noise volume adjust automatically broadcast sound volume and broadcast according to the volume after adjustment Put the advantageous effect of voice messaging;Improve the intelligent of language play back system so that speech play more hommization.
Fig. 3 is please referred to, Fig. 3 is the flow diagram of speech playing method first embodiment of the present invention.As shown in figure 3, this Invention speech playing method includes the following steps:
Step S01, it measures and listens to the distance between object and playback terminal, obtain corresponding distance parameter;Meanwhile it acquiring Acoustic information in environment obtains the noise ration value of the corresponding ambient noise of the acoustic information.
In the present embodiment, the distance between object and playback terminal are listened in the playback terminal measurement, are obtained between the two Distance parameter.In the present embodiment, the distance parameter can be understood as:Listen to the level between object and the playback equipment Join at a distance from other definition of displacement or the playback equipment and the horizontal displacement listened between object center point etc. are lower Number.In the embodiment of the present invention, infrared technique, ultrasonic technology, Bluetooth technology etc. may be used into row distance in the playback terminal It measures, certainly, the playback terminal can also carry out range measurement by camera, and the embodiment of the present invention is to the playback terminal Used specific ranging technology and realization method do not limit, as long as can get the playback terminal and listen between object Distance.
In the present embodiment, the playback terminal acquires corresponding acoustic information from the environment residing for itself, according to acquisition The acoustic information, obtain the noise ration value of the corresponding ambient noise of the acoustic information.Wherein, the playback terminal from The acoustic information acquired in current environment includes:Playback terminal described in current environment can collected all sound, including But it is not limited to:Sound that the corresponding sound of nature, human hair go out, musical sound either other kinds of human ear can hear or not The sound that can be heard.
In order to get the acoustic situations of the playback terminal local environment in time, convenient for the playback terminal in time to User plays the voice messaging of appropriate volume, and playback terminal acquires corresponding sound letter from the current environment residing for itself in real time Breath.It is of course also possible in order to save the operating cost of playback terminal, reduce the power consumption of playback terminal, playback terminal can also be by Corresponding acoustic information is acquired from the current environment residing for itself according to predetermined period.The predetermined period can be by the broadcasting eventually Hold it is self-defined, such as be arranged the predetermined period be 10ms, can also be arranged according to self-demand by user, or broadcast described Terminal is put in manufacture, is configured according to the use environment of the playback terminal by technical staff;The present embodiment is to described pre- If the specific duration in period is without concrete restriction.Certainly, the predetermined period can also be updated according to specific needs or It resets.In the present embodiment, since playback terminal is it would be of interest to the noise of itself local environment, the broadcasting is eventually The collected acoustic information of institute is considered ambient noise by end, is believed when collecting the sound in the playback terminal local environment After breath, the playback terminal obtains the noise ration value of the corresponding ambient noise of the acoustic information of acquisition.
Step S02, according to the distance parameter of acquisition and noise ration value, the described of the distance parameter mapping is obtained Playback terminal plays the broadcast sound volume value needed for voice messaging;
The playback terminal measures and obtains the playback terminal and listens to the distance between object parameter and acquisition ring Acoustic information in border and after obtaining corresponding noise ration value, the playback terminal is according to the distance parameter of acquisition and makes an uproar Sound magnitude obtains the playback terminal and plays the required broadcast sound volume value of voice messaging.
In the embodiment of the present invention, the playback terminal obtains the corresponding broadcasting according to the distance parameter of acquisition Volume value can be taken such as under type:
After the playback terminal gets distance parameter, distance parameter table is searched, from the distance parameter table, obtains institute State distance parameter mapping apart from volume value.For example, distance parameter institute corresponding with the mapping relations apart from volume value Stating distance parameter table is:
Distance parameter Apart from volume value
1 meter 65db
2 meters 63db
3 meters 61db
4 meters 55db
5 meters 48db
…… ……
After measuring the distance parameter, the playback terminal is by searching for the distance parameter table, you can obtains institute It states described in distance parameter mapped apart from volume value.It is described to broadcast in order to improve the accuracy apart from volume value of acquisition It puts terminal and updates the distance parameter table according to predetermined period.
After getting the noise ration value, the playback terminal is according to the noise ration value of acquisition and described Distance parameter calculates and obtains the broadcast sound volume value.For example, the playback terminal acquisition is described apart from volume value and noise ration The volume difference of value, directly using the volume difference of acquisition as the broadcast sound volume value.Alternatively, poor according to the volume Value, the playback terminal search broadcast sound volume table, obtain the broadcast sound volume value of the volume difference map.
Certainly, in the embodiment of the present invention, the playback terminal is obtained according to the distance parameter and noise ration value of acquisition Take the corresponding broadcast sound volume value can also be according to the distance parameter and the corresponding preset broadcast sound volume of noise ration value Functional expression is obtained, for example it can be that the distance parameter and noise ration value correspond to that the preset broadcast sound volume, which obtains functional expression, Quadratic function or other include the type function etc. of the distance parameter and noise ration value as parameter value;Work as institute It, can also be by the distance parameter and noise sound when stating playback terminal and measuring and get the distance parameter and noise ration value Magnitude substitutes into the preset broadcast sound volume and obtains functional expression, and the distance parameter and the corresponding institute of noise ration value is calculated State broadcast sound volume value.The preset broadcast sound volume obtains functional expression can be according to the specifically used ring of the playback terminal 100 Border and requirement be specifically arranged or configure, and the present embodiment obtains the specific of functional expression to the preset broadcast sound volume Functional relation concrete form and the specific calculating parameter for being included do not limit, and can realize any functional expression of inventive concept .
Step S03, according to the broadcast sound volume value of acquisition, corresponding voice messaging is played to the object of listening to.
When acquiring the playback terminal and playing voice after the used broadcast sound volume value, the playback terminal According to the obtained broadcast sound volume value, corresponding voice messaging is played.
In the embodiment of the present invention, the position due to listening to object may be mobile or variation, i.e., is listened to pair when described When the position of elephant is not fixed, listening to the distance between object and the playback terminal described in the playback terminal measurement may also Be variation, therefore the playback terminal obtain the distance parameter it could also be possible that variation, pass through the playback terminal In each function module when handling above-mentioned distance parameter, the broadcasting used by finally obtained broadcasting voice messaging Volume value is also possible to difference, therefore, because of broadcast sound volume value when playing voice messaging to user in order to avoid the playback terminal Difference and cause play voice messaging caused by broadcast sound volume larger fluctuation, following measure can be taken:
When the playback terminal in real time listen to the distance between object and the playback terminal and acquire environment in real time by measurement When middle acoustic information, the distance parameter and loop noise sound of the playback terminal according to predetermined period according to acquisition can be set Magnitude obtains the distance parameter and the corresponding broadcast sound volume value of loop noise volume value;Alternatively, working as the playback terminal root Variable quantity of the broadcast sound volume value obtained according to the distance parameter and loop noise volume value in preset duration is no more than pre- If play threshold value, continuation continues to play the voice messaging according to the broadcast sound volume value currently in use;Described preset is broadcast Threshold value is put to can be understood as:The deficient change of broadcast sound volume value is (in such cases, described to listen to object to cause discovering for human ear For audience).Alternatively, working as the broadcast sound volume that the playback terminal is got according to the distance parameter and loop noise volume value It is more than when presetting to play threshold value to be worth the variable quantity in preset duration, and the playback terminal is according to default fade interval successively gradual change The broadcast sound volume value, and play corresponding voice messaging according to the broadcast sound volume value of gradual change.It is of course also possible to take its other party Formula reaches above-mentioned technique effect, and the embodiment of the present invention does not carry out it exhaustive one by one.
The distance between object and playback terminal are listened in playback terminal measurement of the embodiment of the present invention, obtain corresponding distance ginseng Number;Meanwhile the acoustic information in environment is acquired, obtain the noise ration value of the corresponding ambient noise of the acoustic information;According to The distance parameter and noise ration value obtained obtains the broadcast sound volume value needed for the playback terminal broadcasting voice messaging; According to the broadcast sound volume value of acquisition, corresponding voice messaging is played to the object of listening to;With can be according to the broadcasting Terminal with listen to the distance between object and ambient noise volume adjust automatically broadcast sound volume and broadcast according to the volume after adjustment Put the advantageous effect of voice messaging;Improve the intelligent of language play back system so that speech play more hommization.
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that process, method, article or system including a series of elements include not only those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this There is also other identical elements in the process of element, method, article or system.
The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art Going out the part of contribution can be expressed in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal equipment (can be mobile phone, computer, clothes It is engaged in device or the network equipment etc.) execute method described in each embodiment of the present invention.
The foregoing is merely the preferred embodiment of the present invention, it is not intended to limit its scope of the claims, it is every to utilize the present invention Equivalent structure or equivalent flow shift made by specification and accompanying drawing content is directly or indirectly used in other relevant technology necks Domain is included within the scope of the present invention.

Claims (9)

1. a kind of speech playing method, which is characterized in that include the following steps:
The distance between object and playback terminal are listened in measurement, obtain corresponding distance parameter;Meanwhile acquiring the sound in environment Information obtains the noise ration value of the corresponding ambient noise of the acoustic information;
According to the distance parameter and noise ration value of acquisition, corresponding parameter list is searched, from corresponding parameter list, is obtained The broadcast sound volume value;
Sound in the distance between object and the playback terminal and in real time acquisition environment is listened to when the playback terminal measures in real time When message ceases, the distance parameter and loop noise volume value of the playback terminal according to predetermined period according to acquisition are set, obtained Take the distance parameter and the corresponding broadcast sound volume value of loop noise volume value;
When the broadcast sound volume value that the playback terminal is obtained according to the distance parameter and loop noise volume value is when default When variable quantity in length is no more than default broadcasting threshold value, continuation continues according to the broadcast sound volume value currently in use described in broadcasting Voice messaging;
When the broadcast sound volume value that the playback terminal is got according to the distance parameter and loop noise volume value is default When variable quantity in duration is more than default broadcasting threshold value, the playback terminal is played according to described in default fade interval successively gradual change Volume value, and play corresponding voice messaging according to the broadcast sound volume value of gradual change;
According to the broadcast sound volume value of acquisition, corresponding voice messaging is played to the object of listening to.
2. speech playing method as described in claim 1, which is characterized in that the distance parameter according to acquisition and make an uproar Sound magnitude searches corresponding parameter list, and from corresponding parameter list, the step of obtaining the broadcast sound volume value includes:
According to the distance parameter of acquisition, searches distance parameter table and obtain the distance parameter from the distance parameter table Mapping apart from volume value;
The volume difference apart from volume value and noise ration value is obtained, broadcast sound volume table is searched according to the volume difference, Obtain the broadcast sound volume value of the volume difference map.
3. speech playing method as described in claim 1, which is characterized in that the distance parameter according to acquisition and make an uproar Sound magnitude, obtaining the step of playback terminal plays the broadcast sound volume value needed for voice messaging includes:
Using the distance parameter of acquisition and noise ration value as input parameter, substitutes into preset broadcast sound volume and obtain function The broadcast sound volume value needed for the playback terminal broadcasting voice messaging is calculated in formula.
4. speech playing method as described in any one of claims 1-3, which is characterized in that the measurement is listened to object and played The step of the distance between terminal includes:
Using infrared technique and/or ultrasonic technology and/or Bluetooth technology and/or camera, measurement is listened to object and is played eventually The distance between end.
5. a kind of computer storage media, which is characterized in that the computer storage media is stored with driver, the driver Execute the speech playing method as described in any in Claims 1-4.
6. a kind of language play back system, which is characterized in that including:
Parameter acquisition module listens to the distance between object and playback terminal for measuring, obtains corresponding distance parameter;Together When, the acoustic information in environment is acquired, the noise ration value of the corresponding ambient noise of the acoustic information is obtained, is additionally operable to:Root According to the distance parameter and noise ration value of acquisition, corresponding parameter list is searched, from corresponding parameter list, is broadcast described in acquisition Playback magnitude;
Volume acquisition module obtains the playback terminal and plays for the distance parameter and noise ration value according to acquisition Broadcast sound volume value needed for voice messaging;
Voice playing module plays corresponding voice letter for the broadcast sound volume value according to acquisition to the object of listening to Breath;
When in the playback terminal the parameter acquisition module in real time measure listen between object and the playback terminal away from From and when acquiring acoustic information in environment in real time, the volume acquisition module is arranged according to predetermined period in the language play back system The distance parameter and loop noise volume value obtained according to the parameter acquisition module, obtains the distance parameter and loop noise The corresponding broadcast sound volume value of volume value;
When the broadcast sound volume value that the volume acquisition module is obtained according to the distance parameter and loop noise volume value is pre- If the variable quantity in duration is no more than default broadcasting threshold value, continuation continues to play according to the broadcast sound volume value currently in use The voice messaging;
When the volume acquisition module exists according to the broadcast sound volume value that the distance parameter and loop noise volume value are got When variable quantity in preset duration is more than default broadcasting threshold value, the voice playing module is according to default fade interval successively gradual change The broadcast sound volume value, and play corresponding voice messaging according to the broadcast sound volume value of gradual change.
7. language play back system as claimed in claim 6, which is characterized in that the parameter acquisition module is additionally operable to:
According to the distance parameter of acquisition, searches distance parameter table and obtain the distance parameter from the distance parameter table Mapping apart from volume value;
The volume difference apart from volume value and noise ration value is obtained, broadcast sound volume table is searched according to the volume difference, Obtain the broadcast sound volume value of the volume difference map.
8. language play back system as claimed in claim 6, which is characterized in that the volume acquisition module is additionally operable to:
Using the distance parameter of acquisition and noise ration value as input parameter, substitutes into preset broadcast sound volume and obtain function The broadcast sound volume value needed for the playback terminal broadcasting voice messaging is calculated in formula.
9. such as claim 6-8 any one of them language play back systems, which is characterized in that the parameter acquisition module is also used In:
Using infrared technique and/or ultrasonic technology and/or Bluetooth technology and/or camera, measurement is listened to object and is played eventually The distance between end.
CN201410301000.5A 2014-06-26 2014-06-26 Speech playing method and system Active CN105225681B (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Publications (2)

Publication Number Publication Date
CN105225681A CN105225681A (en) 2016-01-06
CN105225681B true CN105225681B (en) 2018-09-04

Family

ID=54994585

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN105225681B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108140400A (en) * 2016-09-27 2018-06-08 北京小米移动软件有限公司 Control the method and device of volume
CN106656744A (en) * 2016-10-13 2017-05-10 广州视源电子科技股份有限公司 Method and device for adjusting volume of push notification of intelligent equipment
CN107147767B (en) * 2017-06-30 2019-08-06 Oppo广东移动通信有限公司 In Call control method, device, storage medium and terminal
CN107767857B (en) * 2017-09-27 2021-06-15 联想(北京)有限公司 Information playing method, first electronic equipment and computer storage medium
CN108446024B (en) * 2018-03-21 2021-04-09 Oppo广东移动通信有限公司 Music playing method and related product
CN108847235B (en) * 2018-07-19 2021-05-28 海信(山东)空调有限公司 Remote controller
CN109409966A (en) * 2018-12-29 2019-03-01 河北三川科技有限公司 A kind of system and method automatically adjusting advertisement machine volume
CN110267155B (en) * 2019-06-27 2021-10-22 维沃移动通信有限公司 Sound box control method and sound box
CN110347365B (en) * 2019-07-12 2023-04-07 广东美的厨房电器制造有限公司 Method and device for automatically adjusting broadcast volume and sound broadcast equipment
CN112306448A (en) * 2020-01-15 2021-02-02 北京字节跳动网络技术有限公司 Method, apparatus, device and medium for adjusting output audio according to environmental noise
CN113763942A (en) * 2020-06-03 2021-12-07 广东美的制冷设备有限公司 Interaction method and interaction system of voice household appliances and computer equipment
CN114416018A (en) * 2022-03-28 2022-04-29 龙旗电子(惠州)有限公司 Audio playing method and device, electronic equipment and storage medium
CN116033315B (en) * 2023-03-30 2023-06-23 南昌航天广信科技有限责任公司 Broadcast volume control method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101997498A (en) * 2009-08-27 2011-03-30 北京宏景捷讯网络技术股份有限公司 Volume adjusting method and device
EP2551763A1 (en) * 2011-07-28 2013-01-30 Apple Inc. Devices with enhanced audio
CN103761063A (en) * 2013-12-19 2014-04-30 北京百度网讯科技有限公司 Method and device for controlling audio output volume in playing device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101997498A (en) * 2009-08-27 2011-03-30 北京宏景捷讯网络技术股份有限公司 Volume adjusting method and device
EP2551763A1 (en) * 2011-07-28 2013-01-30 Apple Inc. Devices with enhanced audio
CN103761063A (en) * 2013-12-19 2014-04-30 北京百度网讯科技有限公司 Method and device for controlling audio output volume in playing device

Also Published As

Publication number Publication date
CN105225681A (en) 2016-01-06

Similar Documents

Publication Publication Date Title
CN105225681B (en) Speech playing method and system
CN104135705B (en) A kind of method and system according to different scenes pattern adjust automatically multimedia volume
CN108877770A (en) For testing the methods, devices and systems of intelligent sound equipment
CN109274909B (en) Television sound adjusting method, television and storage medium
CN105281693A (en) Voice playing method and system
CN105276751B (en) Speech playing method and system
CN108462895A (en) Sound effect treatment method, device and machine readable media
CN108538320A (en) Recording control method and device, readable storage medium storing program for executing, terminal
CN108196820A (en) For adjusting the method and apparatus of play parameter
CN105280195A (en) Method and device for processing speech signal
CN103680545A (en) Voice frequency playing system and playing control method thereof
CN109413537A (en) Audio signal playback method, device and earphone
CN108710486A (en) Audio frequency playing method, device, earphone and computer readable storage medium
CN110675848A (en) Audio processing method, device and storage medium
CN112866853B (en) Production line calibration method of howling earphone in pass-through mode
CN108600885A (en) Audio signal processing method and Related product
CN105357613A (en) Adjustment method and device for playing parameters of audio output devices
CN106921911A (en) Voice acquisition method and device
CN108563418A (en) A kind of audio volume adjusting method, device, electronic equipment and storage medium
CN106506437A (en) A kind of audio data processing method, and equipment
CN103873919A (en) Information processing method and electronic equipment
CN104916418B (en) Active noise control system and working method of power transformer
CN105764008B (en) A kind of method and device for debugging sound reinforcement system transmission frequency characteristic
CN208402071U (en) Audio playing apparatus, earphone and audio frequency broadcast system
CN112331195A (en) Voice interaction method, device 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