CN105513607A - Method and apparatus for music composition and lyric writing - Google Patents

Method and apparatus for music composition and lyric writing Download PDF

Info

Publication number
CN105513607A
CN105513607A CN201510833802.5A CN201510833802A CN105513607A CN 105513607 A CN105513607 A CN 105513607A CN 201510833802 A CN201510833802 A CN 201510833802A CN 105513607 A CN105513607 A CN 105513607A
Authority
CN
China
Prior art keywords
song
words
lyrics
user
scope
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
CN201510833802.5A
Other languages
Chinese (zh)
Other versions
CN105513607B (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.)
Netease Media Technology Beijing Co Ltd
Original Assignee
Netease Media Technology Beijing 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 Netease Media Technology Beijing Co Ltd filed Critical Netease Media Technology Beijing Co Ltd
Priority to CN201510833802.5A priority Critical patent/CN105513607B/en
Publication of CN105513607A publication Critical patent/CN105513607A/en
Application granted granted Critical
Publication of CN105513607B publication Critical patent/CN105513607B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/48Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use
    • 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
    • G06F16/685Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content using automatically derived transcript of audio data, e.g. lyrics
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/03Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 characterised by the type of extracted parameters

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Library & Information Science (AREA)
  • Human Computer Interaction (AREA)
  • Signal Processing (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Artificial Intelligence (AREA)
  • Electrophonic Musical Instruments (AREA)

Abstract

The embodiment of the invention provides a method for music composition and lyric writing. The method comprises: a song provided by a user is parsed and a melody of the song is determined; according to the melody of the song, a word number range for lyric writing for the song is determined; according to a lyric base stored in advance and/or a lyric text uploaded by the user, lyrics with the word number meeting the word number range are generated. The lyrics matching the song can be generated automatically by parsing the song uploaded by the user and the user does not need to have high music accomplishment, so that the requirement on the common user is reduced and thus the demand of song creation by the common user can be satisfied and the good user experience can be provided. In addition, the embodiment of the invention also provides an apparatus for music composition and lyric writing.

Description

A kind of method and apparatus of writing words of setting a song to music
Technical field
Embodiments of the present invention relate to technical field of data processing, and more specifically, embodiments of the present invention relate to a kind of method and apparatus of writing words of setting a song to music.
Background technology
This part embodiments of the present invention be intended to for stating in claims provide background or context.Description is not herein because be included in just admit it is prior art in this part.
Set a song to music and write words as music speciality term, refer to the behavior of creation of song, or the production process of song.Song is a kind of art form combined by the lyrics and song, is also a kind of form of expression, ci and qu one_to_one corresponding.The creation of song generally has two kinds of modes: one is after first having word, bent according to collection of tunes of poems; Two be first bent after word, compose a poem to a given tune of ci according to song, namely under the prerequisite having song, the style passed on according to song and paragraph, phrase length, thus fill in out the applicable lyrics, reach the effect that the two had not only been in step with but also had brought out the best in each other in artistic conception.As can be seen here, the lyrics can coordinate song to create.
Summary of the invention
But setting a song to music writes words requires to have higher musical quality usually, the song created just can be made to possess smoothness, link up and the features such as easy memory.
Therefore, in the prior art, setting a song to music writes words is a highly professional behavior, and for there is the demand of creation of song the not high ordinary populace of musical quality, such as, sons and daughters wish that creation one song is to express oneself gratitude to father and mother to father and mother, or student wishes that creation one song is to express oneself to thanks of teacher etc.
For this reason, be starved of a kind of method of writing words of setting a song to music, to meet the demand that ordinary populace carries out song creation.
In the present context, embodiments of the present invention are expected to provide a kind of method and apparatus of writing words of setting a song to music, and to set a song to music the demand of writing words to meet ordinary populace.
In the first aspect of embodiment of the present invention, provide a kind of method of writing words of setting a song to music, comprising:
Resolve the song that user provides, determine the melody of described song;
According to the melody of described song, be defined as the number of words scope that described song is composed a poem to a given tune of ci required;
According to the lyrics text that the lyrics storehouse prestored and/or user are uploaded, generate the lyrics that number of words quantity meets described number of words scope.
In the second aspect of embodiment of the present invention, provide a kind of device of writing words of setting a song to music, comprising:
Resolution unit, for resolving the song that user uploads, determines the melody of described song;
Determining unit, for the melody according to described song, is defined as the number of words scope that described song is composed a poem to a given tune of ci required;
Lyrics generation unit, for the lyrics text uploaded according to the lyrics storehouse prestored and/or user, generates the lyrics that number of words quantity meets described number of words scope.
In the third aspect of embodiment of the present invention, provide a kind of device of writing words of setting a song to music, such as, can comprise storer and processor, wherein, processor may be used for reading the program in storer, perform following process: resolve the song that user provides, determine the melody of described song; According to the melody of described song, be defined as the number of words scope that described song is composed a poem to a given tune of ci required; According to the lyrics text that the lyrics storehouse prestored and/or user are uploaded, generate the lyrics that number of words quantity meets described number of words scope.
According to the method and apparatus of writing words of setting a song to music of embodiment of the present invention, the lyrics mated with this song can be automatically generated according to the song that user uploads, and possess higher musical quality without the need to user, thus reduce domestic consumer is set a song to music the requirement of writing words, meet the demand that domestic consumer carries out song creation, for user brings better experience.
Accompanying drawing explanation
By reference to accompanying drawing reading detailed description hereafter, above-mentioned and other objects of exemplary embodiment of the invention, feature and advantage will become easy to understand.In the accompanying drawings, show some embodiments of the present invention by way of example, and not by way of limitation, wherein:
Fig. 1 schematically shows the application scenarios schematic diagram according to embodiment of the present invention;
Fig. 2 schematically shows the method implementing procedure schematic diagram of writing words of setting a song to music according to embodiment of the present invention;
Fig. 3 schematically shows and with corresponding note duration, schematic diagram is described according to the note of embodiment of the present invention;
Fig. 4 schematically shows the method implementing procedure schematic diagram of the first the generation lyrics according to embodiment of the present invention;
Fig. 5 schematically shows the method implementing procedure schematic diagram generating the lyrics according to the second of embodiment of the present invention;
Fig. 6 schematically shows the structural representation of the device of writing words of setting a song to music according to another embodiment of the present invention;
In the accompanying drawings, identical or corresponding label represents identical or corresponding part.
Embodiment
Below with reference to some illustrative embodiments, principle of the present invention and spirit are described.Should be appreciated that providing these embodiments is only used to enable those skilled in the art understand better and then realize the present invention, and not limit the scope of the invention by any way.On the contrary, provide these embodiments to be to make the disclosure more thorough and complete, and the scope of the present disclosure intactly can be conveyed to those skilled in the art.
One skilled in the art will appreciate that embodiments of the present invention can be implemented as a kind of system, device, equipment, method or computer program.Therefore, the disclosure can be implemented as following form, that is: hardware, completely software (comprising firmware, resident software, microcode etc.) completely, or the form that hardware and software combines.
According to the embodiment of the present invention, a kind of method and apparatus of writing words of setting a song to music is proposed.
In this article, it is to be appreciated that any number of elements in accompanying drawing is all unrestricted for example, and any name is all only for distinguishing, and does not have any limitation.
Below with reference to some representative embodiments of the present invention, explaination principle of the present invention and spirit in detail.
summary of the invention
The present inventor finds, setting a song to music writes words has higher requirement to the musical quality of creator, but the domestic consumer that musical quality is not high also exists again corresponding musical composition demand, in order to meet the song creation demand of this kind of user, in the embodiment of the present invention, user is when needs carry out song creation, corresponding song can be provided, the song provided by resolving user obtains the melody of this song, the number of words scope that this song composes a poem to a given tune of ci required is defined as according to resolving the melody that obtains, and then the lyrics that meet the demands are provided in the lyrics text to provide in lyrics storehouse and/or user, assisted user has created song.
After describing ultimate principle of the present invention, lower mask body introduces various non-limiting embodiment of the present invention.
application scenarios overview
First with reference to figure 1, that schematically shows the application scenarios schematic diagram according to embodiment of the present invention.User 10 can utilize terminal 11 access services device 12.User 10 needs set a song to music write words time, terminal 11 can be utilized to provide to server 12 needs the song of composing a poem to a given tune of ci, the song that server 12 provides by resolving user, determines the melody of this song, and the melody help user according to determining completes operation of composing a poem to a given tune of ci.
Wherein, terminal 11 can be connected with server 12 by network, and this network can be LAN (Local Area Network), wide area network etc.Terminal 11 can be portable equipment (such as: mobile phone, panel computer, notebook computer etc.), also can be PC (PC, PersonalComputer), server 12 can be any server apparatus that song creation can be provided to serve.
Certainly, when specifically implementing, the method for writing words of setting a song to music that can also be provided by the client implementation embodiment of the present invention be installed in terminal 11.In this case, terminal 11 is being installed in client process in the local store lyrics storehouse of terminal 11.Preferably, in order to ensure the real-time in the lyrics storehouse that terminal 11 this locality stores, client can initiatively this lyrics storehouse synchronous with server 12, such as, the lyrics storehouse that client initiatively can store with server 12 synchronous terminal 11 this locality according to the cycle of presetting, or, client also can upgrade this lyrics storehouse passively, such as, server 12 notifies client behind renewal lyrics storehouse, and client is carried out synchronous with server after the notice receiving server 12.
It should be noted that, no matter be the method for writing words of setting a song to music provided by the server implementation embodiment of the present invention, or the method for writing words of setting a song to music provided by the client implementation embodiment of the present invention, both differences are the difference of executive agent, and realize principle and implementation process similar, the implementation process of the method for writing words to the embodiment of the present invention of setting a song to music provided for the server implementation embodiment of the present invention is below described.
illustrative methods
Below in conjunction with the application scenarios of Fig. 1, with reference to figure 2 ~ 5, the method for writing words of setting a song to music according to exemplary embodiment of the invention is described.It should be noted that above-mentioned application scenarios is only that embodiments of the present invention are unrestricted in this regard for the ease of understanding spirit of the present invention and principle and illustrating.On the contrary, embodiments of the present invention can be applied to applicable any scene.
As shown in Figure 2, be the implementing procedure schematic diagram of the method for writing words of setting a song to music according to the embodiment of the present invention, can comprise the following steps:
The song that S21, parsing user provide, determines the melody of this song.
Wherein, user can provide by terminal the song needing to compose a poem to a given tune of ci to server by following either type:
Mode one, provide the song existed with user orientation server.
Namely user can upload existing song to server, thinks that this song is composed a poem to a given tune of ci.Such as, user can provide the audio format file of song, by resolving the melody of the audio format file determination song that user provides.
The song that mode two, user are hummed by audio collection module collection self obtains corresponding audio file, and sends to server by terminal.
Mode three, upload the song of numbered musical notation staff with user orientation server.
In mode three, user can provide the text of numbered musical notation staff, and such as, numbered musical notation staff scans the file obtained, and by resolving the text that user provides, determines the melody of corresponding song.
The song that server parses user provides, determines the melody of song.Melody be often referred to that some musical sounds are formed through artistic conception in a organized way, the sequence of rhythm, the two large key elements forming melody are rhythm and pitch.Rhythm is a broad sense word, and it includes all factors relevant with the time in music, summarises the position of bat, trifle, cycle period and stress here.Music just as powerful and well-equipped army, be rhythm they orderly organizing together, according to power, the length of music, make their orderly carrying out, if do not have rhythm, music will be disorderly and unsystematic, not Cheng Qiwei music.Pitch refers to the sound of various different height, i.e. the height of sound.
Beat refers to the combination rule of strong beat and weak beat.Have much to have and have by force weak sound, within the time that length is identical, repeatedly occur according to certain order, form regular power change, such as: every a weak beat, when there is a strong beat, this is a kind of beat, and whenever having two weak beats or have three weak beats to occur a strong beat again, these are again some other beats, it has used bar line and bat labelled notation out.
In beat, in units of numerous notes is all clapped by one, (this is also called " unit bat "), this important time period " one claps ", be exactly the basis of music, it represents with the note of specifying.Namely with various different note, such as minim, crotchet, quaver etc., as a bat on basis, then have have by force weak incremental.
The bat of music, be requirement according to melody and fixed, the speed of such as seeking to specify when melody per minute 60 to be clapped, and so often clapping the time accounted for is per minute 1/60th, namely one second, if time the speed of regulation is 120 bat per minute, so each claps time of accounting for is half second, is that half second plays a bat now, before be play a bat second, obvious the latter is faster than the former, by that analogy.The duration of this namely bat, after the duration of bat is decided, when such as crotchet is a bat, quaver is just equivalent to half bat, and whole note is equivalent to 4 bats, minim is equivalent to two bats, semiquaver is then 1/4 bat, in other words, namely has a crotchet in a bat, there are two quavers, have 4 16 dieresis.Be a bat with quaver for another example, crotchet is exactly two bats, and minim is four bats, and whole note is eight bats, and namely semiquaver half is clapped, and like this, after the duration of bat is determined, the note of various duration just connects together with bat.
As shown in Figure 3, for note illustrates schematic diagram with corresponding note duration, according to Fig. 3, when crotchet is a bat, the note duration of whole note is 4 bats, if in units of 1 second, then makes a call to 1 every 4 seconds and claps; The note duration of minim is 2 bats, if in units of 1 second, then makes a call to 1 every 2 seconds and claps; The note duration of quaver is 1/2 bat, if in units of 1 second, then made a call to 1 every 1/2 second and clap, namely make a call to 2 in 1 second and clap, the note duration of semiquaver is 1/4 bat, if in units of 1 second, then makes a call to 1 every 1/4 second and claps, namely make a call to 4 in 1 second and clap, by that analogy.
The melody of the song that S22, basis are determined, is defined as the number of words scope that this song is composed a poem to a given tune of ci required.
Wherein, required number of words scope is made up of number of words lower limit and the number of words upper limit.
Concrete, can according to the rhythm of song, be defined as number of words lower limit that each bat that this song comprises composes a poem to a given tune of ci required and the number of words upper limit, such as, some bats can fill out 0 Chinese character, also can fill out 1 Chinese character, can also fill out 2 Chinese characters, the number of words lower limit that then this bat can be composed a poem to a given tune of ci is 0, and the number of words upper limit that can compose a poem to a given tune of ci is 2.The number of the Chinese character that each bat can be filled out can identical also can not be identical, that is, often clap and compose a poem to a given tune of ci number of words lower limit required, the upper limit can identical also can not be identical.Number of words lower limit sum and number of words upper limit sum that whole bats of comprising for song compose a poem to a given tune of ci required can be added up, it can be used as number of words lower limit and the number of words upper limit are composed a poem to a given tune of ci in song required.For convenience of description, think that the number of words lower limit that often bat is composed a poem to a given tune of ci required is 0, the upper limit is 2 and the song that user provides comprises 10 bats is altogether example, then the number of words lower limit of composing a poem to a given tune of ci required for this song is 0, and the number of words upper limit is 20.Certainly, more simply, can determine that each bat that song comprises required number of words of composing a poem to a given tune of ci is 1, in this case, can according to the number of the bat determined, be defined as song and compose a poem to a given tune of ci required number of words.
S23, the lyrics text uploaded according to the lyrics storehouse prestored and/or user, generate the lyrics that number of words quantity meets described number of words scope.
Server is after determining the number of words scope that the song provided for user is composed a poem to a given tune of ci required, the lyrics model that can comprise from the lyrics storehouse prestored, or the lyrics text that user uploads, or the lyrics combining that lyrics model that the lyrics storehouse that prestores comprises and the lyrics text generation number of words quantity that user uploads meet this number of words scope.
In order to better understand the present invention, the embodiment of specific implementation process to the embodiment of the present invention generating the lyrics below in conjunction with server is described.
The lyrics storehouse that the first embodiment, basis prestore, generates the lyrics that number of words quantity meets described number of words scope.
A lot of lyrics models can be comprised in the lyrics storehouse that server prestores, preferably, during concrete enforcement, in order to the actual demand of different user of fitting, lyrics storehouse can be divided into as polytypes such as classic poetry, masterpiece prose, novel or classical sentences by the style expressed by lyrics model.Further, lyrics storehouse can be divided different type of theme again by the lyrics model content according to comprising in lyrics storehouse, as love, emotional affection, friendship, pursues a goal with determination etc., and based on this, step S23 can according to the flow implementation shown in Fig. 4:
S2311, the lyrics stylistic category information obtaining user's selection and type of theme information.
Such as, the lyrics stylistic category selected with user is for classic poetry, and the type of theme of selection is friendship is example.
S2312, according to the stylistic category information obtained and type of theme information, determine corresponding lyrics storehouse.
Server is after classic poetry and type of theme are friendship obtaining the lyrics stylistic category that user selects, and determine corresponding lyrics storehouse, the lyrics model stored in this lyrics storehouse is the classic poetry eulogizing friendship.
S2313, from the lyrics storehouse determined, number of words quantity is selected to meet the statement of number of words scope or word generates the lyrics.
Namely from the model that the lyrics storehouse determined comprises, the statement selecting number of words quantity to meet the demands or word generate the lyrics.During concrete enforcement, the main principle of server when generating the lyrics be link up, smooth, the characteristics such as suitable for reading or easy memory rhymed, bright can also be had concurrently simultaneously.
The second embodiment, the lyrics text uploaded according to user, generate the lyrics that number of words quantity meets number of words scope.
Under this embodiment, user needs to provide the lyrics text that can generate the lyrics by terminal to server, such as, the diary that the lyrics text that user provides can be write for user, also the content immediately can created for user, if user oneself provides lyrics text, then server can generate the lyrics according to the flow process shown in Fig. 5:
The the first word quantity comprised in S2321, server statistics lyrics text.
For the lyrics text that user provides, the word quantity comprised in this lyrics text of server statistics.
S2322, server judge the first word quantity whether within the scope of the number of words determined, if so, then perform step S2323, otherwise, perform step S2324.
Server judges within the number of words scope whether the word quantity that comprises in the lyrics text that user provides is determined in step S22, if, the content that the lyrics text packets that then can directly user be provided contains is as the lyrics, otherwise, prompting user is needed to revise its lyrics text uploaded, the number of words scope being no more than step S22 to make the number of words of amended lyrics text and determining.Preferably, server when pointing out user to revise lyrics text, the number of words scope that can user steps S22 pointed out in the lump to determine, reference when revising lyrics text for user.
S2323, determine that word that the lyrics text packets that user uploads contains is the lyrics generated, flow process terminates.
S2324, prompting user revise the lyrics text uploaded, and make the second word quantity of amended lyrics text meet described number of words scope.
During concrete enforcement, user, according to the information of server, revises the lyrics text uploaded, within the scope of the number of words that the number of words making it comprise is determined in step S22, after having revised, uploads amended lyrics text with user orientation server.
S2325, determine that word that the amended lyrics text packets of user contains is the lyrics generated.
The third embodiment, the lyrics text uploaded according to the lyrics storehouse prestored and user, generate the lyrics that number of words quantity meets number of words scope.
In this embodiment, first server can obtain lyrics stylistic category information and the type of theme information of user's selection, and from corresponding lyrics storehouse, select statement or the word generating portion lyrics of some, and remainder retains blank and filled in by user.
It should be noted that, user's compose a poem to a given tune of ci number of words sum of part of the number of words of part and server of composing a poem to a given tune of ci can not exceed the number of words scope that step S22 determines.
In this case, server can provide corresponding template, for reference.Such as, user can select the rhyme of composing a poem to a given tune of ci according to server to fill in remainder, with the template keeping the lyrics rhymed.
During concrete enforcement, user can also upload the sentence or word oneself wanting to use, and by server when generating the lyrics in template, sentence user provided or word are embedded in the lyrics of generation.
Preferably, the song created to make user is more professional, in the embodiment of the present invention, before composing a poem to a given tune of ci, pre-service is carried out in the song that server can also be uploaded user, such as, music is carried out in the song that server can provide user, generate the song of the style such as rock and roll, rural area, or be transformed into piano music, guitar is bent.
Server is after the song provided according to user generates the lyrics, and namely define a complete song, server can export the song of creation.Preferably, server can also provide different song output types for user, the mp3 form of such as different sharpness, the song etc. of wma form.During concrete enforcement, server can also provide the song such as utilizing generation to make the several functions such as e-greeting card, e-magazine for user, and user can select according to the demand of oneself.
In the method that what the embodiment of the present invention provided set a song to music writes words, the song that server can provide according to user, automatically for user generates the suitable lyrics of number of words scope, the lyrics stylistic category that server can also be selected according to user and type of theme select the lyrics from corresponding lyrics storehouse, the lyrics generating respective type meet user's multiple demands, thus, reduce domestic consumer and carry out the threshold of writing words of setting a song to music, improve Consumer's Experience.
exemplary means
After the method describing exemplary embodiment of the invention, next, the device of writing words of setting a song to music with reference to figure 6 pairs of exemplary embodiment of the invention is described.
As shown in Figure 6, be the structural representation of the device of writing words of setting a song to music according to further embodiment of this invention, can comprise:
Resolution unit 61, for resolving the song that user uploads, determines the melody of described song.
Wherein, the melody of song comprises the rhythm of song.
Determining unit 62, for the melody according to described song, is defined as the number of words scope that described song is composed a poem to a given tune of ci required.
Lyrics generation unit 63, for the lyrics text uploaded according to the lyrics storehouse prestored and/or user, generates the lyrics that number of words quantity meets described number of words scope.
Wherein, lyrics generation unit 63, can comprise:
Obtain subelement 631, for obtaining lyrics stylistic category information and the type of theme information of user's selection;
First determines subelement 632, for according to described stylistic category information and type of theme information, determines corresponding lyrics storehouse;
Chooser unit 633, for from the lyrics storehouse determined, selects number of words quantity to meet the statement of described number of words scope or word generates the described lyrics.
During concrete enforcement, lyrics generation unit 63, can also comprise:
Statistics subelement 634, for adding up the first word quantity comprised in described lyrics text;
Judgment sub-unit 635, for judging described first word quantity whether within the scope of described number of words;
Second determines subelement 636, if when judging that the number of words of described first word quantity is within the scope of described number of words for described judgment sub-unit 635, determines that the word that described lyrics text packets contains is the described lyrics;
Prompting subelement 637, during for judging that the number of words of described first word quantity is not within the scope of described number of words in described judgment sub-unit 635, then point out user to revise described lyrics text, make the second word quantity of the number of words of amended lyrics text meet described number of words scope;
3rd determines subelement 638, for determining that the word that amended lyrics text packets contains is the described lyrics.
During concrete enforcement, what the embodiment of the present invention provided the set a song to music device of writing words, can also comprise:
Music unit 64, at the melody of described determining unit according to described song, before being defined as the number of words scope that described song composes a poem to a given tune of ci required, according to the music stylistic category information that user selects, carries out music process to described song.
During concrete enforcement, determining unit 62, comprising:
4th determines subelement 621, for the rhythm according to described song, is defined as number of words lower limit that each bat that described song comprises composes a poem to a given tune of ci required and the number of words upper limit;
5th determines subelement 622, and the number of words lower limit sum that the whole bats comprised for being defined as described song are composed a poem to a given tune of ci required and number of words upper limit sum are respectively the number of words lower limit and the number of words upper limit that described song composes a poem to a given tune of ci required.
What the embodiment of the present invention provided set a song to music, and the device of writing words can also comprise:
Song output unit 65, for the song output type selected according to user, exports the song obtained after composing a poem to a given tune of ci according to described song.
In addition, the present invention also can comprise a kind of device of writing words of setting a song to music, and comprises at least one processing unit and at least one storage unit.Wherein, described cell stores has program code, when described program code is performed by described processing unit, makes described processing unit perform the various steps described in this instructions above-mentioned " illustrative methods " part.Such as, the song that described processing unit can perform step S21 as shown in Figure 2, parsing user provides, determine the melody of this song, the melody of the song that step S22, basis are determined, be defined as the number of words scope that this song is composed a poem to a given tune of ci required, and step S23, the lyrics text uploaded according to the lyrics storehouse that prestores and/or user, generate the lyrics that number of words quantity meets described number of words scope.
Although it should be noted that the some unit or subelement that are referred to device in above-detailed, this division is only exemplary not enforceable.In fact, according to the embodiment of the present invention, the Characteristic and function of two or more unit above-described can be specialized in a unit.Otherwise, the Characteristic and function of an above-described unit can Further Division for be specialized by multiple unit.
In addition, although describe the operation of the inventive method in the accompanying drawings with particular order, this is not that requirement or hint must perform these operations according to this particular order, or must perform the result that all shown operation could realize expectation.Additionally or alternatively, some step can be omitted, multiple step be merged into a step and perform, and/or a step is decomposed into multiple step and perform.
Although describe spirit of the present invention and principle with reference to some embodiments, but should be appreciated that, the present invention is not limited to disclosed embodiment, can not combine to be benefited to the feature that the division of each side does not mean that in these aspects yet, this division is only the convenience in order to state.The present invention is intended to contain the interior included various amendment of spirit and scope and the equivalent arrangements of claims.

Claims (12)

1. to set a song to music a method of writing words, comprising:
Resolve the song that user provides, determine the melody of described song;
According to the melody of described song, be defined as the number of words scope that described song is composed a poem to a given tune of ci required;
According to the lyrics text that the lyrics storehouse prestored and/or user are uploaded, generate the lyrics that number of words quantity meets described number of words scope.
2. method according to claim 1, wherein, according to the lyrics storehouse prestored, generates the lyrics that number of words quantity meets described number of words scope, specifically comprises:
Obtain lyrics stylistic category information and the type of theme information of user's selection;
According to described stylistic category information and type of theme information, determine corresponding lyrics storehouse;
From the lyrics storehouse determined, number of words quantity is selected to meet the statement of described number of words scope or word generates the described lyrics.
3. method according to claim 1, wherein, according to the lyrics text that user uploads, generates the lyrics that number of words quantity meets described number of words scope, specifically comprises:
Add up the first word quantity comprised in described lyrics text;
Judge described first word quantity whether within the scope of described number of words;
If when judging that described first word quantity is within the scope of described number of words, determine that the word that described lyrics text packets contains is the described lyrics;
If when judging that described first word quantity is not within the scope of described number of words, user is then pointed out to revise described lyrics text, make the second word quantity of amended lyrics text meet described number of words scope, and determine that the word that amended lyrics text packets contains is the described lyrics.
4. method according to claim 1, at the melody according to described song, before being defined as the number of words scope that described song composes a poem to a given tune of ci required, also comprises:
According to the music stylistic category information that user selects, music process is carried out to described song.
5. method according to claim 1, wherein, the melody of described song comprises the rhythm of song; And
According to the melody of described song, be defined as the number of words scope that described song is composed a poem to a given tune of ci required, specifically comprise:
According to the rhythm of described song, be defined as number of words lower limit that each bat that described song comprises composes a poem to a given tune of ci required and the number of words upper limit;
Be defined as number of words lower limit sum that whole bats that described song comprises compose a poem to a given tune of ci required and number of words upper limit sum and be respectively the number of words lower limit and the number of words upper limit that described song composes a poem to a given tune of ci required.
6. the method according to the arbitrary claim of Claims 1 to 5, also comprises:
According to the song output type that user selects, export the song obtained after composing a poem to a given tune of ci according to described song.
7. to set a song to music a device of writing words, comprising:
Resolution unit, for resolving the song that user uploads, determines the melody of described song;
Determining unit, for the melody according to described song, is defined as the number of words scope that described song is composed a poem to a given tune of ci required;
Lyrics generation unit, for the lyrics text uploaded according to the lyrics storehouse prestored and/or user, generates the lyrics that number of words quantity meets described number of words scope.
8. device according to claim 7, described lyrics generation unit, comprising:
Obtain subelement, for obtaining lyrics stylistic category information and the type of theme information of user's selection;
First determines subelement, for according to described stylistic category information and type of theme information, determines corresponding lyrics storehouse;
Chooser unit, for from the lyrics storehouse determined, selects number of words quantity to meet the statement of described number of words scope or word generates the described lyrics.
9. device according to claim 7, described lyrics generation unit, comprising:
Statistics subelement, for adding up the first word quantity comprised in described lyrics text;
Judgment sub-unit, for judging described first word quantity whether within the scope of described number of words;
Second determines subelement, if be yes for the judged result of described judgment sub-unit, then determines that the word that described lyrics text packets contains is the described lyrics;
Prompting subelement, if be no for the judged result of described judgment sub-unit, then point out user to revise described lyrics text, makes the second word quantity of amended lyrics text meet described number of words scope;
3rd determines subelement, for determining that the word that amended lyrics text packets contains is the described lyrics.
10. device according to claim 7, also comprises:
Music unit, at the melody of described determining unit according to described song, before being defined as the number of words scope that described song composes a poem to a given tune of ci required, according to the music stylistic category information that user selects, carries out music process to described song.
11. devices according to claim 7, the melody of described song comprises the rhythm of song; And
Described determining unit, comprising:
4th determines subelement, for the rhythm according to described song, is defined as number of words lower limit that each bat that described song comprises composes a poem to a given tune of ci required and the number of words upper limit;
5th determines subelement, and the number of words lower limit sum that the whole bats comprised for being defined as described song are composed a poem to a given tune of ci required and number of words upper limit sum are respectively the number of words lower limit and the number of words upper limit that described song composes a poem to a given tune of ci required.
12. devices according to the arbitrary claim of claim 7 ~ 11, also comprise:
Song output unit, for the song output type selected according to user, exports the song obtained after composing a poem to a given tune of ci according to described song.
CN201510833802.5A 2015-11-25 2015-11-25 A kind of method and apparatus write words of setting a song to music Active CN105513607B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510833802.5A CN105513607B (en) 2015-11-25 2015-11-25 A kind of method and apparatus write words of setting a song to music

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510833802.5A CN105513607B (en) 2015-11-25 2015-11-25 A kind of method and apparatus write words of setting a song to music

Publications (2)

Publication Number Publication Date
CN105513607A true CN105513607A (en) 2016-04-20
CN105513607B CN105513607B (en) 2019-05-17

Family

ID=55721533

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510833802.5A Active CN105513607B (en) 2015-11-25 2015-11-25 A kind of method and apparatus write words of setting a song to music

Country Status (1)

Country Link
CN (1) CN105513607B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105955938A (en) * 2016-04-25 2016-09-21 广州酷狗计算机科技有限公司 Method and device for editing lyrics
CN108806655A (en) * 2017-04-26 2018-11-13 微软技术许可有限责任公司 Song automatically generates
CN109215626A (en) * 2018-10-26 2019-01-15 广东电网有限责任公司 A method of it wrirtes music from action word
CN109543063A (en) * 2018-10-09 2019-03-29 天津大学 A kind of lyric and song matching degree analysis method
CN109859739A (en) * 2019-01-04 2019-06-07 平安科技(深圳)有限公司 Melody generation method, device and terminal device based on speech synthesis
CN109979497A (en) * 2017-12-28 2019-07-05 阿里巴巴集团控股有限公司 Generation method, device and system and the data processing and playback of songs method of song
CN110517656A (en) * 2019-08-02 2019-11-29 平安科技(深圳)有限公司 Lyrics rhythm generation method, equipment, storage medium and device
WO2020015153A1 (en) * 2018-07-19 2020-01-23 平安科技(深圳)有限公司 Method and device for generating music for lyrics text, and computer-readable storage medium
CN113032620A (en) * 2021-03-02 2021-06-25 百度时代网络技术(北京)有限公司 Data processing method and device for audio data, electronic equipment and medium
CN113539217A (en) * 2021-06-29 2021-10-22 广州酷狗计算机科技有限公司 Lyric creation navigation method and device, equipment, medium and product thereof
CN110517656B (en) * 2019-08-02 2024-04-26 平安科技(深圳)有限公司 Lyric rhythm generation method, device, storage medium and apparatus

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1435816A (en) * 2002-01-09 2003-08-13 雅马哈株式会社 Sound melody music generating device and portable terminal using said device
CN101313477A (en) * 2005-12-21 2008-11-26 Lg电子株式会社 Music generating device and operating method thereof
US20090314155A1 (en) * 2008-06-20 2009-12-24 Microsoft Corporation Synthesized singing voice waveform generator
CN103902642A (en) * 2012-12-21 2014-07-02 香港科技大学 Music composition system using correlation between melody and lyrics
CN104391980A (en) * 2014-12-08 2015-03-04 百度在线网络技术(北京)有限公司 Song generating method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1435816A (en) * 2002-01-09 2003-08-13 雅马哈株式会社 Sound melody music generating device and portable terminal using said device
CN101313477A (en) * 2005-12-21 2008-11-26 Lg电子株式会社 Music generating device and operating method thereof
US20090314155A1 (en) * 2008-06-20 2009-12-24 Microsoft Corporation Synthesized singing voice waveform generator
CN103902642A (en) * 2012-12-21 2014-07-02 香港科技大学 Music composition system using correlation between melody and lyrics
CN104391980A (en) * 2014-12-08 2015-03-04 百度在线网络技术(北京)有限公司 Song generating method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
吴颂今: "《歌词写作十八讲》", 30 April 2012 *

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105955938A (en) * 2016-04-25 2016-09-21 广州酷狗计算机科技有限公司 Method and device for editing lyrics
CN108806655B (en) * 2017-04-26 2022-01-07 微软技术许可有限责任公司 Automatic generation of songs
CN108806655A (en) * 2017-04-26 2018-11-13 微软技术许可有限责任公司 Song automatically generates
CN109979497A (en) * 2017-12-28 2019-07-05 阿里巴巴集团控股有限公司 Generation method, device and system and the data processing and playback of songs method of song
WO2020015153A1 (en) * 2018-07-19 2020-01-23 平安科技(深圳)有限公司 Method and device for generating music for lyrics text, and computer-readable storage medium
CN109543063A (en) * 2018-10-09 2019-03-29 天津大学 A kind of lyric and song matching degree analysis method
CN109543063B (en) * 2018-10-09 2020-12-29 天津大学 Lyric song matching degree analysis method
CN109215626A (en) * 2018-10-26 2019-01-15 广东电网有限责任公司 A method of it wrirtes music from action word
CN109859739A (en) * 2019-01-04 2019-06-07 平安科技(深圳)有限公司 Melody generation method, device and terminal device based on speech synthesis
CN109859739B (en) * 2019-01-04 2023-12-22 平安科技(深圳)有限公司 Melody generation method and device based on voice synthesis and terminal equipment
CN110517656A (en) * 2019-08-02 2019-11-29 平安科技(深圳)有限公司 Lyrics rhythm generation method, equipment, storage medium and device
CN110517656B (en) * 2019-08-02 2024-04-26 平安科技(深圳)有限公司 Lyric rhythm generation method, device, storage medium and apparatus
CN113032620A (en) * 2021-03-02 2021-06-25 百度时代网络技术(北京)有限公司 Data processing method and device for audio data, electronic equipment and medium
CN113539217A (en) * 2021-06-29 2021-10-22 广州酷狗计算机科技有限公司 Lyric creation navigation method and device, equipment, medium and product thereof

Also Published As

Publication number Publication date
CN105513607B (en) 2019-05-17

Similar Documents

Publication Publication Date Title
CN105513607A (en) Method and apparatus for music composition and lyric writing
US20200372896A1 (en) Audio synthesizing method, storage medium and computer equipment
CN108806656B (en) Automatic generation of songs
CN108806655B (en) Automatic generation of songs
US9142201B2 (en) Distribution of audio sheet music within an electronic book
US9489938B2 (en) Sound synthesis method and sound synthesis apparatus
CN109979497B (en) Song generation method, device and system and data processing and song playing method
US11295069B2 (en) Speech to text enhanced media editing
CN103902642A (en) Music composition system using correlation between melody and lyrics
CN105810211A (en) Audio frequency data processing method and terminal
CN105161087A (en) Automatic harmony method, device, and terminal automatic harmony operation method
KR101294024B1 (en) System and method for providing interactive contents in electronic book system
Didkovsky et al. Maxscore: Music notation in max/msp
CN101206668B (en) Method for generating and analyzing website content components as well as apparatus
CN105760479A (en) Song playing control method and device, mobile terminal, server and system
CN114974184A (en) Audio production method and device, terminal equipment and readable storage medium
KR102020341B1 (en) System for realizing score and replaying sound source, and method thereof
JP2012181307A (en) Voice processing device, voice processing method and voice processing program
JP2013231881A (en) Karaoke scoring system
US11830463B1 (en) Automated original track generation engine
KR101427666B1 (en) Method and device for providing music score editing service
JP2019117284A (en) Karaoke device
US20160212242A1 (en) Specification and deployment of media resources
CN113611268A (en) Musical composition generation and synthesis method and device, equipment, medium and product thereof
Purgina et al. Leveraging user experience through input style transformation to improve access to music search services

Legal Events

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