Music Processing Method, Device, Computer Equipment, Readable Storage Medium

By installing the target audio driver and playback channel on the terminal, the song tone is automatically adjusted to match the user's voice range, the problem of electronic music processing for treble users is solved, simple and efficient music processing is achieved, and the music creation ability of non-professional users is improved.

CN119049436BActive Publication Date: 2025-07-18GUANGZHOU ZIYUN TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411250714.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-06
Publication Date
2025-07-18
Estimated Expiration
2044-09-06

AI Technical Summary

Technical Problem

In the prior art, users who are difficult to control the treble part will find it difficult to achieve ideal singing effects when using electronic music processing, and traditional music processing methods require professional hardware and complex configurations, which increases costs and makes it difficult for non-professional users to master.

Method used

By installing the target audio driver of the music processing client in the terminal, creating a target playback channel, synchronizing the audio data of the audio player to the music processing client, responding to the accompaniment tone adjustment operation, automatically adjusting the tone of the song to match the user's range of the sound, and using the electronic music plug-in to perform sound effects processing.

Benefits of technology

It realizes a simple and efficient music processing method, improves the adaptability between songs and user singing, improves the efficiency and effect of music processing, lowers the technical threshold, and is suitable for music creation for non-professional users.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119049436B_ABST
    Figure CN119049436B_ABST
Patent Text Reader

Abstract

The present application relates to a music processing method, apparatus, computer device, and readable storage medium. The method includes: creating a target playback channel corresponding to a target audio driver on a terminal by installing the target audio driver associated with a music processing client; when setting the audio output channel of an audio player to the target playback channel, synchronizing the audio data of the currently playing song of the audio player to the music processing client through the target playback channel; in response to an accompaniment tone adjustment operation on the music processing client, processing the currently playing song according to a target accompaniment tone corresponding to the accompaniment tone adjustment operation to obtain processed audio; determining a target song key matching the target accompaniment tone, adjusting the key of an electroacoustic plugin connected to the music processing client according to the target song key, and outputting the processed audio through a target output channel of the music processing client. Using this method can effectively improve the efficiency and effect of music processing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and particularly to a music processing method, apparatus, computer device, computer-readable storage medium, and computer program product. Background Art

[0002] With the development of audio technology, sound cards, as the core devices for music production and processing, play an important role in digital music production, live performances, and daily entertainment. Users can make refined adjustments and creative processing to sounds. For example, adding an electro - music effect to vocal processing can modify the flaws in the vocals to make up for minor out - of - tune singing.

[0003] For users who have difficulty controlling the high - pitched part, simply relying on electro - music processing often fails to achieve an ideal singing effect. Usually, it is necessary to adjust the pitch of the accompaniment to suit the user's vocal range. Since each song has its unique tone and scale, the change in the pitch of the accompaniment will change the original music tone and also bring new challenges.

[0004] In related technologies, traditional music processing methods rely on professional hardware sound cards and complex configuration processes. This not only increases the cost of music production but also makes it difficult for non - professional users to master the relevant technologies, exacerbating the difficulty of music processing. Summary of the Invention

[0005] Based on this, in view of the above - mentioned technical problems, it is necessary to provide a music processing method, apparatus, computer device, computer - readable storage medium, and computer program product that can improve the efficiency of music processing.

[0006] In a first aspect, the present application provides a music processing method, which is applied to a terminal. The terminal is installed with a music processing client and an audio player, and includes:

[0007] Create a target playback channel corresponding to the target audio driver on the terminal by installing a target audio driver associated with the music processing client; the target playback channel is communicatively connected to the music processing client;

[0008] When the audio output channel of the audio player is set to the target playback channel, synchronize the audio data of the currently playing song of the audio player to the music processing client through the target playback channel;

[0009] In response to an accompaniment pitch adjustment operation on the music processing client, process the currently playing song according to the target accompaniment pitch corresponding to the accompaniment pitch adjustment operation to obtain processed audio;

[0010] Determine the target song key that matches the target accompaniment pitch. According to the target song key, adjust the key of the electro - music plugin connected to the music processing client, and output the processed audio through the target output channel of the music processing client.

[0011] In one embodiment, the installing the target audio driver associated with the music processing client includes:

[0012] In response to the driver installation operation, perform the installation process of the target audio driver.

[0013] In one embodiment, after the step of creating, on the terminal, a target playback channel corresponding to the target audio driver in the installing the target audio driver associated with the music processing client, the method further includes:

[0014] Set the audio output channel of the audio player to the target playback channel.

[0015] In one embodiment, after the step of setting the audio output channel of the audio player to the target playback channel, the method further includes:

[0016] In response to the output channel selection operation, set the output channel of the music processing client to the target output channel.

[0017] In one embodiment, the method further includes:

[0018] In the music processing client, determine the current accompaniment pitch and the current song key of the currently playing song;

[0019] According to the adjustment value corresponding to the accompaniment pitch adjustment operation and the current accompaniment pitch, determine the target accompaniment pitch;

[0020] The determining the target song key that matches the target accompaniment pitch includes:

[0021] According to the preset pitch conversion information, perform pitch conversion based on the current song key and the target accompaniment pitch to obtain the target song key.

[0022] In one embodiment, the method further includes:

[0023] In response to the electro - music adjustment operation on the music processing client, determine the degree of electro - music processing; the degree of electro - music processing is used to characterize the strength of electro - music processing;

[0024] Based on the degree of electro - music processing, adjust the electro - music sound effect generated by the electro - music plugin connected to the music processing client.

[0025] In a second aspect, the present application further provides a music processing device, which is applied to a terminal. The terminal is installed with a music processing client and an audio player, and includes:

[0026] A driving installation module, configured to create a target playback channel corresponding to the target audio driver on the terminal by installing the target audio driver associated with the music processing client; the target playback channel is communicatively connected to the music processing client;

[0027] A target playback channel synchronization module, configured to synchronize the audio data of the currently playing song of the audio player to the music processing client through the target playback channel when the audio output channel of the audio player is set to the target playback channel;

[0028] An accompaniment adjustment module, configured to, in response to an accompaniment tone adjustment operation on the music processing client, process the currently playing song according to the target accompaniment tone corresponding to the accompaniment tone adjustment operation to obtain processed audio;

[0029] A key adjustment module, configured to determine a target song key matching the target accompaniment tone, adjust the key of the electro - music plugin connected to the music processing client according to the target song key, and output the processed audio through the target output channel of the music processing client.

[0030] In a third aspect, the present application further provides a computer device, including a memory and a processor. The memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0031] Create a target playback channel corresponding to the target audio driver on the terminal by installing the target audio driver associated with the music processing client; the target playback channel is communicatively connected to the music processing client;

[0032] When the audio output channel of the audio player is set to the target playback channel, synchronize the audio data of the currently playing song of the audio player to the music processing client through the target playback channel;

[0033] In response to an accompaniment tone adjustment operation on the music processing client, process the currently playing song according to the target accompaniment tone corresponding to the accompaniment tone adjustment operation to obtain processed audio;

[0034] Determine a target song key matching the target accompaniment tone, adjust the key of the electro - music plugin connected to the music processing client according to the target song key, and output the processed audio through the target output channel of the music processing client.

[0035] In a fourth aspect, the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented:

[0036] Create a target playback channel corresponding to the target audio driver on the terminal by installing a target audio driver associated with the music processing client; the target playback channel is communicatively connected to the music processing client;

[0037] When the audio output channel of the audio player is set to the target playback channel, synchronize the audio data of the currently playing song of the audio player to the music processing client through the target playback channel;

[0038] In response to an accompaniment tone adjustment operation on the music processing client, process the currently playing song according to a target accompaniment tone corresponding to the accompaniment tone adjustment operation to obtain processed audio;

[0039] Determine a target song key matching the target accompaniment tone, adjust the key of the electro-acoustic plug connected to the music processing client according to the target song key, and output the processed audio through a target output channel of the music processing client.

[0040] In a fifth aspect, the present application further provides a computer program product, including a computer program. When the computer program is executed by a processor, the following steps are implemented:

[0041] Create a target playback channel corresponding to the target audio driver on the terminal by installing a target audio driver associated with the music processing client; the target playback channel is communicatively connected to the music processing client;

[0042] When the audio output channel of the audio player is set to the target playback channel, synchronize the audio data of the currently playing song of the audio player to the music processing client through the target playback channel;

[0043] In response to an accompaniment tone adjustment operation on the music processing client, process the currently playing song according to a target accompaniment tone corresponding to the accompaniment tone adjustment operation to obtain processed audio;

[0044] Determine a target song key matching the target accompaniment tone, adjust the key of the electro-acoustic plug connected to the music processing client according to the target song key, and output the processed audio through a target output channel of the music processing client.

[0045] The above music processing method, device, computer device, computer-readable storage medium, and computer program product create a target playback channel corresponding to the target audio driver on the terminal by installing the target audio driver associated with the music processing client. The target playback channel is communicatively connected to the music processing client. When the audio output channel of the audio player is set to the target playback channel, the audio data of the currently playing song of the audio player is synchronized to the music processing client through the target playback channel. Then, in response to the accompaniment tone adjustment operation on the music processing client, the currently playing song is processed according to the target accompaniment tone corresponding to the accompaniment tone adjustment operation to obtain the processed audio. Furthermore, the target song key matching the target accompaniment tone is determined, and the key of the electroacoustic plug-in connected to the music processing client is adjusted according to the target song key, and the processed audio is output through the target output channel of the music processing client, realizing a music processing method with simple and efficient operation, which can automatically adjust the song key based on the adjustment of the accompaniment tone, helps to improve the matching degree between the song and the user's singing, and effectively improves the efficiency and effect of music processing. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the following will briefly introduce the drawings required to be used in the description of the embodiments of the present application or related technologies. Obviously, the following drawings are only some embodiments of the present application. For those of ordinary skill in the art, other related drawings can be obtained based on these drawings without creative efforts.

[0047] Figure 1 It is a schematic flowchart of the music processing method in one embodiment;

[0048] Figure 2 It is a schematic diagram of the terminal operation interface in one embodiment;

[0049] Figure 3a It is a schematic diagram of the configuration interface in one embodiment;

[0050] Figure 3b It is a schematic diagram of the configuration interface in another embodiment;

[0051] Figure 4a It is a schematic diagram of the music processing client interface in one embodiment;

[0052] Figure 4b It is a schematic diagram of the music processing client interface in another embodiment;

[0053] Figure 5 It is a schematic flowchart of the music processing method in another embodiment;

[0054] Figure 6The structural block diagram of a music processing device in an embodiment;

[0055] Figure 7 The internal structure diagram of a computer device in an embodiment. Detailed implementation manners

[0056] In order to make the objectives, technical solutions and advantages of the present application more clear and understandable, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0057] In an exemplary embodiment, as Figure 1 shown, a music processing method is provided. In this embodiment, the method is described by taking its application to a terminal as an example. The terminal may be installed with a music processing client and an audio player. It can be understood that the method may also be applied to a server, or to a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. In this embodiment, the method includes the following steps 101 to 104. Among them:

[0058] Step 101: Create a target playback channel corresponding to the target audio driver on the terminal by installing a target audio driver associated with the music processing client; the target playback channel is communicatively connected to the music processing client.

[0059] As an example, the audio player may be a third-party player installed in the terminal, such as a music player software.

[0060] In practical applications, the music processing client may be a client of a music processing program. The target audio driver may be installed in the system playback device of the terminal through the music processing program. There may also be other ways to install the driver, which are not specifically limited in this embodiment. The target audio driver may be a player-specific driver unique to the music processing program. After installing the target audio driver, the target playback channel corresponding to the target audio driver can be displayed in the system playback device of the terminal.

[0061] Specifically, by installing the target audio driver, a target playback channel corresponding to the target audio driver is created on the terminal. The target playback channel is communicatively connected to the music processing client and can be used to transmit audio data. Then, the music processing program can be used to process the music being played in real time by the audio player, such as adjusting the pitch of the accompaniment, adjusting the strength of the electronic sound, eliminating the human voice, eliminating the accompaniment, etc.

[0062] Step 102, in the case of setting the audio output channel of the audio player to the target playback channel, synchronize the audio data of the currently playing song of the audio player to the music processing client through the target playback channel.

[0063] After creating the target playback channel, by setting the audio output channel of the audio player to this target playback channel, the audio data output by the audio player can be transmitted to the target playback channel. Furthermore, in response to the music playback operation on the audio player, the currently playing song in the audio player can be obtained, and the audio data of the currently playing song can be synchronized to the music processing client through the target playback channel.

[0064] In one example, as Figure 2 shown, by clicking the music playback button in the audio player, the currently playing song can be triggered to play. The music processing client can automatically analyze and identify the song key of the currently playing song, and can display song information such as the song name, song key, and song scale of the currently playing song on the display interface of the music processing client.

[0065] Step 103, in response to the accompaniment tone adjustment operation on the music processing client, process the currently playing song according to the target accompaniment tone corresponding to the accompaniment tone adjustment operation to obtain the processed audio.

[0066] In a specific implementation, as Figure 2 shown, on the display interface of the music processing client, by pulling or sliding the virtual control corresponding to the accompaniment pitch up / down function (i.e., the accompaniment tone adjustment operation), the accompaniment tone of the currently playing song can be triggered to be adjusted, such as raising or lowering the tone of the accompaniment. Furthermore, for the accompaniment tone adjustment operation, the adjusted tone of the accompaniment (i.e., the target accompaniment tone) can be determined, and the currently playing song can be processed according to the adjusted tone of the accompaniment to obtain the processed audio.

[0067] Step 104, determine the target song key that matches the target accompaniment tone, adjust the key of the electro - music plugin connected to the music processing client according to the target song key, and output the processed audio through the target output channel of the music processing client.

[0068] After determining the target accompaniment pitch, the current song key of the currently playing song can be used for pitch conversion with the target accompaniment pitch to obtain the target song key. Then, according to the target song key, the key of the electro - sound plugin connected to the music processing client can be adjusted, and the processed audio can be output through the target output channel of the music processing client. For example, based on the electro - sound plugin loaded by the audio host software, this electro - sound plugin can be used for real - time processing based on the target song key to generate an electro - sound effect that matches the processed audio, realizing the output of a vocal mix with accompaniment, such as outputting to a live - streaming platform or other related audio applications. Thus, by automatically identifying the song key based on the music processing client and automatically adjusting the song key according to the adjustment of the accompaniment pitch, an appropriate electro - sound effect can be accurately adapted for the majority of music lovers to carry out music creation, overcoming the technical threshold, helping to improve the participation of non - professional users in music creation, and efficiently and accurately completing the audio processing work.

[0069] In the above - mentioned music processing method, by installing a target audio driver associated with the music processing client, a target playback channel corresponding to the target audio driver is created on the terminal. When the audio output channel of the audio player is set to the target playback channel, the audio data of the currently playing song of the audio player is synchronized to the music processing client through the target playback channel. Then, in response to the accompaniment pitch adjustment operation on the music processing client, the currently playing song is processed according to the target accompaniment pitch corresponding to the accompaniment pitch adjustment operation to obtain the processed audio. Furthermore, the target song key matching the target accompaniment pitch is determined, and according to the target song key, the key of the electro - sound plugin connected to the music processing client is adjusted, and the processed audio is output through the target output channel of the music processing client. This realizes a music processing method that is simple and efficient to operate, can automatically adjust the song key based on the adjustment of the accompaniment pitch, helps to improve the compatibility between the song and the user's singing, and effectively improves the efficiency and effect of music processing.

[0070] In an exemplary embodiment, the step of installing the target audio driver associated with the music processing client may include the following steps:

[0071] In response to the driver installation operation, perform the installation process of the target audio driver.

[0072] Exemplarily, as Figure 3a shown, it can be triggered by clicking the virtual control for installing the driver (i.e., the driver installation operation) in the configuration interface of the music processing client. There can also be other ways to install the driver, which are not specifically limited in this embodiment. Trigger the execution of the installation process of the target audio driver. Then, after installing the driver, a target playback channel corresponding to the target audio driver can be created on the terminal, such as the player - specific channel corresponding to the player - specific driver unique to the music processing program.

[0073] In this embodiment, by responding to the drive installation operation and performing the installation process of the target audio driver, it provides support for further configuring the target playback channel.

[0074] In an exemplary embodiment, after the step of creating a target playback channel corresponding to the target audio driver on the terminal by installing the target audio driver associated with the music processing client, the following steps may further be included:

[0075] Set the audio output channel of the audio player to the target playback channel.

[0076] In practical applications, as Figure 3b shown, after installing the target audio driver, the channel identifier of the target playback channel can be selected in the configuration interface of the audio player (such as the audio output channel selection operation). For example, the corresponding channel name can be selected, or the playback channel can be switched internally in the audio player to set the audio output channel of the audio player to the target playback channel. Furthermore, after setting the audio output channel of the audio player, the audio data output by the audio player can be transmitted to the target playback channel. For example, the audio played by the audio player will be transmitted to the target playback channel.

[0077] In this embodiment, by setting the audio output channel of the audio player to the target playback channel, the played songs of the audio player can be transmitted to the music processing client for further processing.

[0078] In an exemplary embodiment, after the step of setting the audio output channel of the audio player to the target playback channel, the following steps may further be included:

[0079] In response to the output channel selection operation, set the output channel of the music processing client to the target output channel.

[0080] In specific implementation, as Figure 3a shown, after setting the audio output channel of the audio player to the target playback channel, the channel identifier of the target output channel can be selected in the configuration interface of the music processing client (i.e., the output channel selection operation). For example, by selecting the corresponding channel name, the output channel of the music processing client can be set to the target output channel.

[0081] In one example, data can be transmitted between the target playback channel and the music processing client. The music processing client can obtain the played songs of the audio player for processing and can output them through the target output channel after the processing is completed. Thus, it can flexibly adjust the accompaniment pitch and output the processed audio without complex operations, improving the music processing efficiency.

[0082] In an exemplary embodiment, the following steps may further be included:

[0083] In the music processing client, determine the current accompaniment pitch and the current song key of the currently playing song; according to the adjustment value corresponding to the accompaniment pitch adjustment operation and the current accompaniment pitch, determine the target accompaniment pitch;

[0084] The determining of the target song key that matches the target accompaniment pitch includes:

[0085] According to the preset pitch conversion information, perform pitch conversion based on the current song key and the target accompaniment pitch to obtain the target song key.

[0086] Optionally, the music processing client can automatically analyze and identify the song key of the currently playing song, such as obtaining it through the server database or analyzing it by real-time recording, to obtain the original song key (such as the key A shown in Figure 4a ) and the original accompaniment pitch (i.e., the current accompaniment pitch) of the currently playing song, and then can adjust the key of the electroacoustic plug connected to the music processing client, such as the key parameter set in the electroacoustic plug in the music production software, to ensure that the key output by the electroacoustic plug is consistent with the song key, achieve timely high-pitch correction, and ensure the singing quality.

[0087] In one example, when adjusting the pitch of the accompaniment up or down, as shown in Figure 4a , if it is necessary to lower the pitch by three keys, the virtual control corresponding to the accompaniment pitch up / down function can be pulled or slid to the left. The -3 shown in Figure 4a means that the pitch has been lowered by three keys. Then, according to the adjustment value corresponding to the accompaniment pitch adjustment operation (such as -3 shown in Figure 4a ) and the original accompaniment pitch (i.e., the current accompaniment pitch), the target accompaniment pitch (such as the original accompaniment pitch lowered by three keys) can be determined.

[0088] In another example, by adjusting the pitch of the accompaniment up or down through the music processing client, the accompaniment pitch of the currently playing song can be lowered or raised. Since the accompaniment pitch has changed, the original key of the initially matched electroacoustic plug (such as the key A shown in Figure 4a ) is no longer applicable. In order to make the adjusted accompaniment pitch match the singer's pitch, accurate pitch conversion is required; in the twelve-tone equal temperament system of music, each semitone is evenly distributed. A pitch conversion table (i.e., the preset pitch conversion information) can be used to perform pitch conversion based on the current song key and the target accompaniment pitch to obtain the target song key that matches the target accompaniment pitch (such as the key F# shown in Figure 4a ). Thus, automatic conversion between pitch and key is achieved.

[0089] For example, if the original key of a song is C, lowering the key by one semitone is -1 semitone, and the key of the song after pitch conversion is B; lowering the key by two semitones is -2 semitones, and the key of the song after conversion is Bb; lowering the key by three semitones is -3 semitones, and the key of the song after conversion is A; lowering the key by four semitones is -4 semitones, and the key of the song after conversion is Ab; lowering the key by five semitones is -5 semitones, and the key of the song after conversion is G; lowering the key by six semitones is -6 semitones, and the key of the song after conversion is F#. If the original key of a song is C, raising the key by one semitone is +1 semitone, and the key of the song after conversion is Db; raising the key by two semitones is +2 semitones, and the key of the song after conversion is D; raising the key by three semitones is +3 semitones, and the key of the song after conversion is Eb; raising the key by four semitones is +4 semitones, and the key of the song after conversion is E; raising the key by five semitones is +5 semitones, and the key of the song after conversion is F; raising the key by six semitones is +6 semitones, and the key of the song after conversion is F#.

[0090] In an exemplary embodiment, the following steps may further be included:

[0091] In response to an electro - music adjustment operation on the music processing client, determine the degree of electro - music processing; the degree of electro - music processing is used to characterize the strength of electro - music processing; based on the degree of electro - music processing, adjust the electro - music sound effects generated by the electro - music plug - in connected to the music processing client.

[0092] In practical applications, the music processing client can be connected to an electro - music plug - in loaded by an audio host software and used as an effector during singing. The electro - music plug - in can match electro - music while processing music. By automatically adjusting the accompaniment pitch and matching electro - music integrally, it is possible to correct deficiencies in singing skills based on electro - music and, in combination with the pitch - raising and lowering processing of the accompaniment, make the processed music suitable for the user's singing.

[0093] For example, as Figure 4a shown, through the music processing client, the strength of electro - music can be adjusted, and then based on the adjusted strength of electro - music, the electro - music sound effects generated by the electro - music plug - in connected to the music processing client can be adjusted.

[0094] In an alternative embodiment, as Figure 4b shown, the music processing client can also have functions such as vocal elimination and accompaniment elimination. By pulling or sliding the virtual control corresponding to the elimination function, the accompaniment in the played song can be eliminated, or the vocals in the played song can be eliminated.

[0095] In this embodiment, by responding to the electro - music adjustment operation on the music processing client, determining the degree of electro - music processing, and then based on the degree of electro - music processing, adjusting the electro - music sound effects generated by the electro - music plug - in connected to the music processing client, the electro - music sound effects can be flexibly adjusted, effectively improving the music processing effect.

[0096] In an exemplary embodiment, as Figure 5As shown in the figure, a flowchart of another music processing method is provided. In this embodiment, the method includes the following steps:

[0097] In step 501, in response to a driver installation operation, perform installation processing on a target audio driver and create a target playback channel corresponding to the target audio driver on the terminal. In step 502, set the audio output channel of the audio player to the target playback channel. In step 503, in response to an output channel selection operation, set the output channel of the music processing client to the target output channel. In step 504, synchronize the audio data of the currently playing song of the audio player to the music processing client through the target playback channel. In step 505, in response to an accompaniment tone adjustment operation on the music processing client, process the currently playing song according to the target accompaniment tone corresponding to the accompaniment tone adjustment operation to obtain processed audio. In step 506, perform tone conversion according to the preset tone conversion information based on the current song key and the target accompaniment tone to obtain the target song key. In step 507, adjust the key of the electroacoustic plugin connected to the music processing client according to the target song key, and output the processed audio through the target output channel of the music processing client. It should be noted that the specific limitations of the above steps can be referred to the specific limitations of a music processing method described above, and will not be elaborated here.

[0098] It should be understood that although the steps in the flowcharts of the above-described embodiments are sequentially shown according to the indications of the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise clearly stated in this article, the execution of these steps has no strict order limit, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts of the above-described embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be executed alternately or alternately with at least a part of other steps or steps in other steps.

[0099] Based on the same inventive concept, an embodiment of the present application also provides a music processing device for implementing the above-mentioned music processing method. The solution provided by the device to solve the problem is similar to the solution described in the above method. Therefore, the specific limitations in one or more embodiments of the music processing device provided below can be referred to the limitations of the music processing method described above, and will not be elaborated here.

[0100] In an exemplary embodiment, as Figure 6 shown, a music processing device is provided, which is applied to a terminal. The terminal is installed with a music processing client and an audio player, and includes:

[0101] A drive installation module 601, configured to create a target playback channel corresponding to the target audio driver on the terminal by installing the target audio driver associated with the music processing client; the target playback channel is communicatively connected to the music processing client;

[0102] A target playback channel synchronization module 602, configured to synchronize the audio data of the currently played song of the audio player to the music processing client through the target playback channel when the audio output channel of the audio player is set to the target playback channel;

[0103] An accompaniment adjustment module 603, configured to process the currently played song according to a target accompaniment tone corresponding to the accompaniment tone adjustment operation in response to an accompaniment tone adjustment operation on the music processing client to obtain processed audio;

[0104] A key adjustment module 604, configured to determine a target song key matching the target accompaniment tone, adjust the key of the electro - music plugin connected to the music processing client according to the target song key, and output the processed audio through a target output channel of the music processing client.

[0105] In one embodiment, the drive installation module 601 includes:

[0106] A drive installation sub - module, configured to perform an installation process on the target audio driver in response to a drive installation operation.

[0107] In one embodiment, the device further includes:

[0108] A target playback channel setting module, configured to set the audio output channel of the audio player to the target playback channel.

[0109] In one embodiment, the device further includes:

[0110] A target output channel setting module, configured to set the output channel of the music processing client to the target output channel in response to an output channel selection operation.

[0111] In one embodiment, the device further includes:

[0112] A current accompaniment tone determination module, configured to determine the current accompaniment tone and the current song key of the currently played song in the music processing client;

[0113] A target accompaniment tone obtaining module, configured to determine the target accompaniment tone according to an adjustment value corresponding to the accompaniment tone adjustment operation and the current accompaniment tone;

[0114] The accompaniment adjustment module 603 includes:

[0115] A target song key determination sub-module, configured to perform pitch conversion according to a preset pitch conversion information, based on the current song key and the target accompaniment pitch, to obtain the target song key.

[0116] In one embodiment, the apparatus further includes:

[0117] An electronic music processing degree determination module, configured to determine the electronic music processing degree in response to an electronic music adjustment operation on the music processing client; the electronic music processing degree is used to characterize the strength of the electronic music processing;

[0118] An electronic music playback sub-module, configured to adjust the electronic music sound effects generated by the electronic music plug-in connected to the music processing client based on the electronic music processing degree.

[0119] Each module in the above music processing apparatus can be implemented in whole or in part by software, hardware, and their combination. The above modules can be embedded in the processor of the computer device in hardware form or be independent of it, or can be stored in the memory of the computer device in software form, so as to facilitate the processor to call and execute the operations corresponding to the above respective modules.

[0120] In an exemplary embodiment, a computer device is provided. The computer device can be a terminal, and its internal structure diagram can be as Figure 7As shown in the figure. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit, and an input device. Among them, the processor, the memory, and the input / output interface are connected through a system bus, and the communication interface, the display unit, and the input device are connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and external devices. The communication interface of the computer device is used to communicate with external terminals in a wired or wireless manner, and the wireless manner can be achieved through WIFI, a mobile cellular network, near field communication (NFC), or other technologies. When the computer program is executed by the processor, it implements a music processing method. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device can be a touch layer covering the display screen, or a button, a trackball, or a touchpad provided on the computer device housing, or an external keyboard, touchpad, or mouse, etc.

[0121] Those skilled in the art can understand that Figure 7 the structure shown in the figure is only a block diagram of some structures related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine some components, or have different component arrangements.

[0122] In an exemplary embodiment, a computer device is provided, including a memory and a processor. A computer program is stored in the memory. When the processor executes the computer program, the following steps are implemented:

[0123] Create a target playback channel corresponding to the target audio driver on the terminal by installing a target audio driver associated with the music processing client; the target playback channel is communicatively connected to the music processing client;

[0124] When the audio output channel of the audio player is set to the target playback channel, synchronize the audio data of the currently playing song of the audio player to the music processing client through the target playback channel;

[0125] In response to an accompaniment tone adjustment operation on the music processing client, process the currently playing song according to the target accompaniment tone corresponding to the accompaniment tone adjustment operation to obtain processed audio;

[0126] Determine a target song key that matches the target accompaniment tone, adjust the key of the electro - music plugin connected to the music processing client according to the target song key, and output the processed audio through the target output channel of the music processing client.

[0127] In one embodiment, when the processor executes the computer program, it also implements the steps of the music processing method in the above - mentioned other embodiments.

[0128] In one embodiment, a computer - readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented:

[0129] Create a target playback channel corresponding to the target audio driver on the terminal by installing the target audio driver associated with the music processing client; the target playback channel is communicatively connected to the music processing client;

[0130] In the case where the audio output channel of the audio player is set to the target playback channel, synchronize the audio data of the currently playing song of the audio player to the music processing client through the target playback channel;

[0131] In response to an accompaniment tone adjustment operation on the music processing client, process the currently playing song according to the target accompaniment tone corresponding to the accompaniment tone adjustment operation to obtain processed audio;

[0132] Determine a target song key that matches the target accompaniment tone, adjust the key of the electro - music plugin connected to the music processing client according to the target song key, and output the processed audio through the target output channel of the music processing client.

[0133] In one embodiment, when the computer program is executed by a processor, it also implements the steps of the music processing method in the above - mentioned other embodiments.

[0134] In one embodiment, a computer program product is provided, including a computer program. When the computer program is executed by a processor, the following steps are implemented:

[0135] Create a target playback channel corresponding to the target audio driver on the terminal by installing the target audio driver associated with the music processing client; the target playback channel is communicatively connected to the music processing client;

[0136] When the audio output channel of the audio player is set to the target playback channel, synchronize the audio data of the currently playing song of the audio player to the music processing client through the target playback channel;

[0137] In response to an accompaniment tone adjustment operation on the music processing client, process the currently playing song according to the target accompaniment tone corresponding to the accompaniment tone adjustment operation to obtain processed audio;

[0138] Determine the target song key matching the target accompaniment tone, adjust the key of the electro - music plugin connected to the music processing client according to the target song key, and output the processed audio through the target output channel of the music processing client.

[0139] In one embodiment, when the computer program is executed by a processor, it also implements the steps of the music processing method in the above - mentioned other embodiments.

[0140] It should be noted that the collection, use, and processing of relevant data involved in this application need to comply with relevant regulations.

[0141] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, database, or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The databases involved in the embodiments provided in the present application can include at least one of relational databases and non-relational databases. Non-relational databases can include distributed databases based on blockchain, etc., without limitation. The processors involved in the embodiments provided in the present application can be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, data processing logics based on quantum computing, artificial intelligence (AI) processors, etc., without limitation.

[0142] The technical features of the above embodiments can be combined arbitrarily. For the sake of concise description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered to be within the scope recorded in the present application.

[0143] The above-described embodiments merely represent several implementation manners of the present application. The description thereof is relatively specific and detailed, but it should not be construed as a limitation on the patent scope of the present application. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present application, several modifications and improvements can still be made, and these all fall within the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.

Claims

1. A music processing method, characterized in that, Applied to a terminal, the terminal is installed with a music processing client and an audio player, and the method includes: By installing a target audio driver associated with the music processing client, create a target playback channel corresponding to the target audio driver on the terminal; the target playback channel is communicatively connected to the music processing client, and the target playback channel supports the music processing program to which the music processing client belongs to process the music being played in real time in the audio player; Set the audio output channel of the audio player to the target playback channel; In response to an output channel selection operation, set the output channel of the music processing client to the target output channel; Synchronize the audio data of the currently playing song of the audio player to the music processing client through the target playback channel; In response to an accompaniment tone adjustment operation on the music processing client, process the currently playing song according to the target accompaniment tone corresponding to the accompaniment tone adjustment operation to obtain processed audio; Determine a target song key matching the target accompaniment tone, adjust the key of the electroacoustic plug connected to the music processing client according to the target song key, and output the processed audio through the target output channel of the music processing client; Wherein, the method further includes: In the music processing client, determine the current accompaniment tone and the current song key of the currently playing song; Determine the target accompaniment tone according to the adjustment value corresponding to the accompaniment tone adjustment operation and the current accompaniment tone; The determining the target song key matching the target accompaniment tone includes: According to preset tone conversion information, perform tone conversion according to the current song key and the target accompaniment tone to obtain the target song key.

2. The method according to claim 1, wherein The installing the target audio driver associated with the music processing client includes: In response to a driver installation operation, perform an installation process on the target audio driver.

3. The method according to claim 1 or 2, characterized in that, The method further includes: In response to an electroacoustic adjustment operation on the music processing client, determine the degree of electroacoustic processing; the degree of electroacoustic processing is used to characterize the strength of electroacoustic processing; Based on the degree of electroacoustic processing, adjust the electroacoustic effect generated by the electroacoustic plug connected to the music processing client.

4. A music processing device, characterized in that, Applied to a terminal, the terminal is installed with a music processing client and an audio player, and the device includes: A driver installation module, configured to create a target playback channel corresponding to the target audio driver on the terminal by installing a target audio driver associated with the music processing client; the target playback channel is communicatively connected to the music processing client, and the target playback channel supports the music processing program to which the music processing client belongs to process the music being played in real time in the audio player; A target playback channel setting module, configured to set the audio output channel of the audio player to the target playback channel; A target output channel setting module, configured to set the output channel of the music processing client to the target output channel in response to an output channel selection operation; A target playback channel synchronization module, configured to synchronize the audio data of the currently played song of the audio player to the music processing client through the target playback channel; An accompaniment adjustment module, configured to, in response to an accompaniment tone adjustment operation on the music processing client, process the currently played song according to a target accompaniment tone corresponding to the accompaniment tone adjustment operation to obtain processed audio; A keynote adjustment module, configured to determine a target song keynote matching the target accompaniment tone, adjust the keynote of the electroacoustic plug-in connected to the music processing client according to the target song keynote, and output the processed audio through a target output channel of the music processing client; Wherein, the device further includes: A current accompaniment tone determination module, configured to determine a current accompaniment tone and a current song keynote of the currently played song in the music processing client; A target accompaniment tone obtaining module, configured to determine the target accompaniment tone according to an adjustment value corresponding to the accompaniment tone adjustment operation and the current accompaniment tone; The accompaniment adjustment module includes: A target song keynote determination sub-module, configured to perform tone conversion according to the current song keynote and the target accompaniment tone according to preset tone conversion information to obtain the target song keynote.

5. A computer device, comprising a memory and a processor, the memory storing a computer program, characterized in that, When the processor executes the computer program, the steps of the method according to any one of claims 1 to 3 are implemented.

6. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, the steps of the method according to any one of claims 1 to 3 are implemented.

7. A computer program product comprising a computer program, characterized in that, When the computer program is executed by the processor, the steps of the method according to any one of claims 1 to 3 are implemented.

Citation Information

Patent Citations

  • Electric tone pitch control method and device, computer equipment and storage medium

    CN116312430A