CN-121983006-A - Sound effect parameter adjusting method, electronic equipment and readable storage medium
Abstract
The application discloses an audio parameter adjusting method, electronic equipment and a readable storage medium, and relates to the technical field of audio control, wherein the method comprises the steps of obtaining prototype design information aiming at a target audio algorithm, wherein the prototype design information at least comprises parameter definition information, and the parameter definition information is used for defining adjustable parameters of the target audio algorithm; and responding to a parameter tuning request aiming at a target sound effect algorithm, analyzing the prototype definition file to obtain parameter definition information, and generating a corresponding sound effect parameter adjusting interface based on the parameter definition information so as to be used for tuning by a user at the sound effect parameter adjusting interface. The application improves the development and deployment efficiency of the sound effect parameter adjusting function and realizes the quick response and flexible adaptation of the parameter adjusting flow.
Inventors
- TAO HAIPENG
- CHEN QIANG
- Tong ziwei
- HUANG HONGHONG
- CAI ZHICHAO
Assignees
- 歌尔股份有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20251225
Claims (10)
- 1. The sound effect parameter adjusting method is characterized by comprising the following steps of: obtaining prototype design information for a target sound effect algorithm, wherein the prototype design information at least comprises parameter definition information, and the parameter definition information is used for defining adjustable parameters of the target sound effect algorithm; generating a prototype definition file based on the prototype design information; And responding to a parameter tuning request aiming at the target sound effect algorithm, analyzing the prototype definition file to acquire the parameter definition information, and generating a corresponding sound effect parameter adjusting interface based on the parameter definition information so as to be used for a user to tune at the sound effect parameter adjusting interface.
- 2. The sound effect parametric method of claim 1, wherein after the step of generating a prototype definition file based on the prototype design information, the method further comprises: generating a corresponding interactive design control in a link design platform based on the prototype definition file, wherein the link design platform is a graphical design platform for configuring an audio processing link; After the interactive design control is deployed to a link design area in the link design platform, a parameter tuning request for the target sound effect algorithm is triggered in response to a selected operation of the interactive design control.
- 3. The method of claim 2, wherein after the step of generating the corresponding sound parameter adjustment interface, the method further comprises: responding to an operation request aiming at a topological link of the sound effect algorithm in the link design area, and sequentially operating the corresponding sound effect algorithm according to the definition of the topological link; When the method runs to the target sound effect algorithm associated with the prototype definition file, generating a corresponding parameter tuning instruction according to a target parameter value set by a user on the sound effect parameter adjustment interface, wherein a parameter sequence of the parameter tuning instruction is consistent with a parameter sequence defined by the prototype definition file; And sending the parameter tuning instruction to target audio equipment, so that the target audio equipment calls the target sound effect algorithm according to the parameter tuning instruction, and applies the target parameter value to carry out audio processing to finish the operation of the target sound effect algorithm.
- 4. The method of claim 3, wherein prior to the step of generating corresponding call instructions, the method further comprises; carrying out compliance verification on target parameter values set by a user on the sound effect parameter adjustment interface, wherein the compliance verification comprises verifying whether the target parameter values conform to constraint rules defined for corresponding adjustable parameters in the prototype definition file; If the verification is passed, executing the step of generating a corresponding parameter adjusting instruction according to the target parameter value set by the user on the sound effect parameter adjusting interface; if the verification is not passed, generating a verification error prompt and preventing generation or sending of the parameter adjusting instruction.
- 5. The sound effect parametric method of claim 1, wherein the step of generating a prototype definition file based on the prototype design information comprises: Packaging the prototype design information into a structured text conforming to a preset grammar specification to obtain a prototype definition file; wherein, the structured text is XML format text.
- 6. The method of claim 5, wherein the parsing the prototype definition file to generate a corresponding sound parameter tuning interface comprises: Analyzing the prototype definition file from an XML format to structural data in a JSON format, and acquiring configuration information based on the structural data; and generating a corresponding sound effect parameter adjustment interface based on the configuration information.
- 7. The sound effect parametric method of any one of claims 1 to 6, wherein after the step of obtaining prototype design information for a target sound effect algorithm, the method further comprises: checking whether the adjustable parameters in the target sound effect algorithm are consistent with the adjustable parameters contained in the prototype design information; If the prototype design information is verified to be consistent, executing the step of generating a prototype definition file based on the prototype design information; if the verification is inconsistent, outputting prompt information that the adjustable parameters are not fully configured.
- 8. The sound effect parametric method of any one of claims 1 to 6, wherein the prototype design information further comprises module definition information, port definition information, and parameter map display information; the module definition information is used for uniquely identifying and classifying the target sound effect algorithm; The port definition information is used for defining an input/output interface of audio data and control signals of the target sound effect algorithm; The parameter map display information is used for defining the alias displayed on the sound effect parameter adjustment interface for the specified parameter value.
- 9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program implementing the sound effect parametric method of any one of claims 1 to 8 when executed by the processor.
- 10. A computer-readable storage medium, wherein a device control program is stored on the computer-readable storage medium, which when executed by a processor, implements the steps of the sound effect parametric method of any one of claims 1 to 8.
Description
Sound effect parameter adjusting method, electronic equipment and readable storage medium Technical Field The present application relates to the field of sound control technologies, and in particular, to a sound parameter adjusting method, an electronic device, and a readable storage medium. Background Audio processing techniques are critical in modern intelligent audio devices, and enhancement and adaptation of sound effects are often required by means of various types of audio algorithms. The algorithm generally operates on an embedded platform at the equipment end, parameter adjustment and effect demonstration are carried out through matched client application, and interaction is carried out between the embedded platform and the embedded platform through communication modes such as Bluetooth, wi-Fi (WIRELESS FIDELITY ) or USB (Universal Serial Bus, universal serial bus). In the existing implementation manner of sound effect parameter adjustment, when an algorithm engineer develops or updates a sound effect algorithm, an application end developer needs to manually write a corresponding debugging interface and interaction logic according to parameters of the algorithm, and solidify a parameter format into an application layer protocol. The process not only involves the one-by-one adaptation of interface controls, but also needs to ensure the consistency with the device-side parameter receiving processing logic, so that the development period is prolonged, and the multi-terminal cooperation cost is obviously increased. Therefore, how to overcome the problem of low efficiency of multi-terminal repeated development and debugging caused by the dependence of the manual adaptation of the sound effect parameter adjusting process has become a technical problem to be solved. Disclosure of Invention The application mainly aims to provide an audio parameter adjusting method, electronic equipment and a readable storage medium, and aims to solve the technical problems that the traditional audio parameter adjusting process depends on manual adaptation, and multi-terminal repeated development and debugging efficiency are low. In order to achieve the above object, the present application provides a method for adjusting a sound effect, the method for adjusting a sound effect includes the following steps: obtaining prototype design information for a target sound effect algorithm, wherein the prototype design information at least comprises parameter definition information, and the parameter definition information is used for defining adjustable parameters of the target sound effect algorithm; generating a prototype definition file based on the prototype design information; And responding to a parameter tuning request aiming at the target sound effect algorithm, analyzing the prototype definition file to acquire the parameter definition information, and generating a corresponding sound effect parameter adjusting interface based on the parameter definition information so as to be used for a user to tune at the sound effect parameter adjusting interface. In a possible implementation manner, after the step of generating a prototype definition file based on the prototype design information, the method further includes: generating a corresponding interactive design control in a link design platform based on the prototype definition file, wherein the link design platform is a graphical design platform for configuring an audio processing link; After the interactive design control is deployed to a link design area in the link design platform, a parameter tuning request for the target sound effect algorithm is triggered in response to a selected operation of the interactive design control. In a possible implementation manner, after the step of generating the corresponding sound effect parameter adjustment interface, the method further includes: responding to an operation request aiming at a topological link of the sound effect algorithm in the link design area, and sequentially operating the corresponding sound effect algorithm according to the definition of the topological link; When the method runs to the target sound effect algorithm associated with the prototype definition file, generating a corresponding parameter tuning instruction according to a target parameter value set by a user on the sound effect parameter adjustment interface, wherein a parameter sequence of the parameter tuning instruction is consistent with a parameter sequence defined by the prototype definition file; And sending the parameter tuning instruction to target audio equipment, so that the target audio equipment calls the target sound effect algorithm according to the parameter tuning instruction, and applies the target parameter value to carry out audio processing to finish the operation of the target sound effect algorithm. In a possible implementation manner, before the step of generating the corresponding parameter tuning instruction, the method further