CN110475181A - Equipment configuration method, device, equipment and storage medium - Google Patents

Equipment configuration method, device, equipment and storage medium Download PDF

Info

Publication number
CN110475181A
CN110475181A CN201910758095.6A CN201910758095A CN110475181A CN 110475181 A CN110475181 A CN 110475181A CN 201910758095 A CN201910758095 A CN 201910758095A CN 110475181 A CN110475181 A CN 110475181A
Authority
CN
China
Prior art keywords
equipment
candidate
response rate
equalizer
under test
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
CN201910758095.6A
Other languages
Chinese (zh)
Other versions
CN110475181B (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 Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201910758095.6A priority Critical patent/CN110475181B/en
Publication of CN110475181A publication Critical patent/CN110475181A/en
Application granted granted Critical
Publication of CN110475181B publication Critical patent/CN110475181B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • H04R3/02Circuits for transducers, loudspeakers or microphones for preventing acoustic reaction, i.e. acoustic oscillatory feedback

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Health & Medical Sciences (AREA)
  • Signal Processing (AREA)
  • General Health & Medical Sciences (AREA)
  • Otolaryngology (AREA)
  • Computational Linguistics (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The embodiment of the invention discloses a kind of equipment configuration method, device, equipment and storage mediums.This method comprises: using distance, and the candidate mapping relations using between distance and candidate parametric equalizer range according to the target of equipment to be configured, target equalizer parameter area is determined;Wherein, the candidate parametric equalizer range is determined according to the candidate voice response rate using under;According to the audio playback features of the equipment to be configured, the target equalizer parameter value of the equipment to be configured is determined in the target equalizer parameter area.The voice response rate that the embodiment of the present invention passes through evaluation and test smart machine, under the premise of meeting voice response rate, the audio result of broadcast for improving equipment, provides guarantee for the audio of smart machine, by the case of interior make an uproar voice response rate and both audio results of broadcast reach optimal balance point.

Description

Equipment configuration method, device, equipment and storage medium
Technical field
The present embodiments relate to technical field of intelligent equipment more particularly to a kind of equipment configuration method, device, equipment and Storage medium.
Background technique
With the fast development of artificial intelligence, the smart machines such as intelligent sound box usually have both audio and play and speech recognition function Energy.Such as during smart machine plays music, user can pass through voice control smart machine.
However, when user carries out voice control to smart machine during smart machine plays audio, smart machine The audio played can be input in smart machine with user speech, be had an impact to speech identifying function.Currently, in intelligence During energy device plays audio, to improve speech recognition capabilities, (Acoustic can be eliminated using acoustic echo Echo Cancellation, AEC) technology eliminates the noise that smart machine itself generates, and AEC treatment effect sets with intelligence The standby total harmonic distortion curve (Total Harmonic Distortion, THD) for playing source of sound itself is related, further, intelligence EQ (Equalizer, balanced device) curve of equipment trumpet end can effectively control the low frequency component of THD, but following THD The reduction of low frequency component will affect the audio play sound effect of smart machine.
Therefore, the prior art is difficult to the relationship between Balanced Audio playing function and speech identifying function, reduces intelligence Equipment audio result of broadcast or audio identification efficiency.
Summary of the invention
The embodiment of the invention provides a kind of equipment configuration method, device, equipment and storage medium, can Balanced Audio broadcast Playing function and speech identifying function.
In a first aspect, the embodiment of the invention provides a kind of equipment configuration methods, comprising:
Distance is used according to the target of equipment to be configured, and candidate using between distance and candidate parametric equalizer range Mapping relations, determine target equalizer parameter area;Wherein, the candidate parametric equalizer range is made according to the candidate It is determined with the voice response rate under;
According to the audio playback features of the equipment to be configured, determined in the target equalizer parameter area it is described to Configure the target equalizer parameter value of equipment.
Second aspect, the embodiment of the invention provides a kind of device configuration devices, comprising:
Parameter area determining module, for using distance according to the target of equipment to be configured, and it is candidate using distance with Mapping relations between candidate parametric equalizer range, determine target equalizer parameter area;Wherein, the candidate balanced device ginseng Number range is determined according to the candidate voice response rate using under;
Parameter configuration module is joined for the audio playback features according to the equipment to be configured in the target equalizer The target equalizer parameter value of the equipment to be configured is determined in number range.
The third aspect, the embodiment of the invention provides a kind of equipment, comprising:
One or more processors;
Memory, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processing Device realizes equipment configuration method described in any embodiment of that present invention.
Fourth aspect, the embodiment of the invention provides a kind of computer readable storage mediums, are stored thereon with computer journey Sequence realizes equipment configuration method described in any embodiment of that present invention when the program is executed by processor.
The embodiment of the present invention is each candidate using distance association by predefining according to the voice response rate of equipment Candidate parametric equalizer range, thus to equipment to be configured carry out parametric equalizer configuration when, according to equipment to be configured Target uses distance, and the candidate mapping relations using between distance and candidate parametric equalizer range, determines to be configured set Standby target equalizer parameter area, and according to the audio playback features of equipment to be configured, in target equalizer parameter area Determine the target equalizer parameter value of equipment to be configured.Voice response rate of the embodiment of the present invention by evaluation and test smart machine, In Under the premise of meeting voice response rate, the audio result of broadcast of equipment is improved, guarantee is provided for the audio of smart machine, makes an uproar interior In the case of voice response rate and both audio results of broadcast reach optimal balance point.
Detailed description of the invention
Fig. 1 is a kind of flow chart for equipment configuration method that the embodiment of the present invention one provides;
Fig. 2 is a kind of flow chart of equipment configuration method provided by Embodiment 2 of the present invention;
Fig. 3 is parameter test system exemplary diagram provided by Embodiment 2 of the present invention;
Fig. 4 is a kind of structural schematic diagram for device configuration device that the embodiment of the present invention three provides;
Fig. 5 is a kind of structural schematic diagram for equipment that the embodiment of the present invention four provides.
Specific embodiment
The embodiment of the present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this Locate described specific embodiment and is used only for explaining the embodiment of the present invention, rather than limitation of the invention.It further needs exist for Bright, only parts related to embodiments of the present invention are shown for ease of description, in attached drawing rather than entire infrastructure.
It also should be noted that illustrate only part relevant to the application for ease of description, in attached drawing rather than Full content.It should be mentioned that some exemplary embodiments are described before exemplary embodiment is discussed in greater detail At the processing or method described as flow chart.Although operations (or step) are described as the processing of sequence by flow chart, It is that many of these operations can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence of operations can be by again It arranges.The processing can be terminated when its operations are completed, it is also possible to have the additional step being not included in attached drawing. The processing can correspond to method, function, regulation, subroutine, subprogram etc..
Embodiment one
Fig. 1 is the flow chart of a kind of equipment configuration method that the embodiment of the present invention one provides, and the present embodiment is applicable to pair Smart machine carries out the case where parametric equalizer configuration, and this method can be executed by a kind of device configuration device, which can be with It is realized by the way of software and/or hardware, is preferably arranged in the smart machine for having both audio broadcasting and speech identifying function In, such as intelligent sound box.This method specifically includes as follows:
S110, distance, and candidate is used to use distance and candidate parametric equalizer model according to the target of equipment to be configured Mapping relations between enclosing determine target equalizer parameter area;Wherein, candidate parametric equalizer range is used according to candidate Voice response rate under determines.
In the specific embodiment of the invention, equipment to be configured refers to that the intelligence for having both audio broadcasting and speech identifying function is set It is standby, such as intelligent sound box and smart phone etc..The use distance of equipment to be configured refer to user when using equipment to be configured with The distance between equipment to be configured, such as user are sitting in the side for the desk that width is 1m, and intelligent sound box is fixed at and is write The other side of word platform, then the use distance of the current intelligent sound box is 1m or so.Target refers to equipment to be configured using distance Use distance under different usage scenarios, such as be 1m under above-mentioned scene.And candidate refers to equipment to be configured using distance At least one of available range, such as 0-5m.
In the present embodiment, balanced device is in smart machine for adjusting the amplification quantity of various frequency content electric signals respectively Module realizes that curve, compensation and the modification of compensation loudspeaker and sound field are various by the adjusting of the electric signal to different frequency The effects of sound source.The present embodiment can be used as equipment under test using equipment identical with various device models to be configured in advance, logical Cross and equipment under test tested in the different candidate values using the parametric equalizer range under distance, realize candidate use away from Foundation from mapping relations between candidate parametric equalizer range, in order to which equipment to be configured carries out the configuration of parametric equalizer When, distance is directly used according to the target of equipment to be configured, and candidate using between distance and candidate parametric equalizer range Mapping relations, to determine target equalizer parameter area.
Specifically, the present embodiment is according to equipment under test for the language of phonetic control command each candidate using under distance Sound response rate determines candidate parametric equalizer range.Wherein, voice response rate refers to the control in the phonetic order of certain number Under system, the number of equipment success response and the ratio of phonetic order total degree.For example, equipment under test wakes up word to 100 voices Successful wake-up times, that is, wake-up rate.Parametric equalizer range refers to the condition for meeting certain voice response rate in equipment under test The range of lower be adjustable parametric equalizer, different uses are different apart from lower parametric equalizer range.The present embodiment exists Configure equipment parametric equalizer before, can premised on voice response rate condition, by equipment under test in different uses Parametric equalizer range under is tested, and building uses the mapping relations between distance and parametric equalizer range.
Illustratively, in test scene, can pre-select human simulation etc. be used as speech simulation sound source, and select with to Configuration equipment is tested with the smart machine of model as equipment under test, and balanced device curve is burnt in equipment under test.In Within the scope of the available range of equipment, multiple distances can be pre-selected respectively as candidate using distance, and fix equipment under test Distance is that the candidate uses distance between speech simulation sound source.
During the test, control equipment under test plays white noise with max volume, controls speech simulation sound source with one Fixed frequency and number play phonetic order, and adjusting the sound pressure level at speech simulation sound source is standard sound pressure, such as 94dB.Really Equipment under test is determined to the response results of phonetic order each time, and the voice for calculating the equipment under test in the case where current candidate uses distance is rung It should rate.Wherein it is possible to reverberation time of the equipment under test in the case where current candidate uses distance be recorded, if the reverberation time is above standard Reverberation time range, such as 0.3-0.6s then terminate the candidate using apart from the lower test to parametric equalizer.Finally according to quilt The voice response rate of measurement equipment determines equipment under test in the candidate candidate parametric equalizer range using under distance.
Illustratively, if the voice response rate of equipment under test is unsatisfactory for voice response rate item less than the first response rate threshold value Part then turns down parametric equalizer in equipment under test in the gain of low frequency component, such as turns down the gain of 50-300Hz frequency component, To reduce loudspeaker in the THD of low-frequency range, the echo cancellation process effect of AEC is improved, until obtained voice response rate is equal to the When one response rate threshold value meets voice response rate condition, using current equalizer parameter as in candidate parametric equalizer range Lower limit value.Similarly, if the voice response rate of equipment under test meets voice response rate condition greater than the second response rate threshold value, Parametric equalizer reduces returning for AEC in the gain of low frequency component to improve loudspeaker in the THD of low-frequency range in height-regulating equipment under test Sound Processing for removing effect, until obtained voice response is equal to the second response rate threshold value, it will be by meeting voice response rate item Part skips to when being unsatisfactory for voice response rate condition, using current equalizer parameter as the upper limit in candidate parametric equalizer range Value.Wherein, the first response rate threshold value can be identical with the second response rate threshold value, such as is 98%, in addition the first response rate threshold Value can not also be identical with the second response rate threshold value, and the first response rate threshold value can be greater than the second response rate threshold value.And then it should Lower limit value and upper limit value just constitute candidate parametric equalizer range, and are associated with current candidate using distance.
In the present embodiment, on the basis of candidate uses mapping relations between distance and candidate parametric equalizer range, lead to It crosses and the target of equipment to be configured is compared with candidate using distance using distance, it will be with target use apart from immediate time Select use apart from associated candidate parametric equalizer range, the target equalizer parameter area as equipment to be configured.And then it is logical Cross the selection target parametric equalizer range from mapping relations, can under the premise of to meet smart machine voice response rate, Under the premise of ensuring that smart machine can respond user speech control instruction at merits and demerits, by the adjustable extent of parametric equalizer It is locked in target equalizer parameter area, significantly reduces the adjustable range of parametric equalizer in smart machine, improves ginseng Number allocative efficiency and accuracy rate.
S120, the audio playback features according to equipment to be configured determine to be configured set in target equalizer parameter area Standby target equalizer parameter value.
In the specific embodiment of the invention, audio playback features are used to describe the audio result of broadcast of equipment to be configured.Sound Frequency playback features may include the sound quality subjective index such as volume, pitch and tone color, can also include frequency response curve The sound quality objective indicator such as (Frequency Response, FR) and harmonic distortion curve THD.Wherein, frequency response curve is in electronics It is used to describe equipment for the difference of the processing capacity of the signal of different frequency on, refers to gain with the change curve of frequency; Harmonic distortion curve refers to the harmonic wave cost that output signal ratio input signal has more, and it is fairly linear that harmonic distortion is that system is not belonging to Caused by.The sum of all additional harmonic level are known as total harmonic distortion, and total harmonic distortion is related with frequency, and then total harmonic distortion Curve refers to total harmonic distortion curve varying with frequency.This implementation is preferably measured using objective characteristics such as FR and THD wait match Install standby audio playback features.
In the present embodiment, by the way that equipment to be configured to be adjusted in target equalizer parameter area, obtain to be configured Audio playback features of the equipment under each parametric equalizer, according to the audio playback features under each parametric equalizer, selection Parametric equalizer value when audio result of broadcast is best, the target equalizer parameter value as equipment to be configured.
Illustratively, in target equalizer parameter area, frequency response curve when obtaining device plays audio to be configured and Harmonic distortion curve;According to frequency response curve and harmonic distortion curve, equipment to be configured is determined out of target equalizer parameter area Target equalizer parameter value.For example, the Hz-KHz of frequency response curve should at least cover the range of sounds that human ear can be heard 20Hz-20KHz, and frequency response curve is straight better more flattening out;The more difficult inhibition of harmonic distortion, and it is big to the harm of sound quality, it is especially odd Subharmonic be it is non-melodious, to the very harmful of sound quality, it requires that the numerical value of THD is the smaller the better.
The technical solution of the present embodiment, by according to the voice response rate of equipment, predefining each candidate use Apart from associated candidate parametric equalizer range, thus when carrying out parametric equalizer configuration to equipment to be configured, according to wait match Standby target is installed using distance, and the candidate mapping relations using between distance and candidate parametric equalizer range, is determined The target equalizer parameter area of equipment to be configured, and according to the audio playback features of equipment to be configured, join in target equalizer The target equalizer parameter value of equipment to be configured is determined in number range.The embodiment of the present invention is rung by the voice of evaluation and test smart machine Should rate improve the audio result of broadcast of equipment under the premise of meeting voice response rate, provide guarantor for the audio of smart machine Card, by the case of interior make an uproar voice response rate and both audio results of broadcast reach optimal balance point.
Embodiment two
The present embodiment on the basis of the above embodiment 1, provides a preferred embodiment of equipment configuration method, It can determine that candidate's use is joined apart from corresponding candidate balanced device according to equipment in the candidate voice response rate using under distance Number range.Fig. 2 is a kind of flow chart of equipment configuration method provided by Embodiment 2 of the present invention, as shown in Fig. 2, this method is specific Include the following:
The reverberation time range if the reverberation time of S210, equipment under test in the case where any candidate uses distance is above standard, Terminate the candidate using apart from the lower test to parametric equalizer.
It, can be in advance using equipment identical with various device models to be configured as quilt in the specific embodiment of the invention Measurement equipment is realized by being tested in the different candidate values using the parametric equalizer range under distance equipment under test Candidate uses the foundation of mapping relations between distance and candidate parametric equalizer range.
In the present embodiment, after the reverberation time refers to that sound source stops sounding, by indoor attenuation process, sound pressure level is reduced Time required for 60dB.Reverberation time is too short, and sound is dry, uninteresting unwarm nature;Reverberation time is too long, can make sound Ambiguous;Sound is mellow and full interesting to listen to when reverberation time is suitable.And then the present embodiment is candidate balanced with candidate using distance in foundation Between device parameter area when mapping relations, it can choose and tested under the conditions of the reverberation fields such as reverberation chamber, thus when being based on reverberation Between one of the condition that is adjusted as equipment sound quality.Reverberation time is the important evaluation index of sound energy quantitative estimation in acoustics design, The standard reverberation time being applicable under the conditions of different reverberation is different.For example, the reverberation time of motion picture projection is suitble to be usually no more than 0.8 Second, being suitble to the reverberation time of music hall is usually 1.5 seconds.
Wherein, within the scope of the available range of equipment, multiple distances can be pre-selected respectively as candidate and use distance, And distance is that the candidate uses distance between fixed equipment under test and speech simulation sound source.In each candidate using under distance, remember Record the reverberation time of reverberation chamber.By the way that each candidate is mixed using the reverberation time under and the standard under the conditions of current reverberation The sound time is compared, and the reverberation time range if any candidate reverberation time using under is above standard, rejecting should Candidate uses distance, and terminates the candidate using apart from the lower test to parametric equalizer.
S220, it is played in audio process in equipment under test, according to equipment under test to the played voice of speech simulation sound source The voice broadcasting time of response results and speech simulation sound source determines the voice response rate of equipment under test.
In the specific embodiment of the invention, equipment under test is controlled with max volume and plays white noise, controls speech simulation sound Source plays phonetic order with certain frequency and number, and adjusting the sound pressure level at speech simulation sound source is standard sound pressure, such as 94dB, and determine equipment under test to the response results of phonetic order each time.Illustratively, it is assumed that control speech simulation sound source with Certain frequency plays 1000 phonetic control commands and determines equipment under test success response 980 by the detection of response results Secondary, then the voice response rate for calculating the equipment under test in the case where current candidate uses distance is 98%.
S230, the voice response rate according to equipment under test determine equipment under test candidate balanced using the candidate under distance Device parameter area.
In the specific embodiment of the invention, time determines the voice response rate of phonetic control command according to equipment under test Select parametric equalizer range.Wherein, voice response rate refers under the control of the phonetic order of certain number, equipment success response Number and phonetic order total degree ratio.Based on voice response rate condition, meets and be discontented with crossing by equipment under test The critical point of sufficient voice response rate condition, and when crossing the critical point for being unsatisfactory for and meeting voice response rate condition, determine quilt The parametric equalizer upper lower limit value of measurement equipment obtains equipment under test in the candidate candidate parametric equalizer model using under distance with this It encloses.
Optionally, if the voice response rate of equipment under test turns down parametric equalizer low less than the first response rate threshold value The gain of frequency component, until obtained voice response rate is equal to the first response rate threshold value, using current equalizer parameter as candidate Lower limit value in parametric equalizer range;If the voice response rate of equipment under test is greater than the second response rate threshold value, equilibrium is turned up Device parameter low frequency component gain, until obtained voice response is equal to the second response rate threshold value, by current equalizer parameter As the upper limit value in candidate parametric equalizer range.
In the present embodiment, response rate threshold value refers to the smart machine of the such model of equipment under test, required success response Rate condition, such as can require the response rate threshold value of intelligent sound box is 98%.Wherein, response rate can be equipment for any language The response success rate of sound control instruction may also mean that equipment for certain specific a kind of or some phonetic control command response Success rate, such as equipment wake up the wake-up rate of word to voice.In addition, response rate threshold value can be single threshold value, or ring Should rate threshold range, that is, include the first response rate threshold value and the second response rate threshold value, and the first response rate threshold value can be greater than the Two response rate threshold values.
In the present embodiment, if the voice response rate of equipment under test is unsatisfactory for voice response rate less than the first response rate threshold value Condition then turns down parametric equalizer in equipment under test in the gain of low frequency component, such as turns down the increasing of 50-300Hz frequency component Benefit improves the echo cancellation process effect of AEC to reduce loudspeaker in the THD of low-frequency range, until obtained voice response rate is equal to When first response rate threshold value meets voice response rate condition, using current equalizer parameter as in candidate parametric equalizer range Lower limit value.Similarly, if the voice response rate of equipment under test meets voice response rate condition greater than the second response rate threshold value, Parametric equalizer, which is then turned up in equipment under test, reduces AEC's in the gain of low frequency component to improve loudspeaker in the THD of low-frequency range Echo cancellation process effect, until obtained voice response is equal to the second response rate threshold value, it will be by meeting voice response rate Condition skips to when being unsatisfactory for voice response rate condition, using current equalizer parameter as the upper limit in candidate parametric equalizer range Value.
Illustratively, Fig. 3 is parameter test system exemplary diagram.As shown in figure 3, can be in the reverberation field condition of reverberation chamber Under, human simulation etc. can be pre-selected and be used as speech simulation sound source, and select to make with equipment to be configured with the smart machine of model It is tested for equipment under test, fixed setting the distance between equipment under test and speech simulation sound source are candidate use distance L.It is logical PC and extraneous test equipment, such as sound card, power amplifier and adapter etc. are crossed, standard microphone, adapter, sound card are passed through It is tested with sound pressure level of the PC to speech simulation sound source, determines that the sound pressure level at speech simulation sound source is 94dB.It will by PC Balanced device curve is burnt in equipment under test, by PC, sound card and power amplifier control speech simulation sound source with certain frequency Rate and number play phonetic order, such as play 1000 times.During the test, determine that equipment under test refers to voice each time The response results of order calculate the voice response rate of the equipment under test in the case where current candidate uses distance.According to equipment under test current It is critical point that candidate, which uses voice response rate and response rate threshold value under, determines that current candidate uses under distance respectively Parameter upper limit value and lower limit value, obtain current candidate and use candidate parametric equalizer range under.
S240, distance, and candidate is used to use distance and candidate parametric equalizer model according to the target of equipment to be configured Mapping relations between enclosing determine target equalizer parameter area.
In the specific embodiment of the invention, the target of equipment to be configured is compared with candidate using distance using distance It is right, can according to comparison result will with target use apart from immediate candidate use apart from associated candidate's parametric equalizer model It encloses, the target equalizer parameter area as equipment to be configured.
S250, in target equalizer parameter area, obtain the frequency response curve and harmonic wave when device plays audio to be configured Distortion curve.
In the specific embodiment of the invention, equipment to be configured is adjusted in target equalizer parameter area, is controlled Device plays audio to be configured.The FR and THD when device plays audio to be configured can be acquired by equipment such as oscillographs.
S260, according to frequency response curve and harmonic distortion curve, equipment to be configured is determined out of target equalizer parameter area Target equalizer parameter value.
In the specific embodiment of the invention, the Hz-KHz of frequency response curve should at least cover the sound that human ear can be heard Range 20Hz-20KHz, and frequency response curve is straight better more flattening out;The more difficult inhibition of harmonic distortion, and it is big to the harm of sound quality, especially Be odd harmonic be it is non-melodious, to the very harmful of sound quality, it requires that the numerical value of THD is the smaller the better.It therefore, can be with base The FR that is collected during the parametric equalizer of equipment to be configured is adjusted in target equalizer parameter area and THD determines the target equalizer parameter value of equipment to be configured according to the shape of curve out of target equalizer parameter area.This Outside, can also be by human subjective's audition, the sound quality for the voice signal manually heard hears that the people of audio can be listened To sound quality be input in PC, by the comprehensive objective indicator of PC and subjective index, determine out of target equalizer parameter area wait match Install standby target equalizer parameter value.So far it realizes under the premise of ensuring voice response rate, obtains optimal sound quality and play Effect.
The technical solution of the present embodiment can reject undesirable candidate and use distance using the reverberation time as standard. Under each candidate scene using distance, played in audio process in equipment under test, according to equipment under test to speech simulation sound The response results of the played voice in source and the voice broadcasting time of speech simulation sound source, determine the voice response of equipment under test Rate determines equipment under test in the candidate candidate parametric equalizer range using under distance, establishing candidate makes according to voice response rate With the mapping relations between distance and candidate parametric equalizer range.To carry out parametric equalizer configuration to equipment to be configured When, according to the target of equipment to be configured using distance and the mapping relations, determine the target equalizer parameter model of equipment to be configured It encloses, and according to the audio playback features of equipment to be configured, determines the target equalizer parameter value of equipment to be configured.The present invention is implemented Example is by the voice response rate of evaluation and test smart machine, and under the premise of meeting voice response rate, the audio for improving equipment plays effect Fruit provides guarantee for the audio of smart machine, by the case of interior make an uproar voice response rate and both audio results of broadcast reach most Good equalization point.
Embodiment three
Fig. 4 is a kind of structural schematic diagram for device configuration device that the embodiment of the present invention three provides, and the present embodiment is applicable In to smart machine carry out parametric equalizer configuration the case where, which can realize that equipment described in any embodiment of that present invention is matched Set method.The device specifically includes as follows:
Parameter area determining module 410, for using distance, and candidate to use distance according to the target of equipment to be configured Mapping relations between candidate parametric equalizer range, determine target equalizer parameter area;Wherein, the candidate balanced device Parameter area is determined according to the candidate voice response rate using under;
Parameter configuration module 420, for the audio playback features according to the equipment to be configured, in the target equalizer The target equalizer parameter value of the equipment to be configured is determined in parameter area.
Optionally, described device further includes candidate parameter range determination module 430;The candidate parameter range determination module 430 include:
Response rate determination unit 4301, for being played in audio process in equipment under test, according to the equipment under test to language Sound simulates the response results of the played voice of sound source and the voice broadcasting time of the speech simulation sound source, determines the quilt The voice response rate of measurement equipment;
Candidate parametric equalizer range determination unit 4302 is determined for the voice response rate according to the equipment under test The equipment under test is in the candidate candidate parametric equalizer range using under distance;Wherein, the candidate is using distance The distance between the equipment under test and the speech simulation sound source.
Optionally, the candidate parametric equalizer range determination unit 4302 is specifically used for:
If the voice response rate of the equipment under test turns down parametric equalizer in low frequency point less than the first response rate threshold value The gain of amount, until obtained voice response rate is equal to the first response rate threshold value, using current equalizer parameter as described in Lower limit value in candidate parametric equalizer range;
If the voice response rate of the equipment under test is greater than the second response rate threshold value, parametric equalizer is turned up in low frequency point The gain of amount, until obtained voice response is equal to the second response rate threshold value, using current equalizer parameter as the time Select the upper limit value in parametric equalizer range.
Further, the candidate parameter range determination module 430 further includes being specifically used for apart from screening unit 4303:
In the response results according to the equipment under test to the played voice of speech simulation sound source and the voice The voice broadcasting time for simulating sound source, before the voice response rate for determining the equipment under test, if the equipment under test is any Candidate is above standard reverberation time range using reverberation time under, then terminates the candidate use apart from lower to balanced device ginseng Several tests.
Optionally, the parameter configuration module 420 is specifically used for:
In the target equalizer parameter area, frequency response curve when obtaining the device plays audio to be configured is harmonious Wave distortion curve;
According to the frequency response curve and the harmonic distortion curve, out of described target equalizer parameter area described in determination The target equalizer parameter value of equipment to be configured.
The technical solution of the present embodiment realizes taking for test environment by the mutual cooperation between each functional module It builds, the detection of reverberation time, the screening of candidate distance, the broadcasting of phonetic control command, the calculating of voice response rate, balanced device ginseng The number determination of range, the determination of device target parametric equalizer range to be configured, the detection of sound quality and matching for parametric equalizer The functions such as set.The embodiment of the present invention is mentioned under the premise of meeting voice response rate by the voice response rate of evaluation and test smart machine The audio result of broadcast of high equipment provides guarantee for the audio of smart machine, by the voice response rate and audio in the case of interior make an uproar Both results of broadcast reach optimal balance point.
Example IV
Fig. 5 is a kind of structural schematic diagram for equipment that the embodiment of the present invention four provides, and Fig. 5, which is shown, to be suitable for being used to realizing this The block diagram of the example devices of inventive embodiments embodiment.The equipment that Fig. 5 is shown is only an example, should not be to the present invention The function and use scope of embodiment bring any restrictions.
The equipment 500 that Fig. 5 is shown is only an example, should not function to the embodiment of the present invention and use scope bring Any restrictions.The equipment 500 is preferably the smart machine for having both audio broadcasting and speech identifying function.
As shown in figure 5, equipment 500 is showed in the form of universal computing device.The component of equipment 500 may include but unlimited In one or more processor 510, system storage 520, different system components (including system storage 520 and place are connected Manage device 510) bus 530.
Bus 530 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller, Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.It lifts For example, these architectures include but is not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC) Bus, enhanced isa bus, Video Electronics Standards Association (VESA) local bus and peripheral component interconnection (PCI) bus.
Equipment 500 typically comprises a variety of computer system readable media.These media can be it is any can be by equipment The usable medium of 500 access, including volatile and non-volatile media, moveable and immovable medium.
System storage 520 may include the computer system readable media of form of volatile memory, such as deposit at random Access to memory (RAM) 521 and/or cache memory 522.Equipment 500 may further include other removable/not removable Dynamic, volatile/non-volatile computer system storage medium.Only as an example, storage system 523 can be used for read and write can not Mobile, non-volatile magnetic media (Fig. 5 do not show, commonly referred to as " hard disk drive ").Although being not shown in Fig. 5, Ke Yiti For the disc driver for being read and write to removable non-volatile magnetic disk (such as " floppy disk "), and to moving non-volatile light The CD drive of disk (such as CD-ROM, DVD-ROM or other optical mediums) read-write.In these cases, each driver It can be connected by one or more data media interfaces with bus 530.System storage 520 may include at least one journey Sequence product, the program product have one group of (for example, at least one) program module, these program modules are configured to perform this hair The function of bright each embodiment of embodiment.
Program/utility 525 with one group of (at least one) program module 524, can store and deposit in such as system In reservoir 520, such program module 524 includes but is not limited to operating system, one or more application program, other programs It may include the realization of network environment in module and program data, each of these examples or certain combination.Program mould Block 524 usually executes function and/or method in described embodiment of the embodiment of the present invention.
Equipment 500 can also be logical with one or more external equipments 540 (such as keyboard, sensing equipment, display 541 etc.) Letter, can also be enabled a user to one or more equipment interact with the equipment 500 communicate, and/or with make the equipment 500 Any equipment (such as network interface card, modem etc.) that can be communicated with one or more of the other calculating equipment communicates.This Kind communication can be carried out by input/output (I/O) interface 550.Also, equipment 500 can also by network adapter 560 with One or more network (such as local area network (LAN), wide area network (WAN) and/or public network, such as internet) communication.Such as Shown in figure, network adapter 560 is communicated by bus 530 with other modules of equipment 500.It should be understood that although not showing in figure Out, other hardware and/or software module can be used with bonding apparatus 500, including but not limited to: microcode, device driver, superfluous Remaining processor, external disk drive array, RAID system, tape drive and data backup storage system etc..
Processor 510 by the program that is stored in system storage 520 of operation, thereby executing various function application and Data processing, such as realize equipment configuration method provided by the embodiment of the present invention.
Embodiment five
The embodiment of the present invention five also provides a kind of computer readable storage medium, be stored thereon with computer program (or For computer executable instructions), for executing a kind of equipment configuration method when which is executed by processor, this method comprises:
Distance is used according to the target of equipment to be configured, and candidate using between distance and candidate parametric equalizer range Mapping relations, determine target equalizer parameter area;Wherein, the candidate parametric equalizer range is made according to the candidate It is determined with the voice response rate under;
According to the audio playback features of the equipment to be configured, determined in the target equalizer parameter area it is described to Configure the target equalizer parameter value of equipment.
The computer storage medium of the embodiment of the present invention, can be using any of one or more computer-readable media Combination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.It is computer-readable Storage medium for example may be-but not limited to-the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device or Device, or any above combination.The more specific example (non exhaustive list) of computer readable storage medium includes: tool There are electrical connection, the portable computer diskette, hard disk, random access memory (RAM), read-only memory of one or more conducting wires (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD- ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer-readable storage Medium can be any tangible medium for including or store program, which can be commanded execution system, device or device Using or it is in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for By the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited In wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
Can with one or more programming languages or combinations thereof come write for execute the embodiment of the present invention operation Computer program code, described program design language include object oriented program language-such as Java, Smalltalk, C++, further include conventional procedural programming language-such as " C " language or similar program design language Speech.Program code can be executed fully on the user computer, partly be executed on the user computer, as an independence Software package execute, part on the user computer part execute on the remote computer or completely in remote computer or It is executed in equipment.In situations involving remote computers, remote computer can pass through the network of any kind --- including Local area network (LAN) or wide area network (WAN)-are connected to subscriber computer, or, it may be connected to outer computer (such as using ISP is connected by internet).
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being implemented by above embodiments to the present invention Example is described in further detail, but the embodiment of the present invention is not limited only to above embodiments, is not departing from structure of the present invention It can also include more other equivalent embodiments in the case where think of, and the scope of the present invention is determined by scope of the appended claims It is fixed.

Claims (10)

1. a kind of equipment configuration method characterized by comprising
Distance, and candidate is used to use reflecting between distance and candidate parametric equalizer range according to the target of equipment to be configured Relationship is penetrated, determines target equalizer parameter area;Wherein, the candidate parametric equalizer range be according to the candidate use away from Voice response rate under determines;
According to the audio playback features of the equipment to be configured, determination is described to be configured in the target equalizer parameter area The target equalizer parameter value of equipment.
2. the method according to claim 1, wherein according to described candidate true using the voice response rate under The fixed candidate parametric equalizer range, comprising:
It is played in audio process in equipment under test, according to the equipment under test to the response knot of the played voice of speech simulation sound source The voice broadcasting time of fruit and the speech simulation sound source determines the voice response rate of the equipment under test;
According to the voice response rate of the equipment under test, determine the equipment under test described candidate equal using the candidate under distance Weighing apparatus parameter area;Wherein, the candidate is the distance between the equipment under test and the speech simulation sound source using distance.
3. according to the method described in claim 2, it is characterized in that, the voice response rate according to the equipment under test, really The fixed equipment under test is in the candidate candidate parametric equalizer range using under distance, comprising:
If the voice response rate of the equipment under test turns down parametric equalizer in low frequency component less than the first response rate threshold value Gain, until obtained voice response rate is equal to the first response rate threshold value, using current equalizer parameter as the candidate Lower limit value in parametric equalizer range;
If the voice response rate of the equipment under test is greater than the second response rate threshold value, parametric equalizer is turned up in low frequency component Gain, until obtained voice response is equal to the second response rate threshold value, using current equalizer parameter as described candidate equal Upper limit value in weighing apparatus parameter area.
4. according to the method described in claim 2, it is characterized in that, it is described according to the equipment under test to speech simulation sound source The voice broadcasting time of the response results of played voice and the speech simulation sound source, determines the language of the equipment under test Before sound response rate, further includes:
The reverberation time range if reverberation time of the equipment under test in the case where any candidate uses distance is above standard, terminates this Candidate is using apart from the lower test to parametric equalizer.
5. the method according to claim 1, wherein described play spy according to the audio of the equipment to be configured Sign determines the target equalizer parameter value of the equipment to be configured in the target equalizer parameter area, comprising:
In the target equalizer parameter area, frequency response curve and harmonic wave when obtaining the device plays audio to be configured are lost True curve;
According to the frequency response curve and the harmonic distortion curve, determined out of described target equalizer parameter area described wait match Install standby target equalizer parameter value.
6. a kind of device configuration device characterized by comprising
Parameter area determining module, for using distance, and candidate to use distance and candidate according to the target of equipment to be configured Mapping relations between parametric equalizer range determine target equalizer parameter area;Wherein, the candidate parametric equalizer model Enclose is determined according to the candidate voice response rate using under;
Parameter configuration module, for the audio playback features according to the equipment to be configured, in the target equalizer parameter model Enclose the target equalizer parameter value of the interior determination equipment to be configured.
7. device according to claim 6, which is characterized in that described device further includes candidate parameter range determination module; The candidate parameter range determination module includes:
Response rate determination unit, for being played in audio process in equipment under test, according to the equipment under test to speech simulation sound The voice broadcasting time of the response results of the played voice in source and the speech simulation sound source, determines the equipment under test Voice response rate;
Candidate parametric equalizer range determination unit determines described tested for the voice response rate according to the equipment under test Equipment is in the candidate candidate parametric equalizer range using under distance;Wherein, candidate use is tested apart to be described The distance between equipment and the speech simulation sound source.
8. device according to claim 7, which is characterized in that candidate's parametric equalizer range determination unit is specifically used In:
If the voice response rate of the equipment under test turns down parametric equalizer in low frequency component less than the first response rate threshold value Gain, until obtained voice response rate is equal to the first response rate threshold value, using current equalizer parameter as the candidate Lower limit value in parametric equalizer range;
If the voice response rate of the equipment under test is greater than the second response rate threshold value, parametric equalizer is turned up in low frequency component Gain, until obtained voice response is equal to the second response rate threshold value, using current equalizer parameter as described candidate equal Upper limit value in weighing apparatus parameter area.
9. a kind of equipment characterized by comprising
One or more processors;
Memory, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processors are real Existing equipment configuration method according to any one of claims 1 to 5.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor Equipment configuration method according to any one of claims 1 to 5 is realized when execution.
CN201910758095.6A 2019-08-16 2019-08-16 Equipment configuration method, device, equipment and storage medium Active CN110475181B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910758095.6A CN110475181B (en) 2019-08-16 2019-08-16 Equipment configuration method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910758095.6A CN110475181B (en) 2019-08-16 2019-08-16 Equipment configuration method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110475181A true CN110475181A (en) 2019-11-19
CN110475181B CN110475181B (en) 2021-04-30

Family

ID=68510154

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910758095.6A Active CN110475181B (en) 2019-08-16 2019-08-16 Equipment configuration method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110475181B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111405111A (en) * 2020-03-11 2020-07-10 惠州Tcl移动通信有限公司 Audio power amplifier control method and device, storage medium and mobile terminal
CN112382305A (en) * 2020-10-30 2021-02-19 北京百度网讯科技有限公司 Method, apparatus, device and storage medium for adjusting audio signal
CN114697804A (en) * 2020-12-28 2022-07-01 深圳Tcl数字技术有限公司 Audio equalization method and device, intelligent terminal and computer readable storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040141418A1 (en) * 2003-01-22 2004-07-22 Fujitsu Limited Speaker distance detection apparatus using microphone array and speech input/output apparatus
KR20090083112A (en) * 2008-01-29 2009-08-03 한국과학기술원 Noise cancellation apparatus and method thereof
CN102947878A (en) * 2010-06-01 2013-02-27 高通股份有限公司 Systems, methods, devices, apparatus, and computer program products for audio equalization
CN105513592A (en) * 2014-10-13 2016-04-20 福特全球技术公司 Acoustic impulse response simulation
CN106898348A (en) * 2016-12-29 2017-06-27 北京第九实验室科技有限公司 It is a kind of go out acoustic equipment dereverberation control method and device
CN108141502A (en) * 2015-10-12 2018-06-08 微软技术许可有限责任公司 Audio signal processing
CN108600898A (en) * 2018-03-28 2018-09-28 深圳市冠旭电子股份有限公司 A kind of method, wireless sound box and the terminal device of configuration wireless sound box
CN109192193A (en) * 2018-08-14 2019-01-11 四川虹美智能科技有限公司 A kind of speech recognition product test method and test device
WO2019070328A1 (en) * 2017-10-04 2019-04-11 Google Llc Methods and systems for automatically equalizing audio output based on room characteristics
CN109905808A (en) * 2019-03-13 2019-06-18 北京百度网讯科技有限公司 Method and apparatus for adjusting intelligent sound equipment

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040141418A1 (en) * 2003-01-22 2004-07-22 Fujitsu Limited Speaker distance detection apparatus using microphone array and speech input/output apparatus
KR20090083112A (en) * 2008-01-29 2009-08-03 한국과학기술원 Noise cancellation apparatus and method thereof
CN102947878A (en) * 2010-06-01 2013-02-27 高通股份有限公司 Systems, methods, devices, apparatus, and computer program products for audio equalization
CN105513592A (en) * 2014-10-13 2016-04-20 福特全球技术公司 Acoustic impulse response simulation
CN108141502A (en) * 2015-10-12 2018-06-08 微软技术许可有限责任公司 Audio signal processing
CN106898348A (en) * 2016-12-29 2017-06-27 北京第九实验室科技有限公司 It is a kind of go out acoustic equipment dereverberation control method and device
WO2019070328A1 (en) * 2017-10-04 2019-04-11 Google Llc Methods and systems for automatically equalizing audio output based on room characteristics
CN108600898A (en) * 2018-03-28 2018-09-28 深圳市冠旭电子股份有限公司 A kind of method, wireless sound box and the terminal device of configuration wireless sound box
CN109192193A (en) * 2018-08-14 2019-01-11 四川虹美智能科技有限公司 A kind of speech recognition product test method and test device
CN109905808A (en) * 2019-03-13 2019-06-18 北京百度网讯科技有限公司 Method and apparatus for adjusting intelligent sound equipment

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
B.W. GILLESPIE: "Strategies for improving audible quality and speech recognition accuracy of reverberant speech", 《2003 IEEE INTERNATIONAL CONFERENCE ON ACOUSTICS, SPEECH, AND SIGNAL PROCESSING, 2003. PROCEEDINGS. (ICASSP "03)》 *
赵亮: "智能家居语音控制系统的设计", 《中国优秀硕士学位论文全文数据库 工程科技II辑》 *
雷建军: "噪声鲁棒语音识别研究综述", 《计算机应用研究》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111405111A (en) * 2020-03-11 2020-07-10 惠州Tcl移动通信有限公司 Audio power amplifier control method and device, storage medium and mobile terminal
CN112382305A (en) * 2020-10-30 2021-02-19 北京百度网讯科技有限公司 Method, apparatus, device and storage medium for adjusting audio signal
CN112382305B (en) * 2020-10-30 2023-09-22 北京百度网讯科技有限公司 Method, apparatus, device and storage medium for adjusting audio signal
CN114697804A (en) * 2020-12-28 2022-07-01 深圳Tcl数字技术有限公司 Audio equalization method and device, intelligent terminal and computer readable storage medium

Also Published As

Publication number Publication date
CN110475181B (en) 2021-04-30

Similar Documents

Publication Publication Date Title
CN109087669B (en) Audio similarity detection method and device, storage medium and computer equipment
US10861480B2 (en) Method and device for generating far-field speech data, computer device and computer readable storage medium
CN108681440A (en) A kind of smart machine method for controlling volume and system
CN109831733A (en) Test method, device, equipment and the storage medium of audio broadcast performance
GB2604747A (en) Detection of replay attack
CN111798852B (en) Voice wakeup recognition performance test method, device, system and terminal equipment
CN107799126A (en) Sound end detecting method and device based on Supervised machine learning
CN110475181A (en) Equipment configuration method, device, equipment and storage medium
CN109361995B (en) Volume adjusting method and device for electrical equipment, electrical equipment and medium
CN109616142A (en) Device and method for audio classification and processing
CN108469966A (en) Voice broadcast control method and device, intelligent device and medium
CN101023469A (en) Digital filtering method, digital filtering equipment
CN105979462A (en) Test processing method and device based on microphone
CN108461081A (en) Method, apparatus, equipment and the storage medium of voice control
CN111124108A (en) Model training method, gesture control method, device, medium and electronic equipment
KR20150123579A (en) Method for determining emotion information from user voice and apparatus for the same
CN113241085B (en) Echo cancellation method, device, equipment and readable storage medium
CN111739512A (en) Voice wake-up rate testing method, system, device and medium based on real vehicle
CN114245271A (en) Audio signal processing method and electronic equipment
CN111951833A (en) Voice test method and device, electronic equipment and storage medium
CN109121068A (en) Sound effect control method and device and electronic equipment
CN108829370A (en) Sound resource playback method, device, computer equipment and storage medium
CN109741761B (en) Sound processing method and device
WO2021099760A1 (en) Detection of live speech
CN114464184B (en) Method, apparatus and storage medium for speech recognition

Legal Events

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