CN102063292A - Harmony compiling method and device - Google Patents

Harmony compiling method and device Download PDF

Info

Publication number
CN102063292A
CN102063292A CN2009101096725A CN200910109672A CN102063292A CN 102063292 A CN102063292 A CN 102063292A CN 2009101096725 A CN2009101096725 A CN 2009101096725A CN 200910109672 A CN200910109672 A CN 200910109672A CN 102063292 A CN102063292 A CN 102063292A
Authority
CN
China
Prior art keywords
harmony
mode
definite
user
type
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
CN2009101096725A
Other languages
Chinese (zh)
Other versions
CN102063292B (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.)
University of Science and Technology of China USTC
Huawei Technologies Co Ltd
Original Assignee
University of Science and Technology of China USTC
Huawei Technologies 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 University of Science and Technology of China USTC, Huawei Technologies Co Ltd filed Critical University of Science and Technology of China USTC
Priority to CN2009101096725A priority Critical patent/CN102063292B/en
Publication of CN102063292A publication Critical patent/CN102063292A/en
Application granted granted Critical
Publication of CN102063292B publication Critical patent/CN102063292B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Auxiliary Devices For Music (AREA)

Abstract

The invention discloses a harmony compiling method. The method comprises the following steps of: receiving a harmony style type input by a user, wherein the harmony style type is corresponding to a corresponding harmony mode and a corresponding harmony speed; determining the type of the harmony mode and the range value of the harmony speed according to the harmony style type and a harmony style database created in advance; and compiling a first harmony according to the type of the harmony mode, the range value of the harmony speed and a defined harmony compiling model. Meanwhile, the invention also discloses a harmony compiling device. The embodiment of the invention comprises the steps of receiving the harmony style type input by the user, determining the type of the harmony mode and the range value of the harmony speed according to the harmony style database and compiling the first harmony by virtue of the determined harmony compiling model. The harmony compiling process is simple and universal.

Description

A kind of harmony preparation method and device
Technical field
The present invention relates to computer realm, relate in particular to a kind of harmony preparation method and device.
Background technology
Harmony (Harmony) can play the effect of setting off and strengthening expressive force as the accompaniment of melody, makes acoustics abundant, and is full, strengthened the artistic expression and the appeal of music.Coming composed melody according to harmony is the composition mode that the pop music composer uses always.
Genetic algorithm (Genetic Algorithm, GA) a more complete theoretical method that forms in the research of initial stage phase late 1960s to the seventies by the John Holland of U.S. Michigan university etc., start with from the complicated procedure of adaptation of attempting to explain biology the natural system, the mechanism of simulation biological evolution is constructed the model of manual system.GA itself is that a kind of speed is very fast, the global optimization method of better performances, and its advantage is to be optimized after the problem parameter coding is become chromosome, and not at parameter itself, thereby is not subjected to the restriction of function constraint condition; The set that search procedure is separated from problem has implicit parallel search characteristic, can significantly reduce to be absorbed in local minimum possibility.In the mid-90 in 20th century, Takagi and Aoki are on the former study basis, interactive genetic algorithm (Interactive GeneticAlgorithm has systematically been proposed, IGA) theory and method, i.e. " interactive genetic algorithm is the evolutionary optimization method of a kind of subjective assessment based on the people as the evolution individual fitness ", and it is applied to fields such as artistic design, speech recognition, virtual reality and education and recreation, expanded the range of application of interactive genetic algorithm greatly.
In the middle of existing harmony establishment, main by a large amount of modern popular music of analysis and research, summarize the rule of synthpop harmony.Its rule that takes out mainly comprises following two aspects: 1, allocating of the chord pattern of Que Dinging, the ordinal relation between the promptly different chord patterns.The chord pattern here can be regarded as the period in the music, also can be understood as determining of musical form.Mainly be in recent years on the basis of pop music,, to have selected a kind of method comparatively commonly used numerous allocating in the method in analysis and summary.By harmony being defined as 9 patterns, each pattern is divided into 8 or 4 joints (concrete number could vary corresponds to the little joint number in the period).But last chord of pattern must be identical with the initial chord that the user selectes.2, the decision that harmony carries out in the pattern.After having determined the allocating of chord pattern, finish the decision that harmony carries out in each pattern.The harmony of said method establishment though diversity is abundant, has synthesized the harmony that much is of little use in the reality; Simultaneously, this harmony preparation method establishment is very complicated, comparison indigestion and use for domestic consumer, and versatility is not good, can't satisfy user's individual demand.
Summary of the invention
In order to solve general and phonosynthesis complexity, comparison indigestion and use for domestic consumer, the problem that versatility is not good, the embodiment of the invention provide a kind of harmony preparation method, comprising:
Receive the harmony stylistic category of user's input, the corresponding corresponding harmony mode of described harmony stylistic category, harmony Qu Su;
The type of described harmony mode and the value range of described harmony Qu Su are determined in harmony style data storehouse according to described harmony stylistic category and foundation in advance;
Work out first harmony according to the value range of the type of described harmony mode and described harmony Qu Su and definite harmony establishment model.
Simultaneously, the embodiment of the invention also provides a kind of harmony scheduling apparatus, comprising:
First receiver module is used to receive the harmony stylistic category that the user imports, the corresponding corresponding harmony mode of described harmony stylistic category, harmony Qu Su;
Set up module, be used for setting up in advance harmony style data storehouse;
Determination module is used for determining the type of described harmony mode and the value range of described harmony Qu Su according to described harmony stylistic category and the described harmony style data storehouse of setting up in advance;
First compiling module is used for working out first harmony according to the value range of the type of described harmony mode and described harmony Qu Su and definite harmony establishment model.
The embodiment of the invention is determined the bent fast value range of harmony mode type harmony by the harmony style data storehouse of setting up in advance behind the harmony stylistic category that receives user's input, work out first harmony according to the harmony establishment model of determining again.The embodiment of the invention is for the domestic consumer that does not generally grasp music theory knowledge, and establishment and method for acoustic are simple, general, has realized working out harmony according to the harmony style that the user selects.Satisfied user's personal needs.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the process flow diagram of an embodiment of a kind of harmony preparation method of the present invention;
Fig. 2 is the process flow diagram of another embodiment of a kind of harmony preparation method of the present invention;
Fig. 3 is the structural representation of an embodiment of a kind of harmony scheduling apparatus of the present invention;
Fig. 4 is the structural representation of another embodiment of a kind of harmony scheduling apparatus of the present invention;
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
At first relevant music term in the music establishment is introduced:
Harmony: music develops into multi part by monophonic, and single melody constitutes the lateral aspects of sound, and harmony is then represented vertical aspect.Harmony, melody and rhythm are the three elements of music.Harmony can play the effect of setting off and strengthening expressive force as the accompaniment of melody, makes acoustics abundant, and is full, strengthened the artistic expression and the appeal of music.
Chord: chord is a notion on the music theory, refers to one group of sound of certain interval relation.With the sound more than three and three, by the stacked relation of three degree, in addition combination just becomes chord in the vertical.Notions such as common chords (chords of three sounds), seventh chord (chords of four sounds), ten common chords are arranged usually.
Harmony carries out: the annexation of the chord in certain harmony scope is called harmony and carries out.It has showed the motion state of harmony, embodies mutual relationship, functional cohesion and sound equipment color between the chord, the effect with clear and definite tonality or fuzzy tonality.
Chord series expression: with the series expression chord.As: table 1
Table 1
Figure B2009101096725D0000041
Transferring the one-level chord as C is the C chord, and the secondary chord is the Dm chord, and three grades of chords are Em chords, and the level Four chord is a chord, and the Pyatyi chord is the G chord, and six grades of chords are Am chords, and seven grades of chords are B-chords
Mode: mode is one group of used in musical composition musical sound as the pitch material, and this group sound is arranged with the scale form in theory, and wherein the different arrangement mode of each sound, different mutual relationships have just constituted different modes.
In music, isolated sound or chord can't be moulded musical image.Link together according to certain relation during the sound that in music, uses.The several sounds (generally being no more than seven) that link together according to certain relation, and be keynote with a sound, an individual system---mode formed.No matter be big the accent or ditty, first sound all be carry weight most, the status is the most stable, is called as keynote or middle hear sounds.Major mode is a keynote with movable do do, and minor is keynote with movable do la.
Tonality: tonality is meant the accurate pitch position at certain mode place.
The beginning to see of staff stave writes on the lifting mark before the bat.These marks are the accurate pitch of expression melody, just " tonality " of music.Exactly, it is the keynote position that indicates each mode.What briefly, tonality referred to is exactly 24 big ditties.
Period: period is the minimal structure that constitutes independent paragraph.The length of period depends on speed, beat and the type of works.
Period is complete happy think of of performance or the complete relatively happy minimal structure of thinking in the musical works, is to be based upon on the single theme, minimum complete musical form.The ingredient of period is a phrase, comes with closing-styled branch mutually between phrase, is unified into organic musical form structure by closing-styled functional relationship again.Period often is made up of several phrases, has the relation that question and answer are echoed between these phrases.Forming period by two or four phrases, is the comparison common phenomena, but also by the period of being made up of three, five or more phrases, or the period of being made up of an independent phrase.The period of homophony style, when statement, development and the happy think of of end, the technique of expression of harmony cuts much ice.Typical characteristics when therefore, the satisfactory termination of harmony and melody is the period end.Tonality when period can end to begin also can end in the termination fully of related key or other tonalities, and the latter is called the modulation period.
Musical form: the version of melody.Tune forms various paragraphs in evolution, according to the regularity that these paragraphs form, be musical form and find out the form with general character.Such as four-part form ABAB, capitalization is represented tune, identical letter represents that promptly content is identical.
Please in conjunction with referring to Fig. 1, the embodiment of the invention provides a kind of harmony preparation method, comprising:
Step 101 receives the harmony stylistic category that the user imports, the corresponding corresponding harmony mode of described harmony stylistic category, harmony Qu Su.
The harmony stylistic category mainly is meant harmony expression of feeling type, as: glad, sad, indignation, dejected, gentle, sentimental, joyful or the like.
Optionally, the harmony stylistic category can also comprise the speed rhythm type.As: fast, faster, at a slow speed, more at a slow speed or the like.As: table 2,
Table 2
Figure B2009101096725D0000061
Simultaneously, the corresponding corresponding harmony mode of harmony stylistic category, harmony Qu Su.
For example, when the harmony stylistic category is glad type fast, can corresponding harmony mode be major mode, harmony Qu Suwei fast.
Step 102 is determined the type of harmony mode and the value range of described harmony Qu Su according to the harmony style data storehouse of harmony stylistic category and foundation in advance.
Influence two key factors that music emotion embodies, i.e. speed and mode.Based on conclusion and the music music theory of Hevner, the speed of music is divided into following at least four grades, fast promptly, faster, slower and at a slow speed.With glad, the cheerful and light-hearted mood of harmony embodiment faster, harmony slower and at a slow speed embodies sad, sad mood fast;
The initial chord of big accent is the one-level chord in the music theory knowledge, and is in bright and gay colors, happy, positive.The initial chord of ditty is six grades of chords, the color dimness, and melancholy, soft.
Adopted following strategy based on above-mentioned music theory knowledge, promptly embodied glad, cheerful and light-hearted mood with the big harmony of transferring fast or faster, the harmony slower or at a slow speed of ditty embodies sad, sad mood.This strategy is the reference to the user, generally can guarantee user's the correct embodiment of affection need.
Harmony style data storehouse becomes concordance list with the policy development of adopting, and promptly sets up the concordance list of value range of type, the harmony Qu Su of harmony stylistic category and harmony mode.This concordance list has embodied the mapping relations of value range of type, the harmony Qu Su of harmony stylistic category and harmony mode.As, table 3
Table 3
The harmony stylistic category Harmony mode type The bent fast value range of harmony
Happiness fast Major mode 80-100ticks
Glad faster Major mode 60-80ticks
Sad at a slow speed Minor 20-40ticks
Sad more at a slow speed Minor 40-60ticks
...... ...... ......
Optionally, can ignore the strategy in the above-mentioned concordance list, can change or set up on their own above-mentioned strategy according to oneself hobby or music theory knowledge.If strategy is left in the basket in the above-mentioned concordance list, then initial harmony will at random and be evenly distributed on the different mode and speed.
Determine the type of harmony mode and the value range of described harmony Qu Su according to the harmony stylistic category of user's selection and the harmony style data storehouse of setting up in advance.
Step 103 is worked out first harmony according to the value range of the type of harmony mode and harmony Qu Su and definite harmony establishment model.
The harmony establishment model of determining comprises that at least definite harmony musical form, definite harmony carry out in pattern and the definite harmony tonality.The harmony establishment model of promptly determining can be to have only definite harmony musical form, definite harmony to carry out among pattern and the definite harmony tonality three each, also can be combination wantonly two among the three, can also be that the three possesses.After the value range of the type of harmony mode and harmony Qu Su is determined, carry out according to harmony musical form, the definite harmony determined in the harmony establishment model that at least one works out first harmony in pattern and the definite harmony tonality.
Wherein, the harmony musical form of determining can following five kinds of common musical form: AAAA, ABAA, ABAB, ABBB, ABCA.
The harmony of determining carries out pattern and can comprise following pattern:
A section harmony carries out pattern: with four trifles is a period, according to acoustics and modern popular music, we have chosen some harmony commonly used and have carried out carrying out as A section harmony following (series expression).I-IV-V-I,I-V-IV-I,I-III-IV-V,I-VI-IV-V,I-V-VI-IV,I-V-VI-III,VI-II-V-I,VI-II-V-III,VI-V-IV-III,VI-IV-V-I。
The initial chord of wherein big accent is the one-level chord, and the initial chord of ditty is six grades of chords.
B section harmony carries out pattern: produce on the basis of A section.
Optionally, the B section can comprise that following two kinds of harmony carry out pattern:
B1: as the initial chord of B section, all the other chords are identical with the A section with second chord of A section.Perhaps,
B2: as the initial chord of B section, the 3rd chord of A section is as second chord of B section with two chords of A section, and all the other chords are identical with the A section.As the A section is I-IV-V-I, and then B1 is IV-IV-V-I, and B2 is IV-V-V-I.
C section harmony carries out pattern:
Second chord with the A section is initial chord, and is used in same the carrying out of A section.
For example the A section is I-IV-V-I, and then the C section begins with IV, is IV-VII-I-IV.
The harmony of determining carries out pattern can figure specific as follows:
A B1 B2 C
I-IV-V-I IV-IV-V-I IV-V-V-I IV-VII-I-IV
I-V-IV-I V-V-IV-I V-IV-IV-I V-II-I-V
I-III-IV-V III-III-IV-V III-IV-IV-V III-V-VI-VII
I-VI-IV-V VI-VI-IV-V VI-IV-IV-V VI-IV-II-III
I-V-VI-IV V-V-VI-IV V-VI-VI-IV V-II-III-I
I-V-VI-III V-V-VI-III V-VI-VI-III V-II-III-VII
VI-II-V-I II-II-V-I II-V-V-I II-V-I-IV
VI-II-V-III II-II-V-III II-V-V-III II-V-I-VI
VI-V-IV-III V-V-IV-III V-IV-IV-III V-IV-III-II
VI-IV-V-I IV-IV-V-I IV-V-V-I IV-II-III-VI
The harmony tonality of determining refers to be defined as any in the 24 big ditties.
Optionally, first harmony of establishment can be converted to corresponding audio file, the user can estimate marking to this audio file behind this audio file of uppick.Receive the scoring of user to the audio file of this first harmony conversion, if reaching default harmony, user's scoring do not estimate satisfactory value, the excellent genes that utilizes interactive genetic algorithm to extract in described first harmony according to this scoring obtains user preference value, works out second harmony according to described user preference value and described harmony stylistic category and described definite harmony establishment model.
Wherein, harmony evaluation satisfactory value is the user estimates marking to harmony a satisfied mark; Excellent genes in described first harmony is: the harmony that this first harmony is not reached the user is estimated satisfactory value, but the scoring of this first harmony is belonged to higher scoring, promptly reaches the acceptance value of setting.Scope with scoring is that 1-10 is divided into example, and promptly minimum have only 1 fen, is up to 10 fens, can be provided with 10 and be divided into harmony evaluation satisfactory value, and 6 are divided into acceptance value; 6-9 then is divided into the harmony with excellent genes value.In the harmony of establishment, comparatively desirable individuality has appearred, and promptly this harmony is evaluated as the 6-9 branch by the user, then extracts excellent genes common in the described harmony.User preference value is estimated marking for more than the acceptance value for the user, but does not reach the value or the type of predicable that harmony is estimated the harmony of satisfactory value.For example, Qu Su is more than the 60ticks, and perhaps mode is minor or the like.
The embodiment of the invention is for the domestic consumer that does not generally grasp music theory knowledge, and establishment and method for acoustic are simple, general, has realized working out harmony according to the harmony style that the user selects.Satisfied user's personal needs.
Simultaneously,, improve availability, make the harmony of establishment be applicable to a large amount of domestic consumers owing to,, make the harmony of establishment comparatively general according to general music theory knowledge architecture harmony establishment model by concordance list mode structure sound style data storehouse.
Please in conjunction with referring to Fig. 2, the embodiment of the invention provides a kind of harmony preparation method, comprising:
Step 201 receives user's input.
Receive the harmony stylistic category of user's input, the corresponding corresponding harmony mode of the corresponding harmony stylistic category of this harmony stylistic category, harmony Qu Su.The harmony stylistic category mainly is meant harmony expression of feeling type, as: glad, sad, indignation, dejected, gentle, sentimental, joyful or the like.The harmony stylistic category can also comprise the speed rhythm type.As: fast, faster, at a slow speed, more at a slow speed or the like.Because this harmony stylistic category directly by expression of feeling type and/or speed rhythm type constitution, makes the people understandable.So this input mode is suitable for the domestic consumer that generally music theory knowledge is relatively lacked.
Optionally, receive the user to harmony mode and input to harmony Qu Su.Can select the harmony mode as the user is major mode or minor, can select harmony Qu Suwei XX ticks.Simultaneously, if what receive is the user to harmony mode and input to harmony Qu Su, then execution in step 203.
Step 202 is determined harmony mode and harmony Qu Su according to user's input and harmony style data storehouse.
Import the harmony style data storehouse of harmony stylistic category and foundation in advance according to the user and determine the type of harmony mode and the value range of described harmony Qu Su.
Step 203 is according to harmony establishment model establishment harmony.
Work out first harmony according to the value range of the type of harmony mode and harmony Qu Su and definite harmony establishment model.
Step 204 receives the scoring of user to harmony, judges whether this scoring reaches harmony and estimate satisfactory value.
Behind establishment first harmony, first harmony is converted to corresponding audio file.The user can carry out audition to the audio file after the conversion, and the user can estimate marking to the audio file of first harmony after the conversion.After receiving the scoring of user, judge whether this scoring reaches default harmony evaluation satisfactory value to first harmony that is converted to audio file.In the harmony of establishment, desirable individuality has appearred, and promptly this harmony is evaluated as 10 fens by the user, then finishes the harmony establishment.Otherwise, execution in step 205.
Step 205, the excellent genes that extracts in first harmony according to scoring obtains user preference value.
Adopt the optimum individual in elite's retention strategy-reservation parent, replaced the corresponding individuality in the filial generation.The predicable that is about to mark high slightly (more than the acceptance value, below the satisfactory value, but not comprising satisfactory value) in first harmony of user's evaluation extracts, and as excellent genes, replaces the corresponding factor in the filial generation.For example: can be provided with in the mode of scoring the harmony of establishment is assessed, the scope of scoring is the 1-10 branch, can be provided with 10 and be divided into satisfactory value, and 6 are divided into acceptance value; 6-9 then is divided into the harmony with excellent genes value.In the harmony of establishment, comparatively desirable individuality has appearred, and promptly this harmony is evaluated as the 6-9 branch by the user, then extracts excellent genes common in the described harmony.
Optionally, the inferior gene of abandoning in first harmony according to scoring obtains user preference value.
Step 206 is worked out second harmony according to user preference value and user's input and harmony establishment model.Optionally, if second harmony does not still reach user's satisfactory value, continue input and harmony establishment model establishment harmony according to user preference value and user.
The embodiment of the invention is worked out harmony with interactive genetic algorithm in conjunction with harmony establishment model.
Concrete, by the IGA-interactive genetic algorithm,, guarantee that the harmony of working out meets user's requirement in the mode of manual evaluation.
In order to reduce the fatigue strength of user in evaluation process, be 10 with the population number of IGA, promptly at every turn for the user produces 10 first harmony, for user's audition assessment.The maximum operation algebraically of appointment is restricted to 50, and when system reached this qualification, no matter whether the user was satisfied with, and system will stop to carry out.
Adopt the optimum individual in elite's retention strategy-reservation parent, replaced certain individuality in the filial generation at random.The high slightly common factor of soon marking in first harmony that the user estimates extracts, and as excellent genes, replaces the corresponding factor in the filial generation.In the harmony of establishment, comparatively desirable individuality has appearred, and promptly this harmony is evaluated as the 6-9 branch by the user, then extracts the excellent genes in the described harmony.In the harmony of establishment, desirable individuality has appearred, and promptly this harmony is evaluated as 10 fens by the user, then finishes the harmony establishment.
The coding of IGA algorithm: (coding is with the form of bit string)
Code length is decided according to the size of solution space, and is relevant with number of parameters to be determined.The specific coding mode is as follows:
Preceding n1 bit representation tonality.Suppose total tonality A-G, desirable three 000-110 represent;
The chord of phrase carries out pattern in n1+1-n2 bit representation first period.
Big ditty is also represented in the n1+1 position, 0 expression ditty, and 1 expression is big transfers
N1+1 has also represented first chord that the first period chord carries out in the position simultaneously, 0 expression, 6,1 expressions 1
N2+1-n3 bit representation musical form.Suppose to have four kinds of musical forms, available two binary codings are represented.
The producing method of n3+1-n4 bit representation B section;
The Qu Su of n4+1-n5 bit representation harmony.
The embodiment of the invention can be with the example that is encoded to of IGA in the interactive module: preceding 3 bit representation tonalities.Total tune A-G, 7 kinds, 000-110 represents respectively;
The chord of phrase carries out pattern in 4-7 bit representation first period, and concrete corresponding relation is:
0100 VI-II-V-I
0101 VI-II-V-III
0110 VI-IV-V-I
0111 VI-V-IV-III
1000 I-III-IV-V
1001 I-IV-V-I
1010 I-V-IV-I
1011 I-V-VI-III
1100 I-V-VI-IV
1101 I-VI-IV-V
Also represent big ditty for the 4th, 0 expression ditty, 1 expression is big transfers.
While the 4th first chord of having represented that also the first period chord carries out, 0 expression VI, 1 expression I.
7-9 bit representation musical form.Totally five kinds of musical forms, its corresponding relation is:
010 ABAB
011 ABAA
100 AAAA
101 ABBB
110 ABCA
The B section producing method that the 10th bit representation is different, 0 expression B1,1 expression B2;
The Qu Su of the 11st, 12 bit representation harmony.Totally four kinds of Qu Su, to as follows with relation:
Figure B2009101096725D0000121
Unadapted coding in the above space encoder if occur, is then used with its hamming and is replaced apart from the coding of minimum in the algorithm operational process.In the embodiment of the invention per 5 generations, done once statement:
The 1st generation:
Figure B2009101096725D0000131
The 5th generation:
Figure B2009101096725D0000132
The 17th generation:
Figure B2009101096725D0000133
When running to for the 17th generation, found desirable individuality, promptly be evaluated as the individuality of " satisfaction ".Then stop to continue establishment.
Optionally, in the above-mentioned coding, comprise the coding that some do not have practical significance, promptly these codings do not have real phenotype.In the middle of the operation of reality, when this kind situation occurring, with return with parent in the individuality of this coding hamming apart from minimum, finally finish follow-on establishment.
The embodiment of the invention is for the domestic consumer that does not generally grasp music theory knowledge, and establishment and method for acoustic are simple, general, has realized working out harmony according to the harmony style that the user selects.Satisfied user's personal needs.Owing to,, make the harmony of establishment comparatively general according to general music theory knowledge architecture harmony establishment model by concordance list mode structure sound style data storehouse, improve availability, make the harmony of establishment be applicable to a large amount of domestic consumers.
Simultaneously,,, carry out excellent genes in the harmony with user's assessment and extract,, finally work out out customer satisfaction system harmony at input and harmony establishment model establishment harmony according to the user according to the IGA interactive genetic algorithm by the scoring of user to harmony.Satisfied user's demand.
Please in conjunction with referring to Fig. 3, the embodiment of the invention provides a kind of harmony scheduling apparatus.Comprise:
First receiver module 301 is used to receive the harmony stylistic category that the user imports, the corresponding corresponding harmony mode of described harmony stylistic category, harmony Qu Su.
Receive the harmony stylistic category of user's input, the corresponding corresponding harmony mode of the corresponding harmony stylistic category of this harmony stylistic category, harmony Qu Su.The harmony stylistic category mainly is meant harmony expression of feeling type, as: glad, sad, indignation, dejected, gentle, sentimental, joyful or the like.The harmony stylistic category can also comprise the speed rhythm type.As: fast, faster, at a slow speed, more at a slow speed or the like.Because this harmony stylistic category directly by expression of feeling type and/or speed rhythm type constitution, makes the people understandable.So this input mode is suitable for the domestic consumer that generally music theory knowledge is relatively lacked.
Optionally, receive the user to harmony mode and input to harmony Qu Su.Can select the harmony mode as the user is major mode or minor, can select harmony Qu Suwei XX ticks.
Set up module 302, be used for setting up in advance harmony style data storehouse.
Concrete, set up the concordance list of value range of type, the harmony Qu Su of harmony stylistic category and harmony mode in advance.This concordance list has embodied the mapping relations of value range of type, the harmony Qu Su of harmony stylistic category and harmony mode, sees Table 3.
Determination module 303 is used for determining the type of described harmony mode and the value range of described harmony Qu Su according to described harmony stylistic category and the described harmony style data storehouse of setting up in advance.
Concrete, determine the type of harmony mode and the value range of described harmony Qu Su according to the harmony stylistic category of user's selection and the harmony style data storehouse of setting up in advance.Concrete, the harmony stylistic category that determination module 303 is selected according to the user is searched and is set up the harmony style data storehouse that module 302 is set up in advance, obtains the type of harmony mode and the value range of harmony Qu Su.
First compiling module 304 is used for working out first harmony according to the value range of the type of described harmony mode and described harmony Qu Su and definite harmony establishment model.
Concrete, harmony mode type that first compiling module 304 is determined according to determination module 303 and the value range of harmony Qu Su are being worked out first harmony according to the harmony establishment model of determining.
Wherein, the harmony establishment model of determining comprises that at least definite harmony musical form, definite harmony carry out in pattern and the definite harmony tonality.The harmony establishment model of promptly determining can be to have only definite harmony musical form, definite harmony to carry out among pattern and the definite harmony tonality three each, also can be combination wantonly two among the three, can also be that the three possesses.After the value range of the type of harmony mode and harmony Qu Su is determined, carry out according to harmony musical form, the definite harmony determined in the harmony establishment model that at least one works out first harmony in pattern and the definite harmony tonality.
Please in conjunction with referring to Fig. 4, the embodiment of the invention provides a kind of harmony scheduling apparatus, comprising: second receiver module 401, acquisition module 402, second compiling module, 403, the first receiver modules 301 are set up module 302, determination module 303, the first compiling module 304.Wherein first receiver module 301 is set up module 302, and the function of determination module 303, the first compiling module 304 and annexation repeat no more please referring to the elaboration of the foregoing description herein.
Second receiver module 401 is used to receive the scoring of user to described first harmony.
The harmony scheduling apparatus is converted to corresponding audio file with first harmony behind establishment first harmony.The user can carry out audition to the audio file after the conversion, and the user can estimate the audio file of first harmony after the conversion, marks.After receiving the scoring of user, judge whether this scoring reaches default harmony evaluation satisfactory value to first harmony that is converted to audio file.For example, can be provided with in the mode of scoring the harmony of establishment is assessed, the scope of scoring is the 1-10 branch, can be provided with 10 and be divided into satisfactory value.In the harmony of establishment, desirable individuality has appearred, and promptly this harmony is evaluated as 10 fens by the user, then finishes the harmony establishment.
Acquisition module 402, be used for if the user that receives of second receiver module 401 does not reach default harmony scoring satisfactory value to the scoring of first harmony, the excellent genes that utilizes interactive genetic algorithm to extract in described first harmony according to described scoring obtains user preference value.
Adopt the optimum individual in elite's retention strategy-reservation parent, replaced certain individuality in the filial generation.The common factor that is about to mark high slightly (more than the acceptance value, below the satisfactory value, but not comprising satisfactory value) in first harmony of user's evaluation extracts, and as excellent genes, replaces the corresponding factor in the filial generation.For example: can be provided with in the mode of scoring the harmony of establishment is assessed, the scope of scoring is the 1-10 branch, can be provided with 10 and be divided into satisfactory value, and 6 are divided into acceptance value; 6-9 then is divided into the harmony with excellent genes value.In the harmony of establishment, comparatively desirable individuality has appearred, and promptly this harmony is evaluated as the 6-9 branch by the user, then extracts excellent genes common in the described harmony.
Optionally, the inferior gene of abandoning in first harmony according to scoring obtains user preference value.
Second compiling module 403 is used for extracting user preference value and described harmony stylistic category and described definite harmony establishment model according to acquisition module 402 and works out second harmony.
Optionally, if second harmony does not still reach user's satisfactory value, continue input and harmony establishment model establishment harmony according to user preference value and user.
The embodiment of the invention is for the domestic consumer that does not generally grasp music theory knowledge, and establishment and method for acoustic are simple, general, has realized working out harmony according to the harmony style that the user selects.Satisfied user's personal needs.Owing to,, make the harmony of establishment comparatively general according to general music theory knowledge architecture harmony establishment model by concordance list mode structure sound style data storehouse, improve availability, make the harmony of establishment be applicable to a large amount of domestic consumers.
Simultaneously,,, carry out excellent genes in the harmony with user's assessment and extract,, finally work out out customer satisfaction system harmony at input and harmony establishment model establishment harmony according to the user according to the IGA interactive genetic algorithm by the scoring of user to harmony.Satisfied user's demand.
Those of ordinary skills are by reading the application as can be known, all or part of step in the said method also can be finished by the relevant hardware of programmed instruction, this program can be stored in the computer-readable recording medium, and described computer-readable recording medium is as ROM, RAM or CD etc.
In sum, more than be preferred embodiment of the present invention only, be not to be used to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (8)

1. a harmony preparation method is characterized in that, described method comprises:
Receive the harmony stylistic category of user's input, the corresponding corresponding harmony mode of described harmony stylistic category, harmony Qu Su;
The type of described harmony mode and the value range of described harmony Qu Su are determined in harmony style data storehouse according to described harmony stylistic category and foundation in advance;
Work out first harmony according to the value range of the type of described harmony mode and described harmony Qu Su and definite harmony establishment model.
2. the method for claim 1, it is characterized in that, described harmony style data storehouse comprises the concordance list of value range of type, the harmony Qu Su of harmony stylistic category and harmony mode at least, described harmony style data storehouse according to described harmony stylistic category and foundation in advance determines that the type of described harmony mode and the value range of described harmony Qu Su comprise: search described concordance list according to described harmony stylistic category, determine the type of described harmony mode and the value range of described harmony Qu Su.
3. method as claimed in claim 1 or 2, it is characterized in that, described definite harmony establishment model comprises definite harmony musical form at least, the harmony of determining carries out in pattern and the definite harmony tonality, described type and the value range of described harmony Qu Su and the harmony establishment model of setting up in advance according to described harmony mode worked out first harmony, comprise:, utilize described definite harmony musical form according to the type of described harmony mode and the value range of described harmony Qu Su, the harmony of determining carries out the establishment harmony at least in three of pattern and the definite harmony tonalities; Described harmony musical form represents that for the order of the multistage harmony that constitutes common musical form and the dependence of each section harmony described harmony carries out representing in proper order for the chord progression that constitutes common harmony.
4. as the described method of claim 1-3, it is characterized in that described method also comprises:
Receive the scoring of user to described first harmony, if reaching default harmony, described scoring do not estimate satisfactory value, the excellent genes that utilizes interactive genetic algorithm to extract in described first harmony according to described scoring obtains user preference value, works out second harmony according to described user preference value and described harmony stylistic category and described definite harmony establishment model.
5. a harmony scheduling apparatus is characterized in that, described device comprises:
First receiver module is used to receive the harmony stylistic category that the user imports, the corresponding corresponding harmony mode of described harmony stylistic category, harmony Qu Su;
Set up module, be used for setting up in advance harmony style data storehouse;
Determination module is used for determining the type of described harmony mode and the value range of described harmony Qu Su according to described harmony stylistic category and the described harmony style data storehouse of setting up in advance;
First compiling module is used for working out first harmony according to the value range of the type of described harmony mode and described harmony Qu Su and definite harmony establishment model.
6. device as claimed in claim 5 is characterized in that, described first compiling module also is used for:
Determine harmony establishment model; Described definite harmony establishment model comprises that at least definite harmony musical form, definite harmony carry out in pattern and the definite harmony tonality.
7. as claim 5 or 6 described devices, it is characterized in that described device also comprises:
Second receiver module is used to receive the scoring of user to described first harmony;
Acquisition module is used for if described scoring does not reach default harmony scoring satisfactory value, and the excellent genes that utilizes interactive genetic algorithm to extract in described first harmony according to described scoring obtains user preference value;
Second compiling module is used for working out second harmony according to described user preference value and described harmony stylistic category and described definite harmony establishment model.
8. device as claimed in claim 7 is characterized in that, described acquisition module also is used for:
Set in advance harmony scoring satisfactory value.
CN2009101096725A 2009-11-18 2009-11-18 Harmony compiling method and device Expired - Fee Related CN102063292B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009101096725A CN102063292B (en) 2009-11-18 2009-11-18 Harmony compiling method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009101096725A CN102063292B (en) 2009-11-18 2009-11-18 Harmony compiling method and device

Publications (2)

Publication Number Publication Date
CN102063292A true CN102063292A (en) 2011-05-18
CN102063292B CN102063292B (en) 2013-12-04

Family

ID=43998583

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009101096725A Expired - Fee Related CN102063292B (en) 2009-11-18 2009-11-18 Harmony compiling method and device

Country Status (1)

Country Link
CN (1) CN102063292B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104464702A (en) * 2014-10-27 2015-03-25 叶煦舟 Chord accompany generation method based on genetic algorithm
CN105161087A (en) * 2015-09-18 2015-12-16 努比亚技术有限公司 Automatic harmony method, device, and terminal automatic harmony operation method
CN105374347A (en) * 2015-09-22 2016-03-02 中国传媒大学 A mixed algorithm-based computer-aided composition method for popular tunes in regions south of the Yangtze River
CN111863030A (en) * 2020-07-30 2020-10-30 广州酷狗计算机科技有限公司 Audio detection method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100595256B1 (en) * 2004-06-24 2006-07-03 엘지전자 주식회사 A Cellular Phone having a Function of Composition and A Method of Composition by the Cellular Phone and a Usage of the Cellular Phone

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104464702A (en) * 2014-10-27 2015-03-25 叶煦舟 Chord accompany generation method based on genetic algorithm
CN104464702B (en) * 2014-10-27 2017-07-21 叶煦舟 Harmony accompaniment generation method based on genetic algorithm
CN105161087A (en) * 2015-09-18 2015-12-16 努比亚技术有限公司 Automatic harmony method, device, and terminal automatic harmony operation method
CN105374347A (en) * 2015-09-22 2016-03-02 中国传媒大学 A mixed algorithm-based computer-aided composition method for popular tunes in regions south of the Yangtze River
CN105374347B (en) * 2015-09-22 2019-07-23 中国传媒大学 A method of the Jiangnan ditty area of computer aided composition based on hybrid algorithm
CN111863030A (en) * 2020-07-30 2020-10-30 广州酷狗计算机科技有限公司 Audio detection method and device

Also Published As

Publication number Publication date
CN102063292B (en) 2013-12-04

Similar Documents

Publication Publication Date Title
Chen et al. Creating melodies with evolving recurrent neural networks
Johnson-Laird How jazz musicians improvise
CN102063292B (en) Harmony compiling method and device
Järveläinen Algorithmic musical composition
Davismoon et al. Combining musical constraints with Markov transition probabilities to improve the generation of creative musical structures
Bresin et al. Evaluation of computer systems for expressive music performance
Alfonseca et al. A simple genetic algorithm for music generation by means of algorithmic information theory
Hoover et al. Functional scaffolding for composing additional musical voices
CN107894850A (en) The note coding of Chinese-English words and its musical-product and coding method rule
US10431191B2 (en) Method and apparatus for analyzing characteristics of music information
Gimenes et al. Emergent worldviews: An ontomemetic approach to musical intelligence
CN104464702B (en) Harmony accompaniment generation method based on genetic algorithm
O'Neill et al. Evolving a logo design using lindenmayer systems, postscript & grammatical evolution
Özer Crossing the Boundaries: The akdeniz scene and Mediterraneanness
CN113140202B (en) Information processing method, information processing device, electronic equipment and storage medium
CN113571030A (en) MIDI music correction method and device based on auditory sense harmony evaluation
Vargas et al. Artificial musical pattern generation with genetic algorithms
KR20170128072A (en) Music composition method based on free order markov chain and bayes inference
CN113096624A (en) Method, device, equipment and storage medium for automatically creating symphony music
Larson Another Look at Schenker's" Counterpoint"
Emura et al. A modular system generating Jazz-style arrangement for a given set of a melody and its chord name sequence
Colton et al. Neuro-Symbolic Composition of Music with Talking Points
Anderson Harmonic Practices in Oliver Knussen's Music since 1988: Part I
Gimenes et al. A memetic approach to the evolution of rhythms in a society of software agents
Morris et al. Music generation using cellular models

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20131204

Termination date: 20161118