CN104464764A - Audio data broadcasting method and device - Google Patents

Audio data broadcasting method and device Download PDF

Info

Publication number
CN104464764A
CN104464764A CN201410645721.8A CN201410645721A CN104464764A CN 104464764 A CN104464764 A CN 104464764A CN 201410645721 A CN201410645721 A CN 201410645721A CN 104464764 A CN104464764 A CN 104464764A
Authority
CN
China
Prior art keywords
configuration parameter
data
audio data
playing
audio
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
CN201410645721.8A
Other languages
Chinese (zh)
Other versions
CN104464764B (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.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201410645721.8A priority Critical patent/CN104464764B/en
Publication of CN104464764A publication Critical patent/CN104464764A/en
Application granted granted Critical
Publication of CN104464764B publication Critical patent/CN104464764B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/10009Improvement or modification of read or write signals

Abstract

The invention relates to an audio data broadcasting method and device and belongs to the field of terminal technology. The method includes the steps that in the process of broadcasting tested audio data, environmental audio data are received through a microphone; according to the tested audio data and the environmental audio data, a first preset configuration parameter is adjusted to obtain a second configuration parameter which is used for eliminating influences of the external environment; the audio data are broadcasted on the basis of the second configuration parameter. In the process of broadcasting the tested audio data, the environmental audio data are received through the microphone and are influenced by the external environment, and the first configuration parameter is adjusted according to the tested audio data and the environmental audio data to obtain the second configuration parameter which is used for eliminating the influences of the external environment, so that when the audio data are broadcasted on the basis of the second configuration parameter, the broadcasting effect is promoted, and adaptability is high.

Description

Audio data play method and device
Technical field
The disclosure is directed to field of terminal technology, specifically about audio data play method and device.
Background technology
In order to meet the high-quality demand to audio frequency, stereo set can be installed by a lot of family, by stereo set and the equipment connection such as computer, TV, by this stereo set playing audio-fequency data.
When practical application, this stereo set can pre-set configuration parameter when dispatching from the factory, and as the gain, sensitivity, power, frequency etc. of each sound channel, when this stereo set playing audio-fequency data, carries out playing based on the configuration parameter set.
Realizing in process of the present invention, inventor finds correlation technique existing defects, such as: the factor such as area, furnishings, wall covering of stereo set external environment condition can impact the result of broadcast of stereo set, when only playing based on the configuration parameter set, easily reduce result of broadcast due to the impact of external environment condition, limitation is strong, bad adaptability.
Summary of the invention
In order to solve Problems existing in correlation technique, present disclose provides a kind of audio data play method and device.Described technical scheme is as follows:
According to the first aspect of disclosure embodiment, provide a kind of audio data play method, described method comprises:
In the process playing testing audio data, by microphone, reception environment voice data;
According to described testing audio data and described ambient sound audio data, adjust, obtain the second configuration parameter to the first configuration parameter pre-set, described second configuration parameter is for eliminating the impact of external environment condition;
Based on described second configuration parameter, playing audio-fequency data.
In another embodiment, describedly according to described testing audio data and described ambient sound audio data, the first configuration parameter pre-set to be adjusted, obtains the second configuration parameter and comprise:
According to the variance data between described testing audio data and described ambient sound audio data, obtain corrected parameter;
According to described corrected parameter, described first configuration parameter is adjusted, obtain described second configuration parameter.
In another embodiment, described by microphone, reception environment voice data comprises:
By described microphone, receive the ambient sound audio data preset in geographic range.
In another embodiment, described method also comprises:
According to described testing audio data and described ambient sound audio data, determine current environmental pattern;
Set up the corresponding relation between described environmental pattern and described second configuration parameter.
In another embodiment, described method also comprises:
When getting the operation selecting designated environment pattern, according to the corresponding relation between the environmental pattern set up and configuration parameter, obtain the specified configuration parameter that described designated environment pattern is corresponding;
Based on described specified configuration parameter, playing audio-fequency data.
In another embodiment, described method also comprises:
In the process of broadcasting first voice data, by described microphone, receive first environment voice data;
According to described first voice data and described first environment voice data, determine current designated environment pattern;
According to the corresponding relation between the environmental pattern set up and configuration parameter, obtain the specified configuration parameter that described designated environment pattern is corresponding;
Based on described specified configuration parameter, playing audio-fequency data.
In another embodiment, described method also comprises:
Playing in the process of second audio data based on described second configuration parameter, by described microphone, receive second environment voice data;
Obtain the variance data between described second environment voice data and described second audio data;
When determining that described variance data changes, according to the variance data after change, described second configuration parameter is adjusted;
Based on the configuration parameter after adjustment, play described second audio data.
According to the second aspect of disclosure embodiment, provide a kind of voice data playing device, described device comprises:
Voice data processing module, in the process playing testing audio data, by microphone, reception environment voice data;
Adjusting module, for according to described testing audio data and described ambient sound audio data, adjust, obtain the second configuration parameter to the first configuration parameter pre-set, described second configuration parameter is for eliminating the impact of external environment condition;
Playing module, for based on described second configuration parameter, playing audio-fequency data.
Described adjusting module is used for according to the variance data between described testing audio data and described ambient sound audio data, obtains corrected parameter; According to described corrected parameter, described first configuration parameter is adjusted, obtain described second configuration parameter.
In another embodiment, described voice data processing module is used for by described microphone, receives the ambient sound audio data preset in geographic range.
In another embodiment, described device also comprises:
Environmental pattern determination module, for according to described testing audio data and described ambient sound audio data, determines current environmental pattern;
Corresponding relation building module, for setting up the corresponding relation between described environmental pattern and described second configuration parameter.
In another embodiment, described device also comprises:
First designated parameter acquisition module, for when getting the operation selecting designated environment pattern, according to the corresponding relation between the environmental pattern set up and configuration parameter, obtains the specified configuration parameter that described designated environment pattern is corresponding;
Described playing module, for based on described specified configuration parameter, playing audio-fequency data.
In another embodiment, described device also comprises:
Described voice data processing module, in the process of broadcasting first voice data, by described microphone, receives first environment voice data;
Second designated parameter acquisition module, for according to described first voice data and described first environment voice data, determine current designated environment pattern, according to the corresponding relation between the environmental pattern set up and configuration parameter, obtain the specified configuration parameter that described designated environment pattern is corresponding;
Described playing module, for based on described specified configuration parameter, playing audio-fequency data.
In another embodiment, described device also comprises:
Described voice data processing module, for playing in the process of second audio data based on described second configuration parameter, by described microphone, receives second environment voice data;
Variance data acquisition module, for obtaining the variance data between described second environment voice data and described second audio data;
Described adjusting module, for when determining that described variance data changes, according to the variance data after change, adjusts described second configuration parameter;
Described playing module, for based on the configuration parameter after adjustment, plays described second audio data.
According to the third aspect of disclosure embodiment, provide a kind of voice data playing device, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
In the process playing testing audio data, by microphone, reception environment voice data;
According to described testing audio data and described ambient sound audio data, adjust, obtain the second configuration parameter to the first configuration parameter pre-set, described second configuration parameter is for eliminating the impact of external environment condition;
Based on described second configuration parameter, playing audio-fequency data.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect:
The method and apparatus that the present embodiment provides, by in the process playing testing audio data, by microphones ambient sound audio data, this ambient sound audio data is subject to the impact of external environment condition, according to these testing audio data and this ambient sound audio data, this first configuration parameter is adjusted, obtain this second configuration parameter, this second configuration parameter for eliminating the impact of external environment condition, then time based on this second configuration parameter playing audio-fequency data, improve result of broadcast, strong adaptability.
Should be understood that, it is only exemplary that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in instructions and to form the part of this instructions, shows embodiment according to the invention, and is used from instructions one and explains principle of the present invention.
Fig. 1 is the process flow diagram of a kind of audio data play method according to an exemplary embodiment;
Fig. 2 is the process flow diagram of a kind of audio data play method according to an exemplary embodiment;
Fig. 3 is the block diagram of a kind of voice data playing device according to an exemplary embodiment;
Fig. 4 is the block diagram of a kind of device for voice data broadcasting according to an exemplary embodiment.
Embodiment
For making object of the present disclosure, technical scheme and advantage clearly understand, below in conjunction with embodiment and accompanying drawing, the disclosure is described in further details.At this, exemplary embodiment of the present disclosure and illustrating for explaining the disclosure, but not as to restriction of the present disclosure.
Disclosure embodiment provides a kind of audio data play method and device, is described in detail to the disclosure below in conjunction with accompanying drawing.
Fig. 1 is the process flow diagram of a kind of audio data play method according to an exemplary embodiment, and as shown in Figure 1, this audio data play method is used for, in audio-frequence player device, comprising the following steps:
In a step 101, in the process playing testing audio data, by microphone, reception environment voice data.
In a step 102, according to these testing audio data and this ambient sound audio data, adjust the first configuration parameter pre-set, obtain the second configuration parameter, this second configuration parameter is for eliminating the impact of external environment condition.
In step 103, based on this second configuration parameter, playing audio-fequency data.
The method that the present embodiment provides, by in the process playing testing audio data, by microphones ambient sound audio data, this ambient sound audio data is subject to the impact of external environment condition, according to these testing audio data and this ambient sound audio data, this first configuration parameter is adjusted, obtain this second configuration parameter, this second configuration parameter for eliminating the impact of external environment condition, then time based on this second configuration parameter playing audio-fequency data, improve result of broadcast, strong adaptability.
In another embodiment, this, according to these testing audio data and this ambient sound audio data, adjusts the first configuration parameter pre-set, obtains the second configuration parameter and comprise:
According to the variance data between these testing audio data and this ambient sound audio data, obtain corrected parameter;
According to this corrected parameter, this first configuration parameter is adjusted, obtain this second configuration parameter.
In another embodiment, should by microphone, reception environment voice data comprises:
By this microphone, receive the ambient sound audio data preset in geographic range.
In another embodiment, the method also comprises:
According to these testing audio data and this ambient sound audio data, determine current environmental pattern;
Set up the corresponding relation between this environmental pattern and this second configuration parameter.
In another embodiment, the method also comprises:
When getting the operation selecting designated environment pattern, according to the corresponding relation between the environmental pattern set up and configuration parameter, obtain the specified configuration parameter that this designated environment pattern is corresponding;
Based on this specified configuration parameter, playing audio-fequency data.
In another embodiment, the method also comprises:
In the process of broadcasting first voice data, by this microphone, receive first environment voice data;
According to this first voice data and this first environment voice data, determine current designated environment pattern;
According to the corresponding relation between the environmental pattern set up and configuration parameter, obtain the specified configuration parameter that this designated environment pattern is corresponding;
Based on this specified configuration parameter, playing audio-fequency data.
In another embodiment, the method also comprises:
Playing in the process of second audio data based on this second configuration parameter, by this microphone, receive second environment voice data;
Obtain the variance data between this second environment voice data and this second audio data;
When determining that this variance data changes, according to the variance data after change, this second configuration parameter is adjusted;
Based on the configuration parameter after adjustment, play this second audio data.
Above-mentioned all alternatives, can adopt and combine arbitrarily formation optional embodiment of the present invention, this is no longer going to repeat them.
Fig. 2 is the process flow diagram of a kind of audio data play method according to an exemplary embodiment, and as shown in Figure 2, this audio data play method is used for, in audio playing apparatus, comprising the following steps:
In step 201, this audio playing apparatus plays testing audio data, in the process playing these testing audio data, by microphone, and reception environment voice data.
Wherein, this audio playing apparatus can be stereo set, or the playback equipment such as TV, computing machine, and the present embodiment does not limit this.When this audio playing apparatus is stereo set, this audio playing apparatus can connect with this playback equipment, by this connection, plays the voice data in this playback equipment.This audio playing apparatus can set up wired connection or wireless connections with this playback equipment, and these wireless connections can connect for bluetooth, Wi-Fi (Wireless Fidelity, Wireless Fidelity) connects, and the present embodiment does not limit this.
In addition, this microphone is for receiving the voice data in the external environment condition of this audio playing apparatus, can be the equipment integrated with this audio playing apparatus, also can be independent of this audio playing apparatus beyond equipment, when this microphone be independent of this audio playing apparatus beyond equipment time, this audio playing apparatus and this microphone connect, and by this connection, obtain the voice data that this microphones arrives.Wherein, this audio playing apparatus can set up wired connection or wireless connections with this microphone, and these wireless connections can connect for bluetooth, 2.4G wireless connections etc., and the present embodiment does not limit this.
In the present embodiment, this audio playing apparatus has pre-set this first configuration parameter, and as the gain, frequency, power etc. of each sound channel, this audio playing apparatus can based on this first configuration parameter playing audio-fequency data.But, in playing process, because the factor such as area, furnishings, noise of the external environment condition of audio playing apparatus all can impact result of broadcast, easy reduction result of broadcast, then in order to eliminate the impact of external environment condition, this audio playing apparatus before playing formal voice data, first can be tested result of broadcast.
Wherein, these testing audio data, for testing this audio playing apparatus, can be stored in advance in this audio playing apparatus, when this audio playing apparatus installation, can play this testing audio data, to test the result of broadcast of this audio playing apparatus.These testing audio data can also be stored in advance in the playback equipment such as TV, computing machine, during this audio playing apparatus installation, test request is sent to this playback equipment, when this playback equipment receives this test request, choose the testing audio data of storage, send to this audio playing apparatus, then this audio playing apparatus plays this testing audio data.
In the process playing these testing audio data, this audio playing apparatus is by this ambient sound audio data of this microphones, this ambient sound audio data has been subject to the impact of external environment condition, namely these testing audio data are different from this ambient sound audio data, and the difference between this ambient sound audio data and this testing audio data can reflect the impact of external environment condition on result of broadcast.
In the process playing these testing audio data, this audio playing apparatus can receive the ambient sound audio data in default geographic range, this default geographic range can be determined according to the allocation position of this microphone, can be the left side, right side, dead ahead etc. of this audio playing apparatus, the present embodiment limit this.Such as, this audio playing apparatus is when left side and right side configure microphone respectively, and this audio playing apparatus can first by the microphone in left side, receives the ambient sound audio data in left side, then by the microphone on right side, receives the ambient sound audio data on right side.Ambient sound audio data on the left of this can reflect the impact of the external environment condition on the left of this audio playing apparatus in geographic range on result of broadcast, and the ambient sound audio data on the right side of this can reflect the impact of the external environment condition on the right side of this audio devices in geographic range on result of broadcast.Or user's handheld microphone, at the sofa place of frequent listening to audio, by this ambient sound audio data of this microphones, this ambient sound audio data can reflect the impact of external environment condition on result of broadcast at sofa place.
In step 202., this audio playing apparatus, according to these testing audio data and this ambient sound audio data, adjusts the first configuration parameter pre-set, obtains the second configuration parameter.
When this audio playing apparatus receives this ambient sound audio data, can by being analyzed these testing audio data and this ambient sound audio data, the first configuration parameter pre-set is adjusted, obtain this second configuration parameter, when making based on this second configuration parameter playing audio-fequency data, the impact of external environment condition can be eliminated, promote result of broadcast.
When this audio playing apparatus receives this ambient sound audio data, can according to these testing audio data and this ambient sound audio data, obtain the variance data between this ambient sound audio data and this testing audio data, this variance data can reflect the impact of this external environment condition, then this audio playing apparatus can according to this variance data, obtain corrected parameter, according to this corrected parameter, this first configuration parameter is adjusted, obtain this second configuration parameter, then this corrected parameter is for eliminating this variance data, when based on this second configuration parameter playing audio-fequency data, this the second configuration parameter can eliminate the impact of external environment condition.In subsequent process, this audio playing apparatus can based on this second configuration parameter playing audio-fequency data.
Such as, when variance data between this ambient sound audio data and this testing audio data comprises the noise of multiple frequency range, this audio playing apparatus can according to the noise of the plurality of frequency range, the inverse noise of respective strengths is increased in the corresponding band of this first configuration parameter, obtain the second configuration parameter, when this audio playing apparatus is play based on this second configuration parameter, inverse noise in this second configuration parameter can suppress the noise in external environment condition, thus the impact of external environment condition can be eliminated, promote result of broadcast.
This audio playing apparatus can these testing audio data and this ambient sound audio data as input, adopt environment supervise algorithm, calculate, export this corrected parameter, according to this corrected parameter, this first configuration parameter is adjusted, obtain this second configuration parameter.
In step 203, this audio playing apparatus is based on this second configuration parameter, play second audio data, in the process playing this second audio data, by this microphone, receive second environment voice data, obtain the variance data between this second environment voice data and this second audio data, when this audio playing apparatus determines that this variance data changes, according to the variance data after change, this second configuration parameter is adjusted, continues to play this second audio data based on the configuration parameter after adjustment.
For the external environment condition of this audio playing apparatus, this external environment condition comprises multiple factor affecting the result of broadcast of this audio playing apparatus, has both comprised changeless influence factor in the plurality of factor, also comprises the influence factor that may change.Such as, the wall covering in room, this audio playing apparatus current place immobilizes, but the noise in room may change.The second configuration parameter that this audio playing apparatus obtains when testing is applicable to current external environment condition, and when external environment condition changes, this audio playing apparatus will adjust this second configuration parameter.
In order to judge whether external environment condition changes, this audio playing apparatus in the process based on this second configuration parameter playing audio-fequency data, can continue through microphones ambient sound audio data.For this second audio data, this audio playing apparatus plays this second audio data based on this second configuration parameter, in playing process, this audio playing apparatus is by this microphone, receive second environment voice data, obtain the variance data between this second environment voice data and this second audio data, judge whether this variance data changes, when this variance data changes, represent that external environment condition changes, now, this audio playing apparatus is according to the variance data after change, this second configuration parameter is adjusted, based on the configuration parameter after adjustment, continue to play this second audio data.
Such as, the sound frequency that people's ear can be heard is positioned at 20 ~ 20KHz frequency range, when in external environment condition, the noise of this frequency range increases suddenly, this audio playing apparatus determines that the noise in this variance data increases, then improve the volume in this second configuration parameter, making user when increasing noise, also can catch the voice data of broadcasting.
In the process of playing audio-fequency data, when this audio playing apparatus is changed by the variance data between the voice data received and the voice data of broadcasting, in time configuration parameter is adjusted, configuration parameter can be changed along with the change of external environment condition, improve result of broadcast, strong adaptability.
In above-mentioned steps 203, when this audio playing apparatus detect switch to new external environment condition from former external environment condition time, configuration parameter is adjusted, obtains new configuration parameter.And when this audio playing apparatus switches to former external environment condition again from new external environment condition, because this audio playing apparatus has obtained the configuration parameter being applicable to this former external environment condition before, if now re-execute this set-up procedure, unnecessary calculated amount will be increased.
In order to reduce calculated amount, external environment condition can be divided into multiple environmental pattern by this audio playing apparatus, as stillness mode, noisy pattern, party mode, bar pattern etc., the plurality of environmental pattern can be pre-set by this audio playing apparatus, and the present embodiment does not limit this.Accordingly, after step 202, the method can comprise: this audio playing apparatus, according to these testing audio data and this ambient sound audio data, is determined current environmental pattern, set up the corresponding relation between this environmental pattern and this second configuration parameter.That is to say, when this audio playing apparatus switches to new external environment condition, obtain current configuration parameters by adjustment, and determine current environmental pattern, set up the corresponding relation between current environment pattern and current configuration parameters, thus determine the configuration parameter under each environmental pattern.
This audio playing apparatus can provide the plurality of environmental pattern for user, user can Environment pattern in this audio playing apparatus according to demand, when this audio playing apparatus get user select the operation of designated environment pattern time, according to the corresponding relation between the environmental pattern set up and configuration parameter, obtain the specified configuration parameter that this designated environment pattern is corresponding, in subsequent process, this audio playing apparatus is based on this specified configuration parameter playing audio-fequency data.This audio playing apparatus according to the hobby of user and external environment condition, can be selected corresponding configuration parameter, improves result of broadcast.
Or, this audio playing apparatus also can determine environmental pattern automatically, the first voice data is play for this audio playing apparatus, in playing process, this audio playing apparatus is by this microphone, receive first environment voice data, according to this first voice data and this first environment voice data, current designated environment pattern can be determined, when this audio playing apparatus is determined to set up the corresponding relation between this designated environment pattern and specified configuration parameter, directly can obtain the specified configuration parameter that this designated environment pattern is corresponding, without the need to calculating according to this first voice data and this first environment voice data again.
The method that the present embodiment provides, by in the process playing testing audio data, by microphones ambient sound audio data, this ambient sound audio data is subject to the impact of external environment condition, according to these testing audio data and this ambient sound audio data, this first configuration parameter is adjusted, obtain this second configuration parameter, then, time based on this second configuration parameter playing audio-fequency data, the impact of external environment condition can be eliminated, improve result of broadcast, strong adaptability.When external environment condition changes, this audio playing apparatus can readjust configuration parameter, or, determine current environmental pattern, according to the corresponding relation between the environmental pattern set up and configuration parameter, obtain the configuration parameter being applicable to environment nowadays, can adjust configuration parameter in time, configuration parameter can be changed along with the change of external environment condition, improve result of broadcast, strong adaptability.
Fig. 3 is the block diagram of a kind of voice data playing device according to an exemplary embodiment, and see Fig. 3, this device comprises voice data processing module 301, adjusting module 302 and playing module 303.
Voice data processing module 301 is configured in the process playing testing audio data, by microphone, and reception environment voice data;
Adjusting module 302 is configured to for according to these testing audio data and this ambient sound audio data, and adjust the first configuration parameter pre-set, obtain the second configuration parameter, this second configuration parameter is configured to the impact for eliminating external environment condition;
Playing module 303 is configured to for based on this second configuration parameter, playing audio-fequency data.
The device that the present embodiment provides, by in the process playing testing audio data, by microphones ambient sound audio data, this ambient sound audio data is subject to the impact of external environment condition, according to these testing audio data and this ambient sound audio data, this first configuration parameter is adjusted, obtain this second configuration parameter, this second configuration parameter is configured to the impact for eliminating external environment condition, then time based on this second configuration parameter playing audio-fequency data, improve result of broadcast, strong adaptability.
This adjusting module 302 is configured to, for according to the variance data between these testing audio data and this ambient sound audio data, obtain corrected parameter; According to this corrected parameter, this first configuration parameter is adjusted, obtain this second configuration parameter.
In another embodiment, this voice data processing module 301 is configured to, for by this microphone, receive the ambient sound audio data preset in geographic range.
In another embodiment, this device also comprises:
Environmental pattern determination module is configured to, for according to these testing audio data and this ambient sound audio data, determine current environmental pattern;
Corresponding relation building module is configured to the corresponding relation for setting up between this environmental pattern and this second configuration parameter.
In another embodiment, this device also comprises:
First designated parameter acquisition module is configured to, for when getting the operation selecting designated environment pattern, according to the corresponding relation between the environmental pattern set up and configuration parameter, obtain the specified configuration parameter that this designated environment pattern is corresponding;
This playing module 303 is configured to for based on this specified configuration parameter, playing audio-fequency data.
In another embodiment, this device also comprises:
This voice data processing module 301 is configured in the process of broadcasting first voice data, by this microphone, receives first environment voice data;
Second designated parameter acquisition module is configured to for according to this first voice data and this first environment voice data, determine current designated environment pattern, according to the corresponding relation between the environmental pattern set up and configuration parameter, obtain the specified configuration parameter that this designated environment pattern is corresponding;
This playing module 303 is configured to for based on this specified configuration parameter, playing audio-fequency data.
In another embodiment, this device also comprises:
This voice data processing module 301 is configured in be play in the process of second audio data based on this second configuration parameter, by this microphone, receives second environment voice data;
Variance data acquisition module is configured to the variance data for obtaining between this second environment voice data and this second audio data;
This adjusting module 302 is configured to for when determining that this variance data changes, and according to the variance data after change, adjusts this second configuration parameter;
This playing module 303 is configured to, for based on the configuration parameter after adjustment, play this second audio data.
Above-mentioned all alternatives, can adopt and combine arbitrarily formation optional embodiment of the present invention, this is no longer going to repeat them.
About the device in above-described embodiment, wherein the concrete mode of modules executable operations has been described in detail in about the embodiment of the method, will not elaborate explanation herein.
It should be noted that: the voice data playing device that above-described embodiment provides is when playing audio-fequency data, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, inner structure by audio playing apparatus is divided into different functional modules, to complete all or part of function described above.In addition, the voice data playing device that above-described embodiment provides and audio data play method embodiment belong to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
Fig. 4 is the block diagram of a kind of device 400 for voice data broadcasting according to an exemplary embodiment.Such as, device 400 can be mobile phone, computing machine, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Fig. 4, device 400 can comprise following one or more assembly: processing components 402, storer 404, power supply module 406, multimedia groupware 408, audio-frequency assembly 410, the interface 412 of I/O (I/O), sensor module 414, and communications component 416.
The integrated operation of the usual control device 400 of processing components 402, such as with display, call, data communication, camera operation and record operate the operation be associated.Treatment element 402 can comprise one or more processor 420 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 402 can comprise one or more module, and what be convenient between processing components 402 and other assemblies is mutual.Such as, processing element 402 can comprise multi-media module, mutual with what facilitate between multimedia groupware 408 and processing components 402.
Storer 404 is configured to store various types of data to be supported in the operation of equipment 400.The example of these data comprises for any application program of operation on device 400 or the instruction of method, contact data, telephone book data, message, picture, video etc.Storer 404 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), ROM (read-only memory) (ROM), magnetic store, flash memory, disk or CD.
The various assemblies that electric power assembly 406 is device 400 provide electric power.Electric power assembly 406 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 400 and be associated.
Multimedia groupware 408 is included in the screen providing an output interface between described device 400 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Described touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant to described touch or slide and pressure.In certain embodiments, multimedia groupware 408 comprises a front-facing camera and/or post-positioned pick-up head.When equipment 400 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 410 is configured to export and/or input audio signal.Such as, audio-frequency assembly 410 comprises a microphone (MIC), and when device 400 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The sound signal received can be stored in storer 404 further or be sent via communications component 416.In certain embodiments, audio-frequency assembly 410 also comprises a loudspeaker, for output audio signal.
I/O interface 412 is for providing interface between processing components 402 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor module 414 comprises one or more sensor, for providing the state estimation of various aspects for device 400.Such as, sensor module 414 can detect the opening/closing state of equipment 400, the relative positioning of assembly, such as described assembly is display and the keypad of device 400, the position of all right pick-up unit 400 of sensor module 414 or device 400 1 assemblies changes, the presence or absence that user contacts with device 400, the temperature variation of device 400 orientation or acceleration/deceleration and device 400.Sensor module 414 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor module 414 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor module 414 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 416 is configured to the communication being convenient to wired or wireless mode between device 400 and other equipment.Device 400 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communication component 416 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, described communication component 416 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 400 can be realized, for performing said method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD) (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the storer 404 of instruction, above-mentioned instruction can perform said method by the processor 420 of device 400.Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is performed by the processor of audio playing apparatus, make audio playing apparatus can perform a kind of audio data play method, described method comprises:
In the process playing testing audio data, by microphone, reception environment voice data;
According to described testing audio data and described ambient sound audio data, adjust, obtain the second configuration parameter to the first configuration parameter pre-set, described second configuration parameter is for eliminating the impact of external environment condition;
Based on described second configuration parameter, playing audio-fequency data.
In another embodiment, describedly according to described testing audio data and described ambient sound audio data, the first configuration parameter pre-set to be adjusted, obtains the second configuration parameter and comprise:
According to the variance data between described testing audio data and described ambient sound audio data, obtain corrected parameter;
According to described corrected parameter, described first configuration parameter is adjusted, obtain described second configuration parameter.
In another embodiment, described by microphone, reception environment voice data comprises:
By described microphone, receive the ambient sound audio data preset in geographic range.
In another embodiment, described method also comprises:
According to described testing audio data and described ambient sound audio data, determine current environmental pattern;
Set up the corresponding relation between described environmental pattern and described second configuration parameter.
In another embodiment, described method also comprises:
When getting the operation selecting designated environment pattern, according to the corresponding relation between the environmental pattern set up and configuration parameter, obtain the specified configuration parameter that described designated environment pattern is corresponding;
Based on described specified configuration parameter, playing audio-fequency data.
In another embodiment, described method also comprises:
In the process of broadcasting first voice data, by described microphone, receive first environment voice data;
According to described first voice data and described first environment voice data, determine current designated environment pattern;
According to the corresponding relation between the environmental pattern set up and configuration parameter, obtain the specified configuration parameter that described designated environment pattern is corresponding;
Based on described specified configuration parameter, playing audio-fequency data.
In another embodiment, described method also comprises:
Playing in the process of second audio data based on described second configuration parameter, by described microphone, receive second environment voice data;
Obtain the variance data between described second environment voice data and described second audio data;
When determining that described variance data changes, according to the variance data after change, described second configuration parameter is adjusted;
Based on the configuration parameter after adjustment, play described second audio data.
Those skilled in the art, at consideration instructions and after putting into practice invention disclosed herein, will easily expect other embodiment of the present invention.The application is intended to contain any modification of the present invention, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present invention and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Instructions and embodiment are only regarded as exemplary, and true scope of the present invention and spirit are pointed out by claim below.
Should be understood that, the present invention is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.Scope of the present invention is only limited by appended claim.

Claims (15)

1. an audio data play method, is characterized in that, described method comprises:
In the process playing testing audio data, by microphone, reception environment voice data;
According to described testing audio data and described ambient sound audio data, adjust, obtain the second configuration parameter to the first configuration parameter pre-set, described second configuration parameter is for eliminating the impact of external environment condition;
Based on described second configuration parameter, playing audio-fequency data.
2. method according to claim 1, is characterized in that, describedly adjusts the first configuration parameter pre-set according to described testing audio data and described ambient sound audio data, obtains the second configuration parameter and comprises:
According to the variance data between described testing audio data and described ambient sound audio data, obtain corrected parameter;
According to described corrected parameter, described first configuration parameter is adjusted, obtain described second configuration parameter.
3. method according to claim 1, is characterized in that, described by microphone, reception environment voice data comprises:
By described microphone, receive the ambient sound audio data preset in geographic range.
4. method according to claim 1, is characterized in that, described method also comprises:
According to described testing audio data and described ambient sound audio data, determine current environmental pattern;
Set up the corresponding relation between described environmental pattern and described second configuration parameter.
5. method according to claim 4, is characterized in that, described method also comprises:
When getting the operation selecting designated environment pattern, according to the corresponding relation between the environmental pattern set up and configuration parameter, obtain the specified configuration parameter that described designated environment pattern is corresponding;
Based on described specified configuration parameter, playing audio-fequency data.
6. method according to claim 4, is characterized in that, described method also comprises:
In the process of broadcasting first voice data, by described microphone, receive first environment voice data;
According to described first voice data and described first environment voice data, determine current designated environment pattern;
According to the corresponding relation between the environmental pattern set up and configuration parameter, obtain the specified configuration parameter that described designated environment pattern is corresponding;
Based on described specified configuration parameter, playing audio-fequency data.
7. method according to claim 1, is characterized in that, described method also comprises:
Playing in the process of second audio data based on described second configuration parameter, by described microphone, receive second environment voice data;
Obtain the variance data between described second environment voice data and described second audio data;
When determining that described variance data changes, according to the variance data after change, described second configuration parameter is adjusted;
Based on the configuration parameter after adjustment, play described second audio data.
8. a voice data playing device, is characterized in that, described device comprises:
Voice data processing module, in the process playing testing audio data, by microphone, reception environment voice data;
Adjusting module, for according to described testing audio data and described ambient sound audio data, adjust, obtain the second configuration parameter to the first configuration parameter pre-set, described second configuration parameter is for eliminating the impact of external environment condition;
Playing module, for based on described second configuration parameter, playing audio-fequency data.
9. device according to claim 8, is characterized in that, described adjusting module is used for according to the variance data between described testing audio data and described ambient sound audio data, obtains corrected parameter; According to described corrected parameter, described first configuration parameter is adjusted, obtain described second configuration parameter.
10. device according to claim 8, is characterized in that, described voice data processing module is used for by described microphone, receives the ambient sound audio data preset in geographic range.
11. devices according to claim 8, is characterized in that, described device also comprises:
Environmental pattern determination module, for according to described testing audio data and described ambient sound audio data, determines current environmental pattern;
Corresponding relation building module, for setting up the corresponding relation between described environmental pattern and described second configuration parameter.
12. devices according to claim 11, is characterized in that, described device also comprises:
First designated parameter acquisition module, for when getting the operation selecting designated environment pattern, according to the corresponding relation between the environmental pattern set up and configuration parameter, obtains the specified configuration parameter that described designated environment pattern is corresponding;
Described playing module, for based on described specified configuration parameter, playing audio-fequency data.
13. devices according to claim 11, is characterized in that, described device also comprises:
Described voice data processing module, in the process of broadcasting first voice data, by described microphone, receives first environment voice data;
Second designated parameter acquisition module, for according to described first voice data and described first environment voice data, determine current designated environment pattern, according to the corresponding relation between the environmental pattern set up and configuration parameter, obtain the specified configuration parameter that described designated environment pattern is corresponding;
Described playing module, for based on described specified configuration parameter, playing audio-fequency data.
14. devices according to claim 8, is characterized in that, described device also comprises:
Described voice data processing module, for playing in the process of second audio data based on described second configuration parameter, by described microphone, receives second environment voice data;
Variance data acquisition module, for obtaining the variance data between described second environment voice data and described second audio data;
Described adjusting module, for when determining that described variance data changes, according to the variance data after change, adjusts described second configuration parameter;
Described playing module, for based on the configuration parameter after adjustment, plays described second audio data.
15. 1 kinds of voice data playing devices, is characterized in that, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
In the process playing testing audio data, by microphone, reception environment voice data;
According to described testing audio data and described ambient sound audio data, adjust, obtain the second configuration parameter to the first configuration parameter pre-set, described second configuration parameter is for eliminating the impact of external environment condition;
Based on described second configuration parameter, playing audio-fequency data.
CN201410645721.8A 2014-11-12 2014-11-12 Audio data play method and device Active CN104464764B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410645721.8A CN104464764B (en) 2014-11-12 2014-11-12 Audio data play method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410645721.8A CN104464764B (en) 2014-11-12 2014-11-12 Audio data play method and device

Publications (2)

Publication Number Publication Date
CN104464764A true CN104464764A (en) 2015-03-25
CN104464764B CN104464764B (en) 2017-08-15

Family

ID=52910704

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410645721.8A Active CN104464764B (en) 2014-11-12 2014-11-12 Audio data play method and device

Country Status (1)

Country Link
CN (1) CN104464764B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106612482A (en) * 2015-10-23 2017-05-03 中兴通讯股份有限公司 Method for adjusting audio parameter and mobile terminal
CN110149571A (en) * 2019-01-02 2019-08-20 晶晨半导体(深圳)有限公司 A kind of echo cancelling system and removing method for speech ciphering equipment
CN113012722A (en) * 2019-12-19 2021-06-22 腾讯科技(深圳)有限公司 Sampling rate processing method, device, system, storage medium and computer equipment
CN113076075A (en) * 2020-01-03 2021-07-06 北京小米移动软件有限公司 Audio signal adjusting method and device, terminal and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102355614A (en) * 2010-06-07 2012-02-15 索尼公司 Audio signal processing apparatus and audio signal processing method
JP2013504791A (en) * 2009-09-14 2013-02-07 ディーティーエス・エルエルシー A system for adaptive speech intelligibility processing.
CN103079148A (en) * 2012-12-28 2013-05-01 中兴通讯股份有限公司 Method and device for reducing noise of two microphones of terminal
CN103929522A (en) * 2013-01-10 2014-07-16 联想(北京)有限公司 Control method and control apparatus of electronic device, and electronic device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013504791A (en) * 2009-09-14 2013-02-07 ディーティーエス・エルエルシー A system for adaptive speech intelligibility processing.
CN102355614A (en) * 2010-06-07 2012-02-15 索尼公司 Audio signal processing apparatus and audio signal processing method
CN103079148A (en) * 2012-12-28 2013-05-01 中兴通讯股份有限公司 Method and device for reducing noise of two microphones of terminal
CN103929522A (en) * 2013-01-10 2014-07-16 联想(北京)有限公司 Control method and control apparatus of electronic device, and electronic device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106612482A (en) * 2015-10-23 2017-05-03 中兴通讯股份有限公司 Method for adjusting audio parameter and mobile terminal
CN106612482B (en) * 2015-10-23 2020-06-19 中兴通讯股份有限公司 Method for adjusting audio parameters and mobile terminal
CN110149571A (en) * 2019-01-02 2019-08-20 晶晨半导体(深圳)有限公司 A kind of echo cancelling system and removing method for speech ciphering equipment
CN113012722A (en) * 2019-12-19 2021-06-22 腾讯科技(深圳)有限公司 Sampling rate processing method, device, system, storage medium and computer equipment
CN113012722B (en) * 2019-12-19 2022-06-10 腾讯科技(深圳)有限公司 Sampling rate processing method, device, system, storage medium and computer equipment
US11729236B2 (en) 2019-12-19 2023-08-15 Tencent Technology (Shenzhen) Company Limited Sampling rate processing method, apparatus, and system, storage medium, and computer device
CN113076075A (en) * 2020-01-03 2021-07-06 北京小米移动软件有限公司 Audio signal adjusting method and device, terminal and storage medium

Also Published As

Publication number Publication date
CN104464764B (en) 2017-08-15

Similar Documents

Publication Publication Date Title
EP3163885B1 (en) Method and apparatus for controlling electronic device
CN105262452A (en) Method and apparatus for adjusting volume, and terminal
CN105828201B (en) Method for processing video frequency and device
CN105228147A (en) Method for connecting network, Apparatus and system
CN104636110B (en) Control the method and device of volume
CN105828281A (en) Device connection method and device
CN104637505A (en) Audio playing method and device
CN104991754A (en) Recording method and apparatus
CN105187594A (en) Echo canceling method and device
CN105407368A (en) Multimedia playing method, device and system
CN107493500A (en) Multimedia resource player method and device
CN105406828A (en) Sound equipment adjustment method and device
CN104021148A (en) Method and device for adjusting sound effect
CN104112459A (en) Method and apparatus for playing audio data
CN105468236A (en) Message prompting method and apparatus and terminal
CN106941635B (en) Speaker connection method and device
CN105101013A (en) Method and device for playing voice signals
CN105451056A (en) Audio and video synchronization method and device
CN104539871A (en) Multimedia call method and device
CN105472676A (en) Network connection method and device
CN104464764A (en) Audio data broadcasting method and device
CN104301308A (en) Communication control method and device
CN104702756A (en) Detecting method and detecting device for soundless call
CN105301183A (en) Air quality detecting method and device
CN104935729A (en) Audio output method and device

Legal Events

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