A kind of balance parameters matching process, device, terminal device and storage medium based on interpolation processing

文档序号:1775690 发布日期:2019-12-03 浏览:35次 中文

阅读说明:本技术 一种基于插值处理的均衡参数匹配方法、装置、终端设备及存储介质 (A kind of balance parameters matching process, device, terminal device and storage medium based on interpolation processing ) 是由 沈平 于 2019-09-05 设计创作,主要内容包括:本发明公开了一种基于插值处理的均衡参数匹配方法、装置、终端设备及存储介质,根据均衡频点的增益变化范围对音箱的音色进行离散化采样,获取各离散采样点的频谱曲线;对各离散采样点之间的增益进行插值处理,得到相应的均衡参数插值曲线,基于所述均衡参数插值曲线得到各个插值点的频谱曲线;根据各采样点和插值点的频谱曲线建立对应的滤波器参数。本发明可实现音箱模拟设备与目标音箱的均衡参数变化规律的动态匹配,当保持其他影响音箱音色的参数不变,仅调节目标音箱的均衡参数时,对音箱模拟设备的均衡参数进行相应地调节,即可得到目标音箱实时地音色,无需再对目标音箱进行复制采样。(The invention discloses a kind of balance parameters matching process, device, terminal device and storage medium based on interpolation processing carries out discrete sampling according to tone color of the gain variation range of balanced frequency point to speaker, obtains the spectrum curve of each discrete sampling point;Interpolation processing is carried out to the gain between each discrete sampling point, corresponding balance parameters interpolation curve is obtained, the spectrum curve of each interpolation point is obtained based on the balance parameters interpolation curve;Corresponding filter parameter is established according to the spectrum curve of each sampled point and interpolation point.The Dynamic Matching of the balance parameters changing rule of speaker analog machine and target speaker can be achieved in the present invention, when the parameter constant for keeping other influences speaker tone color, when only adjusting the balance parameters of target speaker, the balance parameters of speaker analog machine are adjusted accordingly, target speaker tone color in real time can be obtained, no longer need to carry out replica samples to target speaker.)

1. a kind of balance parameters matching process based on interpolation processing, which is characterized in that the described method includes:

A. discrete sampling is carried out according to tone color of the gain variation range of balanced frequency point to speaker, obtains each discrete sampling point Spectrum curve;B. interpolation processing is carried out to the gain between each discrete sampling point, obtains corresponding balance parameters interpolation curve, base The spectrum curve of each interpolation point is obtained in the balance parameters interpolation curve;C. according to the frequency spectrum of each sampled point and interpolation point song Line establishes corresponding filter parameter.

2. a kind of balance parameters matching process based on interpolation processing according to claim 1, which is characterized in that described In step a, the gain variation range of balance parameters is identical as the balance parameters gain variation range on speaker, balanced frequency point and The bandwidth that weighs is also identical.

3. a kind of balance parameters matching process based on interpolation processing according to claim 2, which is characterized in that described In step a, the discrete sampling specifically: select different yield values on each balanced frequency point and speaker tone color is answered System sampling, wherein once only being changed on this basis using the yield value of each balanced frequency point of first sampled point as benchmark parameter The yield value of one frequency point, it is constant that the yield value of other frequency points is held in basic parameter point, to carry out the discrete of each frequency point Sampling.

4. a kind of balance parameters matching process based on interpolation processing according to claim 1, which is characterized in that described In step a, the input signal sampled every time is all the same.

5. a kind of balance parameters matching process based on interpolation processing according to claim 4, which is characterized in that described defeated Entering signal is white noise, powder noise, compounded sine wave or swept-frequency signal.

6. a kind of balance parameters matching process based on interpolation processing according to claim 3, which is characterized in that described to obtain Take the spectrum curve of each discrete sampling point specifically: on the basis of the spectrum curve of first sampled point, by other each sampled points Spectrum curve make comparisons with benchmark, to obtain each spectrum curve of the discrete sampling point based on the frequency point change in gain.

7. a kind of balance parameters matching process based on interpolation processing according to claim 1, which is characterized in that described In step b, interpolation processing is carried out by the way of linear or batten.

8. a kind of balance parameters matching process based on interpolation processing according to claim 1, which is characterized in that the step In rapid c, corresponding filter parameter is established by inverse Fourier transform method or optimal method.

9. a kind of balance parameters coalignment based on interpolation processing characterized by comprising

Sampling module obtains each for carrying out discrete sampling to the tone color of speaker according to the gain variation range of balanced frequency point The spectrum curve of discrete sampling point;

Interpolating module obtains corresponding balance parameters interpolation for carrying out interpolation processing to the gain between each discrete sampling point Curve obtains the spectrum curve of each interpolation point based on the balance parameters interpolation curve;

Filter module, for establishing corresponding filter parameter according to the spectrum curve of each sampled point and interpolation point.

10. a kind of balance parameters coalignment based on interpolation processing according to claim 9, which is characterized in that described Sampling module carries out discrete sampling specifically: selectes different yield values on each balanced frequency point and answers speaker tone color System sampling, wherein once only being changed on this basis using the yield value of each balanced frequency point of first sampled point as benchmark parameter The yield value of one frequency point, it is constant that the yield value of other frequency points is held in basic parameter point, to carry out in each frequency point Discrete sampling.

11. a kind of balance parameters coalignment based on interpolation processing according to claim 9, which is characterized in that described Sampling module obtains the frequency spectrum function of each discrete sampling point specifically: on the basis of the spectrum curve of first sampled point, by it It is poor that the spectrum curve and benchmark of his each sampled point are made, bent to obtain frequency spectrum of each discrete sampling point based on the frequency point change in gain Line.

12. a kind of balance parameters coalignment based on interpolation processing according to claim 9, which is characterized in that described Interpolating module carries out interpolation processing by the way of linear or batten.

13. a kind of balance parameters coalignment based on interpolation processing according to claim 9, which is characterized in that described Filter module establishes corresponding filter parameter by inverse Fourier transform method or optimal method.

14. a kind of terminal device, including processor, memory and it is stored on the memory and can be by the processor The executable program of operation, which is characterized in that the processor executes claim 1-8 such as when running the executable program and appoints Balance parameters matching process described in one based on interpolation processing.

15. a kind of computer readable storage medium, is stored thereon with executable program, which is characterized in that the executable program Such as claim 1-8 described in any item balance parameters matching process based on interpolation processing are realized when being executed by processor.

Technical field

The invention belongs to Audiotechnica field more particularly to a kind of balance parameters matching process based on interpolation processing, dress It sets, terminal device and storage medium.

Background technique

Speaker is the terminal of entire sound system, and effect is audio electric energy to be converted into corresponding sound energy, and its spoke It is mapped to space to go, it is the extremely important component part of sound system, is responsible for the ear that electric signal is transformed into acoustical signal for people Piece directly listening to for task.But in some cases, for example performance is live, may not provide the speaker of speaker or offer Because using the time longer, equipment is weathered, and tone color quality complies with one's wishes not to the utmost, and speaker volume is heavy, if performance all carries every time It is outgoing, it is also inconvenient for musician.In addition, a good speaker is expensive, for needing various other speaker sounds For the people of color, more speaker costs of purchase be undoubtedly also it is very high, the speaker moulds of various speaker tone colors can be simulated at this time by selecting It proposes standby, is a wise selection for musicians.

And the tone color of speaker is ever-changing, is influenced by parameters such as equilibrium, gain, overload, reverberation, volumes, it is existing Speaker analog machine in the tone color of simulated target speaker, need first the tone color by target speaker be adjusted to a satisfied tone color again into The replica samples of row tone color, simulating the tone color come at this time is the speaker tone color under this group of special parameter, if adjusting one of them Parameter then needs to carry out resampling.And in the numerous parameters for influencing speaker tone color, balance parameters play the adjusting of tone color Critical effect, existing speaker analog machine are needed when acquiring the tone color of different balance parameters for different equilibriums Parameter is frequently sampled, and cannot pass through the phase on speaker analog machine when the balance parameters variation on target speaker The adjusting balance parameters answered, to realize dynamic synchronization rock noise color change.

Summary of the invention

In view of the above-mentioned drawbacks of the prior art, it is an object of that present invention to provide a kind of, the equilibrium based on interpolation processing is joined Number matching process, device, terminal device and storage medium, it is intended to solve following problems:

Detailed description of the invention

Fig. 1 is a kind of balance parameters matching process flow chart based on interpolation processing that the embodiment of the present invention 1 provides;

Fig. 2 is a kind of balance parameters coalignment function structure chart based on interpolation processing that the embodiment of the present invention 2 provides;

Fig. 3 is a kind of hardware signal for balance parameters matching process based on interpolation processing that the embodiment of the present invention 3 provides Figure.

Specific embodiment

Clear, complete description is carried out below with reference to technical solution of the attached drawing to various embodiments of the present invention, it is clear that is retouched The embodiment stated is only a part of the embodiments of the present invention, instead of all the embodiments;Based on the embodiment of the present invention, originally Field those of ordinary skill obtained all other embodiment without making creative work, belongs to this hair Bright protected range.

12页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:扬声器

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!