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

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

Info

Publication number
CN111506765B
CN111506765B CN202010260995.0A CN202010260995A CN111506765B CN 111506765 B CN111506765 B CN 111506765B CN 202010260995 A CN202010260995 A CN 202010260995A CN 111506765 B CN111506765 B CN 111506765B
Authority
CN
China
Prior art keywords
music
adjustment
playing
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.)
Active
Application number
CN202010260995.0A
Other languages
Chinese (zh)
Other versions
CN111506765A (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.)
Migu Cultural Technology Co Ltd
China Mobile Communications Group Co Ltd
MIGU Music Co Ltd
Original Assignee
Migu Cultural Technology Co Ltd
China Mobile Communications Group Co Ltd
MIGU Music 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 Migu Cultural Technology Co Ltd, China Mobile Communications Group Co Ltd, MIGU Music Co Ltd filed Critical Migu Cultural Technology 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

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)
  • Library & Information Science (AREA)
  • Multimedia (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Electrophonic Musical Instruments (AREA)

Abstract

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

Description

Method, device, electronic equipment and storage medium for controlling music playing rhythm
Technical Field
The present invention relates to the field of audio technologies, and in particular, to a method and apparatus for controlling a music playing rhythm, an electronic device, and a storage medium.
Background
Music is art that expresses people's mind emotion by organized musical tones, reflecting human real life emotion. 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 equipment is changed over the sky. Music playing software (music APP) installed on smart mobile devices (e.g., cell phones, tablet computers) is currently the most popular.
The functions of the current music playing software are more and more rich. Taking the field of music playing as an example, some music playing software provides multiple music styles such as 'pop', 'jazz', 'rock' and the like for users to select, and the users can select favorite styles according to their own preferences, so that music APP plays music according to the music styles selected by the users, and better song listening experience is brought to the users. However, the user's demand for music is not limited to the selection of a style of music, and the user may wish to have more options in terms of music playback. For example, control of a music play tempo.
In the prior art, the control method for the music playing rhythm is very limited. It is common to change the playing tempo of a music piece by adjusting the playing tempo, such as the fast forward key of an early cassette recorder or the adjustment of the playing tempo in existing music playing software. The music playing rhythm control method is very rough, a user can only adjust the playing speed of the whole or a section of music in an estimated mode, the adjusted playing speed is usually one or more of fixed playing speeds, and the user cannot perform further accurate control.
Disclosure of Invention
The embodiment of the invention provides a method, a device, electronic equipment and a storage medium for controlling music playing rhythm, which are used for solving the defect of insufficient control accuracy of the music playing rhythm in the prior art.
An embodiment of a first aspect of the present invention provides a method for controlling a music playing tempo, including:
determining the beat time length of a music piece;
determining an adjustment mode of a music playing rhythm;
determining an adjustment object in the musical composition;
according to the music single beat time length and the adjustment mode, adjusting the playing rhythm of the adjustment object; wherein,,
the adjustment mode reflects the range of the content of which the playing rhythm needs to be adjusted in the music; the adjustment object reflects the content in the music that needs to be adjusted in playing rhythm.
In the above technical solution, the determining the music single beat duration includes:
acquiring the interval duration between two specified operations of a user;
the acquired interval duration is taken as the music single beat duration.
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 the adjustment mode of the music playing rhythm includes:
selecting a part or all of the music content as a selection result;
and determining a corresponding adjustment mode according to the selection result.
In the above technical solution, the determining the adjustment mode of the music playing rhythm includes:
the adjustment mode of the musical composition is determined by selecting a plurality of adjustment modes set in advance.
In the above technical solution, the adjustment mode includes: single word regulation, single sentence regulation and whole head regulation; wherein,,
the single-word adjustment is used for adjusting the playing rhythm of a single basic unit of music in the music, the single-sentence adjustment is used for adjusting the playing rhythms of a plurality of continuous basic units of music in the music, and the whole adjustment is used for adjusting the playing rhythms of the whole music.
In the above technical solution, the determining the adjustment object in the music includes:
selecting a part or all of the music content as a selection result;
and determining an adjustment object according to the selection result.
In the above technical solution, the determining the adjustment object in the music includes:
and determining an adjustment object according to the playing progress of the music and the adjustment mode.
An embodiment of the second aspect of the present invention provides an apparatus for controlling a music playing tempo, including:
the music single beat time length determining module is used for determining the music single beat time length;
the adjustment mode determining module is used for determining an adjustment mode of the music playing rhythm;
an adjustment object determining module for determining an adjustment object in the music;
the play rhythm adjustment module is used for adjusting the play rhythm of the adjustment object according to the music single-beat time length and the adjustment mode; wherein,,
the adjustment mode reflects the range of the content of which the playing rhythm needs to be adjusted in the music; the adjustment object reflects the content in the music that needs to be adjusted in playing rhythm.
An embodiment of the third aspect of the present invention provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method of controlling a music playing tempo according to an embodiment of the first aspect of the present invention when the program is executed.
An embodiment of a fourth aspect 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 a method of controlling a music playing tempo as described in an embodiment of the first aspect of the present invention.
According to the method, the device, the electronic equipment and the storage medium for controlling the music playing rhythm, which are provided by the embodiment of the invention, the playing rhythm of the music can be accurately controlled by setting the three elements of the music single-beat time length, the adjustment mode and the adjustment object, so that a listener is not a passive listener of music any more, and the interactivity between the listener and the music is enhanced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a method for controlling a music playing rhythm according to an embodiment of the present invention;
fig. 2 is a schematic diagram of an apparatus for controlling a music playing rhythm according to an embodiment of the present invention;
fig. 3 is a flowchart of a method for controlling a music playing rhythm according to an embodiment of the present invention when implemented in a specific example;
fig. 4 illustrates a physical structure diagram of an electronic device.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Fig. 1 is a flowchart of a method for controlling a music playing rhythm according to an embodiment of the present invention, where, as shown in fig. 1, the method for controlling a music playing rhythm according to an embodiment of the present invention includes:
step 101, determining the single beat time length of the music.
The music single beat time length is related to the tempo, for example, the tempo is 120 beats per minute, then the single beat time length is 60/120=0.5 seconds, and if the tempo is 80 beats per minute, then the single beat time length is 60/80=0.75 seconds. Thus the single beat duration of a musical composition is not fixed among different musical compositions or even within the same musical composition. However, regardless of the length of the single beat of the music, once the creation of the music is completed, the length of one beat of the music at normal play can be regarded as fixed, and will not change too much due to the difference of the deductors.
In the embodiment of the invention, when the playing rhythm of the music is adjusted, the number of beats in the music is not changed, and the aim of adjusting the playing rhythm of the music is achieved by changing the single beat time length, so that the single beat time length of the music needs to be determined in the step. For example, it is assumed that, in a song of "love me chinese", an "love" word in the lyrics of the sentence "love me chinese" is a beat at the time of normal play, and after the play rhythm is adjusted, the "love" word is still a beat, but the duration of the beat is changed. If the player plays normally, the time length of the beat corresponding to the love word is 0.75 seconds, and the time length of the beat becomes 1 second after adjustment. It will be appreciated by those skilled in the art that the adjusted musical composition single beat time period may be longer than the normal musical composition single beat time period or shorter than the normal musical composition single beat time period.
The adjusted music single beat time length can be obtained through user operation. The type of user operation can be in various forms, for example, the intelligent mobile terminal is used as a music playing device, and the interval duration between two continuous clicks of a certain designated area on the screen of the intelligent mobile terminal by the user can be used as the adjusted music single beat duration. For another example, the music playing software running on the intelligent mobile terminal provides an interactive interface, and the user can set the adjusted single beat time length of the music in a mode of inputting the time length value on the interactive interface. For another example, the body movement condition of the user is collected through the sensor, and then the adjusted single beat time length of the music is set according to the collected pace speed, leg trembling frequency and the like.
Step 102, determining an adjustment mode of the music playing rhythm.
The adjustment mode determines how widely the music play tempo is adjusted. In an embodiment of the present invention, the adjustment mode includes: single word adjustment, single sentence adjustment, and whole head adjustment. The single word adjustment is used to adjust the play tempo of a single musical composition base unit in a musical composition. The sentence adjustment is used for adjusting the play tempo of a plurality of continuous musical-piece basic units in a musical piece. The whole head adjustment is used for adjusting the playing rhythm of the whole music.
Taking a common music with lyrics as an example, single word adjustment refers to adjusting a playing rhythm for one word in the lyrics of the music (the word described in the embodiment of the invention is not limited to a Chinese word but can be a word in a foreign language); the single sentence adjustment means to adjust the playing rhythm for a sentence in the song lyrics; the whole tune refers to tuning the playing rhythm of the lyrics of the whole music. Those skilled in the art will appreciate that in other embodiments of the invention, other types of adjustment modes are possible for a song with lyrics, such as single-segment adjustment, multi-segment adjustment, etc.
It should 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 adjustment mode of the single word adjustment is to adjust the playing tempo for a single note in the tune, the adjustment mode of the single sentence adjustment is to adjust the playing tempo for a plurality of associated notes in the tune, and the whole head adjustment is to adjust the playing tempo for the whole tune.
The adjustment mode may be acquired by a user operation. The type of user operation 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 adjustment mode by clicking a corresponding key on the interactive interface.
And for example, the music playing software running on the intelligent mobile terminal displays the lyrics, and the user selects one word or one sentence or all lyrics in the lyrics through the sliding operation on the screen, and can obtain a corresponding adjustment mode according to the selection result. For example, the user selecting a word in the lyrics means that the user selects an adjustment mode of "single word adjustment", the user selecting a sentence in the lyrics means that the user selects an adjustment mode of "single sentence adjustment", and the user selecting all lyrics of a song means that the user selects an adjustment mode of "whole adjustment". It will be appreciated by those skilled in the art that for a tune with only tune and no lyrics, the user may obtain the corresponding adjustment pattern by selecting notes in the tune.
Step 103, determining an adjustment object in the music.
The tuning object determines which content in the composition needs to be tuned to the playing tempo.
The adjustment mode is determined in the previous step, and the adjustment object is determined in conjunction with the adjustment mode in this step. For example, in the previous step, the user determines the adjustment mode to be "one-word adjustment", and it is not clear which contents in the music are to be adjusted in the play tempo after the adjustment mode is determined, so that it is necessary to determine the adjustment object in this step.
The adjustment object may be acquired by a user operation. For example, in the example described above in which the user selects one word or one sentence or all lyrics in the lyrics by a sliding operation on the screen, it is described how the adjustment pattern 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 a word in the lyrics, the user selects the word as an adjustment object, the user selects a sentence in the lyrics, the user selects the sentence as an adjustment object, and the user selects all lyrics of a song, the user selects the whole song as an adjustment object. In practical application, the method is not limited to the above description, and can be adjusted according to practical needs, for example, the user can obtain the adjustment object by marking the head and the tail of the selected lyrics respectively. It will be appreciated by those skilled in the art that one or more notes may also be obtained as adjustment objects by manipulating notes in a musical composition.
The adjustment object may also be automatically generated in conjunction with information of the adjustment mode. For example, in the playing process of a piece of music, 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 word adjustment', the next word in the lyrics to be played on the horse can be used as an adjustment object; if the user selects the adjustment mode of 'single word adjustment', the sentence where the lyrics played currently are located can be used as an adjustment object; if the user selects the adjustment mode of "whole adjustment", the whole song where the lyrics currently played are located can be used as the adjustment object. In practical application, the method is not limited to the above description, and can be adjusted according to practical needs, for example, after a user selects an adjustment mode of "single word adjustment", a word in the lyrics played currently is used as an adjustment object. It will be appreciated by those skilled in the art that one or more notes in a musical composition may also be subject to adjustment by combining the adjustment mode with the current play schedule.
Step 104, according to the single beat time length of the music and the adjustment mode, adjusting the playing rhythm of the adjustment object.
After the music single beat time length, the adjustment mode and the adjustment object are determined, the adjustment object can be played with the adjusted music single beat time length according to the adjustment mode.
The method for controlling the music playing rhythm provided by the embodiment of the invention can accurately control the playing rhythm of the music by setting the three elements of the music single-beat time length, the adjustment mode and the adjustment object, so that the listener is no longer a passive listener of the music, and the interactivity between the listener and the music is enhanced.
Based on any of the above embodiments, fig. 2 is a schematic diagram of an apparatus for controlling a music playing rhythm according to an embodiment of the present invention, and as shown in fig. 2, the apparatus for controlling a music playing rhythm according to an embodiment of the present invention includes:
the music single beat time length determining module 201 is configured to determine a music single beat time length.
The musical single beat duration may be determined by user operation. The type of user operation can be in various forms, for example, the intelligent mobile terminal is used as a music playing device, and the interval duration between two continuous clicks of a certain designated area on the screen of the intelligent mobile terminal by the user can be used as the adjusted music single beat duration. For another example, the music playing software running on the intelligent mobile terminal provides an interactive interface, and the user can set the adjusted single beat time length of the music in a mode of inputting the time length value on the interactive interface. For another example, the body movement condition of the user is collected through the sensor, and then the adjusted single beat time length of the music is set according to the collected pace speed, leg trembling frequency and the like.
The adjustment mode determining module 202 is configured to determine an adjustment mode of a music playing rhythm.
The adjustment mode determines how widely the music play tempo is adjusted. In an embodiment of the present invention, the adjustment mode includes: single word adjustment, single sentence adjustment, and whole head adjustment. In other embodiments of the present invention, other types of adjustment modes are possible, such as single-stage adjustment, multi-stage adjustment, etc.
The adjustment mode may be acquired by a user operation. The type of user operation 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 adjustment mode by clicking a corresponding key on the interactive interface. And for example, the music playing software running on the intelligent mobile terminal displays the lyrics, and the user selects one word or one sentence or all lyrics in the lyrics through the sliding operation on the screen, and can obtain a corresponding adjustment mode according to the selection result.
The adjustment object determining module 203 is configured to determine an adjustment object in the music.
The tuning object determines which content in the composition needs to be tuned to the playing tempo.
The adjustment object can be obtained through user operation, and can also be automatically generated by combining information of the adjustment mode.
A play rhythm adjustment module 204, configured to adjust a play rhythm of the adjustment object according to the single beat duration of the music piece and the adjustment mode; wherein,,
the adjustment mode reflects the range of the content of which the playing rhythm needs to be adjusted in the music; the adjustment object reflects the content in the music that needs to be adjusted in playing rhythm.
The device for controlling the music playing rhythm provided by the embodiment of the invention can accurately control the playing rhythm of the music by setting the three elements of the music single-beat time length, the adjustment mode and the adjustment object, so that a listener is no longer a passive listener of the music, and the interactivity between the listener and the music is enhanced.
For easy understanding, the method for controlling the playing rhythm of the music according to the embodiment of the present invention will be further described below with reference to a specific example.
Fig. 3 is a flowchart of a method for controlling a music playing rhythm according to an embodiment of the present invention, where the method is implemented in a specific example, and as shown in fig. 3, the method includes:
step 301, during playing music by using the music APP, a user specifically operates a music adjustment instruction to cause the music APP to call up a music adjustment interface in response to the adjustment instruction.
In the process that a user listens to songs by using the music APP, the user can trigger the music APP to call a music adjustment interface in the following two modes:
in the mode 1, a user can click a specific key on the 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 virtual key "rhythm adjustment" is provided on a music playing interface of a music APP, and when the user clicks the virtual key, the music APP will switch the music playing interface to "music adjustment interface". The music adjustment interface is provided with a rhythm acquisition area, clicking operation on the area cannot trigger corresponding music control instructions (such as song cutting, suspension, collection and the like), in order to avoid shielding of the area on the music APP operation interface, a user can adjust the implementation position of the area according to needs, meanwhile, the rhythm acquisition area is a semitransparent area, and the area cannot shield songs.
Mode 2, the user can trigger a music adjustment instruction by a specific operation (such as a long press operation or a slide operation) for lyrics, and the music APP calls up the music adjustment interface in response to the "music adjustment instruction".
The user can trigger a music adjustment instruction for a single lyric by pressing a certain word in the lyrics for a long time, in which case the music APP can evoke the music adjustment interface, and then the rhythm of each word of the current song can be adjusted according to the rhythm acquired in the rhythm acquisition area of the music adjustment interface.
Or, the user can select a sentence of lyrics on the lyrics through sliding operation so as to trigger a music adjustment instruction for a single lyric, so that the music APP can call the music adjustment interface under the condition, and then the rhythm of each sentence of lyrics of the current song can be adjusted according to the rhythm acquired in the rhythm acquisition area of the music adjustment interface.
Step 302, music APP collects the rhythm of the area clicked by the user through the rhythm collection area so as to determine the single-beat time length of the music desired by the user.
After the user calls the music adjustment interface of the music APP through the specific operation by executing step 301, the music APP may click the rhythm collection area through the finger according to the preference of the user, so as to collect the click frequency of the user's finger by the music APP, and the music single beat duration is obtained from the collected click frequency.
Specifically, the music APP may determine the click frequency of the user according to the detected interval duration between two consecutive clicks of the user on the acquisition area.
In daily use, a user will typically minimize the music APP to background play when listening to the song using the music APP, and in this scenario the user may also wish to be able to adjust the music play tempo according to his own preferences.
In order to achieve the above objective, in addition to determining the adjustment tempo by the collected frequency of clicking the tempo collection area by the finger, when the user selects to start the music tempo adjustment mode (i.e. by executing step 301 to call the music adjustment interface) and switch the music APP to background play, the music APP can also collect the physical movement situation of the user through the terminal sensor, so as to determine the single beat duration of the music according to the collected pace, the leg trembling frequency, and the like.
Step 303, the music APP adjusts the playing rhythm of the adjustment object in the music according to the adjustment mode selected by the user by executing the music single-beat time length acquired in step 302.
With the method provided by the present solution, after the user evokes the music adjustment interface by executing step 301, the user can select the adjustment mode and the adjustment object of the song together.
Wherein, when the music adjustment interface is evoked in the mode 2 in step 301, the specific operation of the user corresponds to the desired adjustment mode and the adjustment object at the same time. For example, when the user calls the music adjustment interface by pressing a word in the lyrics for a long time, the corresponding adjustment mode is "single word adjustment" in this case, and the word pressed for a long time is the adjustment object; when the user selects a certain sentence of lyrics through the sliding operation to call the music adjustment interface, the corresponding adjustment mode is "single sentence adjustment" in this case, and the certain sentence of lyrics selected through the sliding operation is the adjustment object.
After the user evokes the music adjustment interface in mode 1 in step 301, the music APP will further show an adjustment mode selection button on the interface, which the user can select his own desired adjustment mode by clicking. After the adjustment mode is determined, the play progress of the music is combined with the adjustment mode, and the adjustment object can be determined.
Taking the example of a user selecting a "single word adjustment" mode, the music APP can specifically take the time interval between two continuous clicks of the user as the duration of one beat, if the music APP detects that the user clicks the screen in the rhythm acquisition area when playing the words like me, i.e. the current playing progress, when playing the words like me, the music player increases the continuous beat of the words like me until the user clicks the screen again, so that the purpose of elongating the words like words is achieved.
Taking the example that the user selects the "single sentence adjustment" mode, the music APP can determine the beat that the user wants to adjust according to the click frequency of the user in the rhythm acquisition area, and adjust the rhythm of the song lyrics of the song currently being played according to the beat.
The above is a description of one specific example implemented by the method of controlling a music play tempo provided based on the embodiment of the present invention.
Fig. 4 illustrates a physical schematic diagram of an electronic device, as shown in fig. 4, which may include: processor 410, communication interface (Communications Interface) 420, memory 430 and communication bus 440, wherein processor 410, communication interface 420 and memory 430 communicate with each other via communication bus 440. The processor 410 may call logic instructions in the memory 430 to perform the following method: determining the beat time length of a music piece; determining an adjustment mode of a music playing rhythm; determining an adjustment object in the musical composition; and adjusting the playing rhythm of the adjustment object according to the music single-beat time length and the adjustment mode.
It should be noted that, in this embodiment, the electronic device may be a server, a PC, or other devices in the specific implementation, so long as the structure of the electronic device 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 communication with each other through the communication bus 440, and the processor 410 may call logic instructions in the memory 430 to execute the above method. The embodiment does not limit a specific implementation form of the electronic device.
Further, the logic instructions in the memory 430 described above may be implemented in the form of software functional units and may be stored in a computer-readable storage medium when sold or used as a stand-alone product. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform 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, random Access Memory), a magnetic disk, or an optical disk, or 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, enable the computer to perform the methods provided by the above-described method embodiments, for example comprising: determining the beat time length of a music piece; determining an adjustment mode of a music playing rhythm; determining an adjustment object in the musical composition; and adjusting the playing rhythm of the adjustment object according to the music single-beat time length and the adjustment mode.
In another aspect, embodiments of the present invention also provide a non-transitory computer readable storage medium having stored thereon a computer program, which when executed by a processor is implemented to perform the method provided in the above embodiments, for example, including: determining the beat time length of a music piece; determining an adjustment mode of a music playing rhythm; determining an adjustment object in the musical composition; and adjusting the playing rhythm of the adjustment object according to the music single-beat time length and the adjustment mode.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the 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 scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (8)

1. A method of controlling a music playing tempo, comprising:
determining the beat time length of a music piece;
determining an adjustment mode of a music playing rhythm;
determining an adjustment object in the musical composition;
according to the music single beat time length and the adjustment mode, adjusting the playing rhythm of the adjustment object; wherein,,
the adjustment mode reflects the range of the content of which the playing rhythm needs to be adjusted in the music; the adjustment object reflects the content of the music, which needs to be adjusted in playing rhythm;
the determining an adjustment object in the music includes:
determining an adjustment object according to the playing progress of the music and the adjustment mode;
the adjustment mode includes: at least one of single word adjustment, single sentence adjustment, and whole head adjustment; wherein,,
the single-word adjustment is used for adjusting the playing rhythm of a single basic unit of music in the music, the single-sentence adjustment is used for adjusting the playing rhythms of a plurality of continuous basic units of music in the music, and the whole adjustment is used for adjusting the playing rhythms of the whole music; wherein the basic unit of the music is a word or a note.
2. The method of controlling a music playing tempo according to claim 1 wherein said determining a music single beat period includes:
acquiring the interval duration between two specified operations of a user;
the acquired interval duration is taken as the music single beat duration.
3. The method of controlling a music playing tempo according to claim 2 characterized in that said specified operation is a finger operation on the screen of the mobile terminal.
4. The method of controlling a music playing tempo according to claim 1 wherein said determining an adjustment pattern of music playing tempos includes:
selecting a part or all of the music content as a selection result;
and determining a corresponding adjustment mode according to the selection result.
5. The method of controlling a music playing tempo according to claim 1 wherein said determining an adjustment pattern of music playing tempos includes:
the adjustment mode of the musical composition is determined by selecting a plurality of adjustment modes set in advance.
6. An apparatus for controlling a music playing tempo, comprising:
the music single beat time length determining module is used for determining the music single beat time length;
the adjustment mode determining module is used for determining an adjustment mode of the music playing rhythm;
an adjustment object determining module for determining an adjustment object in the music;
the play rhythm adjustment module is used for adjusting the play rhythm of the adjustment object according to the music single-beat time length and the adjustment mode; wherein,,
the adjustment mode reflects the range of the content of which the playing rhythm needs to be adjusted in the music; the adjustment object reflects the content of the music, which needs to be adjusted in playing rhythm;
the determining an adjustment object in the music includes:
determining an adjustment object according to the playing progress of the music and the adjustment mode;
the adjustment mode includes: at least one of single word adjustment, single sentence adjustment, and whole head adjustment; wherein,,
the single-word adjustment is used for adjusting the playing rhythm of a single basic unit of music in the music, the single-sentence adjustment is used for adjusting the playing rhythms of a plurality of continuous basic units of music in the music, and the whole adjustment is used for adjusting the playing rhythms of the whole music; wherein the basic unit of the music is a word or a note.
7. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method of controlling a music playing tempo according to any one of claims 1-5 when said program is executed by said processor.
8. A non-transitory computer readable storage medium having stored thereon a computer program, characterized in that the computer program when executed by a processor realizes the steps of the method of controlling a music playing tempo according to any one of claims 1-5.
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 CN111506765A (en) 2020-08-07
CN111506765B true 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)

Families Citing this family (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 (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
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

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7521623B2 (en) * 2004-11-24 2009-04-21 Apple Inc. Music synchronization arrangement
JP5967564B2 (en) * 2010-04-17 2016-08-10 Nl技研株式会社 Electronic music box
US9570059B2 (en) * 2015-05-19 2017-02-14 Spotify Ab Cadence-based selection, playback, and transition between song versions

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
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 (1)

* Cited by examiner, † Cited by third party
Title
屈玉贵等.计算机音乐节奏设计工具.《计算机应用》.1997,第17卷(第5期),80-82. *

Also Published As

Publication number Publication date
CN111506765A (en) 2020-08-07

Similar Documents

Publication Publication Date Title
US11507337B2 (en) Workout music playback machine
CN101385086B (en) Content reproduction device and content reproduction method
CN108919953A (en) Music adjusting method, device and storage medium
US20150142147A1 (en) Audio system for rhythm-based activity
CN103514868B (en) Use the automatic Playing technology of audio waveform data
CN104412320B (en) Use the automatic Playing technology of audio waveform data
CN105308676A (en) Adaptive music playback system
US10799795B1 (en) Real-time audio generation for electronic games based on personalized music preferences
MX2011012749A (en) System and method of receiving, analyzing, and editing audio to create musical compositions.
JP2007193907A (en) Music reproduction controller and music reproducing device
CN107682642A (en) Identify the method, apparatus and terminal device of special video effect triggered time point
CN103514867B (en) Use the automatic Playing technology of audio waveform data
WO2017028686A1 (en) Information processing method, terminal device and computer storage medium
US11373630B2 (en) Variations audio playback
US20160300557A1 (en) Method, client and computer storage medium for processing information
CN108319413A (en) A kind of method for playing music, device and storage medium
CN112269898A (en) Background music obtaining method and device, electronic equipment and readable storage medium
CN102456342A (en) Audio processing apparatus and method, and program
CN108829253B (en) Simulated music command playing method and device
CN108600526A (en) Alarm clock control method and related product
CN111506765B (en) Method, device, electronic equipment and storage medium for controlling music playing rhythm
JP5936757B1 (en) GAME SERVER, TERMINAL, GAME CONTROL METHOD AND PROGRAM BY GAME SERVER
CN110517657B (en) Beat configuration/playing method, system, medium and equipment of music file
CN107741840A (en) Music processing method, equipment and computer-readable recording medium
CN112017622A (en) Audio data alignment method, device, equipment and storage medium

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