The content of the invention
Based on this, it is desirable to provide one kind debugging is flexible, rapid, easy, and operating personnel are required without excessive professional skill
Audio system parameters method to set up and device.
To achieve the above object, a kind of audio system parameters method to set up is inventor provided, is included the following steps:Obtain
Audio system configuration information;According to the audio system configuration information, algorithm is carried to audio system and its parameter is made at pairing
Reason;The pairing handling result is showed with visual means;Receive and the algorithm for presetting path and its setting of parameter are operated
Information;Test vector is chosen, and simulation tune is carried out to the test vector according to the algorithm and its parameter of the default path of setting
Examination.
Further, in the audio system parameters method to set up, the simulative debugging specifically includes:
Digital sound according to the setting operation information of the algorithm of described pair of default path and its parameter to the test vector
Frequency stream makees Digital Signal Processing, and exports handling result.
Further, in the audio system parameters method to set up, the mode of " the output handling result " is specifically wrapped
Include:
PCM data obtained by handling is packaged as file and the export of preset format;Or
Time domain waveform drafting is made to original audio data and processed PCM data, and by drawing result with the side of visualization
Formula shows.
Further, in the audio system parameters method to set up, the step " obtaining audio system configuration information "
Specifically include:
Read and parse audio system configuration file, obtain audio system configuration information;Or
Directly acquire audio system configuration information;
The audio system configuration information includes sample rate, number of channels or sampling precision.
Further, in the audio system parameters method to set up, the default path includes recording chain or playback
Path.
Inventor additionally provides a kind of audio system parameters and sets device, including configuration information acquiring unit, algorithm parameter
Pairing unit, display unit, input unit, storage unit and simulative debugging unit;
The configuration information acquiring unit is used to obtain audio system configuration information;
The algorithm parameter pairing unit is used for according to the audio system configuration information, audio system is carried algorithm and
Its parameter makees pairing processing;
Display unit is used to show the pairing handling result with visual means;
Input unit is used to receive to presetting the algorithm of path and its setting operation information of parameter;
Storage unit is used to store test vector;
Simulative debugging unit is used to choose test vector from storage unit, and according to the algorithm of the default path of setting and
Its parameter carries out simulative debugging to the test vector.
Further, the audio system parameters are set in device, and the simulative debugging unit is used for according to described right
The algorithm of default path and its setting operation information of parameter make Digital Signal Processing to the digital audio stream of the test vector,
And export handling result.
Further, the audio system parameters are set in device, and the simulative debugging unit further includes file export
Module or time domain waveform drafting module;
The file export module is packaged as file and the export of preset format for that will handle gained PCM data;
The time domain waveform drafting module is used to paint original audio data and processed PCM data as time domain waveform
System, the display unit are used to show drawing result with visual means.
Further, the audio system parameters are set in device, and the configuration information acquiring unit obtains audio system
System configuration information specifically includes:
Read and parse audio system configuration file, obtain audio system configuration information;Or
Directly acquire audio system configuration information;
The audio system configuration information includes sample rate, number of channels or sampling precision.
Further, the audio system parameters are set in device, and the default path includes recording chain or playback
Path.
The prior art is different from, above-mentioned technical proposal can collect the audio system record that firmware is carried in test product automatically
The related algorithm at end is put, tuner is shown to simple and clear description, the playback that user can individually debug audio system is led to
Road or recording chain.In different paths, be set out current pass the major parameter with audio digital signals Processing Algorithm,
And the parameter configuration value for providing corresponding algorithm is selected for commissioning staff, and make corresponding prompting.The complete parameter of user setting, Ke Yicong
Selection needs the audio stream verified in audio-frequency test source, can more intuitively show in the audio stream time domain after original and processing
Amplitude figure, so can more intuitively be contrasted for user, can also according to active user configure set current machine audio
System, facilitates tuner using the different audio-frequency test vector of instrument test.When tuner completes the debugging of whole audio system
Afterwards, the configuration information of present video system can also be exported, is imported into formal volume production firmware, so that simple again efficiently complete
Into the parameter setting work of audio system.
Embodiment
To describe the technology contents of technical solution, construction feature, the objects and the effects in detail, below in conjunction with specific reality
Apply example and coordinate attached drawing to be explained in detail.
Referring to Fig. 1, the flow chart for audio system parameters method to set up described in an embodiment of the present invention;The method
Include the following steps:
S1, obtain audio system configuration information;
S2, according to the audio system configuration information, algorithm is carried to audio system and its parameter makees pairing processing;
S3, by it is described pairing handling result showed with visual means;
S4, receive to the algorithm of recording chain and its setting operation information of parameter;
S5, choose test vector, according to the setting operation information of the algorithm of described pair of default path and its parameter to described
The digital audio stream of test vector makees Digital Signal Processing;
S6, make original audio data and processed PCM data time domain waveform drafting, and by drawing result to visualize
Mode shows.
Specifically, in present embodiment, in the audio system configuration information access process described in step S1, audio is obtained
The mode of system configuration information includes reading audio system configuration file, and it is parsed, and obtains audio system configuration text
Audio system configuration information described in part;And directly acquire the audio system configuration information that audio system carries.The sound
Display system configuration information can include sample rate, and (default path is recording chain in present embodiment, thus the sampling obtained
Rate is recording sample rate;Path is preset described in other embodiment and can also be the voice-frequency channels such as reproducing chain, according to user
Actual demand sets path), number of channels, the specifying information such as sampling precision.In other embodiments, audio is obtained
The mode of system configuration information can be independent reading audio system configuration file, and the configuration obtained described in it is parsed to it
Information;Can also be that audio system configuration information is read in the position that audio system configuration information is directly recorded from system.Sound
The existing way of display system configuration information (is present in the configuration file of specific format or is not present in the configuration text of specific format
In part) and content (including file format, attribute field and content etc.) be typically depend on software system used in current production
System, its concrete form can also be known in software systems explanation, it follows that obtaining the mode of configuration information.
Described in step S2 algorithm is carried to audio system and its parameter makees pairing processing, mainly according to current production
The variable controllable parameter of specific algorithm and the algorithm used by software systems, determines its concrete configuration mould for selection
Formula.For example, in order to realize common automatic growth control AGC functions, common algorithm has multiple, and different specific implementation side
The adjustable parameter that formula is provided might not be consistent, therefore algorithm is carried to audio system for this step and its parameter is made at pairing
Reason, provides the concrete configuration pattern for selection for every kind of specific algorithm, thus avoid the generation of Invalid parameter.Further
Ground, in step s3, by the parameter configuration mode corresponding to every kind of specific algorithm with visual means in straightforward
Interactive operation is supplied to user on interface, and various functions are made choice for user, various parameters are regulated and controled.Visualizing
Function particularized below can be provided on interface:The setting of audio system path, corresponding pass algorithm increase and decrease operation, algorithm parameter are set
Fixed, audio-frequency test vector selection operation, waveform display operation, data export operation, audio system parameters setting.
Further, after user knows algorithm and its corresponding parameter configuration mode on visualization interface, Ke Yigen
Inputted according to the demand of oneself to the algorithm of recording chain and its setting operation information of parameter.Slave sound described in namely step S4
Reception for display system parameter setting apparatus angle is to the algorithm of recording chain and its setting operation information of parameter.Then,
Operated according to the setting of the selected algorithm and its parameter to presetting path (being recording chain in present embodiment) of user, choosing
A suitable or corresponding test vector is taken, simulation tune is made with the algorithm and parameter to the digital audio stream of the test vector
Examination.The test vector is deposited in an audio-frequency test vector storehouse, which can store recording in advance and commonly used with playback
Test vector file, self-defined test vector file can also be added thereto by user according to the demand of user.To described
The concrete operations for the simulative debugging that test vector carries out are decoded including media file, generally refer to decode test vector file
For the data of the common PCM format of standard;Further, the algorithm of simulative debugging is mainly one or more selected according to user
A algorithm and algorithm parameter, decoded test vector audio stream is needed according to processing sequence serial process, final output user
The PCM data wanted.
Further, in step s 6, the PCM data obtained to previous step processing makees time domain waveform drawing modification.This reality
Apply in mode, time domain waveform not only is drawn to the PCM data after algorithm process, also the PCM data of original test vector is painted
Time domain waveform processed, the range value of the time domain waveform can represent with sampled value or decibel value, and further by result with can
Presented depending on change mode, user is known handling result visual and clearly and determine based on this whether debugging successful, whether into
One step is tried and how further debugged.In other embodiments, the mode of export processing gained PCM data can also be
Format conversion is carried out to the PCM data, generates the file of specific format, for the further analysis of user.
What the technical solution that the above embodiment is provided only can slightly understand audio-frequency test index for any one
Hardware personnel or tester are configured by simple operations to be rapidly completed the audio system parameters of specific product, it is not necessary to its
His peopleware coordinates, it is not necessary to understands the implication of audio system specific algorithm, it is not necessary to frequently changed in debugging process soft
Part, again upgrading products firmware;The simple parameter setting work for efficiently completing audio system again.
Referring to Fig. 2, the structure diagram of device is set for audio system parameters described in an embodiment of the present invention;It is described
Device include configuration information acquiring unit 1, algorithm parameter pairing unit 2, display unit 3, input unit 4, storage unit 5 and
Simulative debugging unit 6;
The configuration information acquiring unit 1 is used to obtain audio system configuration information;
The algorithm parameter pairing unit 2 is used for according to the audio system configuration information, and algorithm is carried to audio system
And its parameter makees pairing processing;
Display unit 3 is used to show the pairing handling result with visual means;
Input unit 4 is used to receive to presetting the algorithm of path and its setting operation information of parameter;
Storage unit 5 is used to store test vector;
Simulative debugging unit 6 is used to choose test vector, and the algorithm of the default path according to setting from storage unit
And its parameter carries out simulative debugging to the test vector;Specifically, the simulative debugging unit 6 is according to described pair of default path
Algorithm and its setting operation information of parameter Digital Signal Processing is made to the digital audio stream of the test vector, it is and described
Simulative debugging unit 6 further includes the file export module 61 or time domain waveform drafting module 62 for exporting handling result;Wherein
The file export module 61 is packaged as file and the export of preset format for that will handle gained PCM data;The time domain ripple
Shape drafting module 62 is used to make time domain waveform drafting to original audio data and processed PCM data, then by the display
Unit 3 shows drawing result with visual means.
Further, the mode of the acquisition of the configuration information acquiring unit 1 audio system configuration information specifically includes:Read
And audio system configuration file is parsed, obtain audio system configuration information;Or directly acquire audio system configuration information;The sound
Display system configuration information includes sample rate, number of channels or sampling precision etc.;The default path includes recording chain or playback
Path.
The concrete mode that audio system parameters described in present embodiment set device to realize audio system parameters configuration includes
Following steps:
S1, configuration information acquiring unit 1 obtain audio system configuration information;
S2, algorithm parameter pairing unit 2 carry audio system algorithm and its ginseng according to the audio system configuration information
Number makees pairing processing;
S3, display unit 3 show the pairing handling result with visual means;
S4, input unit 4 receive the setting operation information of the algorithm and its parameter to recording chain;
S5, simulative debugging unit 6 choose test vector from the test vector storehouse in storage unit 5, according to described to pre-
If the algorithm of path and its setting operation information of parameter make Digital Signal Processing to the digital audio stream of the test vector;
S6, time domain waveform drafting module 62 make time domain waveform drafting to original audio data and processed PCM data, so
Display unit 3 shows drawing result with visual means afterwards.
Specifically, in present embodiment, in the audio system configuration information access process described in step S1, configuration information
Acquiring unit 1 obtain audio system configuration information mode include read audio system configuration file, and it is parsed with
Obtain the audio system configuration information described in audio system configuration file;And directly acquire the audio system that audio system carries
System configuration information.The audio system configuration information can include sample rate, and (default path is logical for recording in present embodiment
Road, thus the sample rate obtained is recording sample rate;Path is preset described in other embodiment and can also be reproducing chain etc.
Voice-frequency channel, sets path according to user's actual need), number of channels, the specifying information such as sampling precision.In other realities
Apply in mode, the mode that configuration information acquiring unit 1 obtains audio system configuration information can be that the independent audio system that reads is matched somebody with somebody
File is put, and the configuration information obtained described in it is parsed to it;Can also directly record audio system from system to match somebody with somebody
Read audio system configuration information in the position of confidence breath.The existing way of audio system configuration information (is present in specific format
In configuration file or it is not present in the configuration file of specific format) and content (including file format, attribute field and content
Deng) it is typically to depend on software systems used in current production, its concrete form can also be known in software systems explanation,
It follows that obtain the mode of configuration information.
Described in step S2 algorithm is carried to audio system and its parameter makees pairing processing, mainly algorithm parameter pairing is single
Member 2 according to the variable controllable parameter of specific algorithm and the algorithm used by the software systems of current production, determine its for
The concrete configuration pattern of selection.For example, in order to realize common automatic growth control AGC functions, common algorithm have it is multiple, and
The adjustable parameter that different specific implementations is provided might not be consistent, therefore algorithm parameter pairing unit 2 in this step
Algorithm is carried to audio system and its parameter makees pairing processing, the concrete configuration mould for selection is provided for every kind of specific algorithm
Formula, thus avoid the generation of Invalid parameter.Further, in step s3, display unit 3 is by corresponding to every kind of specific algorithm
Parameter configuration mode be supplied to user on the interactive operation interface of a straightforward with visual means, for user to each
Kind function makes choice, various parameters is regulated and controled.Function particularized below can be provided on visualization interface:Audio system
Unite path setting, corresponding pass algorithm increase and decrease operation, algorithm parameter setting, audio-frequency test vector selection operation, waveform display behaviour
Make, data export operates, audio system parameters setting.
Further, user knows algorithm and its corresponding parameter configuration mould by display unit 3 on visualization interface
After formula, it can be inputted according to the demand of oneself to the algorithm of recording chain and its setting operation information of parameter.Namely walk
Input unit 4 described in rapid S4 receive come from user to the algorithm of recording chain and its setting operation information of parameter.So
Afterwards, grasped according to the setting of the selected algorithm and its parameter to presetting path (being recording chain in present embodiment) of user
Make, simulation test unit 6 chooses a suitable or corresponding test vector from the test vector storehouse in storage unit 5, to institute
The digital audio stream for stating test vector makees simulative debugging with the algorithm and parameter.The test vector deposit in an audio-frequency test to
Measure in storehouse, for the vector warehouse compartment in storage unit 5, which can store recording test vector text common with playback in advance
Part, can also be added self-defined test vector file thereto by user according to the demand of user.The test vector is carried out
Simulative debugging concrete operations include media file decoding, generally refer to be decoded as test vector file the common of standard
The data of PCM format;Further, the algorithm of simulative debugging is mainly the one or more algorithms and algorithm selected according to user
Parameter, the PCM data needed to decoded test vector audio stream according to processing sequence serial process, final output user.
Further, in step s 6, the PCM data that time domain waveform drafting module 62 obtains previous step processing makees time domain
Waveform drawing processing.In present embodiment, when time domain waveform drafting module 62 not only draws the PCM data after algorithm process
Domain waveform, also draws time domain waveform, the range value of the time domain waveform can be with sampled value to the PCM data of original test vector
Or decibel value represents, and further result is presented with visual means by display unit 3, user is obtained visual and clearly
Know handling result and determine whether debugging is successful based on this, whether further debug and how further to debug.At it
In his embodiment, the mode of the export processing gained PCM data of simulative debugging unit 6 can also be by a file export module
61 pairs of PCM datas carry out format conversion, generate the file of specific format, for the further analysis of user.
What the technical solution that the above embodiment is provided only can slightly understand audio-frequency test index for any one
Hardware personnel or tester are configured by simple operations to be rapidly completed the audio system parameters of specific product, it is not necessary to its
His peopleware coordinates, it is not necessary to understands the implication of audio system specific algorithm, it is not necessary to frequently changed in debugging process soft
Part, again upgrading products firmware;The simple parameter setting work for efficiently completing audio system again.
It should be noted that herein, relational terms such as first and second and the like are used merely to a reality
Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation
In any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant are intended to
Non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only include those
Key element, but also including other elements that are not explicitly listed, or further include as this process, method, article or end
The intrinsic key element of end equipment.In the absence of more restrictions, limited by sentence " including ... " or " including ... "
Key element, it is not excluded that also there are other key element in the process including the key element, method, article or terminal device.This
Outside, herein, " being more than ", " being less than ", " exceeding " etc. are interpreted as not including this number;" more than ", " following ", " within " etc. understand
It is to include this number.
It should be understood by those skilled in the art that, the various embodiments described above can be provided as method, apparatus or computer program production
Product.These embodiments can use the embodiment in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Form.All or part of step in the method that the various embodiments described above are related to can be instructed by program relevant hardware come
Complete, the program can be stored in the storage medium that computer equipment can be read, for performing the various embodiments described above side
All or part of step described in method.The computer equipment, includes but not limited to:Personal computer, server, general-purpose computations
It is machine, special purpose computer, the network equipment, embedded device, programmable device, intelligent mobile terminal, smart home device, wearable
Smart machine, vehicle intelligent equipment etc.;The storage medium, includes but not limited to:RAM, ROM, magnetic disc, tape, CD, sudden strain of a muscle
Deposit, USB flash disk, mobile hard disk, storage card, memory stick, webserver storage, network cloud storage etc..
The various embodiments described above are with reference to method, equipment (system) and the computer program product according to embodiment
Flowchart and/or the block diagram describes.It should be understood that it can be realized by computer program instructions every in flowchart and/or the block diagram
The combination of flow and/or square frame in one flow and/or square frame and flowchart and/or the block diagram.These computers can be provided
Programmed instruction is to the processor of computer equipment to produce a machine so that passes through the finger that the processor of computer equipment performs
Order produces and is used for realization what is specified in one flow of flow chart or multiple flows and/or one square frame of block diagram or multiple square frames
The device of function.
These computer program instructions may also be stored in the computer that computer equipment can be guided to work in a specific way and set
In standby readable memory so that the instruction being stored in the computer equipment readable memory produces the manufacture for including command device
Product, which realizes refers in one flow of flow chart or multiple flows and/or one square frame of block diagram or multiple square frames
Fixed function.
These computer program instructions can be also loaded into computer equipment so that performed on a computing device a series of
Operating procedure is used for realization in flow with producing computer implemented processing so that the instruction performed on a computing device provides
The step of function of being specified in one flow of figure or multiple flows and/or one square frame of block diagram or multiple square frames.
Although the various embodiments described above are described, those skilled in the art once know basic wound
The property made concept, then can make these embodiments other change and modification, so the foregoing is merely the embodiment of the present invention,
Not thereby the scope of patent protection of the present invention, every equivalent structure made using description of the invention and accompanying drawing content are limited
Or equivalent process transformation, other related technical areas are directly or indirectly used in, are similarly included in the patent of the present invention
Within protection domain.