Processing method, controller and audio processing chip

By calculating common points and generating smooth transition functions, the problem of only suitable transmission curves in traditional methods can be solved, and the smooth transition between transmission curves of arbitrary slopes is achieved, which improves the listening feeling of the audio signal.

CN114093374BActive Publication Date: 2025-02-11SHANGHAI AWINIC TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202010856069.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-08-24
Publication Date
2025-02-11
Estimated Expiration
2040-08-24

AI Technical Summary

Technical Problem

The traditional smooth transition function can only be applied to transmission curves with a specific slope, resulting in a sudden change of corners when processing digital audio signals, affecting the user's subjective listening experience.

Method used

By calculating the coordinates of the first common point and the second common point, and based on these coordinates and the coordinates of the turning points, the slope expression of each point on the transition curve is calculated, and a smooth transition function is generated to realize a smooth transition between arbitrary slope transmission curves.

Benefits of technology

A smooth transition between arbitrary slope transmission curves is achieved, avoiding sudden sound changes and improving the listening experience of digital audio signals.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114093374B_ABST
    Figure CN114093374B_ABST
Patent Text Reader

Abstract

The present invention discloses a processing method, a controller and an audio processing chip, which can calculate the coordinates of the first common point and the second common point based on the slope of the first audio transmission curve, the slope of the second audio transmission curve, the interval range of the transition curve to be generated and the coordinates of the turning point, calculate the slope expression of the point on the transition curve based on the coordinates of the first common point, the coordinates of the second common point and the coordinates of the turning point, generate a transition curve based on the continuity of the slope of each point on the transition function and the slope expression, and then output a target transmission curve. The technical solution of the present application can obtain a transition curve that smoothly transitions and connects two transmission curves based on any turning point, any slope and any interval range, and is not limited to a transmission curve with a specific slope.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of sound processing, and more particularly to a processing method, a controller and an audio processing chip. Background Art

[0002] In digital signal processing, Dynamic Range Control (DRC) is a method for dynamically adjusting the gain according to the amplitude of the input signal. In the DRC method, multiple nodes are divided into different layers to process the input signal. The area between two nodes is a layer. The corresponding relationship between the gain adjusted by the input signal of two adjacent layers will be different, resulting in a sudden change in the DRC control curve between the two adjacent layers, such as Figure 1 shown.

[0003] Figure 1 It is a conversion curve diagram of input signal and output signal in a conventional DRC control method. Figure 1 In the figure, A1 is the amplitude of the input signal in the DRC, which increases from -100dB to 0dB. The DRC control scheme is divided into two layers and has one node. Figure 1 It can be seen that the amplitude of the output signal A2 has a corner at the -20dB node. This sudden corner will affect the user's subjective hearing when processing digital audio signals. In order to improve the hearing of digital audio signals, it is necessary to perform smooth transition processing on the two parts of the transmission curve of the output signal through a smooth transition function.

[0004] However, the traditional smooth transition function can only be applied to the transfer curve with a specific slope. Summary of the invention

[0005] In view of this, the present application provides a method and controller for processing audio data, and the scheme is as follows:

[0006] A method for processing a smooth transition function, the method comprising:

[0007] determining a first audio transfer curve and a second audio transfer curve based on an input audio input signal;

[0008] Obtaining the slope of the first audio transmission curve, the slope of the second audio transmission curve, and the interval range of the transition curve to be generated and the coordinates of the turning point;

[0009] Based on the slope of the first audio transmission curve, the slope of the second audio transmission curve, the interval range and the coordinates of the turning point, the coordinates of the first common point and the coordinates of the second common point are calculated; the first common point is a common point between one end of the transition curve and the first audio transmission curve; the second common point is a common point between the other end of the transition curve and the second audio transmission curve;

[0010] Calculate the slope expression of each point on the transition curve based on the coordinates of the first common point, the coordinates of the second common point and the coordinates of the turning point;

[0011] Based on the continuity of the slope of each point on the transition curve and the slope expression, generating the transition curve;

[0012] A target transmission curve is output, where the target transmission curve includes: the first audio transmission curve, the second audio transmission curve, and the transition curve smoothly connecting the first audio transmission curve and the second audio transmission curve.

[0013] Preferably, in the above processing method, the transition curve is generated based on a smooth transition function, and the expression of the smooth transition function is:

[0014]

[0015] Among them, k1 is the slope of the first audio transmission curve; k2 is the slope of the second audio transmission curve, (thx, thy) is the coordinate of the turning point; w2=knee / 2, knee is the interval range.

[0016] Preferably, in the above processing method, according to the continuous smoothness characteristic from the first audio transmission curve to the transition curve, the abscissa of the first common point is determined to be thx-w2, and based on the slope of the first audio transmission curve being k1, the ordinate of the first common point is determined to be thy-k1*w2, so as to determine the coordinates of the first common point to be (thx-w2, thy-k1*w2);

[0017] According to the continuous and smooth characteristics of the transition curve to the second audio transmission curve, the horizontal coordinate of the second common point is determined to be thx+w2, and based on the slope of the second audio transmission curve is k2, the vertical coordinate of the second common point is determined to be thy+k2*w2, so as to determine the coordinates of the second common point to be (thx+w2, thy+k2*w2).

[0018] Preferably, in the above processing method, the method for generating the smooth transition function includes:

[0019] Based on the continuity of the slope of each point in the smooth transition function, an integral expression related to the slope of each point in the smooth transition function is obtained;

[0020] An integral operation is performed on the integral expression to obtain an expression of the smooth transition function.

[0021] Preferably, in the above processing method, the coordinates of any point in the smooth transition function are (xa, ya), and the slope expression is:

[0022]

[0023] The integral expression is:

[0024]

[0025] In the smooth transition function, the integral term of the slope at each point is:

[0026]

[0027] In the smooth transition function, the starting term for integration at each point is:

[0028] N=thy-k1*w2

[0029] Among them, N is the ordinate of the starting term for integration of each point in the smooth transition function, which is equal to the ordinate of the first common point.

[0030] Preferably, in the above processing method, the coordinates of the turning point are determined according to a threshold value of gain adjustment in a gain generator;

[0031] The gain generator is any one of an expander, a compressor, a noise gate and a limiter.

[0032] The present invention further provides a controller, which is used in any one of the processing methods described above, and includes:

[0033] An acquisition module, configured to determine a first audio transmission curve and a second audio transmission curve based on an input audio input signal, and acquire a slope of the first audio transmission curve, a slope of the second audio transmission curve, and an interval range and a coordinate of a turning point of a transition curve to be generated;

[0034] A first calculation module, configured to calculate the coordinates of a first common point and the coordinates of a second common point based on the slope of the first audio transmission curve, the slope of the second audio transmission curve, a preset interval range, and the coordinates of the turning point; the first common point is a common point between one end of the transition curve and the first audio transmission curve; the second common point is a common point between the other end of the transition curve and the second audio transmission curve;

[0035] A second calculation module, used for calculating the slope expression of each point on the transition curve based on the coordinates of the first common point, the coordinates of the second common point and the coordinates of the turning point;

[0036] A generating module, used for generating the transition curve based on the continuity of the slope of each point on the transition curve and the slope expression;

[0037] An output module is used to output a target transmission curve, wherein the target transmission curve includes: the first audio transmission curve, the second audio transmission curve, and the transition curve smoothly connecting the first audio transmission curve and the second audio transmission curve.

[0038] Preferably, in the above controller, the generating module is used to generate the transition curve based on a smooth transition function, and the expression of the smooth transition function is:

[0039]

[0040] Among them, k1 is the slope of the first audio transmission curve; k2 is the slope of the second audio transmission curve, (thx, thy) is the coordinate of the turning point; w2=knee / 2, knee is the interval range.

[0041] Preferably, in the above-mentioned controller, the first calculation module is used to determine the horizontal coordinate of the first common point as thx-w2 according to the continuous smooth characteristics of the first audio transmission curve to the transition curve, and based on the slope of the first audio transmission curve being k1, determine the vertical coordinate of the first common point as thy-k1*w2, so as to determine the coordinates of the first common point as (thx-w2, thy-k1*w2); according to the continuous smooth characteristics of the transition curve to the second audio transmission curve, determine the horizontal coordinate of the second common point as thx+w2, based on the slope of the second audio transmission curve being k2, determine the vertical coordinate of the second common point as thy+k2*w2, so as to determine the coordinates of the second common point as (thx+w2, thy+k2*w2).

[0042] The present invention also provides an audio processing chip, the audio processing chip comprising:

[0043] A processor and a memory; the memory stores instruction codes;

[0044] The processor is used to execute the instruction code to perform any of the processing methods described above.

[0045] It can be known from the above description that in the processing method, controller and audio processing chip described in the embodiment of the present invention, the coordinates of the first common point and the coordinates of the second common point can be calculated based on the slope of the first audio transmission curve, the slope of the second audio transmission curve, and the interval range and the coordinates of the turning point of the transition curve to be generated. The slope expression of the point on the transition curve is calculated based on the coordinates of the first common point, the coordinates of the second common point and the coordinates of the turning point. Based on the continuity of the slope of each point on the transition function and the slope expression, a transition curve is generated, and then the target transmission curve is output. The technical solution of the present application can obtain a transition curve that smoothly transitions and connects two transmission curves based on any turning point, any slope and any interval range, and is not limited to a transmission curve with a specific slope. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments or descriptions of the prior art will be briefly introduced below. Obviously, the drawings described below are merely embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

[0047] Figure 1 A conversion curve diagram of input signal and output signal in a conventional DRC control method;

[0048] Figure 2 is a DRC transfer curve based on a conventional smooth transition function;

[0049] Figure 3 is another DRC transfer curve based on a conventional smooth transition function;

[0050] Figure 4 A method flow chart of an audio data processing method provided by an embodiment of the present invention;

[0051] Figure 5 A schematic diagram of a flow chart of a method for calculating a smooth transition function provided by an embodiment of the present invention;

[0052] Figure 6 A transmission curve diagram using the smooth transition function described in an embodiment of the present invention;

[0053] Figure 7A schematic diagram of the structure of a controller provided by an embodiment of the present invention;

[0054] Figure 8 A schematic diagram of the structure of an audio processing chip provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0055] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0056] In the existing DRC scheme, the smooth transition function used is:

[0057]

[0058] Wherein, lg in (1) is the amplitude of the input signal, knee is the interval range of the smooth transition function, w2=knee / 2, th is the node size of the corner, and y is the amplitude of the output signal.

[0059] If you set knee to 10dB and th to -20dB, the transmission curve is as follows Figure 2 As shown, Figure 2 is a DRC transfer curve based on a conventional smooth transition function. Figure 2 It can be seen that the transmission curve of the output signal A2 has an additional smooth transition curve at the corner node, which makes the processed digital audio signal softer in subjective listening and avoids sudden sound changes.

[0060] However, the smooth transition function represented by (1) can only be applied to the case where the slope of the DRC transfer curve on the left side of the turning point is close to 1.

[0061] If the slope of the transfer curve at the left end of the turning point is 10 / 3, and if the smooth transition function represented by (1) is used, the transfer curve is as follows: Figure 3 As shown, Figure 3 is another DRC transfer curve based on a conventional smooth transition function. Figure 3 As shown in the figure, A1 is the amplitude of the input signal, and A2 is the amplitude of the output signal. There is still an abrupt turning point. It can be seen that directly using the traditional smooth transition function in (1), there is still an obvious turning mutation at the left end of the interval range, which is not smooth and leads to a sudden change in the sound.

[0062] In order to solve the above problems, the embodiments of the present invention provide a processing method, a controller and an audio processing chip, which can generate a simple smooth transition function suitable for the smooth transition of a transmission curve with any slope.

[0063] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the present application is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0064] like Figure 4 As shown, Figure 4 A method flow chart of an audio data processing method provided by an embodiment of the present invention, the processing method comprising:

[0065] Step S11: determining a first audio transfer curve and a second audio transfer curve based on an input audio input signal.

[0066] Step S12: Obtain the slope of the first audio transmission curve, the slope of the second audio transmission curve, and the range of the transition curve to be generated and the coordinates of the turning point.

[0067] Step S13: Calculate the coordinates of the first common point and the coordinates of the second common point based on the slope of the first audio transmission curve, the slope of the second audio transmission curve, the interval range, and the coordinates of the turning point.

[0068] The first common point is a common point between one end of the transition curve and the first audio transmission curve; and the second common point is a common point between the other end of the transition curve and the second audio transmission curve.

[0069] Step S14: calculating the slope expression of each point on the transition curve based on the coordinates of the first common point, the coordinates of the second common point and the coordinates of the turning point;

[0070] Step S15: generating the transition curve based on the continuity of the slope of each point on the transition curve and the slope expression.

[0071] Step S16: outputting a target transmission curve, wherein the target transmission curve includes: the first audio transmission curve, the second audio transmission curve, and the transition curve smoothly connecting the first audio transmission curve and the second audio transmission curve.

[0072] In the processing method obtained in the embodiment of the present invention, the transition curve is generated based on a smooth transition function, and the expression of the smooth transition function is:

[0073]

[0074] Wherein, k1 is the slope of the first audio transmission curve; k2 is the slope of the second audio transmission curve, (thx, thy) is the coordinate of the turning point, thx represents the amplitude of the input signal corresponding to the turning point, thy represents the amplitude of the output signal corresponding to the turning point; w2 = knee / 2, knee is the interval range. The first audio transmission curve can be set as the transmission curve on the left side of the turning point, and the second audio transmission curve can be set as the transmission curve on the right side of the turning point. Based on DRC control, both are straight lines.

[0075] In an embodiment of the present invention, the coordinates of the turning point are determined according to a threshold value of gain adjustment in a gain generator, wherein the gain generator is any one of an expander, a compressor, a noise gate, and a limiter. The gain generator performs gain adjustment on an input signal based on a set threshold value to compress or expand the input signal, so the coordinates of the turning point can be determined based on its threshold value and the corresponding relationship between the input signal and the output signal.

[0076] According to the continuous and smooth characteristics of the first audio transmission curve to the transition curve, the horizontal coordinate of the first common point is determined to be thx-w2 to ensure the continuous and smooth transition of the smooth transition function and the first audio transmission curve on the left side of the turning point. Based on the slope of the first audio transmission curve being k1, the vertical coordinate of the first common point is determined to be thy-k1*w2 to determine the coordinates of the first common point to be (thx-w2, thy-k1*w2).

[0077] According to the continuous and smooth characteristics of the transition curve to the second audio transmission curve, the horizontal coordinate of the second common point is determined to be thx+w2 to ensure the continuous and smooth transition of the smooth transition function and the second audio transmission curve on the right side of the turning point. Based on the slope of the second audio transmission curve being k2, the vertical coordinate of the second common point is determined to be thy+k2*w2 to determine the coordinates of the second common point to be (thx+w2, thy+k2*w2).

[0078] The required smooth transition function needs to make its transition curve smoothly transition from the first common point (thx-w2, thy-k1*w2) to the second common point (thx+w2, thy+k2*w2). In order to achieve this goal, it is necessary to ensure that the slope of each point in the smooth transition curve gradually transitions from the slope k1 of the first common point (thx-w2, thy-k1*w2) to the slope k2 of the second common point (thx+w2, thy+k2*w2), and there must be no jumps.

[0079] In order to obtain a simple smooth transition function, the embodiment of the present invention sets the slope of each point in the smooth transition curve to change linearly from the slope k1 of the first common point (thx-w2, thy-k1*w2) to the slope k2 of the second common point (thx+w2, thy+k2*w2). Based on the concept of the present invention, a non-linear function relationship can also be used to construct the smooth transition function.

[0080] Optionally, the method for calculating the smooth transition function is as follows: Figure 5 As shown, Figure 5 A flow chart of a method for calculating a smooth transition function provided by an embodiment of the present invention, the method comprising:

[0081] Step S21: Based on the continuity of the slope of each point in the smooth transition function, an integral expression related to the slope of each point in the smooth transition function is obtained.

[0082] The coordinates of any point A in the smooth transition function are set to (xa, ya). As mentioned above, based on the fact that the slopes of each point in the smooth transition curve linearly change from the slope k1 of the first common point (thx-w2, thy-k1*w2) to the slope k2 of the second common point (thx+w2, thy+k2*w2), the slope expression is:

[0083]

[0084] The integral expression is:

[0085]

[0086] In the smooth transition function, the integral term of the slope at each point is:

[0087]

[0088] In the smooth transition function, the starting term for integration at each point is:

[0089] N=thy-k1*w2

[0090] Among them, N is the ordinate of the starting term for integration of each point in the smooth transition function, which is equal to the ordinate of the first common point.

[0091] Step S22: performing an integral operation on the integral expression to obtain an expression of the smooth transition function.

[0092] As mentioned above, the expression of the smooth transition function is:

[0093]

[0094] In expression (2), k1 and k2 can be obtained based on the principle of determining a straight line from two points, or by calculating from two adjacent turning points in the transmission curve, which will not be discussed in detail here.

[0095] From expression (2), we can see that we only need to give any turning point, any slope (other turning points) and any interval range and substitute them into expression (2) to obtain the smooth transition function of the two transfer curves, which is not limited to the transfer curve with a specific slope.

[0096] When k2=0, k1=10 / 3, thx=-20dB, thy=-10dB, and the interval range is 15, if the smooth transition function described in expression (2) is adopted, the transmission curve is as follows: Figure 6 As shown, Figure 6 is a transmission curve diagram of the smooth transition function according to the embodiment of the present invention, A1 represents the amplitude of the input signal, A2 represents the amplitude of the output signal, and Figure 6 It can be seen that based on the smooth transition function described in the embodiment of the present invention, a smooth transition between transmission curves with arbitrary slopes can be achieved.

[0097] Based on the above embodiment, another embodiment of the present invention further provides a controller, which is used in the processing method described in the above embodiment. Figure 7 As shown, Figure 7 A schematic diagram of the structure of a controller provided in an embodiment of the present invention, the controller comprising:

[0098] An acquisition module 11 is used to determine a first audio transmission curve and a second audio transmission curve based on an input audio input signal, and acquire a slope of the first audio transmission curve, a slope of the second audio transmission curve, and a transition curve interval range and a coordinate of a turning point to be generated;

[0099] A first calculation module 12 is used to calculate the coordinates of a first common point and a second common point based on the slope of the first audio transmission curve, the slope of the second audio transmission curve, the range of the set interval and the coordinates of the turning point; the first common point is a common point between one end of the transition curve and the first audio transmission curve; the second common point is a common point between the other end of the transition curve and the second audio transmission curve;

[0100] A second calculation module 13, used to calculate the slope expression of each point on the transition curve based on the coordinates of the first common point, the coordinates of the second common point and the coordinates of the turning point;

[0101] The generating module 14 is used to generate the transition curve based on the continuity of the slope of each point on the transition curve and the slope expression.

[0102] The output module 15 is used to output a target transmission curve, wherein the target transmission curve includes: the first audio transmission curve, the second audio transmission curve, and the transition curve smoothly connecting the first audio transmission curve and the second audio transmission curve.

[0103] The controller can execute the above processing method and output a target transmission curve, and can realize a smooth transition connection between two transmission curves with arbitrary slopes through the transition curve.

[0104] The generating module 14 is used to generate the transition curve based on a smooth transition function, and the smooth transition function expression is:

[0105]

[0106] Among them, k1 is the slope of the first audio transmission curve; k2 is the slope of the second audio transmission curve, (thx, thy) is the coordinate of the turning point; w2=knee / 2, knee is the interval range.

[0107] The first calculation module 12 is used to determine the horizontal coordinate of the first common point as thx-w2 according to the continuous and smooth characteristics of the first audio transmission curve to the transition curve, and determine the vertical coordinate of the first common point as thy-k1*w2 based on the slope of the first audio transmission curve being k1, so as to determine the coordinates of the first common point as (thx-w2, thy-k1*w2); determine the horizontal coordinate of the second common point as thx+w2 according to the continuous and smooth characteristics of the transition curve to the second audio transmission curve, and determine the vertical coordinate of the second common point as thy+k2*w2 based on the slope of the second audio transmission curve being k2, so as to determine the coordinates of the second common point as (thx+w2, thy+k2*w2).

[0108] The controller can execute the above processing method and can realize smooth transition between two transmission curves with arbitrary slopes through the transition function to adjust the smoothness of the audio data, which is more flexible and has wider applicability for processing digital audio signals.

[0109] Another embodiment of the present invention further provides an audio processing chip, such as Figure 8 As shown, Figure 8 The present invention provides a schematic diagram of the structure of an audio processing chip, the audio processing chip includes: a processor 21 and a memory 22. The memory 22 stores instruction codes.

[0110] The processor 21 is used to execute the instruction code to perform the above processing method.

[0111] The audio processing chip can realize a smooth transition connection between two transmission curves of arbitrary slopes through a generated transition function to adjust the smoothness of the audio data, and is more flexible and more applicable to the processing of digital audio signals.

[0112] In this specification, each embodiment is described in a progressive, parallel, or progressive and parallel manner. Each embodiment focuses on the differences from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For the controller and audio processing chip disclosed in the embodiment, since they correspond to the smooth transition function processing method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the corresponding part of the smooth transition function processing method.

[0113] It should be noted that in the description of the present invention, it should be understood that the terms "upper", "lower", "top", "bottom", "inner", "outer" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the drawings, which are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation of the present invention. When a component is considered to be "connected" to another component, it may be directly connected to the other component or there may be a centrally arranged component at the same time.

[0114] It should also be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that an article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the article or device including the above elements.

[0115] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for processing audio data, characterized in that: The processing method comprises: determining a first audio transfer curve and a second audio transfer curve based on an input audio input signal; Obtaining the slope of the first audio transmission curve, the slope of the second audio transmission curve, and the interval range and coordinates of the turning point of the transition curve to be generated; Based on the slope of the first audio transmission curve, the slope of the second audio transmission curve, the interval range and the coordinates of the turning point, the coordinates of the first common point and the coordinates of the second common point are calculated; the first common point is a common point between one end of the transition curve and the first audio transmission curve; the second common point is a common point between the other end of the transition curve and the second audio transmission curve; Calculate the slope expression of each point on the transition curve based on the coordinates of the first common point, the coordinates of the second common point and the coordinates of the turning point; The transition curve is generated based on a smooth transition function, and the expression of the smooth transition function is: Wherein, k1 is the slope of the first audio transmission curve; k2 is the slope of the second audio transmission curve, (thx, thy) is the coordinate of the turning point; w2=knee / 2, knee is the interval range, wherein the coordinate of the first common point is (thx-w2, thy-k1*w2), and the coordinate of the second common point is (thx+w2, thy+k2*w2); A target transmission curve is output, where the target transmission curve includes: the first audio transmission curve, the second audio transmission curve, and the transition curve that smoothly connects the first audio transmission curve and the second audio transmission curve.

2. The processing method according to claim 1, characterized in that: According to the continuous smoothness characteristic from the first audio transmission curve to the transition curve, the abscissa of the first common point is determined to be thx-w2, and based on the slope of the first audio transmission curve being k1, the ordinate of the first common point is determined to be thy-k1*w2, so as to determine the coordinates of the first common point to be (thx-w2, thy-k1*w2); According to the continuous and smooth characteristics of the transition curve to the second audio transmission curve, the horizontal coordinate of the second common point is determined to be thx+w2, and based on the slope of the second audio transmission curve is k2, the vertical coordinate of the second common point is determined to be thy+k2*w2, so as to determine the coordinates of the second common point to be (thx+w2, thy+k2*w2).

3. The processing method according to claim 2, characterized in that: The method for generating the smooth transition function comprises: Based on the continuity of the slope of each point in the smooth transition function, an integral expression related to the slope of each point in the smooth transition function is obtained; An integral operation is performed on the integral expression to obtain an expression of the smooth transition function.

4. The processing method according to claim 3, characterized in that: The coordinates of any point in the smooth transition function are (xa, ya), and the slope expression is: The integral expression is: In the smooth transition function, the integral term of the slope at each point is: In the smooth transition function, the starting term for integration at each point is: N=thy-k1*w2 Among them, N is the ordinate of the starting term for integration of each point in the smooth transition function, which is equal to the ordinate of the first common point.

5. The processing method according to any one of claims 1 to 4, characterized in that: Determining the coordinates of the turning point according to a threshold value of gain adjustment in a gain generator; The gain generator is any one of an expander, a compressor, a noise gate and a limiter.

6. A controller, used in the processing method according to any one of claims 1 to 5, characterized in that: The controller comprises: An acquisition module, configured to determine a first audio transmission curve and a second audio transmission curve based on an input audio input signal, and acquire a slope of the first audio transmission curve, a slope of the second audio transmission curve, and an interval range and a coordinate of a turning point of a transition curve to be generated; A first calculation module, configured to calculate the coordinates of a first common point and the coordinates of a second common point based on the slope of the first audio transmission curve, the slope of the second audio transmission curve, the interval range, and the coordinates of the turning point; the first common point is a common point between one end of the transition curve and the first audio transmission curve; the second common point is a common point between the other end of the transition curve and the second audio transmission curve; A second calculation module, used for calculating the slope expression of each point on the transition curve based on the coordinates of the first common point, the coordinates of the second common point and the coordinates of the turning point; A generating module, used for generating the transition curve based on the continuity of the slope of each point on the transition curve and the slope expression; An output module is used to output a target transmission curve, wherein the target transmission curve includes: the first audio transmission curve, the second audio transmission curve, and the transition curve smoothly connecting the first audio transmission curve and the second audio transmission curve.

7. The controller according to claim 6, characterized in that: The generating module is used to generate the transition curve based on a smooth transition function, and the expression of the smooth transition function is: Among them, k1 is the slope of the first audio transmission curve; k2 is the slope of the second audio transmission curve, (thx, thy) is the coordinate of the turning point; w2=knee / 2, knee is the interval range.

8. The controller according to claim 7, characterized in that: The first calculation module is used to determine the horizontal coordinate of the first common point as thx-w2 according to the continuous and smooth characteristics of the first audio transmission curve to the transition curve, and determine the vertical coordinate of the first common point as thy-k1*w2 based on the slope of the first audio transmission curve as k1, so as to determine the coordinates of the first common point as (thx-w2, thy-k1*w2); determine the horizontal coordinate of the second common point as thx+w2 according to the continuous and smooth characteristics of the transition curve to the second audio transmission curve, and determine the vertical coordinate of the second common point as thy+k2*w2 based on the slope of the second audio transmission curve as k2, so as to determine the coordinates of the second common point as (thx+w2, thy+k2*w2).

9. An audio processing chip, characterized in that: The audio processing chip comprises: A processor and a memory; the memory stores instruction codes; The processor is used to execute the instruction code to perform the processing method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Noise generating apparatus and method

    CN101393742A

  • Device and method of displaying audio frequency spectrum

    CN106128470A