CN105513607B - A kind of method and apparatus write words of setting a song to music - Google Patents

A kind of method and apparatus write words of setting a song to music Download PDF

Info

Publication number
CN105513607B
CN105513607B CN201510833802.5A CN201510833802A CN105513607B CN 105513607 B CN105513607 B CN 105513607B CN 201510833802 A CN201510833802 A CN 201510833802A CN 105513607 B CN105513607 B CN 105513607B
Authority
CN
China
Prior art keywords
song
words
lyrics
text
user
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
CN201510833802.5A
Other languages
Chinese (zh)
Other versions
CN105513607A (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

Abstract

Embodiments of the present invention provide a kind of method set a song to music and write words.The method write words of setting a song to music includes: the song for parsing user and providing, and determines the melody of the song;According to the melody of the song, it is determined as the number of words range that the song is composed a poem to a given tune of ci required;The lyrics text that lyrics library according to the pre-stored data and/or user upload generates the lyrics that number of words quantity meets the number of words range.The song uploaded by parsing user, can automatically generate with the matched lyrics of the song, have higher musical quality without user, to reduce the requirement to ordinary user, the demand that ordinary user carries out song creation is met, brings better experience for user.In addition, embodiments of the present invention provide a kind of device set a song to music and write words.

Description

A kind of method and apparatus write words of setting a song to music
Technical field
Embodiments of the present invention are related to technical field of data processing, more specifically, embodiments of the present invention are related to one Plant the method and apparatus write words of setting a song to music.
Background technique
Background that this section is intended to provide an explanation of the embodiments of the present invention set forth in the claims or context.Herein Description recognizes it is the prior art not because not being included in this section.
It sets a song to music and writes words as music speciality term, refer to the behavior of creation of song or the production process of song.Song is by singing A kind of art form and a kind of form of expression that word and song combine, ci and qu correspond.The creation of song generally has two Kind mode: first is that after first having word, according to collection of tunes of poems song;Second is that word after first bent, composes a poem to a given tune of ci according to song, i.e., under the premise of having song, according to song The style conveyed of son and paragraph, phrase length both reach and to be not only in step with but also the phase in artistic conception to fill in out the suitable lyrics It benefits evident effect.It can be seen that the lyrics can cooperate song to be created.
Summary of the invention
But set a song to music to write words and usually require that musical quality with higher, could make the song created have it is smooth, The features such as coherent and easy memory.
Therefore, in the prior art, setting a song to music, to write words be a highly professional behavior, and not high for musical quality There may be the demands of creation of song for ordinary populace, for example, sons and daughters wish to create a song to express oneself to parent Gratitude or student to parent are wished to create thanks etc. of the song to express oneself to teacher.
Thus, it is also very desirable to a method of it sets a song to music and writes words, to meet the needs of ordinary populace carries out song creation.
In the present context, embodiments of the present invention are intended to provide a kind of method and apparatus set a song to music and write words, to meet Ordinary populace is set a song to music the demand write words.
In the first aspect of embodiment of the present invention, a kind of method set a song to music and write words is provided, comprising:
The song that user provides is parsed, determines the melody of the song;
According to the melody of the song, it is determined as the number of words range that the song is composed a poem to a given tune of ci required;
The lyrics text that lyrics library according to the pre-stored data and/or user upload generates number of words quantity and meets the number of words The lyrics of range.
In the second aspect of embodiment of the present invention, a kind of device set a song to music and write words is provided, comprising:
Resolution unit determines the melody of the song for parsing the song of user's upload;
Determination unit is determined as the number of words range that the song is composed a poem to a given tune of ci required for the melody according to the song;
Lyrics generation unit generates number of words for the lyrics text that lyrics library according to the pre-stored data and/or user upload Quantity meets the lyrics of the number of words range.
In the third aspect of embodiment of the present invention, a kind of device set a song to music and write words is provided, for example, may include depositing Reservoir and processor, wherein processor can be used for reading the program in memory, execute following process: parsing user provides Song, determine the melody of the song;According to the melody of the song, it is determined as the number of words model that the song is composed a poem to a given tune of ci required It encloses;The lyrics text that lyrics library according to the pre-stored data and/or user upload generates number of words quantity and meets the number of words range The lyrics.
The method and apparatus write words of setting a song to music of embodiment according to the present invention can give birth to automatically according to the song that user uploads At with the matched lyrics of the song, have higher musical quality without user, set a song to music work to reduce to ordinary user The requirement of word, meets the demand that ordinary user carries out song creation, brings better experience for user.
Detailed description of the invention
The following detailed description is read with reference to the accompanying drawings, above-mentioned and other mesh of exemplary embodiment of the invention , feature and advantage will become prone to understand.In the accompanying drawings, if showing by way of example rather than limitation of the invention Dry embodiment, in which:
Fig. 1 schematically shows the application scenarios schematic diagram of embodiment according to the present invention;
Fig. 2 schematically shows the method implementation process diagrams write words of setting a song to music of embodiment according to the present invention;
Fig. 3 schematically shows the note of embodiment according to the present invention and with corresponding note duration illustrates schematic diagram;
The first Fig. 4 schematically shows embodiment according to the present invention generates the method implementing procedure signal of the lyrics Figure;
Fig. 5 schematically shows the method implementing procedure signal of second of generation lyrics of embodiment according to the present invention Figure;
Fig. 6 schematically shows the structural schematic diagram of the device according to another embodiment of the present invention set a song to music and write words;
In the accompanying drawings, identical or corresponding label indicates identical or corresponding part.
Specific embodiment
The principle and spirit of the invention are described below with reference to several illustrative embodiments.It should be appreciated that providing this A little embodiments are used for the purpose of making those skilled in the art can better understand that realizing the present invention in turn, and be not with any Mode limits the scope of the invention.On the contrary, these embodiments are provided so that this disclosure will be more thorough and complete, and energy It is enough that the scope of the present disclosure is completely communicated 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 product.Therefore, the present disclosure may be embodied in the following forms, it may be assumed that complete hardware, complete software The form that (including firmware, resident software, microcode etc.) or hardware and software combine.
Embodiment according to the present invention proposes a kind of method and apparatus set a song to music and write words.
Herein, it is to be understood that any number of elements in attached drawing be used to example rather than limit and it is any Name is only used for distinguishing, without any restrictions meaning.
Below with reference to several representative embodiments of the invention, the principle and spirit of the present invention are explained in detail.
Summary of the invention
There is higher requirement to the musical quality of creator the inventors discovered that setting a song to music and writing words, but musical quality is not high Ordinary user again there is corresponding musical composition demand, in order to meet the song creation demand of this kind of user, the present invention is real It applies in example, user can provide corresponding song when needing to carry out song creation, be obtained by the song that parsing user provides The melody of the song is determined as the number of words range that the song is composed a poem to a given tune of ci required according to the obtained melody of parsing, so lyrics library and/ Or the lyrics met the requirements are provided in the lyrics text of user's offer, auxiliary user, which creates, completes song.
After introduced the basic principles of the present invention, lower mask body introduces various non-limiting embodiment party of the invention Formula.
Application scenarios overview
Referring initially to Fig. 1, that schematically shows the application scenarios schematic diagrams of embodiment according to the present invention.User 10 It can use terminal 11 and access server 12.User 10 can use terminal 11 and mention to server 12 when needs set a song to music and write words For the song that the song for needing to compose a poem to a given tune of ci, server 12 are provided by parsing user, the melody of the song is determined, according to what is determined Melody helps user to complete operation of composing a poem to a given tune of ci.
Wherein, terminal 11 can be connect by network with server 12, which can be local area network, wide area network etc..Eventually End 11 can be portable equipment (such as: mobile phone, tablet computer, laptop etc.), or PC (PC, Personal Computer), server 12 can be any server apparatus for being capable of providing song creation service.
It certainly, when it is implemented, can also be provided in an embodiment of the present invention by the client implementation being installed in terminal 11 It sets a song to music the method write words.In this case, lyrics library is locally stored in terminal 11 in installation client process in terminal 11.Preferably , in order to guarantee the real-time in lyrics library that terminal 11 is locally stored, client can actively lyrics synchronous with server 12 Library, for example, the lyrics library that client can actively be locally stored with 12 synchronous terminal 11 of server according to the preset period, or Person, client can also passively update the lyrics library, for example, server 12 notifies client, client after updating lyrics library End synchronizes after the notice for receiving server 12 with server.
It should be noted that either by server implementation method provided in an embodiment of the present invention that write words of setting a song to music, still By client implementation method provided in an embodiment of the present invention that write words of setting a song to music, the difference of the two is the difference of executing subject, and Realization principle is similar with implementation process, below to this by taking server implementation writing words method provided in an embodiment of the present invention of setting a song to music as an example The implementation process of inventive embodiments is illustrated.
Illustrative methods
Below with reference to the application scenarios of Fig. 1, setting a song to music for illustrative embodiments according to the present invention is described with reference to Fig. 2~5 The method write words.It should be noted which is shown only for the purpose of facilitating an understanding of the spirit and principles of the present invention for above-mentioned application scenarios, Embodiments of the present invention are not limited in this respect.On the contrary, embodiments of the present invention can be applied to applicable appoint What scene.
As shown in Fig. 2, for according to the implementation process diagram of the method for writing words of setting a song to music of the embodiment of the present invention, may include with Lower step:
The song that S21, parsing user provide, determines the melody of the song.
Wherein, user can provide the song for needing to compose a poem to a given tune of ci to server by following either type by terminal:
Mode one provides already existing song with user orientation server.
I.e. user can upload existing song to server, to compose a poem to a given tune of ci for the song.For example, user can provide song Audio format file, the melody of song is determined by the audio format file that parsing user provides.
Mode two, user obtain corresponding audio file by the song that audio collection module acquires itself humming, and lead to It crosses terminal and is sent to server.
Mode three, the song that numbered musical notation staff is uploaded with user orientation server.
In mode three, user can provide the text file of numbered musical notation staff, for example, the text that numbered musical notation staff scans Part, the text file provided by parsing user, determines the melody of corresponding song.
Server parses the song that user provides, and determines the melody of song.Melody is often referred to several musical sounds by artistic structure Organized, rhythm the sequence thought and formed, the two big elements for constituting melody are rhythm and pitch.Rhythm is a broad sense word, It includes all factors related to time in music, summarises the position of bat, trifle, cycle period and stress here. Music like powerful and well-equipped army, be rhythm they it is orderly organize together, according to the power of music, length, make them orderly Carry out, if music will be disorderly and unsystematic, not Cheng Qiwei music without rhythm.Pitch refers to the sound of various different height, That is the height of sound.
Beat refers to the combination rule of strong beat and weak beat.Have much to have and have weak sound by force, within the length identical time, presses Occur repeatedly according to certain order, forms regular strong and weak variation, such as: every a weak beat, when there is a strong beat, this It is a kind of beat, and whenever occurring a strong beat again there are two weak beat or there are three weak beat, these are other some sections again It claps, it comes out with bar line and bat labelled notation.
In beat, numerous notes is all as unit of a bat, and (this is also referred to as " unit bat "), this is important Period " one claps ", is exactly the basis of music, it is represented with specified note.Namely with a variety of different notes, Such as minim, crotchet, quaver etc., as a bat on basis, then have by force have it is weak incremental.
The bat of music, be depending on the requirement of melody, such as when melody seek as defined in speed be per minute 60 It claps, then every clap that time for accounting for is per minute 1/60th, that is, one second, if defined speed is per minute 120 to clap When, it is that half second plays a bat now that then each, to clap time for accounting for, which be half second, before be to make a call within one second one to clap, it is clear that The latter is faster than the former, and so on.The duration of this namely bat, after the duration of bat is decided, such as quarter step When Fu Weiyi is clapped, quaver is equivalent to half bat, and whole note is equivalent to 4 bats, and minim is equivalent to two bats, and 16 partials Fu Ze is 1/4 bat, in other words, that is, one clap in have a crotchet, there are two quaver, there is 4 16 dieresis. It is for another example a bat with quaver, crotchet is exactly two bats, and minim is four bats, and whole note is eight bats, and 16 points Note i.e. half claps, in this way, the note of various durations just connects together with bat after the duration of bat determines.
It is one in crotchet as can be seen from FIG. 3 as shown in figure 3, illustrating schematic diagram with corresponding note duration for note When bat, the note duration of whole note is 4 bats, if plaing 1 bat every 4 seconds as unit of 1 second;The note duration of minim It is 2 bats, if plaing 1 bat every 2 seconds as unit of 1 second;The note duration of quaver is 1/2 bat, if being single with 1 second 1 bat was then played in position every 1/2 second, i.e., 2 bats are played in 1 second, and the note duration of semiquaver is 1/4 bat, if as unit of 1 second, 1 bat was then played every 1/4 second, i.e., 4 bats are played in 1 second, and so on.
The melody for the song that S22, basis are determined, is determined as the number of words range that the song is composed a poem to a given tune of ci required.
Wherein, required number of words range is made of number of words lower limit and the number of words upper limit.
Specifically, can be determined as each bat that the song includes according to the rhythm of song and compose a poem to a given tune of ci under required number of words Limit and the number of words upper limit can also fill out 1 Chinese character for example, some bats can fill out 0 Chinese character, can also fill out 2 Chinese characters, then should The number of words lower limit that bat can compose a poem to a given tune of ci is 0, and the number of words upper limit that can be composed a poem to a given tune of ci is 2.The number for the Chinese character that each bat can be filled out can With it is identical can not also be identical, that is to say, that it is every clap the number of words lower limit of composing a poem to a given tune of ci required, the upper limit can be identical or not identical. The sum of the sum of number of words lower limit that the whole bats for including for song are composed a poem to a given tune of ci required and number of words upper limit can be counted, as The number of words lower limit and the number of words upper limit that song is composed a poem to a given tune of ci required.For ease of description, to be for every number of words lower limit for composing a poem to a given tune of ci required of clapping 0, for the upper limit is 2 and the song that provides of user includes 10 bats altogether, then the number of words lower limit for composing a poem to a given tune of ci required for the song is 0, word The number upper limit is 20.Certainly, more simply, it can determine that each bat that song includes required number of words of composing a poem to a given tune of ci is 1, this In the case of, it can be composed a poem to a given tune of ci required number of words to be determined as song according to the number for the bat determined.
The lyrics text that S23, lyrics library according to the pre-stored data and/or user upload generates described in number of words quantity satisfaction The lyrics of number of words range.
Server, can be from pre-stored song after determining number of words range that the song provided for user is composed a poem to a given tune of ci required The lyrics text that perhaps user uploads in the lyrics model that dictionary includes or the song for including in conjunction with pre-stored lyrics library The lyrics text generation number of words quantity that word model and user upload meets the lyrics of the number of words range.
In order to be best understood from the present invention, the specific implementation process of the lyrics is generated to the embodiment of the present invention below in conjunction with server Embodiment be illustrated.
The first embodiment, lyrics library according to the pre-stored data generate the song that number of words quantity meets the number of words range Word.
Server may include many lyrics models in pre-stored lyrics library, preferably, when it is implemented, in order to It is bonded the actual demand of different user, lyrics library can be divided into such as classic poetry, name according to style expressed by lyrics model Write the multiple types such as prose, novel or classical sentence.Further, again may be used according to the lyrics model content for including in lyrics library Lyrics library to divide to different type of theme, such as love, emotional affection, friendship, pursue a goal with determination, be based on this, step S23 can be according to Flow implementation shown in Fig. 4:
S2311, the lyrics stylistic category information and type of theme information for obtaining user's selection.
For example, the lyrics stylistic category selected using user is classic poetry, for the type of theme selected is friendship.
S2312, stylistic category information and type of theme information according to acquisition, determine corresponding lyrics library.
Server is determination after friendship obtaining the lyrics stylistic category that user selects as classic poetry and type of theme Corresponding lyrics library, the lyrics model stored in the lyrics library is the classic poetry for eulogizing friendship.
S2313, from the lyrics library determined, select number of words quantity meet number of words range sentence or word generate song Word.
I.e. from the model that the lyrics library determined includes, the sentence or word for selecting number of words quantity to meet the requirements are generated The lyrics.When it is implemented, main principle of the server when generating the lyrics is to link up, is smooth, while can also have both rhymed, bright The characteristics such as bright suitable for reading or easy memory.
Second of embodiment, the lyrics text uploaded according to user generate the lyrics that number of words quantity meets number of words range.
Under this embodiment, user needs to provide the lyrics text that the lyrics can be generated, example by terminal to server Such as, the lyrics text that user provides can be the diary that user writes, or the content that user creates immediately, if user is certainly Oneself provides lyrics text, then server can generate the lyrics according to process shown in fig. 5:
The the first text quantity for including in S2321, server statistics lyrics text.
For the lyrics text that user provides, the text quantity for including in the server statistics lyrics text.
S2322, server judge the first text quantity whether within the scope of the number of words determined, if it is, executing step Otherwise rapid S2323 executes step S2324.
Server judges the number of words whether determined in step S22 of text quantity for including in lyrics text that user provides Within the scope of, if it is, otherwise the content that can directly include using the lyrics text that user provides, needs to mention as the lyrics Show that user modifies the lyrics text of its upload, so that the number of words of modified lyrics text is no more than what step S22 was determined Number of words range.Preferably, server can prompt together user steps S22 to determine when prompting user to modify lyrics text Number of words range, for user modify the lyrics text when refer to.
S2323, determine that the text that the lyrics text that user uploads includes is the lyrics generated, process terminates.
S2324, prompt user modify the lyrics text uploaded, so that the second text quantity of modified lyrics text is full The foot number of words range.
When it is implemented, prompt information of the user according to server, modifies the lyrics text of upload, make it includes number of words Within the scope of the number of words that step S22 is determined, after the completion of modification, modified lyrics text is uploaded with user orientation server.
S2325, determine that the text that the modified lyrics text of user includes is the lyrics generated.
The lyrics text that the third embodiment, lyrics library according to the pre-stored data and user upload generates number of words quantity Meet the lyrics of number of words range.
In this embodiment, server can obtain the lyrics stylistic category information and type of theme of user's selection first Information, and a certain number of sentences or the word generating portion lyrics are selected from corresponding lyrics library, rest part retains blank It is filled in by user.
It should be noted that user composes a poem to a given tune of ci, the number of words of part and server compose a poem to a given tune of ci the sum of number of words of part no more than step The number of words range that S22 is determined.
In this case, server can provide corresponding template, for reference.For example, user can choose basis Rhyme that server is composed a poem to a given tune of ci fills in remainder, with the template for keeping the lyrics rhymed.
When it is implemented, user, which can also upload, oneself thinks sentence or word to be used, mould is being generated by server When the lyrics in plate, sentence or word that user provides are embedded into the lyrics of generation.
Preferably, in order to enable user creation song it is more professional, in the embodiment of the present invention, before composing a poem to a given tune of ci, server The song that can also be uploaded to user pre-processes, for example, server can carry out music to the song that user provides, generates The song of the styles such as rock and roll, rural area, or it is transformed into piano music, guitar song etc..
Server forms a complete song, server can after the song provided according to user generates the lyrics To export the song of creation.Preferably, server can also provide different song output types for user, such as different clear The mp3 format of degree, song of wma format etc..When it is implemented, server can also provide for user such as utilizes the song generated Multiple functions, the users such as song production e-greeting card, e-magazine can select according to their own needs.
In method provided in an embodiment of the present invention that write words of setting a song to music, the song that server can be provided according to user, automatically The suitable lyrics of number of words range, the lyrics stylistic category and type of theme that server can also be selected according to user is generated for user The lyrics are selected from corresponding lyrics library, the lyrics of respective type is generated to meet user's multiple demands, reduces as a result, Ordinary user set a song to music the threshold write words, and improves user experience.
Exemplary means
After describing the method for exemplary embodiment of the invention, next, with reference to Fig. 6 to the exemplary reality of the present invention The device write words of setting a song to music for applying mode is illustrated.
As shown in fig. 6, can wrap for according to the structural schematic diagram of the device write words of setting a song to music of further embodiment of this invention It includes:
Resolution unit 61 determines the melody of the song for parsing the song of user's upload.
Wherein, the melody of song includes the rhythm of song.
Determination unit 62 is determined as the number of words range that the song is composed a poem to a given tune of ci required for the melody according to the song.
Lyrics generation unit 63 generates word for the lyrics text that lyrics library according to the pre-stored data and/or user upload Number quantity meets the lyrics of the number of words range.
Wherein, lyrics generation unit 63 may include:
Subelement 631 is obtained, for obtaining the lyrics stylistic category information and type of theme information of user's selection;
First determines subelement 632, for determining corresponding song according to the stylistic category information and type of theme information Dictionary;
Subelement 633 is selected, for selecting number of words quantity to meet the language of the number of words range from the lyrics library determined Sentence or word generate the lyrics.
When it is implemented, lyrics generation unit 63, can also include:
Subelement 634 is counted, for counting the first text quantity for including in the lyrics text;
Judgment sub-unit 635, for judging the first text quantity whether within the scope of the number of words;
Second determines subelement 636, if judging the word of the first text quantity for the judgment sub-unit 635 When number is within the scope of the number of words, determine that the text that the lyrics text includes is the lyrics;
Subelement 637 is prompted, for judging that the number of words of the first text quantity does not exist in the judgment sub-unit 635 When within the scope of the number of words, then user is prompted to modify the lyrics text, so that the second of the number of words of modified lyrics text Text quantity meets the number of words range;
Third determines subelement 638, for determining that the text that modified lyrics text includes is the lyrics.
When it is implemented, device provided in an embodiment of the present invention that write words of setting a song to music, can also include:
Music unit 64 is determined as the song and composes a poem to a given tune of ci institute for the melody in the determination unit according to the song Before the number of words range needed, according to the music stylistic category information that user selects, music processing is carried out to the song.
When it is implemented, determination unit 62, comprising:
4th determines that subelement 621 is determined as each bat that the song includes for the rhythm according to the song The number of words lower limit and the number of words upper limit for composing a poem to a given tune of ci required;
5th determines subelement 622, the number of words lower limit for composing a poem to a given tune of ci required for being determined as whole bats that the song includes The sum of and the sum of the number of words upper limit be respectively number of words lower limit and the number of words upper limit that the song is composed a poem to a given tune of ci required.
Device provided in an embodiment of the present invention that write words of setting a song to music can also include:
Song output unit 65, the song output type for being selected according to user, after output is composed a poem to a given tune of ci according to the song Obtained song.
In addition, the present invention may also include a kind of device set a song to music and write words, including at least one processing unit and at least one A storage unit.Wherein, the storage unit is stored with program code, when said program code is executed by the processing unit When, so that the processing unit executes various steps described in above-mentioned " illustrative methods " part of this specification.For example, described The song that processing unit can execute step S21 as shown in Figure 2, parsing user provides, determines the melody of the song, step S22, according to the melody of song determined, be determined as number of words range that the song is composed a poem to a given tune of ci required and step S23, according to pre- The lyrics text that the lyrics library first stored and/or user upload generates the lyrics that number of words quantity meets the number of words range.
It should be noted that although being referred to several unit or sub-units of device in the above detailed description, this stroke It point is only exemplary not enforceable.In fact, embodiment according to the present invention, it is above-described two or more The feature and function of unit can embody in a unit.Conversely, the feature and function of an above-described unit can It is to be embodied by multiple units with further division.
In addition, although describing the operation of the method for the present invention in the accompanying drawings with particular order, this do not require that or Hint must execute these operations in this particular order, or have to carry out shown in whole operation be just able to achieve it is desired As a result.Additionally or alternatively, it is convenient to omit multiple steps are merged into a step and executed by certain steps, and/or by one Step is decomposed into execution of multiple steps.
Although detailed description of the preferred embodimentsthe spirit and principles of the present invention are described by reference to several, it should be appreciated that, this It is not limited to the specific embodiments disclosed for invention, does not also mean that the feature in these aspects cannot to the division of various aspects Combination is benefited to carry out, this to divide the convenience merely to statement.The present invention is directed to cover appended claims spirit and Included various modifications and equivalent arrangements in range.

Claims (10)

1. a kind of method write words of setting a song to music, comprising:
The song that user provides is parsed, determines the melody of the song;
According to the melody of the song, it is determined as the number of words range that the song is composed a poem to a given tune of ci required, required number of words range is by number of words Lower limit and number of words upper limit composition;
The lyrics text that lyrics library according to the pre-stored data and/or user upload generates number of words quantity and meets the number of words range The lyrics, wherein according to the lyrics text that user uploads, generate number of words quantity and meet the lyrics of the number of words range, it is specific to wrap It includes: counting the first text quantity for including in the lyrics text;Judge the first text quantity whether in the number of words model In enclosing;If it is judged that determining the text that the lyrics text includes when the first text quantity is within the scope of the number of words For the lyrics;If it is judged that then being prompted described in user's modification when the first text quantity is not within the scope of the number of words Lyrics text, so that the second text quantity of modified lyrics text meets the number of words range, and determining modified The text that lyrics text includes is the lyrics.
2. according to the method described in claim 1, wherein, lyrics library according to the pre-stored data generates described in number of words quantity satisfaction The lyrics of number of words range, specifically include:
Obtain the lyrics stylistic category information and type of theme information of user's selection;
According to the stylistic category information and type of theme information, corresponding lyrics library is determined;
From the lyrics library determined, number of words quantity is selected to meet the sentence or the word generation lyrics of the number of words range.
3. according to the method described in claim 1, in the melody according to the song, it is determined as the song and composes a poem to a given tune of ci required word Before number range, further includes:
According to the music stylistic category information that user selects, music processing is carried out to the song.
4. according to the method described in claim 1, wherein, the melody of the song includes the rhythm of song;And
According to the melody of the song, it is determined as the number of words range that the song is composed a poem to a given tune of ci required, specifically includes:
According to the rhythm of the song, it is determined as on the number of words lower limit and number of words that each bat that the song includes is composed a poem to a given tune of ci required Limit;
Being determined as the sum of the sum of number of words lower limit that whole bats that the song includes are composed a poem to a given tune of ci required and number of words upper limit is respectively The number of words lower limit and the number of words upper limit that the song is composed a poem to a given tune of ci required.
5. method described in any claim according to claim 1~4, further includes:
The song obtained after being composed a poem to a given tune of ci according to the song according to the song output type that user selects, output.
6. a kind of device write words of setting a song to music, comprising:
Resolution unit determines the melody of the song for parsing the song of user's upload;
Determination unit is determined as the number of words range that the song is composed a poem to a given tune of ci required, required word for the melody according to the song Number range is made of number of words lower limit and the number of words upper limit;
Lyrics generation unit generates number of words quantity for the lyrics text that lyrics library according to the pre-stored data and/or user upload Meet the lyrics of the number of words range, the lyrics generation unit, comprising:
Subelement is counted, for counting the first text quantity for including in the lyrics text;Judgment sub-unit, for judging The first text quantity is stated whether within the scope of the number of words;Second determines subelement, if sentencing for the judgment sub-unit Disconnected result is yes, it is determined that the text that the lyrics text includes is the lyrics;Subelement is prompted, if being used for the judgement The judging result of subelement be it is no, then prompt user to modify the lyrics text, so that the second text of modified lyrics text Number of words meets the number of words range;Third determines subelement, for determining the text that modified lyrics text includes for institute State the lyrics.
7. device according to claim 6, the lyrics generation unit, comprising:
Subelement is obtained, for obtaining the lyrics stylistic category information and type of theme information of user's selection;
First determines subelement, for determining corresponding lyrics library according to the stylistic category information and type of theme information;
Subelement is selected, for selecting number of words quantity to meet the sentence or word of the number of words range from the lyrics library determined Language generates the lyrics.
8. device according to claim 6, further includes:
Music unit is determined as the song and composes a poem to a given tune of ci required word for the melody in the determination unit according to the song Before number range, according to the music stylistic category information that user selects, music processing is carried out to the song.
9. the melody of device according to claim 6, the song includes the rhythm of song;And
The determination unit, comprising:
4th determines subelement, for the rhythm according to the song, is determined as each bat that the song includes and composes a poem to a given tune of ci institute The number of words lower limit and the number of words upper limit needed;
5th determines subelement, for being determined as the sum of number of words lower limit that whole bats that the song includes are composed a poem to a given tune of ci required and word The sum of number upper limit is respectively the number of words lower limit and the number of words upper limit that the song is composed a poem to a given tune of ci required.
10. according to device described in claim 6~9 any claim, further includes:
Song output unit, the song output type for being selected according to user, what output obtained after being composed a poem to a given tune of ci according to the song 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 CN105513607A (en) 2016-04-20
CN105513607B true 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)

Families Citing this family (10)

* 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
CN109979497B (en) * 2017-12-28 2021-02-26 阿里巴巴集团控股有限公司 Song generation method, device and system and data processing and song playing method
CN109166564B (en) * 2018-07-19 2023-06-06 平安科技(深圳)有限公司 Method, apparatus and computer readable storage medium for generating a musical composition for a lyric text
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
CN109859739B (en) * 2019-01-04 2023-12-22 平安科技(深圳)有限公司 Melody generation method and device based on voice synthesis and terminal equipment
CN110517656B (en) * 2019-08-02 2024-04-26 平安科技(深圳)有限公司 Lyric rhythm generation method, device, storage medium and apparatus
CN113032620B (en) * 2021-03-02 2024-05-07 百度时代网络技术(北京)有限公司 Data processing method and device for audio data, electronic equipment and medium
CN113611268B (en) * 2021-06-29 2024-04-16 广州酷狗计算机科技有限公司 Musical composition generating and synthesizing method and device, equipment, medium and product thereof

Citations (4)

* 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
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7977562B2 (en) * 2008-06-20 2011-07-12 Microsoft Corporation Synthesized singing voice waveform generator

Patent Citations (4)

* 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
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

Also Published As

Publication number Publication date
CN105513607A (en) 2016-04-20

Similar Documents

Publication Publication Date Title
CN105513607B (en) A kind of method and apparatus write words of setting a song to music
US20200372896A1 (en) Audio synthesizing method, storage medium and computer equipment
CN108369799B (en) Machines, systems, and processes for automatic music synthesis and generation with linguistic and/or graphical icon-based music experience descriptors
US10891928B2 (en) Automatic song generation
CN108806655B (en) Automatic generation of songs
CN109979497B (en) Song generation method, device and system and data processing and song playing method
US9489938B2 (en) Sound synthesis method and sound synthesis apparatus
CN102687182A (en) Dynamic audio playback of soundtracks for electronic visual works
CN109801608A (en) A kind of song generation method neural network based and system
JP5949607B2 (en) Speech synthesizer
JP2017513049A (en) How to provide users with feedback on the performance of karaoke songs
CN109326280B (en) Singing synthesis method and device and electronic equipment
CN102193992A (en) System and method for generating custom songs
WO2022184055A1 (en) Speech playing method and apparatus for article, and device, storage medium and program product
CN112164379A (en) Audio file generation method, device, equipment and computer readable storage medium
CN112750187A (en) Animation generation method, device and equipment and computer readable storage medium
TWI713958B (en) Automated songwriting generation system and method thereof
JP2014013340A (en) Music composition support device, music composition support method, music composition support program, recording medium storing music composition support program and melody retrieval device
CN114974184A (en) Audio production method and device, terminal equipment and readable storage medium
CN113611268A (en) Musical composition generation and synthesis method and device, equipment, medium and product thereof
TWM578439U (en) Automated songwriting generation system
JP2013231881A (en) Karaoke scoring system
Gover et al. Choir Singers Pilot–An online platform for choir singers practice
CN116645957B (en) Music generation method, device, terminal, storage medium and program product
Výkruta Automatický expresivní čtený projev

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