Sound field adjusting method and device

By matching the irregular sound field into an isosceles trapezoid model, calculating sound field adjustment nodes and adjusting parameters, the problem of the inability of existing technology to accurately adjust the irregular sound field is solved, and the in-car audio-visual effect and product competitiveness are improved.

CN118660263APending Publication Date: 2024-09-17FORYOU GENERAL ELECTRONICS
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311576476.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-23
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

The existing technology cannot accurately adjust the irregular sound field, resulting in unsatisfactory sound field adjustment effect in the car, and cannot meet the new needs brought about by changes in car styling.

Method used

Match the irregular sound field to a preset mathematical model, determine the corresponding relationship between its coordinate values ​​and the sound field adjustment parameters, calculate the sound field adjustment nodes through the isosceles trapezoid model, and determine the final adjustment parameters according to the user's click position for sound field adjustment.

Benefits of technology

It achieves accurate adjustment of irregular sound fields, improves the audio-visual effect in the car, and enhances product competitiveness.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118660263A
    Figure CN118660263A
Patent Text Reader

Abstract

The invention provides a sound field adjusting method and device. The method comprises the following steps: step 1, setting an irregular sound field as a preset mathematical model; 2, determining a corresponding relation between coordinate values in the irregular sound field and sound field adjustment parameters according to the preset mathematical model; step 3, acquiring a target sound field adjustment coordinate value, judging whether the target sound field adjustment coordinate value is located in the irregular sound field, if so, entering the next step, and otherwise, not responding; step 4, determining a target sound field adjustment parameter according to the corresponding relation; and step 5, adjusting the sound field according to the target sound field adjustment parameter. According to the invention, accurate adjustment of the irregular sound field is realized, the audio-visual effect in the vehicle is improved, and the product competitiveness is increased.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of audio processing, and in particular to a sound field adjustment method and device. Background Art

[0002] With the development of automotive electronic technology and the continuous improvement of users' in-car audio-visual requirements, the in-car sound field has changed from an unadjustable sound field to an adjustable sound field. The adjustable parameters include balance, gain, etc. At present, the sound field is a regular rectangle. When the user clicks on the screen, the system obtains the current click position and converts it into the corresponding value of the sound field, and sends it to the corresponding chip for processing and setting. However, with the continuous changes in the shape of the car, irregular sound fields have appeared. In this case, the sound field value determined by the current sound field determination method is no longer accurate, resulting in unsatisfactory sound field adjustment effect. A sound field adjustment method that adapts to irregular sound fields is urgently needed to solve this technical problem. Summary of the invention

[0003] The present invention provides a sound field adjustment method and device, aiming to solve the defects in the prior art, realize accurate adjustment of irregular sound fields, improve the audio-visual effect in the car, and increase product competitiveness.

[0004] In order to achieve the above object, the technical solution adopted by the present invention is:

[0005] One aspect of the present invention provides a sound field adjustment method, comprising:

[0006] Step 1, setting the irregular sound field as a preset mathematical model;

[0007] Step 2: determining the correspondence between the coordinate values ​​in the irregular sound field and the sound field adjustment parameters according to the preset mathematical model;

[0008] Step 3, obtaining the target sound field adjustment coordinate value, and determining whether the target sound field adjustment coordinate value is located in the irregular sound field, if yes, proceeding to the next step, otherwise, no response;

[0009] Step 4: determining the target sound field adjustment parameters according to the corresponding relationship;

[0010] Step 5: Adjust the sound field according to the target sound field adjustment parameters.

[0011] Specifically, the preset mathematical model is an isosceles trapezoid.

[0012] Specifically, the step 2 comprises the following steps:

[0013] Step 201, obtaining the coordinate values ​​of each vertex of the isosceles trapezoid;

[0014] Step 202: Determine the equations of the left and right waist lines of the isosceles trapezoid according to the coordinate values ​​of each vertex;

[0015] Step 203, determining the linear equation of the symmetry axis of the isosceles trapezoid according to the coordinate values ​​of each vertex;

[0016] Step 204, determining the sound field average score according to the sound field resolution;

[0017] Step 205, determining the sound field adjustment point according to the left and right waist straight line equations, the straight line equation of the symmetry axis and the sound field average score;

[0018] Step 206: Bind the sound field adjustment point with the corresponding sound field adjustment parameter.

[0019] Specifically, step 205 includes:

[0020] Step 2051: determine a first feature point, a second feature point, and a third feature point according to the linear equation of the axis of symmetry, wherein the first feature point is located on the axis of symmetry, and its ordinate is the average of the ordinates of the upper base vertex and the lower base vertex, the second feature point is the intersection of the axis of symmetry and the upper base, and the third feature point is the intersection of the axis of symmetry and the lower base;

[0021] Step 2052: Evenly divide the line segment between the first feature point and the second feature point and the line segment between the first feature point and the third feature point according to the sound field average score to obtain reference sound field adjustment points, and draw a line parallel to the upper base or the lower base from each of the reference sound field adjustment points and intersect with the left and right waists to obtain a reference adjustment line;

[0022] Step 2053: Divide all the reference adjustment lines equally according to the sound field average score to obtain a derived sound field adjustment point;

[0023] Step 2054: determine the reference sound field adjustment point and the derived sound field adjustment point as the sound field adjustment point.

[0024] Specifically, the determining whether the target sound field adjustment coordinate value is located within the irregular sound field includes:

[0025] Step A1, determining whether the abscissa of the target sound field adjustment coordinate value is located within the irregular sound field, if yes, determining the sound field region to which the abscissa of the target sound field adjustment coordinate value belongs and proceeding to the next step, otherwise determining that the target sound field adjustment coordinate value is located outside the irregular sound field;

[0026] Step A2, calculating the theoretical ordinate of the target sound field adjustment coordinate value according to the waist straight line equation corresponding to the sound field area;

[0027] Step A3, judging whether the ordinate of the target sound field adjustment coordinate value is smaller than the theoretical ordinate, if so, judging that the target sound field adjustment coordinate value is outside the irregular sound field, otherwise judging that the target sound field adjustment coordinate value is inside the irregular sound field.

[0028] Specifically, step 4 includes: calculating the straight-line distance between the target sound field adjustment coordinate value and four adjacent sound field adjustment points, and determining the sound field adjustment point corresponding to the one with the shortest straight-line distance as the final sound field adjustment point.

[0029] Another aspect of the present invention provides a sound field adjustment device, comprising:

[0030] A relationship determination module and a model setting module, a judgment module, and a parameter determination module connected thereto, wherein the parameter determination module is also connected to the sound field adjustment module, and the judgment module is also connected to the position acquisition module;

[0031] The model setting module is used to set the irregular sound field to a preset mathematical model;

[0032] The relationship determination module is used to determine the corresponding relationship between the coordinate value in the irregular sound field and the sound field adjustment parameter according to the preset mathematical model;

[0033] The position acquisition module is used to obtain the target sound field adjustment coordinate value;

[0034] The judging module is used to judge whether the target sound field adjustment coordinate value is located within the irregular sound field;

[0035] The parameter determination module is used to determine the target sound field adjustment parameters according to the corresponding relationship;

[0036] The sound field adjustment module is used to adjust the sound field according to the target sound field adjustment parameters.

[0037] Specifically, the relationship determination includes: a coordinate calculation unit and an equation determination unit, an equal division setting unit, and a binding unit connected thereto, wherein the equation determination unit is also connected to the coordinate input unit;

[0038] The coordinate input unit is used to input the coordinate values ​​of each vertex of the isosceles trapezoid;

[0039] The equation determination unit is used to determine the equations of the sides of the isosceles trapezoid according to the coordinate values ​​of the vertices;

[0040] The average division setting unit is used to determine the sound field average score according to the sound field resolution;

[0041] The coordinate calculation unit is used to calculate the coordinate value of each sound field adjustment point according to the left and right waist straight line equations, the straight line equation of the symmetry axis and the sound field average score;

[0042] The binding unit is used to bind each sound field adjustment point with a corresponding sound field adjustment parameter.

[0043] The beneficial effects of the present invention are as follows: the present invention matches the irregular sound field to a corresponding mathematical model, then determines the straight line equations of various line segments of the mathematical model, and then determines the coordinate values ​​of the sound field adjustment points through direct equations and average division quantities, and associates them with the sound field values. After obtaining the user's click position, the final sound field adjustment point is determined according to a preset algorithm, and finally the sound field is adjusted accordingly according to the adjustment parameters corresponding to the final sound field adjustment point, thereby achieving accurate adjustment of the irregular sound field, improving the audio-visual effect in the car, and increasing product competitiveness. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 It is a schematic flow chart of the sound field adjustment method of the present invention;

[0045] Figure 2 is a schematic diagram of the sound field adjustment points of the present invention;

[0046] Figure 3 is a schematic structural diagram of the sound field adjustment device of the present invention;

[0047] Figure 4 It is a structural diagram of the relationship determination module of the present invention. DETAILED DESCRIPTION

[0048] The following specifically describes the embodiments of the present invention in conjunction with the accompanying drawings, which are only for reference and illustration and do not constitute a limitation on the scope of patent protection of the present invention.

[0049] In the process described in the specification, claims or drawings of the present invention, the serial numbers of each step (such as step 10, 20, etc.) are included. The serial numbers are only used to distinguish the steps, and the serial numbers themselves do not represent any execution order. It should be noted that the descriptions such as "first" and "second" in this article are only used to distinguish the description objects, etc., and do not represent the order of precedence, nor do they mean that "first", "second", etc. are different types.

[0050] Example 1

[0051] like Figure 1 As shown, this embodiment provides a sound field adjustment method, including:

[0052] Step 1: Set the irregular sound field as a preset mathematical model.

[0053] Step 2: determining the correspondence between the coordinate values ​​in the irregular sound field and the sound field adjustment parameters according to the preset mathematical model.

[0054] Step 3: Obtain the target sound field adjustment coordinate value, and determine whether the target sound field adjustment coordinate value is located in the irregular sound field. If yes, proceed to the next step, otherwise, do not respond.

[0055] Step 4: Determine the target sound field adjustment parameters according to the corresponding relationship.

[0056] Step 5: Adjust the sound field according to the target sound field adjustment parameters.

[0057] In this embodiment, the preset mathematical model in step 1 is an isosceles trapezoid.

[0058] Based on the trapezoidal model, step 2 specifically includes the following steps:

[0059] Step 201: Obtain the coordinate values ​​of each vertex of the isosceles trapezoid.

[0060] like Figure 2 As shown, the upper left corner of the UI interface is generally used as the origin of the coordinate system. The vertices and coordinate values ​​of the isosceles trapezoid are: A(a 1 ,b 1 )、B(a 2 ,b 2 )、C(a 3 ,b 3 )、D(a 4 ,b 4 ).

[0061] Step 202: Determine the equations of the left and right legs of the isosceles trapezoid according to the coordinate values ​​of the vertices.

[0062] like Figure 2 As shown, the linear equation of the lumbar AC is:

[0063] y=(b 3 -b 1 )*x / (a 3 -a 1 )+(a 3 *b 1 -a 1 *b 3 ) / (a 3 -a 1 );

[0064] The linear equation of waist BD is:

[0065] y=(b 4 -b 2 )*x / (a 4 -a2 )+(a 4 *b 2 -a 2 *b 4 ) / (a 4 -a 2 ).

[0066] Step 203: Determine the linear equation of the symmetry axis of the isosceles trapezoid according to the coordinate values ​​of each vertex.

[0067] Step 204: Determine the sound field average score according to the sound field resolution.

[0068] Step 205: determine the sound field adjustment point according to the left and right waist straight line equations, the straight line equation of the symmetry axis, and the sound field average score.

[0069] In this embodiment, step 205 includes:

[0070] Step 2051, determine the first feature point, the second feature point, and the third feature point according to the straight line equation of the symmetry axis, the first feature point is located on the symmetry axis, and its ordinate is the average of the ordinates of the upper base vertex and the lower base vertex, the second feature point is the intersection of the symmetry axis and the upper base, and the third feature point is the intersection of the symmetry axis and the lower base.

[0071] like Figure 2 As shown, point E is the first feature point, y E =(b 3 +b 1 ) / 2; Point F is the second feature point, and point G is the third feature point.

[0072] The area determined by EGAH is the first sound field area, the area determined by EIGB is the second sound field area, the area determined by EHCF is the third sound field area, and the area determined by EFDI is the fourth sound field area.

[0073] Step 2052: divide the line segment between the first feature point and the second feature point and the line segment between the first feature point and the third feature point equally according to the sound field average score to obtain reference sound field adjustment points, and draw a line parallel to the upper base or lower base from each of the reference sound field adjustment points and intersect with the left and right waists to obtain a reference adjustment line.

[0074] Step 2053: Divide all the reference adjustment lines equally according to the sound field average score to obtain derived sound field adjustment points.

[0075] Step 2054: determine the reference sound field adjustment point and the derived sound field adjustment point as the sound field adjustment point.

[0076] like Figure 2As shown, if the average sound field score is 5, first divide the line segments EF and EG into 5 equal parts, and obtain the reference sound field adjustment points E, F, G, E21, E22, E23, E24, E31, E32, E33, and E34 respectively, and draw parallel lines AB or CD from each reference sound field adjustment point and intersect with AC and BD, and then divide these parallel line segments into 5 equal parts to obtain derived sound field adjustment points. The collection of all these equally divided points is the sound field adjustment point.

[0077] Step 206: Bind the sound field adjustment point with the corresponding sound field adjustment parameter.

[0078] In this embodiment, the sound field adjustment parameters include but are not limited to left-right balance, gain coefficient, etc.

[0079] In this embodiment, the step of determining whether the target sound field adjustment coordinate value is located within the irregular sound field in step 3 includes the following steps:

[0080] Step A1, determine whether the horizontal coordinate of the target sound field adjustment coordinate value is located in the irregular sound field, if yes, determine the sound field area to which the horizontal coordinate of the target sound field adjustment coordinate value belongs and proceed to the next step, otherwise determine that the target sound field adjustment coordinate value is located outside the irregular sound field.

[0081] Step A2: Calculate the theoretical ordinate of the target sound field adjustment coordinate value according to the waist straight line equation corresponding to the sound field area.

[0082] Step A3, judging whether the ordinate of the target sound field adjustment coordinate value is smaller than the theoretical ordinate, if so, judging that the target sound field adjustment coordinate value is outside the irregular sound field, otherwise judging that the target sound field adjustment coordinate value is inside the irregular sound field.

[0083] like Figure 2 As shown, the coordinate value of the user click position T is (x t ,y t ), then first determine x t Whether it is in an irregular sound field, that is, judging x t ∈[a 3 ,a 4 ] is true, if true, it means x t In the irregular sound field, continue to judge x t Whether it belongs to the first sound field area or the third sound field area, or the second sound field area or the fourth sound field area;

[0084] If it belongs to the first sound field area or the third sound field area, the theoretical ordinate y of the target sound field adjustment coordinate value is calculated according to the linear equation of the corresponding waist AC. t1 =(b3 -b 1 )*x t / (a 3 -a 1 )+

[0085] (a 3 *b 1 -a 1 *b 3 ) / (a 3 -a 1 );

[0086] If it belongs to the second sound field area or the fourth sound field area, the theoretical ordinate y of the target sound field adjustment coordinate value is calculated according to the linear equation of the corresponding waist BD. t2 =(b 4 -b 2 )*x t / (a 4 -a 2 )+

[0087] (a 4 *b 2 -a 2 *b 4 ) / (a 4 -a 2 ).

[0088] Finally, judge y t With y t1 or t2 Relationship, if 0≤y t ≤y t1 or t2 , it means that the user clicked the position in the irregular sound field.

[0089] In this embodiment, step 4 includes: calculating the straight-line distance between the target sound field adjustment coordinate value and four adjacent sound field adjustment points, and determining the sound field adjustment point corresponding to the one with the shortest straight-line distance as the final sound field adjustment point.

[0090] Example 2

[0091] like Figure 3 As shown, this embodiment provides a sound field adjustment device, including: a relationship determination module and a model setting module, a judgment module, and a parameter determination module connected thereto, wherein the parameter determination module is also connected to the sound field adjustment module, and the judgment module is also connected to the position acquisition module;

[0092] The model setting module is used to set the irregular sound field to a preset mathematical model;

[0093] The relationship determination module is used to determine the corresponding relationship between the coordinate value in the irregular sound field and the sound field adjustment parameter according to the preset mathematical model;

[0094] The position acquisition module is used to obtain the target sound field adjustment coordinate value;

[0095] The judging module is used to judge whether the target sound field adjustment coordinate value is located within the irregular sound field;

[0096] The parameter determination module is used to determine the target sound field adjustment parameters according to the corresponding relationship;

[0097] The sound field adjustment module is used to adjust the sound field according to the target sound field adjustment parameters.

[0098] The working process of the device is as described in the sound field adjustment method in Example 1, and will not be repeated here.

[0099] Example 3

[0100] like Figure 4 As shown, this embodiment provides a specific structure of the relationship determination module described in Embodiment 3, including: a coordinate calculation unit and an equation determination unit, an equal division setting unit, and a binding unit connected thereto, wherein the equation determination unit is also connected to the coordinate input unit;

[0101] The coordinate input unit is used to input the coordinate values ​​of each vertex of the isosceles trapezoid;

[0102] The equation determination unit is used to determine the equations of the sides of the isosceles trapezoid according to the coordinate values ​​of the vertices;

[0103] The average division setting unit is used to determine the sound field average score according to the sound field resolution;

[0104] The coordinate calculation unit is used to calculate the coordinate value of each sound field adjustment point according to the left and right waist straight line equations, the straight line equation of the symmetry axis and the sound field average score;

[0105] The binding unit is used to bind each sound field adjustment point with a corresponding sound field adjustment parameter.

[0106] The working process of the device is as described in the sound field adjustment method in Example 1, and will not be repeated here.

[0107] The above disclosure is only a preferred embodiment of the present invention, which cannot be used to limit the scope of protection of the present invention. Therefore, equivalent changes made according to the scope of the patent application of the present invention are still within the scope covered by the present invention.

Claims

1. A sound field adjustment method, characterized in that: include: Step 1, setting the irregular sound field as a preset mathematical model; Step 2: determining the correspondence between the coordinate values ​​in the irregular sound field and the sound field adjustment parameters according to the preset mathematical model; Step 3, obtaining the target sound field adjustment coordinate value, and determining whether the target sound field adjustment coordinate value is located in the irregular sound field, if yes, proceeding to the next step, otherwise, no response; Step 4: determining the target sound field adjustment parameters according to the corresponding relationship; Step 5: Adjust the sound field according to the target sound field adjustment parameters.

2. The sound field adjustment method according to claim 1, characterized in that: The preset mathematical model is an isosceles trapezoid.

3. The sound field adjustment method according to claim 2, characterized in that: The step 2 specifically includes the following steps: Step 201, obtaining the coordinate values ​​of each vertex of the isosceles trapezoid; Step 202: Determine the equations of the left and right waist lines of the isosceles trapezoid according to the coordinate values ​​of each vertex; Step 203, determining the linear equation of the symmetry axis of the isosceles trapezoid according to the coordinate values ​​of each vertex; Step 204, determining the sound field average score according to the sound field resolution; Step 205, determining the sound field adjustment point according to the left and right waist straight line equations, the straight line equation of the symmetry axis and the sound field average score; Step 206: Bind the sound field adjustment point with the corresponding sound field adjustment parameter.

4. The sound field adjustment method according to claim 3, characterized in that: The step 205 comprises: Step 2051: determine a first feature point, a second feature point, and a third feature point according to the linear equation of the axis of symmetry, wherein the first feature point is located on the axis of symmetry, and its ordinate is the average of the ordinates of the upper base vertex and the lower base vertex, the second feature point is the intersection of the axis of symmetry and the upper base, and the third feature point is the intersection of the axis of symmetry and the lower base; Step 2052: Evenly divide the line segment between the first feature point and the second feature point and the line segment between the first feature point and the third feature point according to the sound field average score to obtain reference sound field adjustment points, and draw a line parallel to the upper base or the lower base from each of the reference sound field adjustment points and intersect with the left and right waists to obtain a reference adjustment line; Step 2053: Divide all the reference adjustment lines equally according to the sound field average score to obtain a derived sound field adjustment point; Step 2054: determine the reference sound field adjustment point and the derived sound field adjustment point as the sound field adjustment point.

5. The sound field adjustment method according to claim 4, characterized in that: The determining whether the target sound field adjustment coordinate value is located within the irregular sound field includes: Step A1, determining whether the abscissa of the target sound field adjustment coordinate value is located within the irregular sound field, if yes, determining the sound field region to which the abscissa of the target sound field adjustment coordinate value belongs and proceeding to the next step, otherwise determining that the target sound field adjustment coordinate value is located outside the irregular sound field; Step A2, calculating the theoretical ordinate of the target sound field adjustment coordinate value according to the waist straight line equation corresponding to the sound field area; Step A3, judging whether the ordinate of the target sound field adjustment coordinate value is smaller than the theoretical ordinate, if so, judging that the target sound field adjustment coordinate value is outside the irregular sound field, otherwise judging that the target sound field adjustment coordinate value is inside the irregular sound field.

6. The sound field adjustment method according to claim 1, characterized in that: The step 4 includes: calculating the straight-line distance between the target sound field adjustment coordinate value and four adjacent sound field adjustment points, and determining the sound field adjustment point corresponding to the one with the shortest straight-line distance as the final sound field adjustment point.

7. A sound field adjustment device, characterized in that: include: A relationship determination module and a model setting module, a judgment module, and a parameter determination module connected thereto, wherein the parameter determination module is also connected to the sound field adjustment module, and the judgment module is also connected to the position acquisition module; The model setting module is used to set the irregular sound field to a preset mathematical model; The relationship determination module is used to determine the corresponding relationship between the coordinate value in the irregular sound field and the sound field adjustment parameter according to the preset mathematical model; The position acquisition module is used to obtain the target sound field adjustment coordinate value; The judging module is used to judge whether the target sound field adjustment coordinate value is located within the irregular sound field; The parameter determination module is used to determine the target sound field adjustment parameters according to the corresponding relationship; The sound field adjustment module is used to adjust the sound field according to the target sound field adjustment parameters.

8. The sound field adjustment device according to claim 7, characterized in that: The relationship determination includes: a coordinate calculation unit and an equation determination unit, an equal division setting unit, and a binding unit connected thereto, wherein the equation determination unit is also connected to the coordinate input unit; The coordinate input unit is used to input the coordinate values ​​of each vertex of the isosceles trapezoid; The equation determination unit is used to determine the equations of the sides of the isosceles trapezoid according to the coordinate values ​​of the vertices; The average division setting unit is used to determine the sound field average score according to the sound field resolution; The coordinate calculation unit is used to calculate the coordinate value of each sound field adjustment point according to the left and right waist straight line equations, the straight line equation of the symmetry axis and the sound field average score; The binding unit is used to bind each sound field adjustment point with a corresponding sound field adjustment parameter.