CN111506765A - Method and device for controlling music playing rhythm, electronic equipment and storage medium - Google Patents

Method and device for controlling music playing rhythm, electronic equipment and storage medium Download PDF

Info

Publication number
CN111506765A
CN111506765A CN202010260995.0A CN202010260995A CN111506765A CN 111506765 A CN111506765 A CN 111506765A CN 202010260995 A CN202010260995 A CN 202010260995A CN 111506765 A CN111506765 A CN 111506765A
Authority
CN
China
Prior art keywords
music
playing
adjustment
determining
rhythm
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010260995.0A
Other languages
Chinese (zh)
Other versions
CN111506765B (en
Inventor
周江
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
MIGU Music Co Ltd
MIGU Culture Technology Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
MIGU Music Co Ltd
MIGU Culture Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, MIGU Music Co Ltd, MIGU Culture Technology Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202010260995.0A priority Critical patent/CN111506765B/en
Publication of CN111506765A publication Critical patent/CN111506765A/en
Application granted granted Critical
Publication of CN111506765B publication Critical patent/CN111506765B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/60Information retrieval; Database structures therefor; File system structures therefor of audio data
    • G06F16/63Querying
    • G06F16/638Presentation of query results
    • G06F16/639Presentation of query results using playlists
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/60Information retrieval; Database structures therefor; File system structures therefor of audio data
    • G06F16/68Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/683Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Library & Information Science (AREA)
  • Electrophonic Musical Instruments (AREA)

Abstract

The embodiment of the invention provides a method, a device, electronic equipment and a storage medium for controlling the playing rhythm of music; the method comprises the following steps: determining the duration of a single music beat; determining an adjusting mode of the playing rhythm of the music; determining an adjustment object in the music; and adjusting the playing rhythm of the adjusted object according to the single music beat time length and the adjusting mode. According to the method, the device, the electronic equipment and the storage medium for controlling the playing rhythm of the music, provided by the embodiment of the invention, the playing rhythm of the music can be accurately controlled by setting the three elements of the single-beat time length, the adjusting mode and the adjusting object of the music, so that the audience is no longer a passive listener of the music, and the interactivity between the audience and the music is enhanced.

Description

Method and device for controlling music playing rhythm, electronic equipment and storage medium
Technical Field
The present invention relates to the field of audio technologies, and in particular, to a method and an apparatus for controlling a rhythm of playing music, an electronic device, and a storage medium.
Background
Music is an art which expresses the thought emotion of people and reflects the emotion of real life of human beings by organized music. Music is closely related to the life of people and is an indispensable part of the daily life of people.
With the development of technology, music playing devices have changed in a world-wide manner. Music playing software (music APP) installed on smart mobile devices (e.g., mobile phones, tablet computers) is currently the most popular.
The current music playing software has more and more abundant functions. Taking the music playing field as an example, some music playing software provides various music styles such as 'pop', 'jazz', 'rock' and the like for a user to select, and the user can select the favorite style according to the favorite style so that the music APP plays music according to the music style selected by the user, thereby bringing better experience of listening to songs for the user. However, the requirement of the user for music is not limited to the selection of the music style, and the user wants to have more options in the aspect of music playing. For example, control of the rhythm of the music play.
In the prior art, the control method for the playing rhythm of the music is very limited. It is common to change the rhythm of music by adjusting the playing speed, such as the fast forward key of the early cassette tape recorder or the adjustment of the playing speed in the existing music playing software. The music playing rhythm control method is quite rough, a user can only adjust the playing speed of the whole or a section of music in an estimation mode, the adjusted playing speed is usually fixed one or more, and the user cannot perform further accurate control.
Disclosure of Invention
The embodiment of the invention provides a method and a device for controlling the playing rhythm of music, electronic equipment and a storage medium, which are used for solving the defect of insufficient control precision of the playing rhythm of the music in the prior art.
The embodiment of the first aspect of the present invention provides a method for controlling the playing rhythm of a music piece, including:
determining the duration of a single music beat;
determining an adjusting mode of the playing rhythm of the music;
determining an adjustment object in the music;
adjusting the playing rhythm of the adjustment object according to the single music beat time length and the adjustment mode; wherein the content of the first and second substances,
the adjusting mode reflects the range of the content of the music piece needing to adjust the playing rhythm; the adjustment object reflects the content of the music piece needing to adjust the playing rhythm.
In the above technical solution, the determining the duration of a single beat of music comprises:
acquiring the interval duration between two specified operations of a user;
the acquired interval time length is taken as a music piece single beat time length.
In the above technical solution, the specified operation is an operation of a finger on a screen of the mobile terminal.
In the above technical solution, the determining an adjustment mode of the playing rhythm of the music comprises:
selecting a part or all of the music content as a selection result;
and determining a corresponding adjusting mode according to the selection result.
In the above technical solution, the determining an adjustment mode of the playing rhythm of the music comprises:
the adjustment mode of the music is determined by selecting a plurality of preset adjustment modes.
In the above technical solution, the adjusting mode includes: single word adjustment, single sentence adjustment and whole head adjustment; wherein the content of the first and second substances,
the single word regulation is used for regulating the playing rhythm of a single music basic unit in the music, the single sentence regulation is used for regulating the playing rhythm of a plurality of continuous music basic units in the music, and the whole first regulation is used for regulating the playing rhythm of the whole music.
In the above technical solution, the determining an adjustment object in a musical composition includes:
selecting a part or all of the music content as a selection result;
and determining an adjusting object according to the selection result.
In the above technical solution, the determining an adjustment object in a musical composition includes:
and determining an adjustment object according to the playing progress of the music and the adjustment mode.
In a second embodiment of the present invention, there is provided an apparatus for controlling the rhythm of playing music, including:
the music single-beat time length determining module is used for determining the music single-beat time length;
the adjusting mode determining module is used for determining the adjusting mode of the playing rhythm of the music;
an adjustment object determination module for determining an adjustment object in the music piece;
the playing rhythm adjusting module is used for adjusting the playing rhythm of the adjusting object according to the single-beat duration of the music and the adjusting mode; wherein the content of the first and second substances,
the adjusting mode reflects the range of the content of the music piece needing to adjust the playing rhythm; the adjustment object reflects the content of the music piece needing to adjust the playing rhythm.
In a third aspect, the present invention provides an electronic device, which includes a memory, a processor and a computer program stored in the memory and executable on the processor, and the processor executes the computer program to implement the steps of the method for controlling the rhythm of music playing according to the first aspect of the present invention.
A fourth aspect embodiment of the present invention provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the method of controlling a tempo of a playing of a piece of music as described in the first aspect embodiment of the present invention.
According to the method, the device, the electronic equipment and the storage medium for controlling the playing rhythm of the music, provided by the embodiment of the invention, the playing rhythm of the music can be accurately controlled by setting the three elements of the single-beat time length, the adjusting mode and the adjusting object of the music, so that the audience is no longer a passive listener of the music, and the interactivity between the audience and the music is enhanced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
Fig. 1 is a flowchart of a method for controlling the playing rhythm of music according to an embodiment of the present invention;
fig. 2 is a schematic diagram of an apparatus for controlling the rhythm of music playing according to an embodiment of the present invention;
fig. 3 is a flowchart of a method for controlling the rhythm of music playing according to an embodiment of the present invention, implemented in a specific example;
fig. 4 illustrates a physical structure diagram of an electronic device.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a flowchart of a method for controlling a rhythm of music playing according to an embodiment of the present invention, and as shown in fig. 1, the method for controlling a rhythm of music playing according to an embodiment of the present invention includes:
step 101, determining the duration of a single beat of music.
The single beat time period of the music piece is related to the tempo, for example, if the tempo is 120 beats per minute, the single beat time period is 60/120-0.5 seconds, and if the tempo is 80 beats per minute, the single beat time period is 60/80-0.75 seconds. Therefore, the duration of a single beat of a music piece is not fixed between different music pieces or even within the same music piece. However, no matter how long the single beat of the music is, once the music is created, the time of one beat in the music in the normal playing can be regarded as fixed and will not change greatly due to the difference of the deductiors.
In the embodiment of the invention, when the rhythm of music playing is adjusted, the number of beats in the music is not changed, and the aim of adjusting the rhythm of music playing is achieved by changing the duration of a single beat, so that the duration of the single beat of the music needs to be determined in the step. For example, assume that in a song of "love me china", an "love" word in the lyric of "love me china" is a beat during normal playing, and after the playing rhythm is adjusted, the "love" word is still a beat, but the duration of the beat changes. If the character "love" is played normally, the time length of the beat corresponding to the character "love" is 0.75 second, and the time length of the beat is changed into 1 second after adjustment. It will be appreciated by those skilled in the art that the adjusted duration of a single beat of music may be longer than the normal duration of a single beat of music, or may be shorter than the normal duration of a single beat of music.
The adjusted duration of the single beat of the music can be obtained through the operation of a user. The type of the user operation can be in various forms, for example, if the intelligent mobile terminal is used as a music playing device, the interval duration between two times of continuous clicking of a certain specified area on the screen of the intelligent mobile terminal by the user can be used as the adjusted duration of a single beat of music. For another example, the music playing software running on the intelligent mobile terminal provides an interactive interface, and the user can set the adjusted music piece beat time length in a mode of inputting a time length value on the interactive interface. For another example, the body movement condition of the user is collected through a sensor, and the adjusted music single-beat time length is set according to the collected pace, leg shaking frequency and the like.
And 102, determining an adjusting mode of the playing rhythm of the music.
The adjustment mode determines within what range the tempo of the music piece playing is adjusted. In an embodiment of the present invention, the adjusting mode includes: single word adjustment, single sentence adjustment and whole word adjustment. The word adjustment is used for adjusting the playing rhythm of a single music basic unit in the music. The single sentence adjustment is used to adjust the playback tempo of a plurality of consecutive musical piece basic units in the musical piece. The whole tune adjustment is used for adjusting the playing rhythm of the whole music.
Taking a common music piece with lyrics as an example, the single word regulation means that the playing rhythm is regulated for one word (the word described in the embodiment of the invention is not limited to the Chinese word, and can also be a word in a foreign language) in the lyrics of the music piece; the single sentence adjustment means that the playing rhythm is adjusted for a sentence in the lyrics of the music; the whole first adjustment means that the playing rhythm is adjusted for the lyrics of the whole music. It will be appreciated by those skilled in the art that in other embodiments of the invention, there may be other types of adjustment modes for the lyrics bearing music, such as single-segment adjustments, multi-segment adjustments, etc.
It will also be understood by those skilled in the art that not all music pieces will have corresponding lyrics, and for music pieces with only a tune and no lyrics, the single word adjusted adjustment mode is to adjust the playing tempo for a single note in the tune, the single sentence adjusted adjustment mode is to adjust the playing tempo for a plurality of associated notes in the tune, and the whole tune is to adjust the playing tempo for the whole tune.
The adjustment mode may be obtained by user operation. The type of user action may take many forms. If the music playing software running on the intelligent mobile terminal provides an interactive interface, a user can select a specific adjusting mode in a mode of clicking a corresponding key on the interactive interface.
If the music playing software running on the intelligent mobile terminal displays the lyrics, the user selects one word or one sentence or all the lyrics in the lyrics through the sliding operation on the screen, and the corresponding adjusting mode can be obtained according to the selection result. For example, if a user selects a word in the lyrics, it means that the user selects an adjustment mode of "single word adjustment", if the user selects a sentence in the lyrics, it means that the user selects an adjustment mode of "single sentence adjustment", and if the user selects all the lyrics in a song, it means that the user selects an adjustment mode of "entire adjustment". It will be appreciated by those skilled in the art that for a musical composition having only a tune and no lyrics, the user may obtain a corresponding mode of adjustment by selecting notes in the tune.
Step 103, determining an adjustment object in the music.
The adjustment object decides which contents in the music piece need to be adjusted in the playing rhythm.
In the previous step, the adjustment mode is determined, and in this step, the adjustment target needs to be determined in combination with the adjustment mode. For example, in the previous step, the user determines that the adjustment mode is "word adjustment", and it is not clear which content in the music piece is adjusted in the playback tempo after determining the adjustment mode, so it is necessary to determine the adjustment target in this step.
The adjustment object can be acquired by user operation. For example, in the example described earlier where the user selects one word or one sentence or all of the lyrics by the sliding operation on the screen, it is described how the adjustment mode is obtained according to the selection result generated by the user sliding operation. In fact, the sliding operation of the user also completes the selection of the adjustment object. If the user selects one word in the lyrics, the user selects the word as an adjustment object, if the user selects one sentence in the lyrics, the user selects the sentence as the adjustment object, and if the user selects all the lyrics of one song, the user selects the whole song as the adjustment object. In practical applications, the method is not limited to the above description, and the adjustment may be performed according to actual needs, for example, the adjustment object may be obtained by a way that a user marks the head and the tail of the selected lyric. It will be appreciated by those skilled in the art that one or more notes can also be obtained as an object of adjustment by manipulation of the notes in the musical composition.
The adjustment object can also be automatically generated by combining the information of the adjustment mode. For example, in the playing process of a music piece, after a user selects a specific adjustment mode by clicking a corresponding key on an interactive interface provided by music playing software running on the intelligent mobile terminal, the adjustment mode is combined with the current playing progress to determine an adjustment object. If the user selects the adjustment mode of 'single character adjustment', the next character in the lyrics to be played immediately can be used as an adjustment object; if the user selects the adjusting mode of 'single word adjustment', the sentence where the lyric played currently is located can be used as the adjusting object; if the user selects the adjustment mode of 'whole adjustment', the whole song where the lyrics played currently are can be used as the adjustment object. In practical application, the words in the lyrics played currently are used as the adjustment objects, which are not limited to the above description, and can be adjusted according to the actual needs, for example, after the user selects the adjustment mode of "single word adjustment". It will be appreciated by those skilled in the art that combining the adjustment mode with the current playing progress, one or more notes in the composition may also be the object of adjustment.
And step 104, adjusting the playing rhythm of the adjustment object according to the single-beat duration of the music and the adjustment mode.
After the music single beat time length, the adjustment mode and the adjustment object are determined, the adjustment object can be played by the adjusted music single beat time length according to the adjustment mode.
The method for controlling the playing rhythm of the music can accurately control the playing rhythm of the music by setting the three elements of the single-beat time length of the music, the adjusting mode and the adjusting object, so that the audience is not a passive listener of the music any more, and the interactivity between the audience and the music is enhanced.
Based on any of the above embodiments, fig. 2 is a schematic diagram of an apparatus for controlling a rhythm of music playing according to an embodiment of the present invention, and as shown in fig. 2, the apparatus for controlling a rhythm of music playing according to an embodiment of the present invention includes:
and a music single-beat time length determining module 201, configured to determine a music single-beat time length.
The duration of a single beat of a music piece can be determined by user operation. The type of the user operation can be in various forms, for example, if the intelligent mobile terminal is used as a music playing device, the interval duration between two times of continuous clicking of a certain specified area on the screen of the intelligent mobile terminal by the user can be used as the adjusted duration of a single beat of music. For another example, the music playing software running on the intelligent mobile terminal provides an interactive interface, and the user can set the adjusted music piece beat time length in a mode of inputting a time length value on the interactive interface. For another example, the body movement condition of the user is collected through a sensor, and the adjusted music single-beat time length is set according to the collected pace, leg shaking frequency and the like.
And an adjusting mode determining module 202, configured to determine an adjusting mode of the playing rhythm of the music.
The adjustment mode determines within what range the tempo of the music piece playing is adjusted. In an embodiment of the present invention, the adjusting mode includes: single word adjustment, single sentence adjustment and whole word adjustment. In other embodiments of the present invention, there may be other types of adjustment modes, such as single-stage adjustment, multi-stage adjustment, etc.
The adjustment mode may be obtained by user operation. The type of user action may take many forms. If the music playing software running on the intelligent mobile terminal provides an interactive interface, a user can select a specific adjusting mode in a mode of clicking a corresponding key on the interactive interface. If the music playing software running on the intelligent mobile terminal displays the lyrics, the user selects one word or one sentence or all the lyrics in the lyrics through the sliding operation on the screen, and the corresponding adjusting mode can be obtained according to the selection result.
And an adjustment object determining module 203 for determining an adjustment object in the music piece.
The adjustment object decides which contents in the music piece need to be adjusted in the playing rhythm.
The adjustment object can be obtained through user operation, and can also be automatically generated by combining with the information of the adjustment mode.
A playing rhythm adjusting module 204, configured to adjust the playing rhythm of the adjustment object according to the single-beat duration of the music and the adjustment mode; wherein the content of the first and second substances,
the adjusting mode reflects the range of the content of the music piece needing to adjust the playing rhythm; the adjustment object reflects the content of the music piece needing to adjust the playing rhythm.
The device for controlling the playing rhythm of the music can accurately control the playing rhythm of the music by setting the three elements of the single-beat time length of the music, the adjusting mode and the adjusting object, so that the audience is not a passive listener of the music any more, and the interactivity between the audience and the music is enhanced.
For ease of understanding, the method for controlling the rhythm of music playing provided by the embodiment of the present invention is further described below with reference to a specific example.
Fig. 3 is a flowchart of a method for controlling a rhythm of a music play implemented in an embodiment of the present invention, as shown in fig. 3, the method includes:
step 301, in the process of playing music by using the music APP, a user specifically operates a music adjusting instruction, so that the music APP invokes a music adjusting interface in response to the adjusting instruction.
In the process that a user listens to songs by using a music APP, the user can trigger the music APP to call a music adjusting interface in the following two ways:
in the mode 1, a user can click a specific key on a music APP playing interface to trigger a music adjusting instruction, and then the music APP responds to the music adjusting instruction to call the music adjusting interface.
For example, a music playing interface of a music APP is provided with a virtual key "rhythm adjustment", and when a user clicks the virtual key, the music APP switches the music playing interface to a "music adjustment interface". The music adjusting interface is provided with a rhythm collecting area, clicking operation on the area cannot trigger corresponding music control instructions (such as song cutting, pause, collection and the like), in order to avoid the shielding of the area on the music APP operation interface, a user can adjust the realization position of the area as required, and meanwhile, the rhythm collecting area is a semitransparent area which cannot shield lyrics.
Mode 2, the user can trigger the music adjusting instruction through a specific operation (such as a long pressing operation or a sliding operation) aiming at the lyric, and then the music APP responds to the 'music adjusting instruction' to call up the music adjusting interface.
The user can press a word in the lyrics for a long time to trigger a music adjusting instruction for a single lyric, in this case, the music APP can call the music adjusting interface, and then the rhythm of each word of the current song can be adjusted according to the rhythm collected in the rhythm collecting area of the music adjusting interface.
Or, the user may select a lyric on the lyric through a sliding operation to trigger a music adjusting instruction for a single lyric, in which case the music APP may invoke the music adjusting interface, and then subsequently may adjust the tempo of each lyric of the current song according to the tempo acquired in the tempo acquisition region of the music adjusting interface.
Step 302, the music APP collects the rhythm of the region clicked by the user through the rhythm collection region so as to determine the duration of the single beat of music desired by the user.
After the user invokes the music adjusting interface of the music APP through specific operation by executing step 301, the user can tap the rhythm collecting area through fingers according to own preference, so that the music APP collects the click frequency of the fingers of the user, and the single-beat duration of music is obtained through the collected click frequency.
Specifically, the music APP may determine the click frequency of the user according to the detected time interval between two consecutive clicks of the user on the acquisition region.
In daily use, when a user listens to songs by using a music APP, the music APP is usually minimized to be played in the background, and in this scenario, the user may also want to adjust the music playing rhythm according to the preference of the user.
In order to achieve the above purpose, the music APP can determine to adjust the rhythm by clicking the frequency of the rhythm acquisition area through the acquired fingers, and when the user selects to start the music rhythm adjustment mode (i.e. to call up the music adjustment interface by executing step 301) and switches the music APP to background playing, the music APP can acquire the body movement condition of the user through the terminal sensor, and then determine the duration of a single beat of music according to the acquired pace, leg shaking frequency and the like.
And 303, the music APP adjusts the playing rhythm of an adjustment object in the music according to the adjustment mode selected by the user by executing the single-beat time length of the music collected in the step 302.
By adopting the method provided by the scheme, after the user invokes the music adjusting interface by executing the step 301, the user can select the adjusting mode and the adjusting object of the song together.
After the music adjustment interface is invoked in the manner 2 in step 301, the specific operation of the user corresponds to the desired adjustment mode and the adjustment object. For example, when a user invokes a music adjustment interface by long-pressing a word in lyrics, the corresponding adjustment mode is "single word adjustment" in this case, and the long-pressed word is the adjustment object; and when the user selects a certain lyric through sliding operation to call up the music adjusting interface, the corresponding adjusting mode is 'single-sentence adjusting', and the lyric selected through sliding operation is an adjusting object.
After the user invokes the music adjustment interface in the mode 1 in step 301, the music APP further displays an adjustment mode selection key on the interface, and the user can select a desired adjustment mode by clicking. After the tune mode is determined, the playback progress of the music piece is combined with the tune mode, and the tune object can be determined.
Taking the user selecting the "single word adjustment" mode as an example, the music APP may specifically use a time interval between two consecutive screen clicks of the user as a duration of one beat, and if it is assumed that the music APP plays the lyric of "love me china", and it is detected that the user clicks a screen in the rhythm acquisition region when playing "love" (i.e., the current playing progress), the music player increases the continuous beat of the "love" character until monitoring that the user clicks the screen again, thereby achieving the purpose of lengthening the lyric.
Taking the mode of 'single sentence adjustment' selected by the user as an example, the music APP can determine the beat that the user wants to adjust according to the click frequency of the user in the beat acquisition area, and adjust the beat of the lyric of the song currently being played according to the beat.
The above is a description of a specific example of the implementation of the method for controlling the rhythm of music playing provided on the basis of the embodiment of the present invention.
Fig. 4 illustrates a physical structure diagram of an electronic device, which may include, as shown in fig. 4: a processor (processor)410, a communication Interface 420, a memory (memory)430 and a communication bus 440, wherein the processor 410, the communication Interface 420 and the memory 430 are communicated with each other via the communication bus 440. The processor 410 may call logic instructions in the memory 430 to perform the following method: determining the duration of a single music beat; determining an adjusting mode of the playing rhythm of the music; determining an adjustment object in the music; and adjusting the playing rhythm of the adjusted object according to the single music beat time length and the adjusting mode.
It should be noted that, when being implemented specifically, the electronic device in this embodiment may be a server, a PC, or other devices, as long as the structure includes the processor 410, the communication interface 420, the memory 430, and the communication bus 440 shown in fig. 4, where the processor 410, the communication interface 420, and the memory 430 complete mutual communication through the communication bus 440, and the processor 410 may call the logic instruction in the memory 430 to execute the above method. The embodiment does not limit the specific implementation form of the electronic device.
In addition, the logic instructions in the memory 430 may be implemented in the form of software functional units and stored in a computer readable storage medium when the software functional units are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Further, embodiments of the present invention disclose a computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions, which when executed by a computer, the computer is capable of performing the methods provided by the above-mentioned method embodiments, for example, comprising: determining the duration of a single music beat; determining an adjusting mode of the playing rhythm of the music; determining an adjustment object in the music; and adjusting the playing rhythm of the adjusted object according to the single music beat time length and the adjusting mode.
In another aspect, an embodiment of the present invention further provides a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program is implemented by a processor to perform the method provided by the foregoing embodiments, for example, including: determining the duration of a single music beat; determining an adjusting mode of the playing rhythm of the music; determining an adjustment object in the music; and adjusting the playing rhythm of the adjusted object according to the single music beat time length and the adjusting mode.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (11)

1. A method for controlling the tempo of a music piece playing, comprising:
determining the duration of a single music beat;
determining an adjusting mode of the playing rhythm of the music;
determining an adjustment object in the music;
adjusting the playing rhythm of the adjustment object according to the single music beat time length and the adjustment mode; wherein the content of the first and second substances,
the adjusting mode reflects the range of the content of the music piece needing to adjust the playing rhythm; the adjustment object reflects the content of the music piece needing to adjust the playing rhythm.
2. The method of claim 1, wherein the determining the duration of a single beat of a musical composition comprises:
acquiring the interval duration between two specified operations of a user;
the acquired interval time length is taken as a music piece single beat time length.
3. The method for controlling rhythm of music play according to claim 2, wherein the specified operation is an operation of a finger on a screen of the mobile terminal.
4. The method of claim 1, wherein determining the adjustment mode for the tempo of the music playing comprises:
selecting a part or all of the music content as a selection result;
and determining a corresponding adjusting mode according to the selection result.
5. The method of claim 1, wherein determining the adjustment mode for the tempo of the music playing comprises:
the adjustment mode of the music is determined by selecting a plurality of preset adjustment modes.
6. The method of claim 1, wherein the adjusting mode comprises: single word adjustment, single sentence adjustment and whole head adjustment; wherein the content of the first and second substances,
the single word regulation is used for regulating the playing rhythm of a single music basic unit in the music, the single sentence regulation is used for regulating the playing rhythm of a plurality of continuous music basic units in the music, and the whole first regulation is used for regulating the playing rhythm of the whole music; wherein the basic unit of the music is a character or a note.
7. The method of claim 1, wherein the determining the adjusted object in the music comprises:
selecting a part or all of the music content as a selection result;
and determining an adjusting object according to the selection result.
8. The method of claim 1, wherein the determining the adjusted object in the music comprises:
and determining an adjustment object according to the playing progress of the music and the adjustment mode.
9. An apparatus for controlling the tempo of a music piece playing, comprising:
the music single-beat time length determining module is used for determining the music single-beat time length;
the adjusting mode determining module is used for determining the adjusting mode of the playing rhythm of the music;
an adjustment object determination module for determining an adjustment object in the music piece;
the playing rhythm adjusting module is used for adjusting the playing rhythm of the adjusting object according to the single-beat duration of the music and the adjusting mode; wherein the content of the first and second substances,
the adjusting mode reflects the range of the content of the music piece needing to adjust the playing rhythm; the adjustment object reflects the content of the music piece needing to adjust the playing rhythm.
10. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the steps of the method of controlling the tempo of a music piece playback as claimed in any one of claims 1 to 8 are carried out by the processor when the program is executed.
11. A non-transitory computer readable storage medium, having stored thereon a computer program, wherein the computer program, when executed by a processor, implements the steps of a method for controlling the tempo of a music piece playing according to any of claims 1-8.
CN202010260995.0A 2020-04-03 2020-04-03 Method, device, electronic equipment and storage medium for controlling music playing rhythm Active CN111506765B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010260995.0A CN111506765B (en) 2020-04-03 2020-04-03 Method, device, electronic equipment and storage medium for controlling music playing rhythm

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010260995.0A CN111506765B (en) 2020-04-03 2020-04-03 Method, device, electronic equipment and storage medium for controlling music playing rhythm

Publications (2)

Publication Number Publication Date
CN111506765A true CN111506765A (en) 2020-08-07
CN111506765B CN111506765B (en) 2023-09-05

Family

ID=71871831

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010260995.0A Active CN111506765B (en) 2020-04-03 2020-04-03 Method, device, electronic equipment and storage medium for controlling music playing rhythm

Country Status (1)

Country Link
CN (1) CN111506765B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112735361A (en) * 2020-12-29 2021-04-30 玖月音乐科技(北京)有限公司 Intelligent playing method and system for electronic keyboard musical instrument

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060107822A1 (en) * 2004-11-24 2006-05-25 Apple Computer, Inc. Music synchronization arrangement
US20110257773A1 (en) * 2010-04-17 2011-10-20 NL Giken Incorporated Electronic Music Box
CN103514158A (en) * 2012-06-15 2014-01-15 国基电子(上海)有限公司 Music file searching method and multimedia playing device
CN104102659A (en) * 2013-04-09 2014-10-15 华为技术有限公司 Music searching method and terminal
CN105118517A (en) * 2015-06-29 2015-12-02 努比亚技术有限公司 Device and method for adjusting music rhythm
US20160343363A1 (en) * 2015-05-19 2016-11-24 Spotify Ab Cadence-Based Selection, Playback, and Transition Between Song Versions
CN107004035A (en) * 2017-03-10 2017-08-01 万魔声学科技有限公司 Method for playing music, device and music player devices
CN107871012A (en) * 2017-11-22 2018-04-03 广州酷狗计算机科技有限公司 Audio-frequency processing method, device, storage medium and terminal
CN109471952A (en) * 2018-09-29 2019-03-15 上海与德通讯技术有限公司 Melody playback method, electronic equipment and computer readable storage medium
US10387489B1 (en) * 2016-01-08 2019-08-20 Pandora Media, Inc. Selecting songs with a desired tempo

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060107822A1 (en) * 2004-11-24 2006-05-25 Apple Computer, Inc. Music synchronization arrangement
US20110257773A1 (en) * 2010-04-17 2011-10-20 NL Giken Incorporated Electronic Music Box
CN103514158A (en) * 2012-06-15 2014-01-15 国基电子(上海)有限公司 Music file searching method and multimedia playing device
CN104102659A (en) * 2013-04-09 2014-10-15 华为技术有限公司 Music searching method and terminal
US20160343363A1 (en) * 2015-05-19 2016-11-24 Spotify Ab Cadence-Based Selection, Playback, and Transition Between Song Versions
CN105118517A (en) * 2015-06-29 2015-12-02 努比亚技术有限公司 Device and method for adjusting music rhythm
US10387489B1 (en) * 2016-01-08 2019-08-20 Pandora Media, Inc. Selecting songs with a desired tempo
CN107004035A (en) * 2017-03-10 2017-08-01 万魔声学科技有限公司 Method for playing music, device and music player devices
CN107871012A (en) * 2017-11-22 2018-04-03 广州酷狗计算机科技有限公司 Audio-frequency processing method, device, storage medium and terminal
CN109471952A (en) * 2018-09-29 2019-03-15 上海与德通讯技术有限公司 Melody playback method, electronic equipment and computer readable storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
NATTAPON KUMYAITO等: "A Conceptual Framework for an Enhancing Running Motivation by Matching Music and Real-time Training Load", 《2019 JOINT INTERNATIONAL CONFERENCE ON DIGITAL ARTS, MEDIA AND TECHNOLOGY WITH ECTI NORTHERN SECTION CONFERENCE ON ELECTRICAL, ELECTRONICS, COMPUTER AND TELECOMMUNICATIONS ENGINEERING (ECTI DAMT-NCON)》, pages 216 - 219 *
周峰: "基于单片机的音乐喷泉系统的设计", 《 内江科技》, no. 11, pages 77 - 78 *
屈玉贵等: "计算机音乐节奏设计工具", 《计算机应用》, vol. 17, no. 5, pages 80 - 82 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112735361A (en) * 2020-12-29 2021-04-30 玖月音乐科技(北京)有限公司 Intelligent playing method and system for electronic keyboard musical instrument

Also Published As

Publication number Publication date
CN111506765B (en) 2023-09-05

Similar Documents

Publication Publication Date Title
US11507337B2 (en) Workout music playback machine
US10957297B2 (en) Self-produced music apparatus and method
CN109348274B (en) Live broadcast interaction method and device and storage medium
US20150142147A1 (en) Audio system for rhythm-based activity
CN107004035B (en) Music playing method and device and music playing equipment
US10506268B2 (en) Identifying media content for simultaneous playback
US10799795B1 (en) Real-time audio generation for electronic games based on personalized music preferences
CN108919953A (en) A kind of music method of adjustment, device and storage medium
US10468004B2 (en) Information processing method, terminal device and computer storage medium
US11373630B2 (en) Variations audio playback
CN111127598B (en) Animation playing speed adjusting method and device, electronic equipment and medium
US10888783B2 (en) Dynamic modification of audio playback in games
US20220047954A1 (en) Game playing method and system based on a multimedia file
CN112269898A (en) Background music obtaining method and device, electronic equipment and readable storage medium
CN108600526A (en) Alarm clock control method and related product
CN111506765B (en) Method, device, electronic equipment and storage medium for controlling music playing rhythm
CN107908754A (en) A kind of intelligent music playback method and wearable electronic
CN112086080A (en) Music rhythm feedback method and device, electronic equipment and system
US20200074965A1 (en) Data format
CN115177956A (en) Music game score generation method, storage medium and terminal
CN112494944B (en) Game control method, game control device, electronic equipment, medium and product
CN107342096B (en) Method for recording sound playing setting and electronic device for executing method
CN113094541B (en) Audio playing method, electronic equipment and storage medium
CN117667003A (en) NPC interactive content control method, device, equipment and medium based on speech speed data
CN114201136A (en) Audio playing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant