Audio file mixing processing method, device, terminal and storage medium
By providing mixing and recording controls and effect controls on the audio playback interface, users can directly contact control to achieve mixing processing, solving complex operation problems in the prior art and improving the accuracy of mixing processing for ordinary users.
Patent Information
- Application Number
- CN202111289620.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-02
- Publication Date
- 2025-09-02
- Estimated Expiration
- 2041-11-02
AI Technical Summary
The existing audio file mixing methods rely on professional equipment and are complex in operation and difficult for ordinary users to master, resulting in insufficient accuracy of mixing results.
It provides a mixing method for audio files. By displaying mixing and recording controls on the audio playback interface, displaying the mixing and recording interface in response to user operations, and providing mixing effect controls such as bit breaking, loop control, filtering and vibration on the interface. Users can realize mixing processing by touching these controls.
It reduces the difficulty of operation, allowing ordinary users to master the mixing effect controls without additional learning, reduces the probability of misoperation, and improves the accuracy of mixing processing results.
Smart Images

Figure CN114023287B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of audio processing, and in particular to a method, device, terminal, and storage medium for mixing audio files. Background Art
[0002] In modern life, many users enjoy listening to music in their free time to relieve stress from work and school. These songs are often pre-made, with defined sound effects. These songs are simply created by music producers based on their own understanding and inspiration, and may not meet the listening needs of all users. To meet users' personalized needs for music, these songs need to be remixed.
[0003] In the field of audio processing, mixing refers to the process of combining sounds from multiple sources into a single stereo or mono track. Currently, audio files are primarily mixed using mixing devices, which are equipped with multiple buttons, each with a different function. While playing an audio file on the mixing device, the user selects a button corresponding to a specific mixing effector based on their audio production needs. By touching this button, the audio file is mixed.
[0004] However, the execution of the audio file mixing processing method depends on the mixing equipment, which is aimed at professional users with a certain usage foundation. For ordinary users, the learning cost is high and the operation is difficult, which limits the application of this method and ultimately affects the accuracy of the mixing processing results. Summary of the Invention
[0005] The embodiments of the present disclosure provide a method, device, terminal, and storage medium for mixing audio files, which can reduce the difficulty of mixing audio files, expand the application scope of the mixing method, and improve the accuracy of the mixing results. The technical solution is as follows:
[0006] In a first aspect, a method for mixing an audio file is provided, the method comprising:
[0007] Displaying an audio playback interface for the audio file, wherein the audio playback interface displays a mixing and recording control;
[0008] In response to a touch operation on the mixing recording control, displaying a mixing recording interface for the audio file, wherein the mixing recording interface displays at least one mixing effect control, each mixing effect control being used to implement a mixing effect;
[0009] In response to a selection operation on at least one mixing effect control, a target audio segment is mixed based on the selected mixing effect control to obtain a target mixed audio segment, wherein the selected mixing effect control includes all or part of the at least one mixing effect control.
[0010] In another embodiment of the present disclosure, the at least one mixing effect control includes at least one of a bit-crushing control, a looping control, a filtering control, or a tremolo control;
[0011] The bit crushing control includes at least one bit crushing sub-control, each bit crushing sub-control is effective when clicked and invalid when clicked again, each bit crushing sub-control corresponds to a bit number, and is used to transmit the audio signal using the corresponding bit number;
[0012] The loop control control includes at least one loop control sub-control, each loop control sub-control becomes effective when long pressed and becomes ineffective when released, and each loop control sub-control corresponds to a loop duration, and is used to loop process the audio signal based on the corresponding loop duration;
[0013] The filter control takes effect when it is pressed and becomes ineffective when it is released. Different positions on the filter control correspond to different filter parameters, and are used to filter the audio signal based on the filter parameters corresponding to different positions.
[0014] The tremolo control is effective when it is pressed and ineffective when it is released. Different positions on the tremolo control correspond to different volume parameters, and are used to adjust the volume of the audio signal based on the volume parameters corresponding to different positions.
[0015] In another embodiment of the present disclosure, in response to a selection operation on at least one mixing effect control, performing mixing processing on the target audio clip based on the selected mixing effect control includes at least one of the following processing methods:
[0016] In response to a click operation on any bit-crushing sub-control, transmitting the target mix segment using the number of bits corresponding to the clicked bit-crushing sub-control;
[0017] In response to a long press operation on any loop control sub-control, looping the target audio segment based on a loop duration corresponding to the long-pressed loop control sub-control;
[0018] In response to a sliding operation on the filter control, filtering the target audio segment based on a filter parameter corresponding to each sliding position;
[0019] In response to a sliding operation on the tremolo control, the volume of the target audio segment is adjusted based on a volume parameter corresponding to each sliding position.
[0020] In another embodiment of the present disclosure, the method further includes:
[0021] In response to a selection operation on any one of the audio mixing effect controls, a preset prompting method is used to provide a prompt indicating that the audio mixing effect control is effective.
[0022] In another embodiment of the present disclosure, a recording control is further displayed on the mixing recording interface, and the method further includes:
[0023] In response to a touch operation on the recording control, obtaining a current playback position of the audio file;
[0024] Recording the target audio segment using the playback position as the starting position of the target audio segment;
[0025] In response to a selection operation on at least one mixing effect control, performing mixing processing on the target audio segment based on the selected mixing effect control to obtain a target mixed audio segment includes:
[0026] During the recording of the target audio segment, in response to a selection operation on at least one mixing effect control, performing mixing processing on the target audio segment currently being recorded based on the selected mixing effect control;
[0027] In response to another touch operation on the recording control, recording of the target audio segment is stopped to obtain the target mixed audio segment.
[0028] In another embodiment of the present disclosure, after stopping recording the target audio segment and obtaining the target mixed audio segment, the method further includes:
[0029] The target mixed audio segment and the audio segment after the target mixed audio segment in the audio file are played from the starting position of the target mixed audio segment.
[0030] In another embodiment of the present disclosure, a playback progress control is also displayed on the mixing recording interface, and the playback progress control includes a playback progress indication area and a cursor. The playback progress indication area is in the form of a progress bar or a waveform graph. The cursor is used to indicate the current playback position of the audio file in the playback progress indication area. When the audio file is in a recording state, the cursor cannot be dragged, and when the audio file is in a non-recording state, the cursor can be dragged.
[0031] In another embodiment of the present disclosure, the method further includes:
[0032] The target mixed audio segment and the unrecorded audio segment are displayed separately in corresponding display areas on the playback progress control.
[0033] In another embodiment of the present disclosure, the method further includes:
[0034] In response to a touch operation on a display area corresponding to a target mixed audio segment on the playback progress control, increasing the brightness of the display area and playing the target mixed audio segment;
[0035] When the playback completion ratio of the target mixed audio segment reaches a preset ratio, the brightness of the display area is adjusted to the original brightness.
[0036] In another embodiment of the present disclosure, the method further includes:
[0037] In response to a recording operation on a target mixed audio segment, a prompt message indicating that the recording has failed is displayed, where the prompt message is used to prompt that the target mixed audio segment has been recorded and cannot be recorded again.
[0038] In another embodiment of the present disclosure, after displaying the prompt message indicating recording failure, the method further includes:
[0039] In response to a long press operation on the display area, displaying a first pop-up window, wherein the first pop-up window displays a delete option and a re-record option;
[0040] In response to a touch operation on the delete option, deleting the target mixed audio segment;
[0041] In response to a touch operation on the re-recording option, the target mix audio segment is re-recorded.
[0042] In another embodiment of the present disclosure, the method further includes:
[0043] During the recording of the target audio segment, in response to any one of a closing operation on the audio recording interface, a switching operation of switching the audio playback application from foreground display to background display, or receiving a communication request, pausing the recording of the target audio segment and displaying a second pop-up window, wherein the second pop-up window displays an option to continue recording and an option not to save;
[0044] In response to a touch operation on the continue recording option or a closing operation of the second pop-up window, continuing to record the target audio segment;
[0045] In response to the touch operation for the not saving option, the mixing recording interface is switched to the audio playing interface, and the audio file is played according to the playing progress of the audio file on the mixing recording interface.
[0046] In another embodiment of the present disclosure, the method further includes:
[0047] During the recording process of the target audio segment, in response to a process closing operation on the audio playback application, the recorded target audio segment is not saved, and the audio playback application is closed.
[0048] In another embodiment of the present disclosure, the mixing recording interface further displays a draft box, wherein the draft box is used to store recorded mixing audio clips. The method further includes:
[0049] When the target mixed audio segment is recorded, a preset animation is used to display the process of storing the target mixed audio segment in the draft box.
[0050] In another embodiment of the present disclosure, the method further includes:
[0051] In response to a touch operation on the draft box, switching the audio mix recording interface to a draft box interface, wherein the draft box interface displays attribute information of the recorded audio mix segment;
[0052] In response to a touch operation on the attribute information of the target remix audio segment, the target remix audio segment is played, and a playing progress of the target remix audio segment is displayed.
[0053] In another embodiment of the present disclosure, the draft box interface further displays a publishing control corresponding to each mixed audio clip, and the method further includes:
[0054] In response to a touch operation on a publishing control corresponding to the target remix audio segment, the target remix audio segment is published.
[0055] In another embodiment of the present disclosure, before publishing the target mixed audio segment, the method further includes:
[0056] Detecting the recording duration of the target mixed audio segment;
[0057] When the recording duration of the target mixed audio segment is greater than the preset duration, the step of publishing the target mixed audio segment is performed.
[0058] In another embodiment of the present disclosure, after publishing the target mixed audio segment, the method further includes:
[0059] Share the published target mixed audio clip to a third-party application.
[0060] In another embodiment of the present disclosure, a delete option is further displayed on the draft box interface, and the delete option is used to delete the mixed audio clips in the draft box in batches.
[0061] In a second aspect, a device for processing audio file mixing is provided, the device comprising:
[0062] A display module, configured to display an audio playback interface for an audio file, wherein the audio playback interface includes a mixing and recording control;
[0063] The display module is configured to display a mixing recording interface of the audio file in response to a touch operation on the mixing recording control, wherein the mixing recording interface displays at least one mixing effect control, each mixing effect control being configured to implement a mixing effect;
[0064] The mixing processing module is used to respond to a selection operation on at least one mixing effect control and, based on the selected mixing effect control, perform mixing processing on the target audio segment to obtain a target mixed audio segment. The selected mixing effect control includes all or part of the at least one mixing effect control.
[0065] In another embodiment of the present disclosure, the at least one mixing effect control includes at least one of a bit-crushing control, a looping control, a filtering control, or a tremolo control;
[0066] The bit crushing control includes at least one bit crushing sub-control, each bit crushing sub-control is effective when clicked and invalid when clicked again, each bit crushing sub-control corresponds to a bit number, and is used to transmit the audio signal using the corresponding bit number;
[0067] The loop control control includes at least one loop control sub-control, each loop control sub-control becomes effective when long pressed and becomes ineffective when released, and each loop control sub-control corresponds to a loop duration, and is used to loop process the audio signal based on the corresponding loop duration;
[0068] The filter control takes effect when it is pressed and becomes ineffective when it is released. Different positions on the filter control correspond to different filter parameters, and are used to filter the audio signal based on the filter parameters corresponding to different positions.
[0069] The tremolo control is effective when it is pressed and ineffective when it is released. Different positions on the tremolo control correspond to different volume parameters, and are used to adjust the volume of the audio signal based on the volume parameters corresponding to different positions.
[0070] In another embodiment of the present disclosure, the audio mixing processing module is configured to, in response to a click operation on any bit crushing sub-control, transmit the target audio mixing segment using the number of bits corresponding to the clicked bit crushing sub-control;
[0071] The mixing processing module is configured to, in response to a long press operation on any loop control sub-control, loop the target audio segment based on a loop duration corresponding to the long pressed loop control sub-control;
[0072] The mixing processing module is configured to perform filtering processing on the target audio segment based on the filtering parameters corresponding to each sliding position in response to a sliding operation on the filtering control;
[0073] The mixing processing module is configured to adjust the volume of the target audio segment based on a volume parameter corresponding to each sliding position in response to a sliding operation on the tremolo control.
[0074] In another embodiment of the present disclosure, the apparatus further comprises:
[0075] The prompt module is used to respond to the selection operation of any mixing effect control and use a preset prompt method to provide a prompt for the mixing effect control to take effect.
[0076] In another embodiment of the present disclosure, a recording control is further displayed on the mixing recording interface, and the apparatus further comprises:
[0077] an acquisition module, configured to acquire a current playback position of the audio file in response to a touch operation on the recording control;
[0078] a recording module, configured to record the target audio segment with the playback position as the starting position of the target audio segment;
[0079] The mixing processing module is configured to, during the recording process of the target audio segment, respond to a selection operation on at least one mixing effect control and, based on the selected mixing effect control, perform mixing processing on the currently recorded target audio segment; and, in response to another touch operation on the recording control, stop recording the target audio segment and obtain the target mixed audio segment.
[0080] In another embodiment of the present disclosure, the apparatus further comprises:
[0081] The playing module is configured to play the target mixed audio segment and the audio segments in the audio file that are located after the target mixed audio segment, starting from the starting position of the target mixed audio segment.
[0082] In another embodiment of the present disclosure, a playback progress control is also displayed on the mixing recording interface, and the playback progress control includes a playback progress indication area and a cursor. The playback progress indication area is in the form of a progress bar or a waveform graph. The cursor is used to indicate the current playback position of the audio file in the playback progress indication area. When the audio file is in a recording state, the cursor cannot be dragged, and when the audio file is in a non-recording state, the cursor can be dragged.
[0083] In another embodiment of the present disclosure, the display module is further configured to distinguish and display the target mixed audio segment and the unrecorded audio segment in corresponding display areas on the playback progress control.
[0084] In another embodiment of the present disclosure, the apparatus further comprises:
[0085] an adjusting module, configured to increase the brightness of a display area corresponding to the playback progress control in response to a touch operation on the display area corresponding to the target mixed audio segment;
[0086] A playing module, configured to play the target mixed audio clip;
[0087] The adjustment module is configured to adjust the brightness of the display area to the original brightness when the playback completion ratio of the target mixed audio segment reaches a preset ratio.
[0088] In another embodiment of the present disclosure, the display module is further configured to display a recording failure prompt message in response to a recording operation on a target mixed audio segment, wherein the prompt message is configured to prompt that the target mixed audio segment has been recorded and cannot be recorded again.
[0089] In another embodiment of the present disclosure, the apparatus further comprises:
[0090] The display module is further configured to display a first pop-up window in response to a long press operation on the display area, wherein the first pop-up window displays a delete option and a re-record option;
[0091] a deleting module, configured to delete the target mixed audio segment in response to a touch operation on the delete option;
[0092] The recording module is configured to re-record the target mixed audio segment in response to a touch operation on the re-recording option.
[0093] In another embodiment of the present disclosure, the apparatus further comprises:
[0094] a pause module configured to pause recording of the target audio segment during the recording process of the target audio segment in response to any one of a closing operation on the audio recording interface, a switching operation of switching the audio playback application from foreground display to background display, or a reception of a communication request;
[0095] The display module is further configured to display a second pop-up window, wherein the second pop-up window displays a continue recording option and a do not save option;
[0096] a recording module, configured to continue recording the target audio segment in response to a touch operation on the continue recording option or a closing operation of the second pop-up window;
[0097] a switching module, configured to switch the audio mixing recording interface to the audio playing interface in response to a touch operation on the not saving option;
[0098] The playing module is used to play the audio file according to the playing progress of the audio file on the mixing recording interface.
[0099] In another embodiment of the present disclosure, the apparatus further comprises:
[0100] The closing module is configured to, during the recording process of the target audio segment, respond to a process closing operation on the audio playback application, not save the recorded target audio segment, and close the audio playback application.
[0101] In another embodiment of the present disclosure, the mixing recording interface also displays a draft box, which is used to store the recorded mixing audio clips. The display module is also used to use a preset animation to display the process of storing the target mixing audio clip into the draft box when the recording of the target mixing audio clip is completed.
[0102] In another embodiment of the present disclosure, the apparatus further comprises:
[0103] a switching module, configured to switch the audio mixing recording interface to a draft box interface in response to a touch operation on the draft box, wherein the draft box interface displays attribute information of the recorded audio mixing segment;
[0104] a playing module, configured to play the target mixed audio segment in response to a touch operation on the attribute information of the target mixed audio segment;
[0105] The display module is further configured to display the playback progress of the target mixed audio segment.
[0106] In another embodiment of the present disclosure, the draft box interface further displays a publishing control corresponding to each mixed audio clip, and the apparatus further includes:
[0107] The publishing module is configured to publish the target mixed audio segment in response to a touch operation on a publishing control corresponding to the target mixed audio segment.
[0108] In another embodiment of the present disclosure, the apparatus further comprises:
[0109] A detection module, configured to detect the recording duration of the target mixed audio segment;
[0110] The publishing module is further configured to publish the target mixed audio segment when the recording duration of the target mixed audio segment is greater than a preset duration.
[0111] In another embodiment of the present disclosure, the apparatus further comprises:
[0112] The sharing module is used to share the published target mixed audio clip to a third-party application.
[0113] In another embodiment of the present disclosure, a delete option is further displayed on the draft box interface, and the delete option is used to delete the mixed audio clips in the draft box in batches.
[0114] In a third aspect, a terminal is provided, comprising a processor and a memory, wherein the memory stores at least one program code, and the at least one program code is loaded and executed by the processor to implement the audio file mixing processing method as described in the first aspect.
[0115] In a fourth aspect, a computer-readable storage medium is provided, wherein the storage medium stores at least one program code, and the at least one program code is loaded and executed by a processor to implement the audio file mixing processing method as described in the first aspect.
[0116] The technical solutions provided by the embodiments of the present disclosure have the following beneficial effects:
[0117] By displaying a mixing effect control that can achieve at least one mixing effect on the mixing recording interface, the user can obtain the target mixed audio clip with the required mixing effect by touching the corresponding mixing effect control based on the at least one mixing effect control displayed on the mixing recording interface. This method has low operation complexity. For ordinary users, they can master the application method of each mixing effect control without additional learning, which reduces the probability of user error operation and improves the accuracy of the mixing processing results. BRIEF DESCRIPTION OF THE DRAWINGS
[0118] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0119] Figure 1 is a schematic diagram of an implementation environment involved in a mixing processing method for an audio file provided by an embodiment of the present disclosure;
[0120] Figure 2 is a flow chart of a mixing processing method for an audio file provided by an embodiment of the present disclosure;
[0121] Figure 3 is a flowchart of another audio file mixing processing method provided by an embodiment of the present disclosure;
[0122] Figure 4 is a schematic diagram of an audio recording interface provided by an embodiment of the present disclosure;
[0123] Figure 5 is a schematic diagram of a draft box interface provided by an embodiment of the present disclosure;
[0124] Figure 6 1 is a schematic structural diagram of an audio file mixing processing device provided by an embodiment of the present disclosure;
[0125] Figure 7 A structural block diagram of a terminal provided by an exemplary embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0126] In order to make the objectives, technical solutions and advantages of the present disclosure more clear, the embodiments of the present disclosure will be further described in detail below with reference to the accompanying drawings.
[0127] It should be understood that the terms "each," "plurality," and "any" used in the embodiments of the present disclosure include two or more, each refers to each of the corresponding plurality, and any refers to any one of the corresponding plurality. For example, if a plurality of words includes 10 words, each refers to each of the 10 words, and any refers to any one of the 10 words.
[0128] Please refer to Figure 1 , which shows the implementation environment involved in the audio file mixing processing method provided by the embodiment of the present disclosure, see Figure 1 , the implementation environment includes: a terminal 101 and a server 102.
[0129] Among them, the terminal 101 can be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, etc., and the embodiment of the present disclosure does not specifically limit the type of the terminal 101. An audio playback application is installed in the terminal 101. Based on the installed audio playback application, the terminal 101 can display the audio playback interface of the audio file. When the mixing recording control on the audio playback interface is touched, the terminal 101 displays the mixing recording interface of the audio file, and at least one mixing effect control is displayed on the mixing recording interface. When all or part of the at least one mixing effect control is selected, the terminal mixes the audio clip currently recorded in the audio file based on the selected mixing effect control to obtain a mixed audio clip.
[0130] Server 102 is the background server of the audio playback application. Server 102 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers. Server 102 can provide audio playback services. When receiving a publishing request for a mixed audio clip from terminal 101, server 102 publishes the mixed audio clip within the audio playback application; when receiving a sharing request for the published mixed audio clip from terminal 101, server 102 shares the mixed audio clip with a third-party application associated with the audio playback application.
[0131] The terminal 101 and the server 102 may be connected directly or indirectly via wired or wireless communication, which is not limited in the embodiment of the present disclosure.
[0132] based on Figure 1 The embodiment of the present disclosure provides a method for mixing audio files, see Figure 2 , the method process provided by the embodiment of the present disclosure includes:
[0133] 201. Display the audio playback interface of the audio file.
[0134] The audio playback interface is for playing audio files, and includes a mixing and recording control for switching the audio playback interface to the audio recording interface, which is used to record and mix audio clips from audio files. The audio playback interface also includes controls for managing audio file playback, including pause / play controls, playback mode settings, and a playlist. It also includes controls for likes, comments, sharing, and playback progress.
[0135] 202. In response to a touch operation on a mixing recording control, display a mixing recording interface for an audio file.
[0136] Among them, the touch operation includes any operation such as clicking operation, sliding operation, and long pressing operation. When a touch operation on the mixing recording control on the audio playback interface is detected, in response to the touch operation on the mixing recording control, the terminal switches the audio playback interface to the mixing recording interface. At least one mixing effect control is displayed on the mixing recording interface, and each mixing effect control is used to achieve a mixing effect. Based on the at least one mixing effect control displayed, the user can select the corresponding mixing effect control to mix the audio clip according to the production requirements of the audio file, thereby obtaining a mixed audio clip that meets the user's listening needs.
[0137] 203. In response to a selection operation on at least one mixing effect control, a mixing process is performed on a target audio segment based on the selected mixing effect control to obtain a target mixed audio segment.
[0138] The target audio clip is the currently recorded audio clip. The at least one mixing effect control in the disclosed embodiment can be used in a superimposed manner. Thus, a user can select all or part of the at least one mixing effect control based on the audio file production requirements. In response to the user's selection of at least one mixing effect control, the terminal performs mixing processing on the target audio clip based on the selected mixing effect control to obtain the target mixed audio clip.
[0139] The method provided by the embodiments of the present disclosure displays a mixing effect control capable of achieving at least one mixing effect on a mixing recording interface, so that a user can obtain a target mixed audio clip with a desired mixing effect by touching the corresponding mixing effect control based on the at least one mixing effect control displayed on the mixing recording interface. The method has low operational complexity, and ordinary users can master the application method of each mixing effect control without additional learning, thereby reducing the probability of user error operation and improving the accuracy of the mixing processing results.
[0140] based on Figure 1 The embodiment of the present disclosure provides a method for mixing audio files. For example, the terminal executes the embodiment of the present disclosure. Figure 3 , the method process provided by the embodiment of the present disclosure includes:
[0141] 301. The terminal displays an audio playback interface of the audio file, and a mixing recording control is displayed on the audio playback interface.
[0142] During the operation of the audio playback application, in response to the user's playback operation on a certain audio file, the terminal displays the audio playback interface of the audio file. A mixing recording control is displayed on the audio playback interface, and the mixing recording control is used to switch the audio playback interface to the audio recording interface, and then record the audio clip in the audio file based on the audio recording interface, and during the audio clip recording process, the audio clip is mixed to obtain a mixed audio clip that meets the user's listening needs. The mixing recording control can be located at the bottom of the audio playback interface, or at the top of the audio playback interface. The embodiment of the present disclosure does not limit the position of the mixing recording control.
[0143] To facilitate the user to understand the playback status of the audio file, a playback progress control is displayed on the audio playback interface. The playback progress control can be in the form of a progress bar or in the form of a waveform corresponding to the audio file. The playback progress control displays the playback time and the remaining playback time. During the playback of the audio file, the terminal will distinguish and display the display areas corresponding to the played audio clips and the unplayed audio clips on the playback progress control. Specifically, the terminal can set the colors of the display areas corresponding to the played audio clips and the unplayed audio clips on the playback progress control to different colors. For example, the terminal sets the color of the display area corresponding to the played audio clips on the playback progress control to pink and the color of the display area corresponding to the unplayed audio clips on the playback progress control to white; the terminal can also set the brightness of the display areas corresponding to the played audio clips and the unplayed audio clips on the playback progress control to different brightness values. For example, the terminal sets the brightness of the display area corresponding to the played audio clips on the playback progress control to a larger brightness value and the brightness of the display area corresponding to the unplayed audio clips on the playback progress control to a smaller brightness value.
[0144] 302. In response to a touch operation on a mixing and recording control, the terminal displays a mixing and recording interface for the audio file, where the mixing and recording interface displays a recording control and at least one mixing effect control.
[0145] Based on the recording function of the audio file by the mixing recording control, the user can record the audio clip in the audio file by touching the mixing recording control. In response to the user's touch operation on the mixing recording control, the terminal switches the audio playback interface to the mixing recording interface, and then displays the mixing recording interface. The mixing recording interface is used to record the audio clip in the audio file, and mix the recorded audio clip to obtain a mixed audio clip that meets the user's listening needs. The mixing recording interface is displayed with a play / pause control, a previous song control and a recording control, and also displays at least one mixing effect control, a playback progress control and a draft box, etc. The above-mentioned play / pause control, previous song control and recording control are all used to control the played audio file, and can usually be set in the same menu bar. The menu bar can be located at the bottom of the mixing recording interface or at the top of the mixing recording interface. The embodiment of the present disclosure does not specifically limit the position of the menu bar. For specific product forms, please refer to Figure 4 The mixing recording interface shown in the figure is Figure 4 The previous song playback control, play / pause control, and recording control are displayed in sequence in the menu bar at the bottom of the mixing recording interface.
[0146] The play / pause control is used to play an audio file or pause a playing audio file. In an embodiment of the present disclosure, when the audio playback interface is switched to the mixing recording interface, the terminal can automatically play the audio file, and can also play the audio file when the user touches the play / pause control. When playing, the audio file can be played from the starting position, or it can be played from the current playback position on the audio playback interface as the starting position based on the playback progress on the audio playback interface.
[0147] The previous control is used to switch the mixing and recording interface of an audio file to the mixing and recording interface of the previous audio file of the audio file, and then based on the mixing and recording interface of the previous audio file, record and mix the audio clips in the previous audio file. The previous audio file can be the audio file that is located before the audio file in the play list, or it can be the audio file that is located before the audio file in the release list. This embodiment of the present disclosure does not make specific restrictions on this. Among them, the play list is the play list of the user who logs in to the audio playback application, and the release list is the release list of the user who releases the audio file.
[0148] The recording control is used to record the target audio segment currently playing in the audio file. The recording control takes effect when it is touched and becomes inactive when it is touched again. During audio file playback, in response to a touch operation on the recording control, the terminal records the target audio segment; in response to a second touch operation on the recording control, the terminal stops recording the target audio segment.
[0149] Each mixing effect control corresponds to a mixing effect device and is used to achieve a mixing effect. The at least one mixing effect control includes at least one of a bit crushing control, a loop control control, a filter control, or a tremolo control. Figure 4 The mixing recording interface shown in the figure displays four mixing effect controls: bit crunching, looping, filtering, and tremolo. At least one of these mixing effect controls can be used in combination, meaning that the user can select all or some of them simultaneously. Each of these mixing effect controls will be described below.
[0150] The bit crushing control includes at least one bit crushing sub-control. Each bit crushing sub-control becomes effective after being clicked and becomes invalid after being clicked again. Each bit crushing sub-control corresponds to a number of bits, and is used to transmit the audio signal using the corresponding number of bits. The at least one bit crushing sub-control cannot be used in a superimposed manner, that is, the user can only select one bit crushing sub-control at a time to mix the audio signal, and cannot select two or more bit crushing sub-controls at the same time to mix the audio signal. For example, Figure 4 The mixing recording interface shown shows four bit crushing sub-controls, which correspond to four bit numbers: 24bit, 16bit, 8bit and 4bit. The user can click on any of the four bit crushing sub-controls. In response to the user's click operation on any bit crushing sub-control, the terminal uses the bit number corresponding to the clicked bit crushing sub-control to transmit the audio signal.
[0151] The loop control includes at least one loop control sub-control. Each loop control sub-control takes effect when long pressed and becomes invalid when released. Each loop control sub-control corresponds to a loop duration and is used to loop the audio signal based on the corresponding loop duration. The at least one loop control sub-control cannot be used in a superimposed manner. That is, the user can only select one loop control sub-control at a time to mix the audio signal, and cannot select two or more loop control sub-controls at the same time to mix the audio signal. For example, Figure 4 The mixing recording interface shown shows four loop control sub-controls, and the loop durations corresponding to the four loop control sub-controls are 1 second, 0.5 second, 0.25 second, and 0.125 second, respectively. The user can long press any of the above four loop control sub-controls. In response to the user's long press operation on any loop control sub-control, the terminal loops the audio signal based on the corresponding loop duration.
[0152] The focus of the filter control, which indicates the filter status, is located in the middle of the filter control's display area by default. When the user touches the filter control, the filter control takes effect, and the focus moves from the middle of the filter control's display area to the user's touch position. When the user stops touching the filter control, the filter control becomes inactive, and the focus moves from the touch position to the middle position. In other words, the filter control takes effect when pressed and becomes inactive when released. The user can slide within the filter control's display area. Different positions on the filter control correspond to different filter parameters, which are used to filter the audio signal based on the filter parameters corresponding to different positions.
[0153] The tremolo control takes effect when held down and becomes inactive when released. Users can slide the tremolo control's display area. Different positions on the tremolo control correspond to different volume parameters, allowing users to adjust the audio signal's volume based on the corresponding volume parameters. Sliding the tremolo control from left to right increases the volume, while sliding it from right to left decreases the volume.
[0154] The playback progress control includes a playback progress indicator area and a cursor. The playback progress indicator area can be in the form of a progress bar or a waveform. The cursor is used to indicate the current playback position of the audio file in the playback progress indicator area. The cursor cannot be dragged when the audio file is in the recording state; the cursor can be dragged when the audio file is in the non-recording state. The non-recording state includes the pause state and the playing state. That is, when the audio file is in the recording state, the user can change the playback progress of the audio file. When the audio file is in the non-recording state, the user cannot change the playback progress of the audio file.
[0155] The draft box is used to store recorded mixed audio clips. The recorded mixed audio clips can be mixed audio clips recorded by the user during the playback of an audio file, or mixed audio clips recorded by the user during the playback of various audio files in an audio playback application. The mixed audio clips stored in the draft box can be displayed in order of recording time, for example, from the latest to the earliest, or from the earliest to the latest. The draft box can be located in the upper left corner, upper right corner, etc. of the mixed recording interface.
[0156] It should be noted that when the user uses the above function controls for the first time, in order to facilitate the user to quickly master the functions of each function control, the terminal will also display the corresponding operation instructions for each function control, thereby greatly reducing the user's operation threshold, reducing operation complexity, and reducing the error rate.
[0157] 303. In response to the touch operation on the recording control, the terminal obtains the current playback position of the audio file, and records the target audio segment using the playback position as the starting position of the target audio segment.
[0158] During the playback of an audio file, if the user wants to record the currently playing audio file, the user can touch the recording control on the mixing recording interface. In response to the user's touch operation on the recording control, the terminal obtains the current playback position of the audio file, and uses the playback position as the starting position of the target audio segment to record the target audio segment.
[0159] 304. In response to a selection operation on at least one mixing effect control, the terminal performs mixing processing on the target audio segment based on the selected mixing effect control to obtain a target mixed audio segment.
[0160] During the recording process of the target audio clip, when the user selects all or part of the at least one mixing effect control according to the mixing processing requirements of the target audio clip, in response to the user's selection operation on at least one mixing effect control, the terminal performs mixing processing on the currently recorded target audio clip based on the selected mixing effect control, and in response to the touch operation on the recording control again, the terminal stops recording the target audio clip and obtains the target mixed audio clip.
[0161] According to the mixing effect control selected by the user, the terminal responds to the selection operation of at least one mixing effect control and performs mixing processing on the target audio segment based on the selected mixing effect control, including at least one of the following processing methods:
[0162] In response to a click operation on any bit-crushing sub-control, the terminal transmits the target audio mix segment using the number of bits corresponding to the clicked bit-crushing sub-control.
[0163] In response to a long press operation on any loop control sub-control, the terminal loops the target audio segment based on the loop duration corresponding to the long-pressed loop control sub-control;
[0164] In response to a sliding operation on the filter control, the terminal performs filtering processing on the target audio segment based on the filter parameters corresponding to each sliding position.
[0165] In response to the sliding operation on the tremolo control, the terminal adjusts the volume of the target audio segment based on the volume parameter corresponding to each sliding position.
[0166] In another embodiment of the present disclosure, to facilitate the user's notification of the currently selected audio mixing effect control, in response to a selection operation on any audio mixing effect control, the terminal will use a preset prompt method to prompt the user that the audio mixing effect control has taken effect. The preset prompt method includes at least one of vibration, playing a specified audio, and flashing a flashlight.
[0167] In another embodiment of the present disclosure, after stopping recording the target audio segment to obtain the target mixed audio segment, the terminal will play the target mixed audio segment from the starting position of the target mixed audio segment. When the target mixed audio segment is played, the audio segment in the audio file that follows the target mixed audio segment will continue to be played until a user's pause operation is detected, or a user's drag operation on the cursor in the playback progress control is detected, or the audio file is played. Complete.
[0168] In another embodiment of the present disclosure, to facilitate user differentiation between recorded mixed audio segments and unrecorded audio segments, during the recording process of a target audio segment, the terminal colors the display area corresponding to the target audio segment on the playback progress control, starting from the starting position of the target audio segment, so that when recording stops, the color block corresponding to the target mixed audio segment can be obtained. Because the color of the color block corresponding to the target audio segment is different from the color of the display area corresponding to the unrecorded audio segment on the playback progress control, the display areas corresponding to the target mixed audio segment and the unrecorded audio segment on the playback progress control are distinguished.
[0169] In another embodiment of the present disclosure, in response to a touch operation on the display area corresponding to the target mixed audio clip on the playback progress control, the terminal increases the brightness of the display area and plays the target mixed audio clip. When the playback completion ratio of the target mixed audio clip reaches a preset ratio, the terminal adjusts the brightness of the display area back to the original brightness. The preset ratio can be 70%, 90%, 100%, etc.
[0170] In another embodiment of the present disclosure, when the target audio mix segment is recorded, in response to the recording operation for the target audio mix segment, the terminal will display a prompt message indicating that the recording failed, and the prompt message is used to prompt that the target audio mix segment has been recorded and cannot be recorded again.
[0171] In another embodiment of the present disclosure, after displaying a recording failure prompt, if a user long-presses a display area corresponding to the target mixed audio clip on a playback progress control, the terminal displays a first pop-up window in response to the long-press operation on the display area. The first pop-up window displays a delete option and a re-record option. In response to the touch operation on the delete option, the terminal deletes the target mixed audio clip; in response to the touch operation on the re-record option, the terminal re-records the target mixed audio clip.
[0172] In another embodiment of the present disclosure, during the recording of a target audio clip, in response to any one of a closing operation on the audio recording interface, a switching operation of switching the audio playback application from foreground display to background display, or receiving a communication request, the terminal pauses recording the target audio clip and displays a second pop-up window, in which a continue recording option and a do not save option are displayed. In response to a touch operation on the continue recording option or a closing operation on the second pop-up window, the terminal continues recording the target audio clip; in response to a touch operation on the do not save option, the terminal does not save the currently recorded target audio clip, switches the mixing recording interface to the audio playback interface, and plays the audio file according to the playback progress of the audio file on the mixing recording interface.
[0173] In another embodiment of the present disclosure, during the recording of the target audio segment, in response to a process closing operation on the audio playback application, the terminal does not save the recorded target audio segment and closes the audio playback application.
[0174] In another embodiment of the present disclosure, if the target audio file is recorded and the user has not selected any mixing effect controls, the user is prompted that the target audio file cannot be saved because the mixing effect controls were not used. Furthermore, the terminal cancels the color block corresponding to the target audio segment, effectively changing the target audio segment's status from recorded to unrecorded, allowing the user to re-record the target audio segment during subsequent playback. Of course, to ensure that the user's listening needs are not affected, the terminal will continue to play the audio file.
[0175] In another embodiment of the present disclosure, when the target mixed audio clip is recorded, the terminal will use a preset animation to display the process of storing the target mixed audio clip in the draft box. By using a preset animation, the storage location of the target mixed audio clip is vividly displayed to the user, so that the user can view the target mixed audio clip from the draft box in the subsequent process. Furthermore, after the target mixed audio clip is stored in the draft box, the terminal can set a red dot prompt at the position of the draft box on the mixed recording interface to remind the user that a new mixed audio clip has been stored in the draft box.
[0176] In another embodiment of the present disclosure, in response to a touch operation on the draft box, the terminal switches the mix recording interface to the draft box interface, which displays attribute information of the recorded mix audio clip, including the audio file name, user ID, recording duration, etc. In response to a touch operation on the attribute information of a target mix audio clip, the terminal plays the target mix audio clip and displays the playback progress of the target mix audio clip.
[0177] In another embodiment of the present disclosure, see Figure 5 The draft box interface also displays a delete option, which is used to batch delete mixed audio clips in the draft box. Based on this delete option, users do not need to select the mixed audio clips in the draft box one by one, and can delete multiple mixed audio clips at the same time.
[0178] In another embodiment of the present disclosure, see Figure 5 , the draft box interface also displays the publishing controls corresponding to each mixed audio clip. In response to the touch operation of the publishing control corresponding to the target mixed audio clip, the terminal displays the publishing interface and publishes the target mixed audio clip on the publishing interface. Furthermore, before publishing the target mixed audio clip, the terminal will also detect the recording duration of the target mixed audio clip. When the recording duration of the target mixed audio clip is greater than the preset duration, the terminal publishes the target mixed audio clip. When the recording duration of the target mixed audio clip is less than the duration, the user is prompted that the recording duration of the target mixed audio clip is too short to be published. Among them, the preset duration can be 5 seconds, 6 seconds, 10 seconds, etc. The embodiment of the present disclosure provides users with a closed-loop experience of tools + community by publishing the recorded mixed audio clips within the audio playback application, thereby increasing user stickiness.
[0179] In another embodiment of the present disclosure, a sharing control is displayed on the publishing interface. After the target mixed audio clip is published, in response to a touch operation on the sharing control, the terminal can share the published target mixed audio clip to a third-party application, so that users in the third-party application can listen to the target mixed audio clip.
[0180] There are two points to note here:
[0181] First, the above description uses the example of recording a target audio segment in an audio file. Of course, the user can also record other audio segments in an audio file or audio segments in other audio files. For the recording process of other audio segments, please refer to the above description of recording the target audio segment, which will not be explained here one by one.
[0182] Secondly, the audio file mixing processing method provided by the embodiment of the present disclosure can mix all copyrighted songs in the audio playback application, which has a wider application range and greater freedom than the mixing equipment in the prior art.
[0183] The method provided by the embodiments of the present disclosure displays a mixing effect control capable of achieving at least one mixing effect on a mixing recording interface, so that a user can obtain a target mixed audio clip with a desired mixing effect by touching the corresponding mixing effect control based on the at least one mixing effect control displayed on the mixing recording interface. The method has low operational complexity, and ordinary users can master the application method of each mixing effect control without additional learning, thereby reducing the probability of user error operation and improving the accuracy of the mixing processing results.
[0184] See also Figure 6 The present disclosure provides an audio file mixing processing device, which includes:
[0185] Display module 601, used to display the audio playback interface of the audio file, and the audio playback interface displays the mixing and recording controls;
[0186] The display module 601 is further configured to display a mixing recording interface of the audio file in response to a touch operation on the mixing recording control, wherein the mixing recording interface displays at least one mixing effect control, each mixing effect control being configured to implement a mixing effect;
[0187] The mixing processing module 602 is used to respond to the selection operation of at least one mixing effect control and, based on the selected mixing effect control, perform mixing processing on the target audio segment to obtain a target mixed audio segment. The selected mixing effect control includes all or part of the at least one mixing effect control.
[0188] In another embodiment of the present disclosure, the at least one mixing effects control includes at least one of a bit-crushing control, a looping control, a filtering control, or a tremolo control;
[0189] The bit crushing control includes at least one bit crushing sub-control, each bit crushing sub-control becomes effective after being clicked and becomes ineffective after being clicked again, and each bit crushing sub-control corresponds to a bit number and is used to transmit the audio signal using the corresponding bit number;
[0190] The loop control control includes at least one loop control sub-control, each loop control sub-control becomes effective when long pressed and becomes invalid when released, each loop control sub-control corresponds to a loop duration, and is used to loop process the audio signal based on the corresponding loop duration;
[0191] The filter control takes effect when it is pressed and becomes ineffective when it is released. Different positions on the filter control correspond to different filter parameters, which are used to filter the audio signal based on the filter parameters corresponding to different positions;
[0192] The tremolo control takes effect when it is pressed and becomes ineffective when it is released. Different positions on the tremolo control correspond to different volume parameters, and are used to adjust the volume of the audio signal based on the volume parameters corresponding to different positions.
[0193] In another embodiment of the present disclosure, the audio mixing processing module 602 is configured to, in response to a click operation on any bit crushing sub-control, transmit the target audio mixing segment using the number of bits corresponding to the clicked bit crushing sub-control;
[0194] A mixing processing module 602 is configured to, in response to a long press operation on any loop control sub-control, loop a target audio segment based on a loop duration corresponding to the long-pressed loop control sub-control;
[0195] A mixing processing module 602 is configured to perform filtering on the target audio segment based on the filtering parameters corresponding to each sliding position in response to a sliding operation on the filter control;
[0196] The mixing processing module 602 is configured to adjust the volume of the target audio segment based on a volume parameter corresponding to each sliding position in response to a sliding operation on the tremolo control.
[0197] In another embodiment of the present disclosure, the apparatus further comprises:
[0198] The prompt module is used to respond to the selection operation of any mixing effect control and use a preset prompt method to provide a prompt for the mixing effect control to take effect.
[0199] In another embodiment of the present disclosure, a recording control is further displayed on the mixing recording interface, and the device further includes:
[0200] An acquisition module, configured to acquire a current playback position of an audio file in response to a touch operation on a recording control;
[0201] A recording module, configured to record the target audio segment with the playback position as the starting position of the target audio segment;
[0202] The mixing processing module 602 is used to, during the recording process of the target audio segment, respond to a selection operation on at least one mixing effect control and, based on the selected mixing effect control, perform mixing processing on the currently recorded target audio segment; and respond to another touch operation on the recording control to stop recording the target audio segment and obtain the target mixed audio segment.
[0203] In another embodiment of the present disclosure, the apparatus further comprises:
[0204] The playing module is used to play the target mixed audio segment and the audio segment after the target mixed audio segment in the audio file from the starting position of the target mixed audio segment.
[0205] In another embodiment of the present disclosure, a playback progress control is also displayed on the mixing recording interface, and the playback progress control includes a playback progress indication area and a cursor. The playback progress indication area is in the form of a progress bar or a waveform graph. The cursor is used to indicate the current playback position of the audio file in the playback progress indication area. The cursor cannot be dragged when the audio file is in a recording state, and the cursor can be dragged when the audio file is in a non-recording state.
[0206] In another embodiment of the present disclosure, the display module 601 is further configured to distinguish and display the target mixed audio segment and the unrecorded audio segment in corresponding display areas on the playback progress control.
[0207] In another embodiment of the present disclosure, the apparatus further comprises:
[0208] an adjustment module, configured to increase the brightness of a display area corresponding to the target mixed audio segment in response to a touch operation on the display area on the playback progress control;
[0209] A playback module, used to play the target mixed audio clip;
[0210] The adjustment module is used to adjust the brightness of the display area to the original brightness when the playback completion ratio of the target mixed audio segment reaches a preset ratio.
[0211] In another embodiment of the present disclosure, the display module 601 is further configured to display a recording failure prompt message in response to a recording operation on a target mixed audio segment, where the prompt message is used to prompt that the target mixed audio segment has been recorded and cannot be recorded again.
[0212] In another embodiment of the present disclosure, the apparatus further comprises:
[0213] The display module 601 is further configured to display a first pop-up window in response to a long press operation on the display area, wherein the first pop-up window displays a delete option and a re-record option;
[0214] a deleting module, configured to delete a target mixed audio segment in response to a touch operation on a delete option;
[0215] The recording module is configured to re-record the target mixed audio segment in response to a touch operation on a re-recording option.
[0216] In another embodiment of the present disclosure, the apparatus further comprises:
[0217] a pause module configured to pause recording of a target audio segment during recording of the target audio segment in response to any one of a closing operation on the audio recording interface, a switching operation of switching the audio playback application from foreground display to background display, or a communication request;
[0218] The display module 601 is further configured to display a second pop-up window, wherein the second pop-up window displays a continue recording option and a do not save option;
[0219] a recording module, configured to continue recording the target audio segment in response to a touch operation on a continue recording option or a closing operation on the second pop-up window;
[0220] A switching module, configured to switch the audio mixing recording interface to the audio playback interface in response to a touch operation on a non-save option;
[0221] The playback module is used to play the audio file according to the playback progress of the audio file on the mixing recording interface.
[0222] In another embodiment of the present disclosure, the apparatus further comprises:
[0223] The closing module is configured to, during the recording process of the target audio segment, respond to a process closing operation on the audio playback application, not save the recorded target audio segment, and close the audio playback application.
[0224] In another embodiment of the present disclosure, the mixing recording interface also displays a draft box, which is used to store the recorded mixing audio clips. The display module 601 is also used to use a preset animation to display the process of storing the target mixing audio clip into the draft box when the recording of the target mixing audio clip is completed.
[0225] In another embodiment of the present disclosure, the apparatus further comprises:
[0226] a switching module for switching the audio mix recording interface to the draft box interface in response to a touch operation on the draft box, wherein the draft box interface displays attribute information of the recorded audio mix segment;
[0227] a playing module, configured to play the target mixed audio segment in response to a touch operation on the attribute information of the target mixed audio segment;
[0228] The display module 601 is further configured to display the playback progress of the target mixed audio segment.
[0229] In another embodiment of the present disclosure, the draft box interface further displays a publishing control corresponding to each mixed audio clip, and the device further includes:
[0230] The publishing module is configured to publish the target mixed audio segment in response to a touch operation on a publishing control corresponding to the target mixed audio segment.
[0231] In another embodiment of the present disclosure, the apparatus further comprises:
[0232] A detection module, used to detect the recording duration of the target mixed audio clip;
[0233] The publishing module is further used to publish the target mixed audio segment when the recording duration of the target mixed audio segment is greater than a preset duration.
[0234] In another embodiment of the present disclosure, the apparatus further comprises:
[0235] The sharing module is used to share the published target mixed audio clip to a third-party application.
[0236] In another embodiment of the present disclosure, a delete option is also displayed on the draft box interface, and the delete option is used to delete mixed audio clips in the draft box in batches.
[0237] In summary, the device provided by the embodiments of the present disclosure displays a mixing effect control that can achieve at least one mixing effect on the mixing recording interface, so that the user can obtain the target mixed audio clip with the required mixing effect by touching the corresponding mixing effect control based on the at least one mixing effect control displayed on the mixing recording interface. This method has low operational complexity. For ordinary users, they can master the application method of each mixing effect control without additional learning, thereby reducing the probability of user error operation and improving the accuracy of the mixing processing results.
[0238] Figure 7 The following is a block diagram of a terminal 700 according to an exemplary embodiment of the present disclosure. Terminal 700 may be a smartphone, tablet computer, MP3 player (Moving Picture Experts Group Audio Layer III), MP4 player (Moving Picture Experts Group Audio Layer IV), laptop computer, or desktop computer. Terminal 700 may also be referred to as user equipment, portable terminal, laptop terminal, desktop terminal, or other similar names.
[0239] Typically, the terminal 700 includes a processor 701 and a memory 702 .
[0240] The processor 701 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 701 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), or PLA (Programmable Logic Array). The processor 701 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 701 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 701 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0241] The memory 702 may include one or more computer-readable storage media, which may be non-transitory. The memory 702 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices and flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 702 is used to store at least one instruction, which is executed by the processor 701 to implement the audio file mixing processing method provided in the method embodiment of the present application.
[0242] In some embodiments, terminal 700 may optionally include a peripheral device interface 703 and at least one peripheral device. Processor 701, memory 702, and peripheral device interface 703 may be connected via a bus or signal lines. Each peripheral device may be connected to peripheral device interface 703 via a bus, signal lines, or circuit boards. Specifically, the peripheral device may include at least one of a radio frequency circuit 704, a display screen 705, a camera assembly 706, an audio circuit 707, a positioning assembly 708, and a power supply 709.
[0243] Those skilled in the art will understand that Figure 7 The structure shown in the figure does not constitute a limitation on the terminal 700, and the terminal 700 may include more or fewer components than shown in the figure, or combine certain components, or adopt a different component arrangement.
[0244] The terminal provided by the embodiment of the present disclosure displays a mixing effect control capable of achieving at least one mixing effect on a mixing recording interface, so that a user can obtain a target mixed audio clip with a desired mixing effect by touching the corresponding mixing effect control based on the at least one mixing effect control displayed on the mixing recording interface. This method has low operational complexity, and ordinary users can master the application method of each mixing effect control without additional learning, thereby reducing the probability of user error operation and improving the accuracy of the mixing processing results.
[0245] The present disclosure provides a computer-readable storage medium having at least one program code stored therein, which is loaded and executed by a processor to implement a method for mixing audio files. The computer-readable storage medium may be non-transitory. For example, the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, or the like.
[0246] The computer-readable storage medium provided by the embodiments of the present disclosure displays a mixing effect control capable of achieving at least one mixing effect on a mixing recording interface, so that a user can obtain a target mixed audio clip with a desired mixing effect by touching the corresponding mixing effect control based on the at least one mixing effect control displayed on the mixing recording interface. This method has low operational complexity, and ordinary users can master the application method of each mixing effect control without additional learning, thereby reducing the probability of user error operation and improving the accuracy of the mixing processing results.
[0247] Those skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware, or by a program to instruct the relevant hardware, and the program may be stored in a computer-readable storage medium, which may be a read-only memory, a disk, or an optical disk, etc.
[0248] The above description is merely an optional embodiment of the present disclosure and is not intended to limit the present disclosure. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present disclosure shall be included in the scope of protection of the present disclosure.
Claims
1. A mixing processing method for audio files, characterized in that: The method comprises: Displaying an audio playback interface for the audio file, wherein the audio playback interface displays a mixing and recording control; In response to a touch operation on the mixing and recording control, displaying a mixing and recording interface for the audio file, wherein the mixing and recording interface displays a recording control and at least one mixing effect control, each mixing effect control is used to implement a mixing effect, and at least one mixing effect control supports overlapping use; During playback of the audio file, in response to a touch operation on the recording control, obtaining a current playback position of the audio file; and recording the target audio segment with the playback position as the starting position of the target audio segment. During the recording process of the target audio clip, in response to a selection operation on at least one mixing effect control, mixing processing is performed on the currently recorded target audio clip based on the selected mixing effect control; in response to a touch operation on the recording control again, recording of the target audio clip is stopped to obtain a target mixed audio clip, and the selected mixing effect control includes all or part of the at least one mixing effect control.
2. The method according to claim 1, characterized in that The at least one mixing effects control includes at least one of a bit-crushing control, a looping control, a filtering control, or a tremolo control; The bit crushing control includes at least one bit crushing sub-control, each bit crushing sub-control is effective when clicked and invalid when clicked again, each bit crushing sub-control corresponds to a bit number, and is used to transmit the audio signal using the corresponding bit number; The loop control control includes at least one loop control sub-control, each loop control sub-control becomes effective when long pressed and becomes ineffective when released, and each loop control sub-control corresponds to a loop duration, and is used to loop process the audio signal based on the corresponding loop duration; The filter control takes effect when it is pressed and becomes ineffective when it is released. Different positions on the filter control correspond to different filter parameters, and are used to filter the audio signal based on the filter parameters corresponding to different positions. The tremolo control is effective when it is pressed and ineffective when it is released. Different positions on the tremolo control correspond to different volume parameters, and are used to adjust the volume of the audio signal based on the volume parameters corresponding to different positions.
3. The method according to claim 2, characterized in that In response to the selection operation on at least one mixing effect control, performing mixing processing on the currently recorded target audio segment based on the selected mixing effect control includes at least one of the following processing methods: In response to a click operation on any bit-crushing sub-control, transmitting the target mixed audio segment using the number of bits corresponding to the clicked bit-crushing sub-control; In response to a long press operation on any loop control sub-control, looping the target audio segment based on a loop duration corresponding to the long-pressed loop control sub-control; In response to a sliding operation on the filter control, filtering the target audio segment based on a filter parameter corresponding to each sliding position; In response to a sliding operation on the tremolo control, the volume of the target audio segment is adjusted based on a volume parameter corresponding to each sliding position.
4. The method according to claim 1, wherein The method further comprises: In response to a selection operation on any one of the audio mixing effect controls, a preset prompting method is used to provide a prompt indicating that the audio mixing effect control is effective.
5. The method according to claim 1, wherein After stopping recording the target audio segment and obtaining the target mixed audio segment, the method further includes: The target mixed audio segment and the audio segment after the target mixed audio segment in the audio file are played from the starting position of the target mixed audio segment.
6. The method according to claim 1, wherein A playback progress control is also displayed on the mixing recording interface. The playback progress control includes a playback progress indication area and a cursor. The playback progress indication area is in the form of a progress bar or a waveform. The cursor is used to indicate the current playback position of the audio file in the playback progress indication area. When the audio file is in a recording state, the cursor cannot be dragged, and when the audio file is in a non-recording state, the cursor can be dragged.
7. The method according to claim 6, characterized in that The method further comprises: The target mixed audio segment and the unrecorded audio segment are displayed separately in corresponding display areas on the playback progress control.
8. The method according to claim 7, characterized in that The method further comprises: In response to a touch operation on a display area corresponding to the target mixed audio segment on the playback progress control, increasing the brightness of the display area and playing the target mixed audio segment; When the playback completion ratio of the target mixed audio segment reaches a preset ratio, the brightness of the display area is adjusted to the original brightness.
9. The method according to claim 7, characterized in that The method further comprises: In response to a recording operation on the target mixed audio segment, a prompt message indicating that the recording has failed is displayed, where the prompt message is used to prompt that the target mixed audio segment has been recorded and cannot be recorded again.
10. The method according to claim 9, characterized in that After displaying the prompt message of recording failure, the method further includes: In response to a long press operation on the display area, displaying a first pop-up window, wherein the first pop-up window displays a delete option and a re-record option; In response to a touch operation on the delete option, deleting the target mixed audio segment; In response to a touch operation on the re-recording option, the target mix audio segment is re-recorded.
11. The method according to claim 1, characterized in that The method further comprises: During the recording of the target audio segment, in response to any one of a closing operation on the audio recording interface, a switching operation of switching the audio playback application from foreground display to background display, or receiving a communication request, pausing the recording of the target audio segment and displaying a second pop-up window, wherein the second pop-up window displays an option to continue recording and an option not to save; In response to a touch operation on the continue recording option or a closing operation of the second pop-up window, continuing to record the target audio segment; In response to the touch operation for the not saving option, the mixing recording interface is switched to the audio playing interface, and the audio file is played according to the playing progress of the audio file on the mixing recording interface.
12. The method according to claim 1, characterized in that The method further comprises: During the recording process of the target audio segment, in response to a process closing operation on the audio playback application, the recorded target audio segment is not saved, and the audio playback application is closed.
13. The method according to claim 1, wherein The mixing recording interface further displays a draft box, wherein the draft box is used to store recorded mixing audio clips. The method further includes: When the target mixed audio segment is recorded, a preset animation is used to display the process of storing the target mixed audio segment in the draft box.
14. The method according to claim 13, characterized in that The method further comprises: In response to a touch operation on the draft box, switching the audio mix recording interface to a draft box interface, wherein the draft box interface displays attribute information of the recorded audio mix segment; In response to a touch operation on the attribute information of the target remix audio segment, the target remix audio segment is played, and a playing progress of the target remix audio segment is displayed.
15. The method according to claim 14, characterized in that The draft box interface also displays a publishing control corresponding to each mixed audio clip, and the method further includes: In response to a touch operation on a publishing control corresponding to the target remix audio segment, the target remix audio segment is published.
16. The method according to claim 15, characterized in that Before publishing the target mixed audio clip, the method further includes: Detecting the recording duration of the target mixed audio segment; When the recording duration of the target mixed audio segment is greater than the preset duration, the step of publishing the target mixed audio segment is performed.
17. The method according to claim 15, characterized in that After publishing the target mixed audio clip, the method further includes: Share the published target mixed audio clip to a third-party application.
18. The method according to claim 14, characterized in that The draft box interface also displays a delete option, which is used to delete the mixed audio clips in the draft box in batches.
19. A mixing processing device for audio files, characterized in that: The device comprises: A display module, configured to display an audio playback interface for an audio file, wherein the audio playback interface includes a mixing and recording control; The display module is configured to display a mixing recording interface for the audio file in response to a touch operation on the mixing recording control, wherein the mixing recording interface displays a recording control and at least one mixing effect control, each mixing effect control is configured to implement a mixing effect, and at least one mixing effect control supports overlapping use; an acquisition module, configured to acquire a current playback position of the audio file in response to a touch operation on the recording control during playback of the audio file; a recording module, configured to record the target audio segment with the playback position as the starting position of the target audio segment; A mixing processing module is configured to, during the recording process of the target audio segment, respond to a selection operation on at least one mixing effect control and, based on the selected mixing effect control, perform mixing processing on the currently recorded target audio segment; and, in response to a touch operation on the recording control again, stop recording the target audio segment and obtain a target mixed audio segment, wherein the selected mixing effect control includes all or part of the at least one mixing effect control.
20. A terminal, characterized in that: The terminal includes a processor and a memory, wherein the memory stores at least one program code, and the at least one program code is loaded and executed by the processor to implement the audio file mixing processing method according to any one of claims 1 to 18.
21. A computer-readable storage medium, characterized in that At least one program code is stored in the storage medium, and the at least one program code is loaded and executed by the processor to implement the audio file mixing processing method according to any one of claims 1 to 18.
Citation Information
Patent Citations
Method and device for generating alarm clock ring and user terminal
CN107248415A
Music play method and device and storage medium
CN108319413A