Audio editing method and device

By creating audio editing components and configuring playback events, the problem of audio parameters not being able to be adjusted in the running scenario in the prior art is solved, real-time adjustment of audio parameters and resource savings are achieved.

CN114115659BActive Publication Date: 2024-12-13ZHUHAI KINGSOFT ONLINE GAME TECH CO LTD
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202111447296.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-30
Publication Date
2024-12-13
Estimated Expiration
2041-11-30

AI Technical Summary

Technical Problem

The prior art cannot adjust audio parameters in the running scenario during audio editing, and it is difficult to optimize management when there are many audio resources, resulting in excessive resource consumption.

Method used

By creating an audio editing component and determining its attribute editing information, converting the audio to be edited into the target audio, and configuring a playback event for it, performing audio editing when the playback event is triggered, real-time adjustment and optimization of audio parameters are achieved.

Benefits of technology

Real-time adjustment of audio parameters during operation is realized, the adhesion between audio and scenes is improved, and a variety of audio outputs are supported, and resource consumption is saved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114115659B_ABST
    Figure CN114115659B_ABST
Patent Text Reader

Abstract

The present application provides an audio editing method and device, wherein the audio editing method includes: obtaining the audio to be edited; creating an audio editing component corresponding to the audio to be edited, and determining the attribute editing information corresponding to the audio editing component; converting the audio to be edited into a target audio based on the attribute editing information, and configuring a playback event for the audio editing component containing the target audio; and when the playback event is triggered, playing the target audio by executing the audio editing component.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of audio processing technology, and in particular to an audio editing method and device. Background Art

[0002] With the development of Internet technology, the diversified demands for audio in any scenario are becoming more and more abundant. Especially in some scenarios that can provide higher requirements through audio feedback, such as game scenarios, virtual reality scenarios or audio interaction scenarios, audio is needed to render the user's current environment, thereby improving the user's participation experience. In the prior art, when debugging the audio in the preparation stage, parameters can only be set when the audio resources are configured separately in the non-running scenario, and the parameters cannot be adjusted during operation. Moreover, when there are too many audio resources, multiple audios cannot be optimized and managed. Therefore, a large amount of resources are required to complete the audio settings. Therefore, an effective solution is urgently needed to solve the above problems. Summary of the invention

[0003] In view of this, the embodiment of the present application provides an audio editing method to solve the technical defects existing in the prior art. The embodiment of the present application also provides an audio editing device, a computing device, and a computer-readable storage medium.

[0004] According to a first aspect of an embodiment of the present application, there is provided an audio editing method, comprising:

[0005] Get the audio to be edited;

[0006] Creating an audio editing component corresponding to the audio to be edited, and determining attribute editing information corresponding to the audio editing component;

[0007] Convert the to-be-edited audio into a target audio based on the attribute editing information, and configure a play event for the audio editing component containing the target audio;

[0008] When the play event is triggered, the target audio is played by executing the audio editing component.

[0009] Optionally, obtaining the audio to be edited includes:

[0010] Receiving audio editing instructions submitted to the initialized editing plug-in;

[0011] Displaying at least one initial audio file on the audio file import interface based on the audio editing instruction;

[0012] The audio to be edited is determined in response to a move instruction submitted for the at least one initial audio file.

[0013] Optionally, the step of creating an audio editing component corresponding to the audio to be edited includes:

[0014] Determine the audio identifier corresponding to the audio to be edited;

[0015] Create the audio editing component named with the audio identifier and containing the audio to be edited.

[0016] Optionally, determining the attribute editing information corresponding to the audio editing component includes:

[0017] Displaying the audio editing interface corresponding to the audio editing component;

[0018] Receiving an editing instruction submitted through the audio editing interface, and determining attribute parameters corresponding to the audio to be edited according to the editing instruction;

[0019] The attribute editing information is determined by integrating the attribute parameters.

[0020] Optionally, after the step of determining the attribute editing information corresponding to the audio editing component is performed, the method further includes:

[0021] Based on the attribute parameters, displaying a waveform corresponding to the audio to be edited in the audio editing area;

[0022] When a control instruction submitted for the waveform diagram is received, the waveform diagram is adjusted in response to the control instruction.

[0023] Optionally, configuring a play event for the audio editing component containing the target audio includes:

[0024] Receiving an event configuration instruction submitted for the audio editing component containing the target audio;

[0025] Jumping to an event editing interface associated with the audio editing component in response to the event configuration instruction;

[0026] receiving an event editing instruction submitted through the event editing interface, and determining event editing information based on the event editing instruction;

[0027] The play event is created according to the event editing information, and the play event is configured for the audio editing component containing the target audio.

[0028] Optionally, after the step of configuring a play event for the audio editing component containing the target audio is executed, the step further includes:

[0029] Loading the object to be processed, and adding the audio editing component configuring the play event to the object to be processed;

[0030] Determining a trigger condition corresponding to the playback event;

[0031] When the object to be processed in the running state meets the trigger condition, the step of playing the target audio by executing the audio editing component is performed.

[0032] Optionally, the step of creating an audio editing component corresponding to the audio to be edited includes:

[0033] Create a container editing component and a sub-audio editing component corresponding to the audio to be edited;

[0034] A hierarchical relationship between the container editing component and the sub-audio editing component is established, and the audio editing component corresponding to the audio to be edited is determined according to the hierarchical relationship.

[0035] Optionally, playing the target audio by executing the audio editing component comprises:

[0036] Executing the sub-audio editing component in the container editing component according to a preset execution strategy;

[0037] The target audio is played according to the execution result.

[0038] According to a second aspect of an embodiment of the present application, there is provided an audio editing device, comprising:

[0039] An acquisition module, configured to acquire the audio to be edited;

[0040] A creation module, configured to create an audio editing component corresponding to the audio to be edited, and determine attribute editing information corresponding to the audio editing component;

[0041] A configuration module, configured to convert the audio to be edited into a target audio based on the attribute editing information, and configure a play event for the audio editing component containing the target audio;

[0042] The playing module is configured to play the target audio by executing the audio editing component when the playing event is triggered.

[0043] According to a third aspect of an embodiment of the present application, another audio editing method is provided, comprising:

[0044] Get the audio to be edited;

[0045] Creating a container editing component corresponding to the audio to be edited, and determining attribute editing information corresponding to the sub-audio editing component contained in the container editing component;

[0046] Convert the audio to be edited into a target audio based on the attribute editing information, and configure a play event for the sub-audio editing component containing the target audio;

[0047] When the play event is triggered, the target audio is played by executing the sub-audio editing component contained in the container editing component.

[0048] Optionally, the step of creating a container editing component corresponding to the audio to be edited includes:

[0049] Creating an initial container editing component and the sub-audio editing component corresponding to the audio to be edited;

[0050] A hierarchical relationship between the initial container editing component and the sub-audio editing component is established, and the container editing component that includes the sub-audio editing component is determined based on the hierarchical relationship.

[0051] Optionally, the step of playing the target audio by executing a sub-audio editing component contained in the container editing component includes:

[0052] Determining the arrangement order of the sub-audio editing components in the container editing component;

[0053] Execute the sub-audio editing components in the container editing component according to the arrangement order;

[0054] The target audio is played according to the execution result of the sub-audio editing component.

[0055] According to a fourth aspect of an embodiment of the present application, another audio editing device is provided, comprising:

[0056] An audio acquisition module is configured to acquire audio to be edited;

[0057] A component creation module is configured to create a container editing component corresponding to the audio to be edited, and determine the attribute editing information corresponding to the sub-audio editing component contained in the container editing component;

[0058] A configuration event module is configured to convert the audio to be edited into a target audio based on the attribute editing information, and configure a play event for the sub-audio editing component containing the target audio;

[0059] The audio playing module is configured to play the target audio by executing the sub-audio editing component included in the container editing component when the playing event is triggered.

[0060] According to a fifth aspect of an embodiment of the present application, there is provided a computing device, including:

[0061] Memory and processor;

[0062] The memory is used to store computer-executable instructions, and the processor implements the steps of the audio editing method when executing the computer-executable instructions.

[0063] According to a sixth aspect of an embodiment of the present application, a computer-readable storage medium is provided, which stores computer-executable instructions, and when the instructions are executed by a processor, the steps of the audio editing method are implemented.

[0064] According to a seventh aspect of an embodiment of the present application, a chip is provided, which stores a computer program, and the computer program implements the steps of the audio editing method when executed by the chip.

[0065] The audio editing method provided by the present application, after obtaining the audio to be edited, in order to quickly and efficiently complete the audio setting, can create an audio editing component corresponding to the audio to be edited, and determine the attribute editing information corresponding to the audio editing component; then, based on the attribute editing information, the audio to be edited is converted into the target audio, so that the audio parameters can be adjusted according to the needs, which is more convenient to operate; then, in order to improve the adhesion between the audio and the playback scene, a playback event will be configured for the audio editing component containing the target audio, and after the playback event is triggered, the target audio can be played by executing the audio editing component; the audio parameters can be adjusted in real time during operation, which can more conveniently manage and optimize the video, while increasing the adhesion between the audio and the scene, supporting a variety of audio outputs, and saving resource consumption. BRIEF DESCRIPTION OF THE DRAWINGS

[0066] Figure 1 is a flow chart of an audio editing method provided by an embodiment of the present application;

[0067] Figure 2 is a schematic diagram of an editing interface in an audio editing method provided in an embodiment of the present application;

[0068] Figure 3 is a schematic diagram of an editing interface in another audio editing method provided in an embodiment of the present application;

[0069] Figure 4 is a processing flow chart of an audio editing method applied to a game scene provided by an embodiment of the present application;

[0070] Figure 5 is a structural schematic diagram of an audio editing device provided by an embodiment of the present application;

[0071] Figure 6 is a flow chart of another audio editing method provided by an embodiment of the present application;

[0072] Figure 7is a structural schematic diagram of another audio editing device provided by an embodiment of the present application;

[0073] Figure 8 It is a structural block diagram of a computing device provided in one embodiment of the present application. DETAILED DESCRIPTION

[0074] Many specific details are described in the following description to facilitate a full understanding of the present application. However, the present application can be implemented in many other ways than those described herein, and those skilled in the art can make similar generalizations without violating the connotation of the present application, so the present application is not limited by the specific implementation disclosed below.

[0075] The terms used in one or more embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit one or more embodiments of the present application. The singular forms of "a", "said" and "the" used in one or more embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used in one or more embodiments of the present application refers to and includes any or all possible combinations of one or more associated listed items.

[0076] It should be understood that, although the terms first, second, etc. may be used to describe various information in one or more embodiments of the present application, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of one or more embodiments of the present application, the first may also be referred to as the second, and similarly, the second may also be referred to as the first.

[0077] First, the terms involved in one or more embodiments of the present invention are explained.

[0078] Unity: is a real-time 3D interactive content creation and operation platform. All creators, including game development, art, architecture, automotive design, film and television, use Unity to turn their ideas into reality. The Unity platform provides a complete set of software solutions that can be used to create, operate and monetize any real-time interactive 2D and 3D content. Supported platforms include mobile phones, tablets, PCs, game consoles, augmented reality and virtual reality devices.

[0079] In the present application, an audio editing method is provided. The present application also relates to an audio editing device, a computing device, and a computer-readable storage medium, which are described in detail one by one in the following embodiments.

[0080] In actual applications, the audio playback mode supported by the existing Unity engine is: you can only configure audio resources and set parameters separately when the scene is not running, and you cannot perform numerical debugging during operation; when there are a large number of audio resources, you cannot optimize and manage multiple audios, only trigger audio playback, and cannot achieve different playback modes. The existing method cannot meet the complex audio playback requirements in the current game environment.

[0081] In view of this, the audio editing method provided by the present application, after obtaining the audio to be edited, in order to quickly and efficiently complete the audio setting, can create an audio editing component corresponding to the audio to be edited, and determine the attribute editing information corresponding to the audio editing component; then, based on the attribute editing information, the audio to be edited is converted into the target audio, so that the audio parameters can be adjusted according to the needs, which is more convenient to operate; then, in order to improve the adhesion between the audio and the playback scene, a playback event will be configured for the audio editing component containing the target audio, and after the playback event is triggered, the target audio can be played by executing the audio editing component; the audio parameters can be adjusted in real time during operation, which can more conveniently manage and optimize the video, while increasing the adhesion between the audio and the scene, supporting a variety of audio outputs, and saving resource consumption.

[0082] Figure 1 A flowchart of an audio editing method provided according to an embodiment of the present application is shown, which specifically includes the following steps:

[0083] Step S102, obtaining the audio to be edited.

[0084] Specifically, the audio to be edited refers to the audio whose parameters need to be adjusted corresponding to the current editing environment, such as the game audio that needs to be edited in the game scene; or the background music audio that needs to be edited in the CG scene; or the scene music audio that needs to be edited in the virtual reality scene, etc.

[0085] The audio editing method provided in this embodiment describes the process of processing audio in a game scene. The same or corresponding description content in other scenes can refer to the corresponding description content in this embodiment, and no further details are given here.

[0086] Based on this, in order to facilitate the processing of audio that needs to adjust parameters in the game scene, to ensure that the adjusted audio is more in line with the game scene and meets the user's listening needs. The audio editing method provided in this embodiment can create a new component and edit its related properties for the audio to be edited, so as to organically combine multiple audio sources. It can not only support multiple playback functions, such as random playback, sequential playback, selective playback and mixed playback; it can also provide a variety of audio options, and realize audio playback effects such as fade in and fade out, cross fade, multi-level loop, etc. At the same time, the edited data can be persistently stored to realize the data pre-save function. Thereby improving the diversity and convenience of audio editing, saving resource consumption and improving audio editing efficiency.

[0087] Furthermore, since different audios are involved in different scenarios, and different audios need to set different parameters according to the scenario requirements, when obtaining the audio to be edited, the operator needs to make a selection based on the current scenario requirements. In this embodiment, the specific implementation method is as follows:

[0088] Receiving audio editing instructions submitted to the initialized editing plug-in;

[0089] Displaying at least one initial audio file on the audio file import interface based on the audio editing instruction;

[0090] The audio to be edited is determined in response to a move instruction submitted for the at least one initial audio file.

[0091] Specifically, the editing plug-in specifically refers to a plug-in installed in an application that can perform audio editing operations; accordingly, the audio editing instruction specifically refers to an instruction to view all the original audio files that can be edited before selecting the audio to be edited. Accordingly, the audio file import interface specifically refers to an interface for importing the original audio file. Accordingly, the original audio file specifically refers to the file corresponding to the audio that can be edited.

[0092] Based on this, after the editing plug-in is installed in the target application capable of editing audio, in order to be able to complete audio editing in response to subsequent operations, the editing plug-in can be initialized, and then the audio editing instructions submitted by the operator through the initialized editing plug-in are received. In response to the audio editing instructions, the initial audio files imported from the external application are displayed in the audio file import interface. When it is necessary to operate on any one of the at least one initial audio files, it can be dragged to the editing interface of the editing plug-in according to the operator's movement instructions, and the selected initial audio file can be used as the audio to be edited for subsequent editing operations.

[0093] For example, when the game audio of a certain game needs to be edited, in order to improve the adhesion between the edited audio and the game scene and improve the player's gaming experience; in the audio processing stage, the audio file to be edited can be first imported from the outside into Unity, which contains the editing plug-in and the plug-in is initialized. After receiving the audio editing instruction from the operator, an interface containing multiple initial audio files will be displayed to the operator. The status of the initial audio file after being imported into Unity is shown in the Project window as follows: Figure 2 As shown in (a) in the figure, the audio to be edited is determined from multiple initial audio files according to the operator's movement instructions, and is moved to the editing interface of the editing plug-in to facilitate the subsequent editing of audio attributes in combination with the game scene.

[0094] In summary, by determining the audio to be edited based on the operator's selection, it is not only convenient for the operator to operate, but also convenient for the operator to change the audio at any time, which effectively improves the efficiency and convenience of audio editing.

[0095] Step S104, creating an audio editing component corresponding to the audio to be edited, and determining attribute editing information corresponding to the audio editing component.

[0096] Specifically, after the audio to be edited is acquired as described above, further, in order to facilitate subsequent operations on the audio to be edited, an audio editing component containing the audio to be edited can be created, so that the user can perform preliminary editing operations on the audio to be edited on the audio editing component, and determine the property editing information set on the audio editing component in response to the user's editing operations.

[0097] The audio editing component specifically refers to a component that can support basic attribute adjustments to the audio to be edited, such as volume control, pitch control, or playback model control of the audio to be edited; correspondingly, the attribute editing information specifically refers to the information after the user edits the audio to be edited through the audio editing component, and the attribute editing information determines the playback effect of the edited audio. It should be noted that different audio editing components can have different functions, and accordingly, the attribute editing information corresponding to the audio editing components is also different, thereby supporting diversified audio editing.

[0098] Furthermore, when creating an audio editing component for the audio to be edited, considering that the audio editing component needs to be mounted on the corresponding object to be processed later, the corresponding audio editing component can be created by determining the audio identifier of the audio to be edited. In this embodiment, the specific implementation is as follows:

[0099] Determine the audio identifier corresponding to the audio to be edited;

[0100] Create the audio editing component named with the audio identifier and containing the audio to be edited.

[0101] Specifically, the audio identifier specifically refers to a unique identifier corresponding to the audio to be edited, which may be the file name, or ID, or a user-defined name of the audio to be edited, etc. This embodiment does not make any limitation here.

[0102] Based on this, when creating an audio editing component corresponding to the audio to be edited through the editor, in order to facilitate subsequent mounting and assist users in understanding the correspondence between the component and the audio, you can first determine the audio identifier corresponding to the audio to be edited, and name the audio editing component to be created based on this. Then, create an audio editing component containing the audio to be edited, so that the audio editing component contains the audio to be edited, and establish a binding relationship between the two, which is convenient for mounting and subsequent adjustments in components.

[0103] In summary, by naming the audio editing components with audio identifiers, it is convenient to distinguish when operating multiple audios at the same time, which can make it more convenient for users to operate and thus improve audio editing efficiency.

[0104] Furthermore, after the audio editing component is created for the audio to be edited, the user can be assisted in editing the properties of the audio to be edited according to the function of the audio editing component, so as to achieve the subsequent creation of the target audio that meets the use requirements. In this embodiment, the specific implementation method is as follows:

[0105] Displaying the audio editing interface corresponding to the audio editing component;

[0106] Receiving an editing instruction submitted through the audio editing interface, and determining attribute parameters corresponding to the audio to be edited according to the editing instruction;

[0107] The attribute editing information is determined by integrating the attribute parameters.

[0108] Specifically, the audio editing interface refers to the interface corresponding to the audio editing component, through which the functions associated with the audio editing component can be set to adjust the parameters of the audio to be edited; correspondingly, the editing instruction refers to the instruction submitted by the user through the audio editing interface, based on which the relevant parameters of the audio to be edited can be modified; the attribute parameter refers to the parameter of the audio to be edited edited by the user, including but not limited to the volume, name, pitch, playback mode, etc. of the audio.

[0109] Based on this, when the audio editing component is created, the audio editing interface corresponding to the audio editing component can be displayed to the user, so that the user can adjust the parameters related to the audio editing component for the audio to be edited. When the editing instruction submitted through the audio editing interface is received, the attribute parameters corresponding to the audio to be edited can be determined according to the editing instruction, and the attribute parameters can be integrated to determine the attribute editing information, so as to facilitate the subsequent creation of the target audio based on this.

[0110] Using the above example, after the operator selects the audio to be edited, the file name Music002 corresponding to the audio to be edited can be determined. Based on this, the audio editing component SoundSFX containing the audio to be edited is named, and the audio editing interface corresponding to the created audio editing component SoundSFX is displayed. The interface is as follows: Figure 2 As shown in (b).

[0111] Furthermore, upon receiving an editing instruction submitted by an operator through the naming box of the audio editing interface, the naming of the audio editing component can be modified based on the operator's instruction. Upon receiving an editing instruction submitted by an operator through the file replacement interface of the audio editing interface, the selected audio to be edited can be highlighted in the Project window, and when the control in the interface is clicked, the audio to be edited can be replaced. Upon receiving an editing instruction submitted by an operator through the numerical adjustment interface of the audio editing interface, it is determined that the operator needs to adjust the playback format of the audio to be edited, such as when selecting Volume or Pitch, the random Random axis can be switched to perform random output in volume.

[0112] Furthermore, based on the editing instructions submitted by the operator through the audio editing interface, the attribute parameters adjusted by the operator are determined, and the adjusted parameters are integrated for subsequent generation of target audio to facilitate use in combination with game scenarios.

[0113] In summary, by determining the attribute parameters in response to the user's editing instructions, it can ensure that the user can adjust the parameters of the audio to be edited from multiple dimensions, realize the processing of the audio to be edited according to needs, and ensure that the attribute editing information determined after adjustment is more in line with the game scene and meets the needs of subsequent mounting of audio editing components.

[0114] In addition, considering that there are different requirements for adjusting the edited audio in different scenarios, in order to ensure that the edited audio better meets the current usage environment, a more flexible editing method can also be provided to the user. In this embodiment, the specific implementation method is as follows:

[0115] Based on the attribute parameters, displaying a waveform corresponding to the audio to be edited in the audio editing area;

[0116] When a control instruction submitted for the waveform diagram is received, the waveform diagram is adjusted in response to the control instruction.

[0117] Specifically, the waveform graph specifically refers to the spectrum graph corresponding to the audio to be edited. The waveform graph can help users understand the energy of the audio to be edited and perform audio editing. Based on this, when the user adjusts the attribute parameters through the audio editing interface corresponding to the audio editing component, the waveform graph of the audio to be edited after the attribute parameters are adjusted can be displayed in the audio editing area accordingly, so that the user can operate the waveform graph according to needs, thereby adjusting the audio to be edited. That is, when a control instruction submitted for the waveform graph is received, the waveform graph can be adjusted in response to the control instruction, thereby mapping the adjustment of the audio to be edited, and the adjustment includes but is not limited to cutting, changing the playback speed, etc.

[0118] In actual applications, the specific waveform of the AudioClip can be displayed on the timeline in the audio editing area to facilitate quick understanding of the waveform structure of the audio Clip to be edited. At the same time, users can zoom in or out the timeline interval, reset the waveform, or select different display modes. Delay Time can also be set as required to create attribute editing information that meets subsequent use to generate the target audio.

[0119] Step S106: convert the audio to be edited into target audio based on the attribute editing information, and configure a play event for the audio editing component containing the target audio.

[0120] Specifically, after determining the attribute editing information as mentioned above, further, the audio to be edited can be converted into the target audio according to the attribute editing information, and a play event can be configured for the audio editing component containing the target audio, so that the edited target audio can be played later by triggering the play event.

[0121] Among them, the target audio specifically refers to the audio obtained after the properties of the audio to be edited are edited; correspondingly, the playback event specifically refers to the event that triggers the audio editing component to play the target audio, such as the event that the current operating environment reaches the set time node and needs to play the audio, or the event that triggers a certain operation to play the audio, etc.

[0122] It should be noted that different playback events correspond to different trigger mechanisms, so that when the playback audio editing component is executed, different audio contents can be played according to different trigger mechanisms.

[0123] Furthermore, when configuring a play event for an audio editing component containing target audio, considering that different scenarios require configuring different play events to trigger the audio playing component to play the target audio, an editing interface is provided to the user to facilitate the user to set and adjust the play event. In this embodiment, the specific implementation is as follows:

[0124] Receiving an event configuration instruction submitted for the audio editing component containing the target audio;

[0125] Jumping to an event editing interface associated with the audio editing component in response to the event configuration instruction;

[0126] receiving an event editing instruction submitted through the event editing interface, and determining event editing information based on the event editing instruction;

[0127] The play event is created according to the event editing information, and the play event is configured for the audio editing component containing the target audio.

[0128] Specifically, the event configuration instruction specifically refers to the instruction submitted when the target audio configuration triggers the event; accordingly, the event editing interface specifically refers to the interface for setting the parameters of the playback event, through which the user can set the number of events, event content, and event triggering timing, etc.; accordingly, the event editing instruction specifically refers to the instruction submitted by the user to set the event parameters; accordingly, the event editing information is all the parameters corresponding to the playback event to be created.

[0129] Based on this, after adjusting the target audio through the audio editing component, the play event can be configured for the audio editing component containing the target audio in combination with the current operating environment, and in order to ensure that the play event is more in line with the current scene, an editing interface can be provided to the user. Further, an event configuration instruction submitted for the audio editing component containing the target audio is received, and at this time, the event editing interface associated with the audio editing component can be jumped to according to the instruction, so that the user can perform editing operations on event parameters through the interface. Further, an event editing instruction submitted by the user through the event editing interface is received, and according to the instruction, the parameter information set by the user for the play event configured by the audio editing component can be determined, and then a play event is created in combination with the event editing information, and the play event is configured for the audio editing component containing the target audio, so that the play event can be played in time after being triggered.

[0130] In actual applications, when configuring a play event for an audio editing component containing target audio, the user can modify the ID of the play event through the event editing interface, but it should be noted that the modified ID must be different from the IDs of other existing play events. The play event created at the same time can contain several Actions, and the action types include but are not limited to Play, Pause, PauseAll, Resume, ResumeAll, Stop, StopAll, SetSwitch, SetState, etc., which are not limited in this embodiment.

[0131] Among them, Play is used to generate an instance of an object component for playback; Pause is used to pause the instance of the object component; PauseAll is used to pause all instances under the GameObject that triggers the event when the Scope is GameObject, and all instances when it is Global; Resume is used to resume playback of the instance of the object component; ResumeAll is used to resume component playback within the scope; Stop is used to stop playback of an instance of a component; StopAll is used to stop and destroy all instances within the scope; SetSwitch is used to set the object SwitchGroup to switch to the corresponding Switch; SetState is used to set the object StateGroup to switch to the corresponding State. SwitchGroup is used to create and manage the Switch structure to implement the function of SwitchContainer; StateGroup is used to create and manage the State structure, and can set transitions between different States.

[0132] Continuing with the above example, after completing the parameter setting of the audio editing component, you can configure a play event for the audio editing component that contains the target audio. The specific operations are as follows: Create the initial play event corresponding to the audio editing component by selecting NewEvent=>Play of the audio editing component, and jump to the event editing interface. The operator adjusts the parameters in the event editing interface to determine the event editing information. At this time, a play event that meets the usage requirements is created based on the event editing information, and is configured as an audio editing component that contains the target audio, so that the target audio can be played later by triggering an event.

[0133] In summary, by creating playback events according to user needs, we can not only control the events of audio playback, but also set relevant trigger conditions to ensure that the playback of the target audio can meet the settings in the current game scene and improve the adhesion between the audio and the game scene.

[0134] Step S108, when the play event is triggered, play the target audio by executing the audio editing component.

[0135] Specifically, after completing the above configuration of the play event for the audio editing component containing the target audio, further, when the play event is triggered, it means that the mechanism set in the current running scene is triggered at this time, and the edited audio needs to be played. Since the target audio is configured in the target audio editing component, the target audio can be played by executing the audio editing component, thereby meeting the playback requirements in the current scene and improving the adhesion between the game scene and the target audio.

[0136] In addition, considering that the target audio is played only after the play event is triggered, and the triggering of the play event is set by the user in combination with the current scene, step S108 is executed only when the current scene meets the triggering condition. In this embodiment, the specific implementation method is as follows:

[0137] Load the object to be processed, and add the audio editing component that configures the playback event for the object to be processed; determine the trigger condition corresponding to the playback event; and when the object to be processed in the running state meets the trigger condition, execute the step of playing the target audio by executing the audio editing component.

[0138] Specifically, the object to be processed refers to the object that needs to be run in the current scene, such as a game that needs to be run in conjunction with audio; correspondingly, the trigger condition refers to the condition for triggering the playback event for playback, which can be a condition in the time dimension, or a condition in the action dimension, or a condition in the operation dimension. This embodiment does not make any limitations here.

[0139] Based on this, first load the object to be processed, and mount the audio editing component of the playback event configured for the object to be processed; secondly, determine the trigger condition corresponding to the playback event; when the object to be processed in the running state meets the trigger condition, the target audio can be played by executing the audio editing component.

[0140] In actual applications, after mounting the audio editing component containing the target audio to the object to be processed, the object to be processed will realize the audio playback by triggering the playback event in the running state. The triggering of the playback event can be realized in at least two ways. First, it is triggered by the audio editing component, that is, select any GameObject that needs to trigger the playback event in the scene, and click the corresponding trigger control to achieve it. Second, by customizing the trigger in the script, that is, customize a script in the application, and then move the script to the GameObject of the playback event, and declare the EventReference variable in the script. After the operation is completed, the event can be triggered by calling the eventA.PostEvent() method after the event is linked.

[0141] Using the above example, add an audio editing component containing the target audio to any GameObject in the game scene. Figure 3 As shown in the diagram, by selecting Trigger On, you can choose the trigger mode, such as Start, TriggerEnter, TriggerExit, Disable, and Destroy; by selecting Event, you can set the triggered event. When the play event is triggered, you can execute the play action by executing the audio editing component mounted on the GameObject to play the target audio, so that the target audio being played is more closely integrated with the current game scene.

[0142] In summary, by setting different trigger conditions to trigger the playback event, users can preview the audio playback effect to facilitate effective adjustments before publishing.

[0143] In addition, when creating an audio editing component, in order to support more functions, it can be implemented by integrating sub-audio editing components. In this embodiment, the specific implementation is as follows:

[0144] Create a container editing component and a sub-audio editing component corresponding to the audio to be edited; establish a hierarchical relationship between the container editing component and the sub-audio editing component, and determine the audio editing component corresponding to the audio to be edited according to the hierarchical relationship.

[0145] Specifically, the container editing component specifically refers to a container component that can integrate multiple sub-audio editing components, by encapsulating the relevant functions of the multiple sub-audio editing components in the same container editing component, so that the multiple sub-audio editing components can be combined to process the audio in a scene later; among them, the relevant implementation of the sub-audio editing component can refer to the same or corresponding description content in the above embodiment, and this embodiment will not be elaborated here.

[0146] Furthermore, when a container editing component integrates multiple sub-audio editing components, when playing audio, it is necessary to execute the sub-audio editing components in the container editing component according to a preset execution strategy; and play the target audio according to the execution result.

[0147] The audio editing method provided by the present application, after obtaining the audio to be edited, in order to quickly and efficiently complete the audio setting, can create an audio editing component corresponding to the audio to be edited, and determine the attribute editing information corresponding to the audio editing component; then, based on the attribute editing information, the audio to be edited is converted into the target audio, so that the audio parameters can be adjusted according to the needs, which is more convenient to operate; then, in order to improve the adhesion between the audio and the playback scene, a playback event will be configured for the audio editing component containing the target audio, and after the playback event is triggered, the target audio can be played by executing the audio editing component; the audio parameters can be adjusted in real time during operation, which can more conveniently manage and optimize the video, while increasing the adhesion between the audio and the scene, supporting a variety of audio outputs, and saving resource consumption.

[0148] The following combination Figure 4 , taking the application of the audio editing method provided by this application in a game scene as an example, the audio editing method is further described. Figure 4 A processing flow chart of an audio editing method applied to a game scene provided by an embodiment of the present application is shown, which specifically includes the following steps:

[0149] Step S402: receiving an audio editing instruction submitted to the initialized editing plug-in.

[0150] Step S404: display at least one initial audio file on the audio file import interface based on the audio editing instruction.

[0151] Step S406: determining the audio to be edited in response to the move instruction submitted for the at least one initial audio file.

[0152] Step S408: determining the audio identifier corresponding to the audio to be edited.

[0153] Step S410: Create an audio editing component named with an audio identifier and containing the audio to be edited.

[0154] Step S412, displaying the audio editing interface corresponding to the audio editing component.

[0155] Step S414, receiving an editing instruction submitted through the audio editing interface, and determining attribute parameters corresponding to the audio to be edited according to the editing instruction.

[0156] Step S416: Determine attribute editing information by integrating all attribute parameters.

[0157] Step S418, receiving an event configuration instruction submitted to the audio editing component containing the target audio.

[0158] Step S420, jumping to the event editing interface associated with the audio editing component in response to the event configuration instruction.

[0159] Step S422: receiving an event editing instruction submitted through the event editing interface, and determining event editing information based on the event editing instruction.

[0160] Step S424, creating a play event according to the event editing information, and configuring the play event for the audio editing component containing the target audio.

[0161] Step S426, when the play event is triggered, the target audio is played by executing the audio editing component.

[0162] In summary, the audio parameters can be adjusted in real time during operation, which can make it easier to manage and optimize the video, increase the adhesion between the audio and the scene, support a variety of audio outputs, and save resource consumption.

[0163] Corresponding to the above method embodiment, the present application also provides an audio editing device embodiment, Figure 5 FIG. 1 is a schematic diagram showing the structure of an audio editing device provided by an embodiment of the present application. Figure 5 As shown, the device comprises:

[0164] An acquisition module 502 is configured to acquire the audio to be edited;

[0165] The creation module 504 is configured to create an audio editing component corresponding to the audio to be edited, and determine the attribute editing information corresponding to the audio editing component;

[0166] A configuration module 506, configured to convert the to-be-edited audio into a target audio based on the attribute editing information, and configure a play event for the audio editing component containing the target audio;

[0167] The playing module 508 is configured to play the target audio by executing the audio editing component when the playing event is triggered.

[0168] In an optional embodiment, the acquisition module 502 is further configured to:

[0169] Receive an audio editing instruction submitted for an initialized editing plug-in; display at least one initial audio file on an audio file import interface based on the audio editing instruction; and determine the audio to be edited in response to a move instruction submitted for the at least one initial audio file.

[0170] In an optional embodiment, the creation module 504 is further configured to:

[0171] Determine an audio identifier corresponding to the audio to be edited; and create the audio editing component named with the audio identifier and containing the audio to be edited.

[0172] In an optional embodiment, the creation module 504 is further configured to:

[0173] Displaying an audio editing interface corresponding to the audio editing component; receiving an editing instruction submitted through the audio editing interface, and determining attribute parameters corresponding to the audio to be edited according to the editing instruction; and determining the attribute editing information by integrating the attribute parameters.

[0174] In an optional embodiment, the audio editing device further includes:

[0175] The adjustment module is configured to display the waveform corresponding to the audio to be edited in the audio editing area based on the attribute parameters; when receiving a control instruction submitted for the waveform, adjust the waveform in response to the control instruction.

[0176] In an optional embodiment, the configuration module 506 is further configured to:

[0177] Receive an event configuration instruction submitted for the audio editing component containing the target audio; jump to an event editing interface associated with the audio editing component in response to the event configuration instruction; receive an event editing instruction submitted through the event editing interface, and determine event editing information based on the event editing instruction; create the playback event according to the event editing information, and configure the playback event for the audio editing component containing the target audio.

[0178] In an optional embodiment, the audio editing device further includes:

[0179] A loading module is configured to load an object to be processed, and to add the audio editing component that configures the playback event for the object to be processed; determine a trigger condition corresponding to the playback event; and when the object to be processed in a running state meets the trigger condition, execute the step of playing the target audio by executing the audio editing component.

[0180] In an optional embodiment, the creation module 504 is further configured to:

[0181] Create a container editing component and a sub-audio editing component corresponding to the audio to be edited; establish a hierarchical relationship between the container editing component and the sub-audio editing component, and determine the audio editing component corresponding to the audio to be edited according to the hierarchical relationship.

[0182] In an optional embodiment, the playing module 508 is further configured to:

[0183] The sub-audio editing component in the container editing component is executed according to a preset execution strategy; and the target audio is played according to the execution result.

[0184] The audio editing device provided by the present application, after acquiring the audio to be edited, can create an audio editing component corresponding to the audio to be edited and determine the attribute editing information corresponding to the audio editing component in order to quickly and efficiently complete the audio setting; then, the audio to be edited is converted into the target audio based on the attribute editing information, so that the audio parameters can be adjusted according to the needs, which is more convenient to operate; then, in order to improve the adhesion between the audio and the playback scene, a playback event will be configured for the audio editing component containing the target audio, and after the playback event is triggered, the target audio can be played by executing the audio editing component; the audio parameters can be adjusted in real time during operation, which can more conveniently manage and optimize the video, while increasing the adhesion between the audio and the scene, supporting a variety of audio outputs, and saving resource consumption.

[0185] The above is a schematic scheme of an audio editing device of the present embodiment. It should be noted that the technical scheme of the audio editing device and the technical scheme of the audio editing method described above belong to the same concept. For details not described in detail in the technical scheme of the audio editing device, please refer to the description of the technical scheme of the audio editing method described above. In addition, each component in the device embodiment should be understood as a functional module that must be established to implement each step of the program flow or each step of the method, and each functional module is not an actual functional division or separation definition. The device claim defined by such a group of functional modules should be understood as a functional module architecture that mainly implements the solution through the computer program recorded in the specification, and should not be understood as a physical device that mainly implements the solution through hardware.

[0186] Another audio editing method provided by this embodiment is as follows:

[0187] Figure 6 A flowchart of another audio editing method provided according to an embodiment of the present application is shown, which specifically includes the following steps:

[0188] Step S602, obtaining the audio to be edited.

[0189] Another audio editing method provided in this embodiment belongs to the same concept as the audio editing method provided in the above embodiment. The contents not described in detail in this embodiment can refer to the same or corresponding description contents in the above embodiment. For the convenience of description, no further details will be given here.

[0190] In actual applications, when operators edit game screens or draw CG animations, they usually configure audio for the edited content according to design requirements, and there may be multiple configured audios. In order to make the audio more closely match the edited screen, operators need to constantly adjust the audio content, and this operation is usually done independently. In other words, an additional program is required to perform audio editing and processing separately, and then configure it to run in the edited scene after processing. If the audio does not match the scene, it needs to be adjusted again through the program. This results in the audio editing and scene editing being relatively separated, and they cannot be completed at the same time, and the audio cannot be adjusted in the edited scene.

[0191] In view of this, the audio editing method provided in this embodiment realizes the modularization of the audio editing component, so that the operator can complete the audio editing and processing operation through the component, and the audio editing component can be mounted under the program of the editing scene. In other words, after the operator mounts the audio editing component to the program of the editing scene, the operator can continue to adjust the audio through the audio editing component, so that the operator can dynamically adjust the audio parameters in combination with the edited scene, thereby ensuring that the edited audio is more in line with the scene.

[0192] At the same time, considering that multiple audios need to be combined to complete scene rendering in the same scene, you can choose to create a container editing component that can accommodate multiple sub-audio editing components when creating the audio editing component corresponding to the audio, and then configure the container editing component to the editing scene to complete the configuration of multiple sub-audio editing components containing audio. This can make it more convenient for operators to perform multi-audio editing and processing operations, save audio editing time, and improve the fit between audio and scene.

[0193] Step S604: create a container editing component corresponding to the audio to be edited, and determine the property editing information corresponding to the sub-audio editing component contained in the container editing component.

[0194] Specifically, the container editing component specifically refers to a container component that integrates multiple sub-audio editing components. By creating a container editing component, it is possible to support the combination of sub-audio editing components that edit multiple audios at the same time. In other words, when the container editing component is mounted to the editing scene, it is possible to simultaneously mount multiple sub-audio editing components contained in the container editing component to the editing scene, so that when a subsequent event is triggered, they can be played sequentially or as a whole according to the set parameters of the event.

[0195] It should be noted that the sub-audio editing component contained in the container editing component has the same properties and functions as the audio editing component in the above embodiment. For the convenience of description, the sub-audio editing component is expressed in this embodiment. The specific description content can refer to the same or corresponding description content in the above embodiment, and no further details will be given here.

[0196] Further, when creating a container editing component, it is explained that multiple audios to be edited need to be set for the same editing scene, so it is necessary to first create an initial container editing component and sub-audio editing components corresponding to each audio to be edited, so as to facilitate the subsequent integration of the sub-audio editing components to obtain a container editing component corresponding to the integration of multiple audios to be edited. In this embodiment, the specific implementation method is as follows:

[0197] Create an initial container editing component and the sub-audio editing component corresponding to the audio to be edited; establish a hierarchical relationship between the initial container editing component and the sub-audio editing component, and determine the container editing component containing the sub-audio editing component based on the hierarchical relationship.

[0198] Specifically, the initial container editing component specifically refers to a container component that has not yet integrated a sub-audio editing component; correspondingly, the hierarchical relationship specifically refers to the inclusion relationship between the initial container editing component and the sub-audio editing component, as well as the arrangement relationship of each sub-audio editing component in the container editing component, which will affect the playback order of the target audio.

[0199] Based on this, after obtaining multiple audios to be edited, the initial container editing component and the sub-audio editing components corresponding to each audio to be edited can be created first, and then the hierarchical relationship between the initial container editing component and the sub-audio editing components can be established. Finally, the sub-audio editing components are integrated into the initial container editing component according to the hierarchical relationship to obtain the container editing component according to the integration result. It is convenient to set the attribute editing information of each sub-audio editing component in the future, and mount it to the editing scene for use.

[0200] In summary, by establishing a container editing component based on a hierarchical relationship, it is possible to set multiple sub-audio editing components for the same editing scenario in combination with editing requirements, supporting operators to edit multiple audios to be edited at the same time, making it convenient for operators to perform audio editing operations.

[0201] Step S606: Convert the audio to be edited into target audio based on the attribute editing information, and configure a play event for the sub-audio editing component containing the target audio.

[0202] Step S608: When the play event is triggered, the target audio is played by executing the sub-audio editing component included in the container editing component.

[0203] Specifically, since the container editing component includes a sub-audio editing component, when a play event configured by the sub-audio editing component is triggered, the target audio can be played by executing the sub-audio editing component included in the container editing component.

[0204] It should be noted that when a container editing component contains multiple sub-audio editing components and there are at least two sub-audio editing components configured with the same playback event, when the playback event is triggered, the edited target audio contained in the at least two sub-audio editing components can be played by simultaneously executing at least two sub-audio editing components in the container editing component to meet the editing requirements.

[0205] Furthermore, considering that the container editing component contains multiple sub-audio editing components, and each audio editing component corresponds to a different playback event, each playback event will be triggered separately according to the set conditions. In order to ensure that the target audio contained in each audio editing component is played smoothly, the sub-audio editing components can be played in sequence in combination with the arrangement order. In this embodiment, the specific implementation method is as follows:

[0206] Determine the arrangement order of the sub-audio editing components in the container editing component; execute the sub-audio editing components in the container editing component according to the arrangement order; and play the target audio according to the execution result of the sub-audio editing components.

[0207] Specifically, the arrangement order specifically refers to the arrangement order of each sub-audio editing component in the container editing component, and the arrangement order affects the playback order of the target audio. Based on this, when it is determined that the play event is triggered, the arrangement order of each sub-audio editing component in the container editing component can be determined first, and then each sub-audio editing component is executed in sequence according to the arrangement order, so as to play the target audio contained in it according to the execution results of each sub-audio editing component.

[0208] For example, a game editing scene needs to configure three audios in the time period from T1 to T2. In order to facilitate the operator to adjust each audio according to the needs of the game editing scene, a sub-audio editing component can be created for each audio, and a container editing component can be created at the same time. When the component editing is completed, each sub-audio editing component can be integrated into the container editing component based on the operator's operating instructions, and a play event can be configured for each sub-audio editing component. After that, the container editing component is mounted to the application of the game editing scene. When the play event is triggered, the three preliminarily edited audios can be played in sequence based on the arrangement order of the three sub-audio editing components in the container editing component. At the same time, if the operator needs to adjust the audio being played, the sub-audio editing component of the audio that needs to be adjusted can be selected to complete it, thereby achieving the game editing scene from T1 to T2 while completing the audio editing process.

[0209] The parameter settings of the sub-audio editing component and the parameter settings of the playback event in the above examples can all refer to the same or corresponding descriptions in the above embodiments, and this embodiment does not make any limitation thereto.

[0210] The audio editing method provided in this embodiment realizes the modularization of the audio editing component, so that the operator can complete the audio editing and processing operation through the component, and the audio editing component can be mounted under the program of the editing scene. In other words, after mounting the audio editing component to the program of the editing scene, the operator can continue to adjust the audio through the audio editing component, so that the operator can dynamically adjust the audio parameters in combination with the edited scene, thereby ensuring that the edited audio is more in line with the scene.

[0211] Corresponding to the above method embodiment, the present application also provides another audio editing device embodiment, Figure 7 FIG. 2 shows a schematic diagram of the structure of another audio editing device provided by an embodiment of the present application. Figure 7 As shown, the device comprises:

[0212] The audio acquisition module 702 is configured to acquire the audio to be edited;

[0213] The component creation module 704 is configured to create a container editing component corresponding to the audio to be edited, and determine the attribute editing information corresponding to the sub-audio editing component contained in the container editing component;

[0214] The configuration event module 706 is configured to convert the to-be-edited audio into a target audio based on the attribute editing information, and configure a play event for the sub-audio editing component containing the target audio;

[0215] The audio playing module 708 is configured to play the target audio by executing the sub-audio editing component included in the container editing component when the play event is triggered.

[0216] In an optional embodiment, the creation component module 704 is further configured to:

[0217] Create an initial container editing component and the sub-audio editing component corresponding to the audio to be edited; establish a hierarchical relationship between the initial container editing component and the sub-audio editing component, and determine the container editing component containing the sub-audio editing component based on the hierarchical relationship.

[0218] In an optional embodiment, the audio playing module 708 is further configured to:

[0219] Determining the arrangement order of the sub-audio editing components in the container editing component;

[0220] Execute the sub-audio editing components in the container editing component according to the arrangement order;

[0221] The target audio is played according to the execution result of the sub-audio editing component.

[0222] The above is a schematic scheme of another audio editing device of the present embodiment. It should be noted that the technical scheme of the audio editing device and the technical scheme of the audio editing method mentioned above belong to the same concept. For the details not described in detail in the technical scheme of the audio editing device, please refer to the description of the technical scheme of the audio editing method mentioned above. In addition, each component in the device embodiment should be understood as a functional module that must be established to implement each step of the program flow or each step of the method, and each functional module is not an actual functional division or separation definition. The device claim defined by such a group of functional modules should be understood as a functional module architecture that mainly implements the solution through the computer program recorded in the specification, and should not be understood as a physical device that mainly implements the solution through hardware.

[0223] Figure 8 The structure block diagram of a computing device 800 provided according to an embodiment of the present application is shown. The components of the computing device 800 include but are not limited to a memory 810 and a processor 820. The processor 820 is connected to the memory 810 via a bus 830, and the database 850 is used to store data.

[0224] The computing device 800 also includes an access device 840 that enables the computing device 800 to communicate via one or more networks 860. Examples of these networks include a public switched telephone network (PSTN), a local area network (LAN), a wide area network (WAN), a personal area network (PAN), or a combination of communication networks such as the Internet. The access device 840 may include one or more of any type of network interface (e.g., a network interface card (NIC)) that is wired or wireless, such as an IEEE 802.11 wireless local area network (WLAN) wireless interface, a World Wide Interoperability for Microwave Access (Wi-MAX) interface, an Ethernet interface, a universal serial bus (USB) interface, a cellular network interface, a Bluetooth interface, a near field communication (NFC) interface, and the like.

[0225] In one embodiment of the present application, the above components of the computing device 800 and Figure 8 Other components not shown in the figure may also be connected to each other, for example, via a bus. It should be understood that Figure 8 The computing device structure block diagram shown is only for the purpose of illustration, and is not intended to limit the scope of the present application. Those skilled in the art may add or replace other components as needed.

[0226] The computing device 800 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., a tablet computer, a personal digital assistant, a laptop computer, a notebook computer, a netbook, etc.), a mobile phone (e.g., a smart phone), a wearable computing device (e.g., a smart watch, smart glasses, etc.), or other types of mobile devices, or a stationary computing device such as a desktop computer or PC. The computing device 800 may also be a mobile or stationary server.

[0227] The processor 820 is used to execute the following computer executable instructions:

[0228] Get the audio to be edited;

[0229] Creating an audio editing component corresponding to the audio to be edited, and determining attribute editing information corresponding to the audio editing component;

[0230] Convert the to-be-edited audio into a target audio based on the attribute editing information, and configure a play event for the audio editing component containing the target audio;

[0231] When the play event is triggered, the target audio is played by executing the audio editing component. Or,

[0232] Get the audio to be edited;

[0233] Creating a container editing component corresponding to the audio to be edited, and determining attribute editing information corresponding to the sub-audio editing component contained in the container editing component;

[0234] Convert the audio to be edited into a target audio based on the attribute editing information, and configure a play event for the sub-audio editing component containing the target audio;

[0235] When the play event is triggered, the target audio is played by executing the sub-audio editing component contained in the container editing component.

[0236] The above is a schematic scheme of a computing device of this embodiment. It should be noted that the technical scheme of the computing device and the technical scheme of the above audio editing method belong to the same concept, and the details not described in detail in the technical scheme of the computing device can be referred to the description of the technical scheme of the above audio editing method.

[0237] An embodiment of the present application further provides a computer-readable storage medium storing computer instructions, which are used when executed by a processor to:

[0238] Get the audio to be edited;

[0239] Creating an audio editing component corresponding to the audio to be edited, and determining attribute editing information corresponding to the audio editing component;

[0240] Convert the to-be-edited audio into a target audio based on the attribute editing information, and configure a play event for the audio editing component containing the target audio;

[0241] When the play event is triggered, the target audio is played by executing the audio editing component. Or,

[0242] Get the audio to be edited;

[0243] Creating a container editing component corresponding to the audio to be edited, and determining attribute editing information corresponding to the sub-audio editing component contained in the container editing component;

[0244] Convert the audio to be edited into a target audio based on the attribute editing information, and configure a play event for the sub-audio editing component containing the target audio;

[0245] When the play event is triggered, the target audio is played by executing the sub-audio editing component contained in the container editing component.

[0246] The above is a schematic scheme of a computer-readable storage medium of this embodiment. It should be noted that the technical scheme of the storage medium and the technical scheme of the above audio editing method belong to the same concept, and the details not described in detail in the technical scheme of the storage medium can be referred to the description of the technical scheme of the above audio editing method.

[0247] An embodiment of the present application further provides a chip storing a computer program, which implements the steps of the audio editing method when executed by the chip.

[0248] The above describes specific embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0249] The computer instructions include computer program codes, which may be in source code form, object code form, executable files or some intermediate forms, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.

[0250] It should be noted that, for the convenience of description, the aforementioned method embodiments are all described as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described action sequence, because according to the present application, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0251] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0252] The preferred embodiments of the present application disclosed above are only used to help explain the present application. The optional embodiments do not describe all the details in detail, nor do they limit the invention to the specific implementation methods described. Obviously, many modifications and changes can be made according to the content of the present application. The present application selects and specifically describes these embodiments in order to better explain the principles and practical applications of the present application, so that those skilled in the art can understand and use the present application well. The present application is only limited by the claims and their full scope and equivalents.

Claims

1. An audio editing method, characterized in that: include: Get the audio to be edited; Creating an audio editing component corresponding to the audio to be edited, mounting the audio editing component to the corresponding audio to be edited, and determining attribute editing information corresponding to the audio editing component; Convert the to-be-edited audio into a target audio based on the attribute editing information, and configure a play event for the audio editing component containing the target audio; When the play event is triggered, the target audio is played by executing the audio editing component.

2. The audio editing method according to claim 1, characterized in that: The step of obtaining the audio to be edited includes: Receiving audio editing instructions submitted to the initialized editing plug-in; Displaying at least one initial audio file on the audio file import interface based on the audio editing instruction; The audio to be edited is determined in response to a move instruction submitted for the at least one initial audio file.

3. The audio editing method according to claim 1, characterized in that: The step of creating an audio editing component corresponding to the audio to be edited includes: Determine the audio identifier corresponding to the audio to be edited; Create the audio editing component named with the audio identifier and containing the audio to be edited.

4. The audio editing method according to claim 1, characterized in that: The determining of the attribute editing information corresponding to the audio editing component includes: Displaying the audio editing interface corresponding to the audio editing component; Receiving an editing instruction submitted through the audio editing interface, and determining attribute parameters corresponding to the audio to be edited according to the editing instruction; The attribute editing information is determined by integrating the attribute parameters.

5. The audio editing method according to claim 4, characterized in that: After the step of determining the attribute editing information corresponding to the audio editing component is performed, the method further includes: Based on the attribute parameters, displaying a waveform corresponding to the audio to be edited in the audio editing area; When a control instruction submitted for the waveform diagram is received, the waveform diagram is adjusted in response to the control instruction.

6. The audio editing method according to claim 1, characterized in that: The configuring a play event for the audio editing component containing the target audio includes: Receiving an event configuration instruction submitted for the audio editing component containing the target audio; Jumping to an event editing interface associated with the audio editing component in response to the event configuration instruction; receiving an event editing instruction submitted through the event editing interface, and determining event editing information based on the event editing instruction; The play event is created according to the event editing information, and the play event is configured for the audio editing component containing the target audio.

7. The audio editing method according to claim 1, characterized in that: After the step of configuring a play event for the audio editing component containing the target audio is executed, the step further includes: Loading the object to be processed, and adding the audio editing component configuring the play event to the object to be processed; Determining a trigger condition corresponding to the playback event; When the object to be processed in the running state meets the trigger condition, the step of playing the target audio by executing the audio editing component is performed.

8. The audio editing method according to claim 1, characterized in that: The step of creating an audio editing component corresponding to the audio to be edited includes: Create a container editing component and a sub-audio editing component corresponding to the audio to be edited; A hierarchical relationship between the container editing component and the sub-audio editing component is established, and the audio editing component corresponding to the audio to be edited is determined according to the hierarchical relationship.

9. The audio editing method according to claim 8, characterized in that: The step of playing the target audio by executing the audio editing component comprises: Executing the sub-audio editing component in the container editing component according to a preset execution strategy; The target audio is played according to the execution result.

10. An audio editing device, characterized in that: include: An acquisition module, configured to acquire the audio to be edited; A creation module, configured to create an audio editing component corresponding to the audio to be edited, mount the audio editing component to the corresponding audio to be edited, and determine attribute editing information corresponding to the audio editing component; A configuration module, configured to convert the audio to be edited into a target audio based on the attribute editing information, and configure a play event for the audio editing component containing the target audio; The playing module is configured to play the target audio by executing the audio editing component when the playing event is triggered.

11. An audio editing method, characterized in that: include: Get the audio to be edited; Creating a container editing component corresponding to the audio to be edited, mounting the container editing component to the corresponding audio to be edited, and determining attribute editing information corresponding to the sub-audio editing component contained in the container editing component; Convert the audio to be edited into a target audio based on the attribute editing information, and configure a play event for the sub-audio editing component containing the target audio; When the play event is triggered, the target audio is played by executing the sub-audio editing component contained in the container editing component.

12. The audio editing method according to claim 11, characterized in that: The step of creating a container editing component corresponding to the audio to be edited includes: Creating an initial container editing component and the sub-audio editing component corresponding to the audio to be edited; A hierarchical relationship between the initial container editing component and the sub-audio editing component is established, and the container editing component that includes the sub-audio editing component is determined based on the hierarchical relationship.

13. The audio editing method according to claim 12, characterized in that: The step of playing the target audio by executing the sub-audio editing component contained in the container editing component includes: Determining the arrangement order of the sub-audio editing components in the container editing component; Execute the sub-audio editing components in the container editing component according to the arrangement order; The target audio is played according to the execution result of the sub-audio editing component.

14. An audio editing device, characterized in that: include: An audio acquisition module is configured to acquire audio to be edited; A component creation module is configured to create a container editing component corresponding to the audio to be edited, mount the container editing component to the corresponding audio to be edited, and determine the attribute editing information corresponding to the sub-audio editing component contained in the container editing component; A configuration event module is configured to convert the audio to be edited into a target audio based on the attribute editing information, and configure a play event for the sub-audio editing component containing the target audio; The audio playing module is configured to play the target audio by executing the sub-audio editing component included in the container editing component when the playing event is triggered.

15. A computing device, characterized in that: include: Memory and processor; The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions to implement the steps of the method described in any one of claims 1 to 9 or 11 to 13.

16. A computer-readable storage medium storing computer instructions, characterized in that: When the instruction is executed by a processor, the steps of the method described in any one of claims 1 to 9 or 11 to 13 are implemented.

17. A computer program product, characterized in that The method comprises computer instructions which, when executed by a processor, implement the steps of the method according to any one of claims 1 to 9 or 11 to 13.

Citation Information

Patent Citations

  • Audio document calling method and system

    CN101196924A

  • Method and equipment for playing video and audio in nonlinear editing system

    CN102768626A

  • Video live broadcast method and live broadcast device

    CN106507161A

  • Audio editing method and device, electronic equipment and storage medium

    CN110289024A

  • Marketing method and device based on audio interaction and storage medium

    CN110782318A