Sound effect algorithm tuning module design method and device, equipment and storage medium
By generating the target prototype parameter design framework and algorithm prototype adaptation code, the problem of low efficiency and insensible design of sound effect algorithm tuning module in the existing technology is solved, and efficient and intelligent sound effect algorithm tuning module design is realized, improving the design of sound effect algorithm tuning module. User experience.
Patent Information
- Application Number
- CN202411398760.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-08
- Publication Date
- 2025-02-18
AI Technical Summary
The efficiency of designing sound effect algorithm tuning modules in the prior art is low and not intelligent enough, resulting in a large amount of work on the application software side to develop new demands and it is difficult to quickly adapt to changes in demand.
By generating the target prototype parameter design framework based on the initial algorithm prototype and new parameters, the algorithm prototype adaptation code is generated based on the framework, and finally the sound effect algorithm tuning module for the algorithm tool is designed based on the adaptation code.
It realizes the online, efficient and intelligent design of sound effect algorithm tuning modules, which reduces the workload of new demand development, improves the user experience, and meets the rhythm requirements of intelligent development.
Smart Images

Figure CN119473242A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a design method, device, equipment and storage medium for a sound effect algorithm tuning module. Background Art
[0002] With the continuous development of artificial intelligence, smart devices have emerged. For example, using smart cockpits to play audio intelligently, audio will inevitably involve the processing of audio algorithms, which is inseparable from the sound effect module. At present, the common method for sound effect algorithm tuning modules is based on professional developers or algorithm engineers, that is, using personal experience to design sound effect algorithm tuning modules according to actual needs. However, actual needs will change and the workload will increase, resulting in more complex and larger number of sound effect modules to be designed. In addition, a lot of handling and modification work will be repeated when using personal experience to design, resulting in low efficiency and lack of intelligence in designing sound effect algorithm tuning modules.
[0003] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention
[0004] The main purpose of this application is to provide a method, device, equipment and storage medium for designing a sound effect algorithm tuning module, aiming to solve the technical problems of low efficiency and lack of intelligence in the prior art of designing a sound effect algorithm tuning module.
[0005] To achieve the above objectives, the present application proposes a method for designing a sound effect algorithm tuning module, the method comprising:
[0006] Generate a target prototype parameter design framework based on the initial algorithm prototype and the newly added parameters;
[0007] Generate algorithm prototype adaptation code based on the target prototype parameter design framework;
[0008] According to the algorithm prototype adaptation code, a sound effect algorithm tuning module for the algorithm tool is designed.
[0009] In one embodiment, the step of generating algorithm prototype adaptation code based on the target prototype parameter design framework includes:
[0010] After designing the prototype parameters based on the target prototype parameter design framework, parsing the target format description file according to the intermediate data structure;
[0011] Get the current module header parameters according to the file parsing results;
[0012] Generate algorithm prototype adaptation code according to the current module header parameters.
[0013] In one embodiment, the step of generating the algorithm prototype adaptation code according to the current module header parameters includes:
[0014] Obtain the algorithm type field in the current module header parameter;
[0015] Create a target prototype class file according to the algorithm type field;
[0016] Parse the input and output ports, initialization parameters and sound effect parameters respectively;
[0017] Generate algorithm prototype adaptation code in the specified directory of the target project according to the port parsing result, the parameter parsing result and the target prototype class file.
[0018] In one embodiment, the steps of respectively parsing the input and output ports, initialization parameters, and sound effect parameters include:
[0019] Parse the input and output ports and obtain the port parsing results;
[0020] When it is determined that the port resolution is successful according to the port resolution result, obtaining the audio initialization parameter according to the initialization parameter;
[0021] Parsing the audio initialization parameter and obtaining a first parameter parsing result;
[0022] When it is determined that the parsing of the audio initialization parameters is successful according to the first parameter parsing result, determining whether there are private initialization parameters in the initialization parameters;
[0023] If not, parse the sound effect parameters.
[0024] In one embodiment, after the step of determining whether there are private initialization parameters in the initialization parameters, the method further includes:
[0025] If yes, parse the private initialization parameter to obtain a second parameter parsing result;
[0026] Generate a private initialization parameter adaptation interface according to the second parameter parsing result;
[0027] Analyze the sound effect parameters and obtain the third parameter analysis result;
[0028] Based on the third parameter parsing result, an algorithm prototype adaptation code is obtained according to the third parameter parsing result.
[0029] In one embodiment, the step of obtaining the algorithm prototype adaptation code based on the third parameter parsing result includes:
[0030] When it is determined according to the third parameter result that the sound effect parameter parsing is successful, generating a sound effect parameter adaptation interface code;
[0031] The algorithm prototype adaptation code is obtained based on the private initialization parameter adaptation interface and the sound effect parameter adaptation interface.
[0032] In one embodiment, after the step of designing a sound effect algorithm tuning module for the algorithm tool according to the algorithm prototype adaptation code, the method further includes:
[0033] Determine the code compilation tool;
[0034] The algorithm prototype adaptation code is compiled based on the code compilation tool to generate a tuning tool that can adapt to the sound effect algorithm tuning module.
[0035] In addition, to achieve the above purpose, the present application also proposes a sound effect algorithm tuning module design device, the sound effect algorithm tuning module design device comprising:
[0036] A generation module, used for generating a target prototype parameter design framework according to the initial algorithm prototype and the newly added parameters when the user authority is higher than the preset authority;
[0037] The generation module is further used to generate algorithm prototype adaptation code based on the target prototype parameter design framework;
[0038] A design module is used to design a sound effect algorithm tuning module for the algorithm tool according to the algorithm prototype adaptation code.
[0039] In addition, to achieve the above-mentioned purpose, the present application also proposes a sound effect algorithm tuning module design device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, and the computer program is configured to implement the steps of the sound effect algorithm tuning module design method as described above.
[0040] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by the processor, the steps of the sound effect algorithm tuning module design method as described above are implemented.
[0041] One or more technical solutions proposed in the present application have at least the following technical effects: generating a target prototype parameter design framework based on the initial algorithm prototype and the newly added parameters; generating an algorithm prototype adaptation code based on the target prototype parameter design framework; designing a sound effect algorithm tuning module for the algorithm tool according to the algorithm prototype adaptation code; through the above method, after obtaining the newly added parameters, the target prototype parameter design framework is comprehensively generated in combination with the initial algorithm prototype, and then the algorithm prototype adaptation code is generated by using the target prototype parameter design framework, and then the sound effect algorithm tuning module is designed according to the algorithm prototype adaptation code, thereby realizing the online, efficient and intelligent design of the sound effect algorithm tuning module, reducing the workload of new demand development on the application software side, meeting the rhythm requirements of intelligent development, and thus effectively improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] The accompanying drawings herein are incorporated in and constitute a part of the specification, illustrate embodiments consistent with the present application, and together with the description, are used to explain the principles of the present application.
[0043] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0044] Figure 1 A flowchart diagram of the first embodiment of the method for designing a sound effect algorithm tuning module of the present application is provided;
[0045] Figure 2 A flowchart diagram of the second embodiment of the method for designing a sound effect algorithm tuning module of the present application is provided;
[0046] Figure 3 A schematic diagram of the structure of a target prototype parameter design framework of a method for designing a sound effect algorithm tuning module provided in Example 2 of the present application;
[0047] Figure 4 A schematic diagram of the module structure of a device for designing a sound effect algorithm tuning module according to an embodiment of the present application;
[0048] Figure 5 Schematic diagram of the device structure of the hardware operating environment involved in the sound effect algorithm tuning module design method in the embodiment of the present application.
[0049] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0050] It should be noted that the execution subject of this embodiment can be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device capable of realizing the above functions, a sound effect algorithm tuning module design device, etc. The following takes the sound effect algorithm tuning module design device as an example to illustrate this embodiment and the following embodiments.
[0051] Based on this, the embodiment of the present application provides a method for designing a sound effect algorithm tuning module, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the method for designing a sound effect algorithm tuning module of the present application.
[0052] In this embodiment, the sound effect algorithm tuning module design method includes steps S10 to S30:
[0053] Step S10, generating a target prototype parameter design framework according to the initial algorithm prototype and the newly added parameters.
[0054] It should be understood that the initial algorithm prototype includes but is not limited to module header parameters, initialization parameters, sound effect parameters (private), input port (private), output port (private) and module description information, among which the header information includes but is not limited to the algorithm prototype name, type, key, version and parent class, among which the initialization parameters include common initialization parameters and private initialization parameters, among which the common initialization parameters include but are not limited to sampling rate, frame size and audio data format, among which the private initialization parameters can be customized according to the needs of the prototype.
[0055] It is understandable that the newly added parameters include but are not limited to the data type of the parameter setting, data key, data initial default value, data minimum value, data maximum value, data minimum step length and data permissions, among which the data minimum value, data maximum value and data minimum step length can be selected according to the data type, for example, string data has no setting options, integer and other numeric types have setting options, and an error reminder will be reported if the setting is missing. In addition, after determining the initial algorithm prototype and the newly added parameters, click on the prototype design interface to generate the target prototype parameter design framework in the prototype design interface, specifically: the parameter types in the module header parameters are fixed and can be set directly; the parameter types of the input and output ports are fixed and can be set directly; the initialization parameters include two parts, the common initialization parameters are fixed and can be set directly, and the private initialization parameters are set and added according to the needs of the algorithm prototype, and this parameter is optional; the sound effect parameters are customized and added according to the needs of the algorithm prototype.
[0056] Step S20, generating algorithm prototype adaptation code based on the target prototype parameter design framework.
[0057] It can be understood that the algorithm prototype adaptation code refers to the adaptation code required for designing the sound effect module online on the client side. After generating the target prototype parameter design framework, the algorithm prototype adaptation code is intelligently generated according to the target prototype parameter design framework. In the face of a large number of new algorithm prototype iteration requirements, the algorithm prototype adaptation code is generated in the manner of this embodiment, which can greatly reduce the code development when the new algorithm prototype is expanded, and is more efficient and flexible.
[0058] Step S30, designing a sound effect algorithm tuning module for the algorithm tool according to the algorithm prototype adaptation code.
[0059] Furthermore, after step S30, the method further includes: determining a code compilation tool; compiling the algorithm prototype adaptation code based on the code compilation tool to generate a tuning tool that can adapt to the sound effect algorithm tuning module.
[0060] It can be understood that the code compilation tool refers to a tool used to compile adaptation code. The code compilation tool can be a compiler that supports multiple languages. After obtaining the algorithm prototype adaptation code, the algorithm prototype adaptation code is compiled based on the code compilation tool to generate a tuning tool that can adapt to the sound effect algorithm tuning module.
[0061] This embodiment generates a target prototype parameter design framework based on the initial algorithm prototype and the newly added parameters; generates an algorithm prototype adaptation code based on the target prototype parameter design framework; designs a sound effect algorithm tuning module for the algorithm tool according to the algorithm prototype adaptation code; through the above method, after obtaining the newly added parameters, the target prototype parameter design framework is comprehensively generated in combination with the initial algorithm prototype, and then the algorithm prototype adaptation code is generated using the target prototype parameter design framework, and then the sound effect algorithm tuning module is designed according to the algorithm prototype adaptation code, thereby realizing the online, efficient and intelligent design of the sound effect algorithm tuning module, reducing the workload of new demand development on the application software side, meeting the rhythm requirements of intelligent development, and thus effectively improving the user experience.
[0062] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction, and will not be repeated in the following. Figure 2 , step S20 includes steps S201 to S203:
[0063] Step S201, after designing the prototype parameters based on the target prototype parameter design framework, the target format description file is parsed according to the intermediate data structure.
[0064] It should be noted that after generating the target prototype parameter design frame, prototype parameter design can be performed according to the target prototype parameter design frame. The intermediate data structure refers to the structure used to store and parse the prototype definition data, and the intermediate data structure can be a json object structure.
[0065] It can be understood that the target format description file can be a prototype json data description file, and the target format can be a JSON format. After obtaining the intermediate data structure, the target format description file is parsed.
[0066] Step S202, obtaining the current module header parameters according to the file parsing result.
[0067] It should be understood that the current module header parameters include but are not limited to the algorithm prototype name, type, etc., and the current module header parameters are determined after obtaining the file parsing result of the target format description file.
[0068] Step S203, generating algorithm prototype adaptation code according to the current module header parameters.
[0069] Further, step S203 includes: obtaining the algorithm type field in the current module header parameters; creating a target prototype class file according to the algorithm type field; parsing the input and output ports, initialization parameters and sound effect parameters respectively; generating an algorithm prototype adaptation code in a specified directory of the target project according to the port parsing results, parameter parsing results and the target prototype class file.
[0070] It should be understood that the target prototype class file can be a body code file adapted from the algorithm prototype, which mainly completes the custom implementation of the prototype. The target prototype class file inherits from the algorithm base class, where the base class is an abstract parent class object used to encapsulate, parse and process all common parts of the algorithm. The subclass is used to process the difference part and use C++ polymorphism for differentiation.
[0071] It can be understood that the target project specified directory refers to the directory used to modify or generate the adaptation code. The target project specified directory can be obtained by the user specifying or setting the project path. After determining the target project specified directory, the algorithm prototype adaptation code is generated in the target project specified directory according to the port parsing results, parameter parsing results and target prototype class files.
[0072] Furthermore, the steps of respectively parsing the input and output ports, initialization parameters and sound effect parameters include: parsing the input and output ports and obtaining port parsing results; when it is determined that the port parsing is successful according to the port parsing results, obtaining audio initialization parameters according to the initialization parameters; parsing the audio initialization parameters and obtaining a first parameter parsing result; when it is determined that the audio initialization parameter parsing is successful according to the first parameter parsing result, determining whether there are private initialization parameters in the initialization parameters; if not, parsing the sound effect parameters.
[0073] It can be understood that since the input and output ports are fixed data types, it is sufficient to directly parse the input and output ports. After parsing the input and output ports, it is necessary to determine whether the port parsing is successful based on the port parsing results. If not, perform exception handling. If so, continue to parse the audio initialization parameters, wherein the audio initialization parameters represent the audio parameter part of the initialization parameters. At this time, parse the audio initialization parameters first, and then determine whether the audio initialization parameters are parsed successfully based on the first parameter parsing results. If not, perform exception handling. If so, further determine whether there are private initialization parameters in the initialization parameters. If not, directly parse the sound effect parameters, wherein the sound effect parameters are custom parameters unique to the algorithm prototype.
[0074] Furthermore, after the step of determining whether there are private initialization parameters in the initialization parameters, the method further includes: if so, parsing the private initialization parameters to obtain a second parameter parsing result; generating a private initialization parameter adaptation interface according to the second parameter parsing result; parsing the sound effect parameters and obtaining a third parameter parsing result; and obtaining an algorithm prototype adaptation code based on the third parameter parsing result.
[0075] It should be understood that when it is determined that there are private initialization parameters in the initialization parameters, it is necessary to continue to parse the private initialization parameters, and then generate a private initialization parameter adaptation interface based on the second parameter parsing result, and the private initialization parameter adaptation interface can be a polymorphic interface. After parsing the private initialization parameters, it is necessary to further parse the sound effect parameters, and the sound effect parameters corresponding to each algorithm prototype are different.
[0076] Furthermore, the step of obtaining the algorithm prototype adaptation code based on the third parameter parsing result includes: generating a sound effect parameter adaptation interface code when it is determined that the sound effect parameter parsing is successful according to the third parameter result; and obtaining the algorithm prototype adaptation code based on the private initialization parameter adaptation interface and the sound effect parameter adaptation interface.
[0077] It can be understood that after obtaining the parsing result of the third parameter, it is further determined whether the sound effect parameter is parsed successfully based on the parsing result of the third parameter. If so, a sound effect parameter adaptation interface code is generated. The sound effect parameter adaptation interface code mainly performs parsing and encapsulation, completes the mutual conversion of data from the UI layer to the communication layer, and further obtains the algorithm prototype adaptation code.
[0078] It should be noted that in addition to creating the target prototype class file and the algorithm prototype data structure, the adaptation layer of other parts will also be modified during the parsing process to expand support for new algorithm prototypes.
[0079] After designing the prototype parameters based on the target prototype parameter design framework, this embodiment parses the target format description file according to the intermediate data structure; obtains the current module header parameters according to the file parsing result; generates the algorithm prototype adaptation code according to the current module header parameters; through the above method, after designing the prototype parameters based on the target prototype parameter design framework, the target format description file is parsed according to the intermediate data structure, and then the file is created, the ports and parameters are parsed, and then the adaptation code is intelligently generated, so that the algorithm prototype adaptation code can be intelligently generated, thereby effectively improving the efficiency of generating the algorithm prototype adaptation code.
[0080] For example, in order to help understand the implementation process of the sound effect algorithm tuning module design method obtained by combining this embodiment with the above-mentioned embodiment 1, please refer to Figure 3 , Figure 3 A structural diagram of a target prototype parameter design framework for a sound effect algorithm tuning module design method is provided, specifically:
[0081] The target prototype parameter design framework includes a header information module, an input port module, an output port module, an initialization parameter module, a sound effect parameter module and a description information module, wherein the initialization parameter module includes an audio initialization parameter unit and a private initialization parameter unit, and the header information module includes but is not limited to the algorithm prototype name, type, key, version and parent class, etc. The newly added parameters of the private initialization parameter unit include but are not limited to data type, data key, data initial default value, data minimum value, data maximum value, data minimum step size and data permissions, etc. Similarly, the newly added parameters of the sound effect parameter module include but are not limited to data type, data key, data initial default value, data minimum value, data maximum value, data minimum step size and data permissions, etc.
[0082] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the design method of the sound effect algorithm tuning module of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.
[0083] This application also provides a sound effect algorithm tuning module design device, please refer to Figure 4 , the sound effect algorithm tuning module design device comprises:
[0084] The generation module 10 is used to generate a target prototype parameter design framework according to the initial algorithm prototype and the newly added parameters.
[0085] The generating module 10 is further used to generate algorithm prototype adaptation code based on the target prototype parameter design framework.
[0086] The design module 20 is used to design a sound effect algorithm tuning module for the algorithm tool according to the algorithm prototype adaptation code.
[0087] This embodiment generates a target prototype parameter design framework based on the initial algorithm prototype and the newly added parameters; generates an algorithm prototype adaptation code based on the target prototype parameter design framework; designs a sound effect algorithm tuning module for the algorithm tool according to the algorithm prototype adaptation code; through the above method, after obtaining the newly added parameters, the target prototype parameter design framework is comprehensively generated in combination with the initial algorithm prototype, and then the algorithm prototype adaptation code is generated using the target prototype parameter design framework, and then the sound effect algorithm tuning module is designed according to the algorithm prototype adaptation code, thereby realizing the online, efficient and intelligent design of the sound effect algorithm tuning module, reducing the workload of new demand development on the application software side, meeting the rhythm requirements of intelligent development, and thus effectively improving the user experience.
[0088] The sound effect algorithm tuning module design device provided by the present application adopts the sound effect algorithm tuning module design method in the above embodiment, which can solve the technical problem that the design of the sound effect algorithm tuning module in the prior art is low in efficiency and not intelligent enough. Compared with the prior art, the beneficial effects of the sound effect algorithm tuning module design device provided by the present application are the same as the beneficial effects of the sound effect algorithm tuning module design method provided by the above embodiment, and the other technical features in the sound effect algorithm tuning module design device are the same as the features disclosed in the above embodiment method, which will not be repeated here.
[0089] In one embodiment, the generation module 10 is also used to parse the target format description file according to the intermediate data structure after designing the prototype parameters based on the target prototype parameter design framework; obtain the current module header parameters according to the file parsing results; and generate the algorithm prototype adaptation code according to the current module header parameters.
[0090] In one embodiment, the generation module 10 is also used to obtain the algorithm type field in the current module header parameters; create a target prototype class file according to the algorithm type field; parse the input and output ports, initialization parameters and sound effect parameters respectively; generate the algorithm prototype adaptation code in the specified directory of the target project according to the port parsing results, parameter parsing results and the target prototype class file.
[0091] In one embodiment, the generation module 10 is also used to parse the input and output ports and obtain the port resolution results; when it is determined that the port resolution is successful according to the port resolution results, the audio initialization parameters are obtained according to the initialization parameters; the audio initialization parameters are parsed and the first parameter resolution results are obtained; when it is determined that the audio initialization parameter resolution is successful according to the first parameter resolution results, it is determined whether there are private initialization parameters in the initialization parameters; if not, the sound effect parameters are parsed.
[0092] In one embodiment, the generation module 10 is also used to parse the private initialization parameter to obtain a second parameter parsing result; generate a private initialization parameter adaptation interface based on the second parameter parsing result; parse the sound effect parameter and obtain a third parameter parsing result; and obtain an algorithm prototype adaptation code based on the third parameter parsing result.
[0093] In one embodiment, the generation module 10 is further used to generate a sound effect parameter adaptation interface code when it is determined that the sound effect parameter parsing is successful according to the third parameter result; and to obtain an algorithm prototype adaptation code based on the private initialization parameter adaptation interface and the sound effect parameter adaptation interface.
[0094] In one embodiment, the design module 20 is used to determine a code compilation tool; based on the code compilation tool, the algorithm prototype adaptation code is compiled to generate a tuning tool that can adapt to the sound effect algorithm tuning module.
[0095] The present application provides a sound effect algorithm tuning module design device, which includes: at least one processor; and a memory that is communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the sound effect algorithm tuning module design method in the above-mentioned embodiment one.
[0096] Reference below Figure 5, which shows a schematic diagram of the structure of a sound effect algorithm tuning module design device suitable for implementing the embodiment of the present application. The sound effect algorithm tuning module design device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 5 The sound effect algorithm tuning module design device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0097] like Figure 5 As shown, the sound effect algorithm tuning module design device may include a processing device 1001 (such as a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. Various programs and data required for the operation of the sound effect algorithm tuning module design device are also stored in RAM1004. The processing device 1001, ROM1002 and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to the I / O interface 1006: input devices 1007 including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; output devices 1008 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 1003 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 1009. The communication device 1009 can allow the sound effect algorithm tuning module design device to communicate wirelessly or wired with other devices to exchange data. Although the figure shows a sound effect algorithm tuning module design device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems may be implemented or have instead.
[0098] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. The computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through a communication device, or installed from the storage device 1003, or installed from the ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0099] The sound effect algorithm tuning module design device provided by the present application adopts the sound effect algorithm tuning module design method in the above embodiment, which can solve the technical problems of low efficiency and lack of intelligence in the prior art design of the sound effect algorithm tuning module. Compared with the prior art, the beneficial effects of the sound effect algorithm tuning module design device provided by the present application are the same as the beneficial effects of the sound effect algorithm tuning module design method provided by the above embodiment, and the other technical features in the sound effect algorithm tuning module design device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0100] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0101] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0102] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, wherein the computer-readable program instructions are used to execute the sound effect algorithm tuning module design method in the above-mentioned embodiment.
[0103] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM: Erasable Programmable Read Only Memory or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM: CD-Read Only Memory), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.
[0104] The computer-readable storage medium may be included in the sound effect algorithm tuning module design device; or it may exist independently without being assembled into the sound effect algorithm tuning module design device.
[0105] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0106] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system and method according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the box can also occur in a sequence different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0107] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0108] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned sound effect algorithm tuning module design method, and can solve the technical problems of low efficiency and insufficient intelligence in the prior art design of sound effect algorithm tuning modules. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the sound effect algorithm tuning module design method provided by the above-mentioned embodiment, and will not be elaborated here.
[0109] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A method for designing a sound effect algorithm tuning module, characterized in that: The method comprises: Generate a target prototype parameter design framework based on the initial algorithm prototype and the newly added parameters; Generate algorithm prototype adaptation code based on the target prototype parameter design framework; According to the algorithm prototype adaptation code, a sound effect algorithm tuning module for the algorithm tool is designed.
2. The method according to claim 1, characterized in that The step of generating algorithm prototype adaptation code based on the target prototype parameter design framework includes: After designing the prototype parameters based on the target prototype parameter design framework, parsing the target format description file according to the intermediate data structure; Get the current module header parameters according to the file parsing results; Generate algorithm prototype adaptation code according to the current module header parameters.
3. The method according to claim 2, characterized in that The step of generating the algorithm prototype adaptation code according to the current module header parameters comprises: Obtain the algorithm type field in the current module header parameter; Create a target prototype class file according to the algorithm type field; Parse the input and output ports, initialization parameters and sound effect parameters respectively; Generate algorithm prototype adaptation code in the specified directory of the target project according to the port parsing result, the parameter parsing result and the target prototype class file.
4. The method according to claim 3, characterized in that The steps of respectively parsing the input and output ports, initialization parameters and sound effect parameters include: Parse the input and output ports and obtain the port parsing results; When it is determined that the port resolution is successful according to the port resolution result, obtaining the audio initialization parameter according to the initialization parameter; Parsing the audio initialization parameter and obtaining a first parameter parsing result; When it is determined that the parsing of the audio initialization parameters is successful according to the first parameter parsing result, determining whether there are private initialization parameters in the initialization parameters; If not, parse the sound effect parameters.
5. The method according to claim 4, characterized in that After the step of determining whether there are private initialization parameters in the initialization parameters, the method further includes: If yes, parse the private initialization parameter to obtain a second parameter parsing result; Generate a private initialization parameter adaptation interface according to the second parameter parsing result; Analyze the sound effect parameters and obtain the third parameter analysis result; Based on the third parameter parsing result, an algorithm prototype adaptation code is obtained according to the third parameter parsing result.
6. The method according to claim 5, characterized in that The step of obtaining the algorithm prototype adaptation code according to the third parameter parsing result based on the third parameter parsing result includes: When it is determined according to the third parameter result that the sound effect parameter parsing is successful, generating a sound effect parameter adaptation interface code; The algorithm prototype adaptation code is obtained based on the private initialization parameter adaptation interface and the sound effect parameter adaptation interface.
7. The method according to any one of claims 1 to 6, characterized in that After the step of designing a sound effect algorithm tuning module for the algorithm tool according to the algorithm prototype adaptation code, the method further includes: Determine the code compilation tool; The algorithm prototype adaptation code is compiled based on the code compilation tool to generate a tuning tool that can adapt to the sound effect algorithm tuning module.
8. A device for designing a sound effect algorithm tuning module, characterized in that: The device comprises: A generation module, used for generating a target prototype parameter design framework according to the initial algorithm prototype and the newly added parameters when the user authority is higher than the preset authority; The generation module is further used to generate algorithm prototype adaptation code based on the target prototype parameter design framework; A design module is used to design a sound effect algorithm tuning module for the algorithm tool according to the algorithm prototype adaptation code.
9. A sound effect algorithm tuning module design device, characterized in that: The device comprises: a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the method for designing a sound effect algorithm tuning module as described in any one of claims 1 to 7.
10. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the sound effect algorithm tuning module design method as described in any one of claims 1 to 7 are implemented.