CN103093747A - Automatic tune correcting device and automatic tune correcting method - Google Patents

Automatic tune correcting device and automatic tune correcting method Download PDF

Info

Publication number
CN103093747A
CN103093747A CN2012104323718A CN201210432371A CN103093747A CN 103093747 A CN103093747 A CN 103093747A CN 2012104323718 A CN2012104323718 A CN 2012104323718A CN 201210432371 A CN201210432371 A CN 201210432371A CN 103093747 A CN103093747 A CN 103093747A
Authority
CN
China
Prior art keywords
accent
chord
mentioned
situation
cpu21
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
CN2012104323718A
Other languages
Chinese (zh)
Other versions
CN103093747B (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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Publication of CN103093747A publication Critical patent/CN103093747A/en
Application granted granted Critical
Publication of CN103093747B publication Critical patent/CN103093747B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Auxiliary Devices For Music (AREA)
  • Electrophonic Musical Instruments (AREA)

Abstract

The present invention provides an automatic tune correcting device which judges tune judgment results performed in real time on input rhythms in a non-real time manner, corrects the tunes into correct tunes and can further enhance precision of chord setting. The automatic tune correcting device is provided with a keyboard for playing the rhythms of songs, and a CPU performs tune judgment in real time on the rhythms according to the record of the tones of the played rhythms, and corrects the real-time conducted tune judgment results in a non-real time manner after the rhythms are played.

Description

Automatic adjusting equipment and automatic adjusting correction method
The Japanese patent application No.2011-242251 that the application proposed based on November 4th, 2011, and advocate its right of priority, quote its full content here.
Technical field
The present invention relates to automatic adjusting equipment and automatic adjusting correction method.
Background technology
In pianotron or the such electronic musical instrument that possesses keyboard of electric organ, general main with right hand bullet melody, with the accompaniment of left hand bullet, perhaps press and give as security a plurality of keys that consist of chord.Thereby, in such electronic musical instrument, need to be used for the right hand and left hand respectively according to the exercise of the self-movements such as music score.
Like this, no matter in which kind of of the method for playing of the method for playing of piano and organ, all need the right hand and left hand needs corresponding exercise simultaneously with different gestalt movements for this reason.Particularly, although can be in order to play melody the motion right hand, carry out different performances with left hand simultaneously and feel that the player of difficulty is more in the beginner especially.Thereby, require to have by the player and play melody, can automatically make the electronic musical instrument that should pass through to play with left hand the accompaniment tone that generates with the right hand.
For example, in No. 3099436 communique of Japan's special permission, proposed with lower device: the note data of melody is stored according to a plurality of intervals, when the chord name in the 2nd interval of giving note data, with reference to adjusting data, the note data corresponding with the 2nd interval, the note data in the 1st interval and the chord name of before the 2nd interval being given, determine new chord name.
As being used for one of key element that determines like this chord, use the note that consists of melody, but these notes are not to be reflected in equably respectively chord to determine.For example note is according to being included in which bat and they are strong and weak different, in addition, the temporal position in clapping according to it, power is also different.Thereby, wish that its power of reflection decides the chord name.In addition, more wish it is not only to decide the chord name with reference to single note according to the transformation of a plurality of notes.
So, in TOHKEMY 2011-158855 communique, proposed and can and change the automatic accompanying apparatus that determines in real time and suitably the chord name based on the strong and weak of the note that consists of melody.
But, if carry out in real time the chord setting, become while the database that utilizes rule of thumb rule making and determined in a way, even can carry out accurately real-time chord setting in simple melody, but in the situation that use grace or use chord, the situation of the precision step-down of real-time chord setting is arranged.
One of reason of the precision step-down that arranges as this chord, the precision of accent (tune) judgement that can enumerate the melody that needs when chord arranges is lower.
The accent of melody is not always certain.According to the difference of melody, the situation of modulation that changes halfway other accent into is a lot.In the situation that modulation has occured, need to judgement be converted to which accent and obtain new accent before determine the chord name that to give.
Usually, in order to judge the accent of melody, the situation that the resume of the pitch of the melody of this melody of use formation judge is more.But if want in real time to transfer according to the melody judgement of the melody of playing, when the beginning of melody phrase etc., the pitch that is included in resume is less, has according to the classification of melody the situation that judges rightly and transfer of being difficult to.
Like this, the precision that arranges in order to improve real-time chord need to make the accent of real-time judge more accurate.
Summary of the invention
The objective of the invention is the precision by the accent judged result of the real-time melody of playing of further raising, make the precision of the chord that melody is given in real time improve.
In order to achieve the above object, the automatic adjusting equipment of a technical scheme of the present invention has: play mechanism, the playing music melody; Transfer in real time decision mechanism, the resume based on the pitch of the Qu Xuanlv that plays judge accent in real time for this Qu Xuanlv; And non real-time adjusting positive mechanism, the melody of above-mentioned performance mechanism play finish after, will be revised in non real-time by the accent that above-mentioned real-time accent decision mechanism is judged.
Description of drawings
Fig. 1 means the figure of outward appearance of the automatic adjusting equipment of relevant present embodiment.
Fig. 2 means the piece figure of structure of the automatic adjusting equipment of relevant embodiments of the present invention.
Fig. 3 means the process flow diagram of the example of the main flow of carrying out in the automatic adjusting equipment of relevant present embodiment.
Fig. 4 is the process flow diagram of the example that represents that in more detail the keyboard of relevant present embodiment is processed.
Fig. 5 means the process flow diagram of the example that the chord name judgement of relevant present embodiment is processed.
Fig. 6 means that the 1st bat the 3rd corresponding note of bat of relevant present embodiment determines the process flow diagram of the example of processing.
Fig. 7 means that the 1st bat the 3rd corresponding note of bat of relevant present embodiment determines the process flow diagram of the example of processing.
Fig. 8 means that the 1st bat the 3rd corresponding note of bat of relevant present embodiment determines the process flow diagram of the example of processing.
Fig. 9 means that the 1st bat the 3rd corresponding note of bat of relevant present embodiment determines the process flow diagram of the example of processing.
Figure 10 means the process flow diagram of the example that the 1 five degree displacement judgement of relevant present embodiment is processed.
Figure 11 means that the 2nd corresponding note of bat of relevant present embodiment determines the process flow diagram of the example of processing.
Figure 12 means that the 2nd corresponding note of bat of relevant present embodiment determines the process flow diagram of the example of processing.
Figure 13 means that the 2nd corresponding note of bat of relevant present embodiment determines the process flow diagram of the example of processing.
Figure 14 means that the 2nd corresponding note of bat of relevant present embodiment determines the process flow diagram of the example of processing.
Figure 15 means that the 4th corresponding note of bat of relevant present embodiment determines the process flow diagram of the example of processing.
Figure 16 means that the 4th corresponding note of bat of relevant present embodiment determines the process flow diagram of the example of processing.
Figure 17 means the process flow diagram of the example that the 2 five degree displacement judgement of relevant present embodiment is processed.
Figure 18 means that the chord of relevant present embodiment determines the process flow diagram of the example of processing.
Figure 19 means that the chord of relevant present embodiment determines the process flow diagram of the example of processing.
Figure 20 means that the chord of relevant present embodiment determines the process flow diagram of the example of processing.
Figure 21 means that the chord of relevant present embodiment determines the process flow diagram of the example of processing.
Figure 22 means the figure of example of the melody sequence table of relevant present embodiment.
Figure 23 means the figure of example of the 1st chord table of relevant present embodiment.
Figure 24 means the figure of example of the 2nd chord table of relevant present embodiment.
Figure 25 means the figure of part of an example of the melody menu of relevant present embodiment.
Figure 26 means the figure of part without an example of judgement chord table of relevant present embodiment.
Figure 27 means the process flow diagram of example of the non real-time chord correcting process of relevant present embodiment.
Figure 28 means that the adjusting of relevant present embodiment just verifying the process flow diagram of the example of processing.
Figure 29 means that the adjusting of relevant present embodiment just verifying the process flow diagram of the example of processing.
Figure 30 means the process flow diagram of the example that the chord constituting tone checking of relevant present embodiment is processed.
Figure 31 means the process flow diagram of the example that the phrase division checking of relevant present embodiment is processed.
Figure 32 means the process flow diagram of the example that the phrase division checking of relevant present embodiment is processed.
Figure 33 means the process flow diagram of the example that the phrase division checking of relevant present embodiment is processed.
Figure 34 means the process flow diagram of the example that the phrase division checking of relevant present embodiment is processed.
Figure 35 means that the chord of relevant present embodiment arranges the process flow diagram of the example of correcting process.
Figure 36 means that the chord of relevant present embodiment arranges the process flow diagram of the example of correcting process.
Figure 37 means the process flow diagram of example of the comparison process of the melody of relevant present embodiment and chord scale.
Figure 38 means the user's of relevant present embodiment the process flow diagram of example of correcting process.
What Figure 39 meaned relevant present embodiment determines the figure of the example of table based on the accent of final melody sound.
Figure 40 means the figure of example of the finale judgement table of relevant present embodiment.
Figure 41 means that the relative keys of relevant present embodiment uses the figure of the example of judgement table.
Figure 42 means the figure of part of an example of the grace database of relevant present embodiment.
Figure 43 means the figure of part of an example of the chord modulator of relevant present embodiment.
Figure 44 means the figure of part of an example in the chord prioritized data storehouse of relevant present embodiment.
Figure 45 means the process flow diagram of the example that the automatic accompaniment of relevant present embodiment is processed.
Figure 46 means the figure of an example of music score.
Embodiment
Below, with reference to accompanying drawing, embodiments of the present invention are described.Fig. 1 means the figure of outward appearance of the electronic musical instrument of the automatic adjusting equipment that has adopted relevant present embodiment.As shown in Figure 1, the electronic musical instrument 10 of relevant present embodiment has keyboard 11.In addition, on the top of keyboard 11, have to carry out tone color appointment, automatic accompaniment begin finish, the switch (with reference to label 12,13) of the appointment of rhythm pattern etc.; The non real-time chord that is used for beginning non real-time chord correction after real-time chord arranges end arranges revises switch 14; With show various information about the melody of playing, such as the display part 15 of tone color, rhythm pattern, chord name etc.The electronic musical instrument 10 of relevant present embodiment for example has 61 keys (C2~C7).In addition, electronic musical instrument 10 can carry out automatic accompaniment pattern that automatic accompaniment is opened and these two performance patterns of normal mode that automatic accompaniment is closed in any under performance.
Fig. 2 means the piece figure of structure of the automatic adjusting equipment of relevant embodiments of the present invention.As shown in Figure 2, the automatic adjusting equipment 10 of relevant present embodiment possesses CPU21, ROM22, RAM23, audio system 24, switch group 25, keyboard 11 and display part 15.
CPU21 carries out the decision, the various processing such as performance of the automatic accompaniment that carries out according to automatic accompaniment pattern and chord name of control, chord name that foundation is undertaken by the pitch of the musical sound of button of detection, the audio system 24 that carries out according to the operation of key and switch of the operation of press the switch giving as security and consist of switch group 25 (for example, with reference to Fig. 1 label 12,13,14) of key of control, the keyboard 11 of electronic musical instrument 10 integral body.
The various processing that the ROM22 storage is carried out CPU21, for example, certain key of the operation of switch, keyboard press signature, corresponding to the pronunciation of the musical sound of button, according to the program of the performance of the decision of the chord name of being undertaken by the pitch of the musical sound of button, the automatic accompaniment that carries out according to automatic accompaniment pattern and chord name etc.In addition, ROM22 has the Wave data district of Wave data of the musical sound of preserving to generate piano, guitar, bass drum, snare drum, cymbals etc. and the automatic accompaniment pattern district that preserves the data (automatic accompaniment data) of the various automatic accompaniment patterns of expression.The program that RAM23 storage is read from ROM22, and the data that produce the process of processing.In addition, in the present embodiment, the automatic accompaniment pattern has the chord pattern of the formation sound that comprises each chord name, the rhythm pattern that comprises the basic pattern of root and comprise tympanitic note.For example, the record of the data of chord pattern and basic pattern comprises pitch, pronunciation timing (pronunciation constantly), the duration of a sound of musical sound.In addition, the data of rhythm pattern comprise tone color, the pronunciation timing of musical sound.
Audio system 24 has sound source part 26, voicefrequency circuit 27 and loudspeaker 28.Sound source part 26 is for example receiving from CPU21 about by the information of the key of button or about the information of automatic accompaniment pattern the time, and the Wave data from the Wave data district of ROM22 reads regulation generates tone data and the output of the pitch of regulation.In addition, sound source part 26 also can be exported the Wave data former state of the idiophonic tone colors such as Wave data, particularly snare drum, bass drum, cymbals as tone data.Voicefrequency circuit 27 carries out tone data the D/A conversion and amplifies.Thus, from loudspeaker 28 output aural signals.
The electronic musical instrument 10 of relevant present embodiment is given as security and the generation musical sound based on the pressing of key of keyboard 11 under normal mode.On the other hand, electronic musical instrument 10 is operated by automatic accompaniment switch (not shown) becomes the automatic accompaniment pattern.Under the automatic accompaniment pattern, by the signature of pressing of key, produce the musical sound of the pitch of this key.In addition, based on being determined the chord name by the pitch of the key of button, produce according to comprising the chord constituting tone of this chord name at the musical sound of interior automatic accompaniment pattern.Below, the situation that electronic musical instrument 10 is moved under the automatic accompaniment pattern describes.
Below, illustrate in greater detail the processing of carrying out in the electronic musical instrument 10 of relevant present embodiment.Fig. 3 means the process flow diagram of the example of the main flow of carrying out in the automatic adjusting equipment of relevant present embodiment.In addition, although do not illustrate, in the execution of main flow, the timer that also with official hour interval execution, the Counter Value of interrupt counter is increased progressively increases progressively processing.
As shown in Figure 3, if the CPU21 of electronic musical instrument 10 is put into power supply, carry out the data comprise in RAM23, and the initial treatment (initialization process) (step S1) of the removing of the image of display part 15.If initial treatment (step S1) finishes, carry out switch process, this switch process is that CPU21 detects the operation separately of the switch that consists of switch group 25, and carries out the processing (step S2) according to the operation that detects.
For example, in switch process (step S2), the operation of the various switches such as assigned switch of the assigned switch of the classification of detection tone color assigned switch, automatic accompaniment pattern, the open and close of automatic accompaniment pattern.When the automatic accompaniment pattern became unlatching, CPU21 switched to the automatic accompaniment pattern with the performance pattern.The data of expression performance pattern are by the Region specification of the regulation of RAM23.The data of the classification of expression tone color or automatic accompaniment pattern are kept in the zone of regulation of RAM23 too.
Then, CPU21 carries out keyboard and processes (step S3).Fig. 4 is the process flow diagram of the example that represents that in more detail the keyboard of relevant present embodiment is processed.In keyboard was processed, CPU21 is the key of keyboard scan 11 (step S11) successively.CPU21 judges whether about certain key, event (step S12) to have occured with reference to this scanning result.In the situation that be judged as "Yes" in step S12, CPU11 judges whether this event is that key is opened (button) (step S13).
In the situation that be judged as "Yes" in step S13, CPU21 carries out the pronunciation corresponding with the key that has been carried out this key unlatching and processes (step S14).In this pronunciation was processed, CPU21 read and is stored in the tamber data that the melody key in RAM23 uses and the data that represent the pitch corresponding with this key, temporarily stores in RAM23.In (the step S6 of Fig. 3) processed in source of sound pronunciation described later, give sound source part 26 with the expression tone color of this temporary transient storage and the data of pitch.Sound source part 26 by reading Wave data from ROM22, generates tone data according to the data of expression tone color and pitch.Thus, produce the musical sound of regulation from loudspeaker 28.
Then, CPU21 will about pitch information that the key that key opens is arranged (for example key number) and button regularly (for example button constantly) preserve (step S15) to RAM23.Button regularly can calculate based on the Counter Value of interrupt counter.
In the situation that be judged as "No" in step S13, the generation event is that key is closed (from key).Thereby CPU21 carries out about the noise reduction that becomes the key that key closes and processes (step S16).In noise reduction was processed, CPU21 took out the data that are included in the expression pitch in this event.In the case, also in (step S6) processed in source of sound described later pronunciation, give sound source part 26 with the data of the expression pitch of this taking-up.Sound source part 26 is based on the data of giving, with the musical sound noise reduction of this pitch.Then, the key of CPU21 about there being key to close will be preserved (step S17) to RAM23 from the time (from key constantly) of key.
CPU21 judges whether to process about whole key events and finishes (step S18).In the situation that be judged as "No" in step S18, get back to step S12.
Finish if keyboard is processed (the step S3 of Fig. 3), CPU21 carries out the chord judgement and processes (step S4).Fig. 5 means the process flow diagram of the example that the chord judgement of relevant present embodiment is processed.In the present embodiment, haply with the current melody sound that is just pronouncing as current melody sound (Current Melody) CM, will be than the melody sound of its previous pronunciation as melody sound (Previous Melody) PM formerly, will be than current chord name by previous performance as chord name (Previous Chord name) PreCH formerly, based on current melody sound CM, formerly melody sound PM and chord name PreCH formerly, the current chord name that decision should newly be pronounced (Current Chord name) CurCH.In addition, in the present embodiment, the tonality of melody is made as c major (C Maj) or A ditty (A min), about the chord name, represents with respect to the number of degrees of keynote with I Maj, II m etc., these data are stored in RAM23 etc.In the situation that other tonalities, can be based on the poor chord name that accompanies with the root sound of obtaining of the pitch between the sound of the root sound of this tonality and " C " (or " A ").
In addition, the tonality of melody is not limited to predetermine the situation into c major (C Maj) or A ditty (Amin), also can comprise other large accent, ditty and determines in real time.In the case, the classification of the accent of decision is more than 1.Also the accent that determines is stored in RAM23.
But, sometimes should in which bat wait based on button, be determined above-mentioned current melody sound CM and melody sound PM formerly by the temporal position of button, the button figure (continue, carry out successively, jump etc.) that is whether racket head or a plurality of buttons.That is, exist about current in reality and should be made as the situation of current melody sound CM by the button beyond the key of button and about being made as the formerly situation of melody sound PM by the previous of the key of button by the button beyond the key of button current.Below, in the chord judgement was processed, step S24~30 related generally to current melody sound CM and the formerly decision of melody sound PM.The step S31 that then carries out for based on current melody sound CM, formerly melody sound PM and formerly chord name PreCH determine particularly the processing of current chord name CurCH.
At first, CPU21 determine the information of the bat under current time and key information (moment that key is opened or close to key till time), determine in current bat by the key of button, and obtain in the previous interval (front bat is interval) of the bat under current time by the information of the key of button (step S21).In step S21, in current bat is the initial value of current melody sound CM by the information of the key of button, and to clap interval beginning be the initial value of melody sound PM formerly by the information of the key of button front.
Then, CPU21 is based on information and the key information clapped, the beginning of the bat of judgement under current time just whether exist by according to key (step S22).In the situation that be judged as "No" in step S23, chord name judgement processing finishes.In the situation that be judged as "Yes" in step S22, CPU21 copies to current chord name CurCH formerly in chord name PreCH (step S23).
CPU21 will specify the table appointed information of chord table described later to be set as the information (step S24) of specifying the 2nd chord table.In chord table, the 2nd chord table that mainly is included in button and is the 1st the 1st chord table that uses when clapping and use beyond it time is kept in ROM22 respectively.The table appointed information means which the information of using the 1st chord table or the 2nd chord table, is kept in RAM23.
Then, judgement is by the temporal position of the key of button, and namely which key clapped by button (step S25, S26, S28) at.Be the 3rd bat ("Yes" in step S26) in the situation that button is the 1st bat ("Yes" in step S25) or button, CPU21 carries out the 1st and claps the 3rd corresponding note of bat (note) decision processing (step S27).In the situation that button is the 2nd bat ("Yes" in step S28), carries out the 2nd and clap corresponding note decision processing (step S29).In addition, in the situation that be judged as "No" in step S508, that is, in the situation that button is the 4th bat, carries out the 4th and clap corresponding note decision processing (step S30).
In the present embodiment, melody is 4/4ths bats, and 1 trifle is clapped by 4 and consisted of.Button is that n claps, and the beginning that the timing that refers to button is after the n beginning of clapping, clap than (n+1) is Zao in time.
In the inscape of melody, the concept of bat and bat is arranged.In addition, in bat, there is power according to each bat, considers the power of above-mentioned bat and the melody progress.In addition, syncopation (syncopation) etc. is arranged also, the situation that the power of according to circumstances clapping moves.In the present embodiment, the power of consider clapping and extract the formation sound that consists of optimum melody stream determines to be suitable for most the current melody sound CM of chord judgement and melody sound PM formerly.
Fig. 6~Fig. 9 means that the 1st bat the 3rd corresponding note of bat of relevant present embodiment determines the process flow diagram of the example of processing.As shown in Figure 6, judge whether button claps (step S41) about the 1st.In the situation that be judged as "Yes" in step S24, CPU21 will show the information (step S42) that appointed information changes to expression the 1st table.Then, CPU12 carries out the 1 five degree displacement judgement and processes (step S43).
It is to extract the processing of five degree displacements (that is, subordinate and sound (dominant) are to the progress of the sound of advocating peace (keynote)) from melody stream that five degree displacement judgements are processed.In the present embodiment, use the 1 five degree displacement judgement considered the chord name to process in processing and do not consider that or not 2 five degree displacement judgement of chord name processes.Figure 10 means the process flow diagram of the example that the 1 five degree displacement judgement of relevant present embodiment is processed.
As shown in figure 10, CPU21 judgement is kept at formerly chord name PreCH in RAM23 corresponding to which (step S81) of the dominant chord of large tone category.Here, in the 1 five degree displacement judgement of relevant present embodiment was processed, the dominant chord of for example establishing large tone category reached " VIIm7 (5) " for " VMaj ", " V7 ".In the situation that be judged as "Yes" in step S81, whether the CPU21 judgement is certain (step S82) in (F, E), (B, C), (D, C) as (PM, the CM) of the group of the value of melody sound PM and current melody sound CM formerly.In step S82, whether the motion of judgement from melody sound PM formerly to current melody sound CM is the motion when solving from dominant to keynote large chord progress of transferring.
In the situation that be judged as "Yes" in step S82, CPU21 determines that current chord name CurCH be " IMaj ", its information is preserved (step S83) to RAM23.Then, will to be illustrated in five degree displacements be that the information of the 1st judged result is preserved (step S84) to RAM23 in processing to CPU21.In the situation that be judged as "No" in being judged as "No" or step S82 in step S81, CPU21 judges that chord name PreCH formerly is whether corresponding to certain (step S85) of the dominant chord of little tone category.Here, in the present embodiment, the dominant chord of for example establishing little tone category reaches " III7 " for " IIIMaj ".
In the situation that be judged as "Yes" in step S85, whether CPU21 judgement (PM, CM) is certain (the step S86) in (G#, A), (B, A), (D, C).In step S86, whether the motion of judgement from melody sound PM formerly to current melody sound CM is the motion when solving from dominant to keynote the chord progress of ditty.In the situation that be judged as "Yes" in step S86, CPU21 determines that current chord name CurCH be " VImin ", this information is preserved (step S87) to RAM23.Then, advance to step S84.
In the situation that be judged as "No" in step S85, perhaps in the situation that be judged as "No" in step S86, it is that the information of the 2nd judged result is preserved (step S88) to RAM23 in processing that CPU21 will be illustrated in five degree displacements.
If the 1 five degree displacement judgement processing of step S43 finishes, CPU21 judges whether the result that the 1 five degree displacement judgement is processed is the 2nd result (step S44).In the situation that be judged as "No" in step S44, namely, in the situation that the result that the 1 five degree displacement judgement is processed is the 1st result, formerly melody sound PM and current melody sound CM do not change initial value ground to the RAM23 preservation, and end process (step S45).In the situation that be judged as "Yes" in step S44, CPU21 is with reference to the key information that is kept in RAM23, and whether judgement has button (step S46) in the bat of the tight front of the bat corresponding with current time.
In the situation that be judged as "Yes" in step S44, CPU21 is with reference to the key information of RAM23, and judging whether also has later on button (step S47) in the beginning of the tightly bat of front.Be judged as "No" in step S47, mean in the bat of tight front and this bat respectively by by 4 dieresis.Narrate in the back about the processing in this situation.In the situation that be judged as "Yes" in step S47, in the key information of CPU21 in being kept at RAM23, with reference to after the beginning of the bat of tight front by the tone period of the key of button, judge whether until current be (step S49) in phonation.In step S49, even be not the button of racket head, as long as it is by button and be maintained, just corresponding to syncopation, so judge whether button corresponding to syncopation after the beginning of the bat of tight front.
In the situation that be judged as "Yes" in step S49, formerly melody sound PM is the original state of initial value, on the other hand, will be after the beginning of the bat of tight front by the key of button as current melody sound CM, and cutting sign SYN is set to " 1 ", preserves (step S50) to RAM23.Formerly melody sound PM and current melody sound CM preserve to RAM23.Corresponding to the button of syncopation owing to having the power same with the button of racket head, so dispose equally with racket head.
Then, with reference to Fig. 7, to describing for the situation of "No" in step S46.In the situation that be judged as "No" in step S46, CPU21 judges the button corresponding bent beginning sound (step S51) whether in current bat beginning.Step S51 can be by CPU21 with reference to being kept at key information in RAM23, judging whether it is that initial key information is realized.In the situation that be judged as "Yes" in step S51, as melody sound PM formerly and provide current melody sound CM.In addition, although can be with current melody sound CM change initial value, CPU21 will show appointed information and change to the information (step S52) of specifying the 2nd chord table.
In the situation that be judged as "No" in step S51, judge whether that 8 clap the button (step S53) of above time.In the situation that be judged as "Yes" in step S53, CPU21 keeps current melody sound CM the original state of initial value, on the other hand, provides current melody sound CM as melody sound PM formerly, preserves information (step S54) to RAM23.In the situation that be judged as "Yes" in step S53, more than there is no new button 2 trifles.In the case, the meaning of melody sequence dies down, so ignore before more than 2 trifles by the initial value of the formerly melody sound PM of button.In the situation that be judged as "No" in step S53, CPU21 formerly melody sound PM and current melody sound CM keeps the original state (step S55) of initial value.
Then, with reference to Fig. 8, the situation that is judged as "No" in step S47 is described.In the situation that be judged as "No" in step S47, CPU21 judges current melody function (Current Melody Function:CMF) whether right and wrong and sound (Other Tone:OT) (step S61).Here, current melody function CMF represents that current melody sound CM is with respect to the function of chord name PreCH formerly.In the present embodiment, CMF is: represent current melody sound CM be the polyphonic ring tone of the formerly chord constituting tone of chord name PreCH (Chord Tone:CT), expression be the formation sound of current scale (tonality) scale symbol (Scale Note:CN), represent certain in other other sounds (Other Tone) of sound (not sum sound).
More particularly, preserve in ROM22 and set up related melody menu with between chord name and musical alphabet, CPU21 judges current melody function with reference to having found corresponding value with current melody sound CM and the formerly establishment of chord name PreCH.Figure 25 means the figure of part of an example of the melody menu of relevant present embodiment.As shown in figure 25, in melody menu 2500, can corresponding to by current melody sound CM and formerly the value that consists of of chord name PreCH group and obtain the value of regulation.In Figure 25, in melody menu 2500, CT represents polyphonic ring tone (for example, with reference to label 2501~2503), and SN represents scale symbol (for example, with reference to label 2511~2513).In addition, in Figure 25, in melody menu 2500, what does not all have the hurdle (for example, with reference to label 2521,2522) of record to represent other sounds.
In the situation that be judged as "Yes" in step S61, CPU21 formerly melody sound PM and current melody sound CM keeps the original state (step S62) of initial value.On the other hand, in the situation that be judged as "No" in step S61, CPU21 judges whether current melody function CMF is scale symbol SN (step S63).In the situation that be judged as "Yes" in step S63, CPU21 judges formerly whether the difference of melody sound PM and current melody sound CM is that 2 semitones are with interior (step S64).In step S64, judge whether it is so-called progress successively.In the situation that be judged as "Yes" in step S64, perhaps in the situation that be judged as "No" in step S63, execution the 1 five degree displacement processing (step S65).
Then, CPU21 judges whether it is the 2nd judged result (step S66) in (step S65) processed in the 1 five degree displacement judgement.In the situation that be judged as "No" in step S66, that is, in the situation that be the 1st judged result, CPU21 formerly melody sound PM and current melody sound CM keeps the original state (step S62) of initial value.In the situation that be judged as "Yes" in step S66, CPU21 judges current button, namely whether the button as the processing object is the 1st (the step S63) that claps.In the situation that be judged as "Yes" in step S63, CPU21 formerly melody sound PM and current melody sound CM keeps the original state (step S68) of initial value.
On the other hand, in the situation that be judged as "No" in step S67, if be namely the 3rd to clap as the button of processing object, CPU21 be given in as melody sound PM formerly than initial formerly melody sound PM more forward 1 by the pitch PPM (step S69) of button.In addition, current melody sound CM is kept initial value.This is because the possibility that consists of the musical sound of progress successively and be ornamental sound in the 3rd claps is higher, can think that the original musical sound of domination melodic line is that musical sound before one is clapped is suitable.
Then, the situation that is judged as "No" in step S49 is described.As shown in Figure 9, CPU21 determines the later keypad tone (step S71) of racket head in the bat of tight front, the pitch that judges determined keypad tone whether with initial CM identical (step S72).In the situation that be judged as "Yes" in step S72, CPU21 keeps current melody sound CM under initial state, on the other hand, and as melody sound PM formerly and provide the value (step S73) of current melody sound CM.For example, consider that in the bat of tight front the button that makes progress in melody, current bat with the order of " D ", " C " by 8 dieresis is the situation of " C ".In the case, consider that the sound of initial " D " of the bat of tight front is grace, consider it is not the order from " D " to " C " and order from " C " to " C " is suitable.Therefore, make that formerly the melody sound is identical with current melody sound, for the phase unisonance continuously.
In the situation that be judged as "No" in step S72, CPU21 judges that whether the later keypad tone of determined racket head all equates (step S74) with melody sound PM formerly.In the situation that be judged as "Yes" in step S74, advance to step S63.For example, consider in the bat of tight front to have been undertaken by 16 dieresis 4 buttons of " D ", " C ", " C ", " C ".In the case because be racket head, so can consider that also " D " is ornamental sound, so also have not should with as " D " of the button of racket head as the situation of melody sound PM formerly.So, the processing that execution in step S63 is later.
On the other hand, in the situation that be judged as "No" in step S74, CPU21 formerly melody sound PM and current melody sound CM keeps the original state (step S75) of initial value.
Then, clap corresponding note to the 2nd and determine that processing (step S29) describes.Figure 11~Figure 14 means that the 2nd corresponding note of bat of relevant present embodiment determines the process flow diagram of the example of processing.As shown in figure 11, whether the CPU21 judgement does not have button (step S91) in the 1st claps.In the situation that be judged as "Yes" in step S91, namely in the situation that there is no button, CPU21 will show appointed information and change to the information (step S91) of specifying the 1st chord table.For example, when at song midway, the sound of trifle before extends, the 1st to clap be rest, when clapping next phrase since the 2nd, in the present embodiment, considering to clap by the sound of button the 2nd has power with the 1st beating-in sample, uses the 1st chord table of clapping the chord table of use as the 1st.
In the 2nd corresponding note of bat was processed, the 1st the 1 five degree displacement judgement processing (step S43) of clapping the 3rd corresponding note decision of bat processing reached processing (step S44, the S45) omission based on its judged result.Step S93~step S97 respectively with Fig. 6 step S46~S50 is same.
In addition, Figure 12 is in the situation that be judged as the processing that "No" is carried out in step S93.Step S101, step S103~S105 respectively with Fig. 7 step S51, step S53~S55 is same.In addition, in step S102, except the change of not following the table appointed information, with the step S52 of Fig. 7 be same.
Then, the situation that is judged as "No" in step S94 is described.As shown in figure 13, CPU21 judges current melody function CMF whether right and wrong and sound OT (step S111).In the situation that step S61, the S62 of the step S112 that advances to for "Yes" in step S111 and step S111 and Fig. 8 are same.
In the situation that be judged as "No" in step S111, CPU21 judges formerly whether chord name PreCH is without the chord (step S113) beyond the judgement chord.As explanation in Figure 21 (particularly step S205), about nothing judgement chord, modulation is masked as the value more than " 1 " in processing before.So, in step S113, as long as whether the modulation sign that judgement is kept in RAM23 is that " 1 " is above just passable.
Be "No" in step S113, namely in the situation that formerly chord name PreCH be that CPU21 provides current melody sound CM (step S114) as melody sound PM formerly without the judgement chord.On the other hand, in the situation that be judged as "Yes" in step S113, namely in the situation that formerly chord name PreCH be without beyond the judgement chord, judge whether current melody function CMF is that scale accords with SN (step S115).In the situation that be judged as "Yes" in step S63, CPU21 judges formerly whether the difference of melody sound PM and current melody sound CM is that 2 semitones are with interior (step S116).The step S63 of step S115 and step S116 and Fig. 8 and 64 is same.In the situation that be judged as "No" in step S115, or in the situation that be judged as "Yes" in step S116, CPU21 provides formerly chord name PreCH (step S117) as current chord name CurCH.That is, formerly chord name PreCH keeps.
Clap or the 4th clap the 2nd, the situation that the chord that chord name is formerly kept is kept of carrying out is arranged, so realized that suitable chord keeps.In the present embodiment, in the situation that current melody function CMF is polyphonic ring tone (CT), perhaps in the situation that current melody function CMF be scale symbol (SN) and be to make progress successively, carry out chord and keep.In the melody of 4 bats, it is weak beat that the 2nd bat and the 4th is clapped.Thereby as long as melody is not emphasized weak beat, the 2nd bat and the 4th chord of clapping are just kept the 1st bat and the 3rd chord of clapping basically.
For example, in melody shown in Figure 46, the sound of " C ", " D ", " E ", " F ", " E ", " D ", " C " is arranged in racket head, the order of this sound is for making progress successively.In fact, the chord name that is suitable for this order is IMaj (CMaj).But if the not processing shown in execution in step S115~step S117, in the 2nd bat or the 4th was clapped, the chord name became IMaj (CMaj) in addition.So, as shown in step S115~S116, carry out under certain conditions chord and keep, can access suitable chord name.
After step S117, the chord in CPU21 RAM23 determines that sign is set to " 1 " (step S118).This is because in the case, determined current chord name CurCH in step S117, so the processing that does not need follow-up chord to determine.
In addition, in the situation that be judged as "No" in step S116, advance to step S112, keep formerly melody sound PM and current melody sound CM.
In the situation that the processing that is judged as "No" in step S96 as shown in figure 14.The step S71 of the step S121 of Figure 14~step S125 and Fig. 9~S75 is same.In the situation that be judged as "Yes" in step S124, advance to the step S115 of Figure 10, the judgement chord keeps.
Then, clap corresponding note to the 4th and determine that processing (step S30) describes.Figure 15~Figure 16 means that the 4th corresponding note of bat of relevant present embodiment determines the process flow diagram of the example of processing.The 4th claps corresponding note determines that processing and the 2nd corresponding note of bat determine to process similar.
As shown in figure 15, clap during corresponding note determines to process the 4th, omit the processing that has that it's too late and follow it (the step S91 of Figure 11~S92) of the 1st button of clapping.In Figure 15, the step S93 of step S131~S135 and Figure 11~S97 is same.In addition, in the situation that be judged as "Yes" in step S131, carry out the processing of Figure 12.
In the situation that be judged as "No" in step S132, carry out processing shown in Figure 16.In Figure 16, the step S111 of step S141~S146 and Figure 13~S116 is same.In the 4th claps corresponding note processing, when being judged as "No" or be judged as "Yes" in step S145 in step S146, then carrying out the 2 five degree displacement judgement and process (step S147), based on its result, judge whether to carry out chord and keep.
Figure 17 means the process flow diagram of the example that the 2 five degree displacement judgement of relevant present embodiment is processed.In the 2 five degree displacement judgement is processed, only judge the transformation of melody sound, do not consider the formerly chord classification of chord name PreCH.As shown in figure 17, whether CPU21 judgement (PM, CM) is certain (the step S151) in (F, E), (B, C), (D, C).The step S82 of this and Figure 10 is same.In the situation that be judged as "No" in step S151, whether CPU21 judgement (PM, CM) is certain (the step S153) in (G#, A), (B, A), (D, C).The step S86 of this and Figure 10 is same.
In the situation that be judged as "Yes" in step S151, perhaps in the situation that be judged as "Yes" in step S153, it is that the information of the 1st judged result is preserved (step S152) to RAM23 in processing that CPU21 will be illustrated in five degree displacements.On the other hand, in the situation that be judged as "No" in step S153, it is that the information of the 1st judged result is preserved (step S154) to RAM23 in processing that CPU21 will be illustrated in five degree displacements.
In the situation that the 2 five degree displacement judgement is the 2nd judged result ("Yes" in step S148) in processing, CPU21 provides formerly chord name PreCH (step S149) as current chord name CurCH.That is, keep formerly chord name PreCH.Then, the chord in CPU21 RAM23 determines that sign is set to " 1 ".On the other hand, in the situation that be judged as "Yes" in step S148, advance to step S142, keep formerly melody sound PM and current melody sound CM.
In the situation that be judged as "No" in step S134, carry out processing shown in Figure 14.
If shown in step S27, S29, S30, determine that with clapping corresponding note processing finishes respectively, based on by processing revised formerly melody sound PM and current melody sound CM, carry out chord and determine processing (step S31).Figure 18~Figure 21 means that the chord of relevant present embodiment determines the process flow diagram of the example of processing.
As shown in figure 18, CPU21 keeps determining current chord name CurCH by chord, and judges whether that chord determines that sign is not " 1 " (step S161).In the situation that be judged as "No" in step S161, namely in the situation that chord determines that sign is " 1 ", CPU21 preserves (step S175) with current chord name CurCH and the pronunciation moment thereof to the zone of the regulation of RAM23.
In the situation that be judged as "Yes" in step S161, namely in the situation that chord determines that sign is not " 1 ", CPU21 obtains formerly melody sound PM and current melody sound CM (step S162) from RAM23.CPU21 judges formerly whether melody sound PM is bent beginning sound (step S163).In step S163, for example as long as judgement does not exist the moment more front than melody sound PM formerly just passable by the sound of button.In the situation that be judged as "No" in step S163, CPU21 judges formerly whether polyphonic ring tone PreCH is without judgement chord (step S164).
In the situation that be judged as "Yes" in step S163, perhaps in the situation that be judged as "Yes" in step S164, CPU21 provides current melody sound CM (step S165) as melody sound PM formerly.This is because in the situation that be judged as "Yes" in step S164, formerly chord name PreCH is without the judgement chord, so it is more appropriate newly to begin the melody sequence.
Then, CPU21 is with reference to the melody sequence table, obtains the group (step S166) with value corresponding to (PM, CM).Figure 22 means the figure of example of the melody sequence table of relevant present embodiment.As shown in figure 22, in melody sequence table 2200, about the formerly melody sound PM of regulation and the group of current melody sound CM value of preserving.If be present in melody sequence table 2200 with the group of value corresponding to (PM, CM), just passable as long as the group that will be worth temporarily is saved in RAM23.On the other hand, if be not present in melody sequence table 2200 with the group of value corresponding to (PM, CM), as long as preserve just passable to RAM23 the non-existent information of the group of expression value.
Then, CPU21 determines in the tight front of current melody sound CM by the sound of the button sound of tight front (CM) (step S167).Tight front described here by the sound of button be in fact in tight front by the sound of button, also have and situation that formerly melody sound PM is not identical.Sound and the current melody sound CM of the tight front of CPU21 will determine in step S167 CM compare, judge their pitch poor whether be 5 semitones above (step S168).In the situation that be judged as "Yes" in step S168, CPU21 judges that whether current melody sound CM is about the 1st button (step S169) of clapping.
Sometimes comprise in the melody sequence and should as the melody sound of core, have the melody sound of decorating as the melody sound of core before and after it.The melody sound of decorating does not have very large pitch poor with comparing as the melody sound of core usually.On the other hand, in the situation that the poor jump of pitch is that certain limit (for example about 4 degree) is above, it is more that in the sound after jump, intensity becomes larger situation.So the judgement pitch is poor in step S168, carries out different processing based on this difference.
In the situation that be judged as "Yes" in step S169, CPU21 judges formerly whether chord name PreCH continues two trifles above (step S171).In the situation that be judged as "Yes" in step S171, CPU21 determines in the 1st chord table as classification and with reference to the hurdle of " jumping 2 ", obtains the chord name (step S172) of the regulation in the 1st chord table.On the other hand, in the situation that be judged as "No" in step S172, CPU21 determines in the 1st chord table as classification and with reference to the hurdle of " jumping 1 ", obtains the chord name (step S173) of the regulation in the 1st chord table.
Figure 23 means the figure of example of the 1st chord table of relevant present embodiment.The part of expression the 1st chord table in Figure 23.As shown in figure 23, in chord table 2300, at least based on the function of chord name formerly (formerly chord function (Previous Chord Function): with reference to label 2310) and (melody sound PM formerly, current melody sound CM) group (for example, with reference to label 2301,2302), determine the chord name.
And then, " without jumping " in the present embodiment, is set, " jumping 1 " reach " jump 2 " these 3 classifications (with reference to label 2311), decide the chord name based on group and the classification of chord function formerly, (formerly melody sound PM, current melody sound CM).
Formerly the chord function has these 3 of keynote (TO), sub-dominant (SU) and dominants (DO).As the chord name of corresponding keynote, " IMaj ", " IM7 ", " IIImin ", " IIIm7 ", " VImin ", " VIm7 " are arranged.As the chord name of the sub-dominant of correspondence, " IImin ", " IIm7 ", " IIm7 (5) ", " IVMaj ", " IVM7 ", " IVmin ", [IVmM7] are arranged.In addition, as the chord name of corresponding dominant, " IIIMaj ", " III7 ", " III7sus4 ", " VMaj ", " V7 ", " V7sus4 ", " VIIm7 (5) " are arranged.Every kind formerly the correspondence of chord function the chord name for example pre-save in RAM23.
In addition, in classification, " jump 2 " considers jump and the formerly continuation of chord name in the melody sequence, makes the degree of variation of chord larger.On the other hand, in " jumping 1 ", compare with the situation of " jumping 2 ", the degree that chord changes is less.In addition, the classification of " without jumping " in the situation that use the 1st chord table, is used in the situation that do not have the classification of " jumping 1 " or " jumping 2 " to use as described later.
For example, if formerly the formerly chord function of chord name PreCH is " keynote ", and (melody sound PM formerly, current melody sound CM)=(C, G), classification is " jumping 2 ", obtains " VMaj " (with reference to label 2321) from the 1st chord table.In addition, if formerly the formerly chord function of chord name PreCH is " keynote ", and (formerly melody sound PM, current melody sound CM)=(C, G), classification is " jumping 1 ", obtains " IMaj " (with reference to label 2322) from the 1st chord table.
CPU21 will preserve to the zone of the regulation of RAM23 as current chord name CurCH from the chord name that the 1st chord table is determined, and its pronunciation moment is preserved (step S174, S175) to the zone of the regulation of RAM23.
Then, the situation that is judged as "No" or is judged as "No" in step S168 in step S169 is described.CPU21 judges whether current melody sound CM is the polyphonic ring tone (CT) (step S181) of formerly chord name PreCH.In the situation that be judged as "Yes" in step S181, CPU21 based on the pronunciation of the musical sound of chord name PreCH formerly constantly and current time, whether the tone period that judges chord name PreCH formerly is two to clap with interior (step S182).In the situation that be judged as "Yes" in step S182, CPU21 judges whether the cutting sign is " 1 " (step S183) again.
In the situation that be judged as "No" in step S183, CPU21 carries out the 2 five degree displacement and processes (step S185), and whether the transformation of judgement from melody sound PM formerly to current melody sound CM is five degree displacements.In the situation that the result that the 2 five degree displacement is processed is the 2nd judged result ("Yes" in step S185), CPU21 provides formerly chord name PreCH (step S186) as current chord name CurCH.That is, keep formerly chord name PreCH.
In the situation that be judged as "No" in step S181, be judged as "No" or be judged as "No" in step S182 in step S185, whether the group of the value that CPU21 judgement and (formerly melody sound PM, current melody sound CM) are corresponding is present in (step S187) in the melody sequence table.In the step S166 of Figure 18, because the group of value or the non-existent information of group of expression value are kept in RAM23, so by with reference to this information, can carry out the judgement of step S187.
In the situation that be judged as "Yes" in step S187, judge whether that current melody sound CM claps about the 1st bat or the 2nd and the table appointed information represents the 1st table (step S188).In the situation that be judged as "Yes" in step S188, CPU21 determines in the 1st chord table as classification and with reference to the hurdle of " without jumping ", obtains the chord name (step S189) of regulation in the 1st chord table.With respect to this, in the situation that be judged as "No" in step S188, CPU21 determines to obtain the chord name (step S190) of regulation with reference to the 2nd chord table in the 2nd chord table.
Figure 24 means the figure of example of the 2nd chord table of relevant present embodiment.In Figure 24, the part of expression the 2nd chord table.As shown in figure 24, in chord table 2300, based on the function of chord name formerly (formerly chord function (Previous Chord Function): with reference to label 2410) and (melody sound PM formerly, current melody sound CM) group (for example, with reference to label 2401,2402), determine the chord name.For example, if formerly the formerly chord function of chord name PreCH is " sub-dominant " and (formerly melody sound PM, current melody sound CM)=(C, G), obtain " VMaj " (with reference to label 2421) from the 2nd chord table.
Then, CPU21 will preserve to the zone of the regulation of RAM23 as current chord name CurCH from the 1st chord table or the definite chord name of the 2nd chord table, and its pronunciation moment is preserved (step S191, S175) to the zone of the regulation of RAM23.
In the situation that be judged as "Yes" in step S187, due to the group that has (formerly melody sound PM, current melody sound CM) in the melody sequence table, so obtain suitable chord name by the reference chord table.On the other hand, in the situation that be judged as "No" in step S187, carry out modulation or temporary transient decision without the judgement chord etc.Whether in the situation that be judged as "No" in step S187, CPU21 judges whether the tone period (button time) of current melody sound CM is larger than 4 dieresis, that is, pronounce and clap long (step S201) than 1.
In the situation that be judged as "No" in step S201, CPU21 do not change formerly chord name PreCH and former state as current chord CurCH (step S207).In the situation that be "No" in step S201, very large may not be the intentional button of player, has given as security wrong key but press because misconnection is tactile.So, in the case, do not change the chord name, and will be formerly chord name PreCH former state as current chord name CurCH.
In the situation that be judged as "Yes" in step S201, CPU21 judges whether the tone period (button time) of current melody sound is 3 bats following (step S202).In the situation that be judged as "Yes" in step S202, judge whether the modulation sign is below " 2 ".In the situation that be judged as "Yes" in step S203, the value that CPU21 will be kept at the modulation sign in RAM23 increases progressively (step S205).In the situation that be judged as "No" in step S202 or be judged as "No" in step S203, CPU21 carries out modulation and processes (step S204).
In the present embodiment, basically will comprise current melody sound CM, the formerly melody sound of melody sound PM scale (tonality) processing of " C ".Thereby, in modulation is processed, as long as the tonality of calculating after modulation is poor with the pitch of " C ", that this pitch is poor just passable to the RAM23 preservation as side-play amount.After modulation was processed, by being reduced side-play amount by the key of button number definite musical alphabet by reality, the tonality of energy enough " C " continued to process.
After step S205, CPU21 judges whether current melody sound CM is polyphonic ring tone (CT) or scale symbol (SN) (step S206) of formerly chord name PreCH.In step S206, S61 is same with step, and whether CPU21 is that polyphonic ring tone or scale symbol are just passable as long as found corresponding value with reference to melody menu, judgement with current melody sound CM and the formerly establishment of chord name PreCH.In the situation that be judged as "Yes" in step S206, CPU21 gives formerly chord name PreCH to current chord name CurCH, to keep chord (step S207).
In the situation that be judged as "No" in step S207, CPU21 is with reference to without the judgement chord table, and the chord that will subtract (dim) or increase (aug) is given to current chord name CurCH (step S208).Figure 26 means the figure of part without an example of judgement chord table of relevant present embodiment.Shown in Figure 26 without judgement chord table 2600 in, can corresponding to by current melody sound CM and formerly the value that consists of of chord name PreCH group and obtain the value of regulation.
In without judgement chord table 2600, empty hurdle (for example, with reference to label 2601) means that with having found corresponding current melody function (CMF) by current melody sound CM and the formerly establishment of the value that consists of of chord name PreCH be that polyphonic ring tone (CT) or scale accord with (SN) (with reference to Figure 25).Thereby, about in without judgement chord table 2600 for empty hurdle by current melody sound CM and the group of the value that consists of of chord name PreCH formerly, current chord name CurCH can not be without judging chord, so save value not.Thereby, in without judgement chord table 2600, be the situation of other sounds (OT) about current melody function (CMF), in store appointment subtracts (dim) or increases certain information of (aug).
CPU21 is from nothing judgement chord table 2600, obtain with stood by current melody sound CM and the formerly establishment of the value that consists of of chord name PreCH corresponding, specify certain the information that subtracts (dim) or increase (aug), obtain the chord name take current melody sound CM as the root sound.For example, if current melody sound is " C# ", formerly the chord name is " IMaj ", chord " I#dim " (with reference to label 2611) by name.In addition, if current melody sound is " A
Figure BDA00002350288800201
", formerly the chord name is " IM7 ", chord " IV by name
Figure BDA00002350288800202
Aug ".CPU21 determines the chord name that subtracts (dim) or increase (aug) take current melody sound CM as the root sound to preserve to RAM23 as current chord name CurCH like this.
As described above, in the present embodiment, at first, with the current melody sound CM relevant with the button of the racket head of current bat and the formerly melody sound PM relevant with the button of the racket head of front bat according to the information of which bat of expression, formerly chord name PreCH, and button regularly etc. revised (the step S21 of Fig. 5~S30).And then, based on current melody sound CM, formerly melody sound PM and chord name PreCH formerly, determine current chord name CurCH (step S31).
Finish if (the step S4 of Fig. 3) processed in the judgement of chord name, CPU21 carries out automatic accompaniment and processes (step S5).Figure 45 means the process flow diagram of the example that the automatic accompaniment of relevant present embodiment is processed.At first, CPU21 judges whether action (step S411) under the automatic accompaniment pattern of automatic adjusting equipment 10.In the situation that be judged as "Yes" in step S411, with reference to the timer (not shown) of CPU21, judge whether current time has reached in the automatic accompaniment data about the execution of the event of the data of melody sound regularly (step S412).
In the automatic accompaniment data, comprise the musical sound of 3 classifications, i.e. the data of polyphonic ring tone, root, rhythm sound.The data of root and the data of polyphonic ring tone comprise its pitch, pronunciation regularly and tone period according to the musical sound that should pronounce.In addition, the data of rhythm sound comprise its pronunciation regularly according to the musical sound that should pronounce (rhythm sound).
In the situation that be judged as "Yes" in step S412, CPU21 carries out basis pronunciation noise reduction and processes (step S413).In melody pronunciation noise reduction was processed, whether the relevant event of processing of judgement was the note open event.The pronunciation of musical sound that can be by the regulation in the data of current time and above-mentioned root is regularly roughly consistent judges it is the note open event.On the other hand, can add regularly moment after tone period roughly unanimously judges it is the note close event by current time and pronunciation to this musical sound.
In the situation that the event of relevant processing is the note close event, CPU21 carries out noise reduction and processes.On the other hand, if the event of relevant processing is the note open event, carry out the pronunciation processing according to the data of root.
Then, CPU21 is with reference to the timer (not shown) of CPU21, judges whether current time has reached in the automatic accompaniment data about the execution of the event of the data of polyphonic ring tone regularly (step S414).In the situation that be judged as "Yes" in step S414, CPU21 carries out chord pronunciation noise reduction and processes (step S415).In polyphonic ring tone pronunciation noise reduction is processed, process having reached pronunciation polyphonic ring tone execution pronunciation regularly, on the other hand, carry out the noise reduction processing to having reached noise reduction polyphonic ring tone regularly.
Then, CPU21 judges whether current time has reached in the automatic accompaniment data about the execution of the event of the data of rhythm regularly (step S416).In the situation that be judged as "Yes" in step S416, CPU21 carries out the pronunciation of rhythm sound and processes (step S417).In the pronunciation of rhythm sound is processed, generate the note open event to having reached pronunciation rhythm sound regularly.
Finish if automatic accompaniment is processed (the step S5 of Fig. 3), CPU21 carries out the source of sound pronunciation and processes (step S6).In source of sound pronunciation was processed, CPU21 was based on the note open event that generates, and the tone color of the musical sound that expression should be pronounced and the data of pitch are given sound source part 26, perhaps will represent to answer the tone color of musical sound of noise reduction and the data of pitch to give sound source part 26.Sound source part 26 reads the Wave data of ROM22 according to the data of expression tone color, pitch, the duration of a sound etc., becomes the tone data of regulation next life.Thus, produce the musical sound of regulation from loudspeaker 28.In addition, CPU21 is based on the note close event, the noise reduction of the pitch that represents to source of sound 26 indication note close event.
If processing (step S6), the source of sound pronunciation finishes, CPU21 carry out other process (such as current chord name CurCH and current melody sound CM to the preservation of RAM23, to the image of display part 15 show, the lighting, turn off the light etc. of LED (not shown): step S7), to step S8 transfer processing.
In step S8, CPU21 judges whether to play and finishes.Particularly, judge that non real-time chord arranges correction switch 14 and whether is pressed.When this is judged as "Yes", CPU21 will process to step S9 and shift, and when "No", will process to step S2 and shift.Finish if be judged as to play, become chord data and the melody data of preserving the result that arranges as the real-time chord that is brought by a series of performance in RAM23 by the processing of step S7.
In step S9, CPU21 carries out non real-time chord correcting process described later with reference to Figure 27.If non real-time chord correcting process finishes, CPU21 finishes the processing of main flow.
Figure 27 means the process flow diagram of example of the non real-time chord correcting process of relevant present embodiment.
In step S211, CPU21 carries out just verifying processing with reference to Figure 28 and Figure 29 adjusting described later.
In step S212, CPU21 carries out with reference to Figure 30 chord constituting tone checking described later processing.
In step S213, CPU21 carries out dividing checking with reference to Figure 31 to Figure 34 phrase described later to be processed.
In step S214, CPU21 carries out with reference to Figure 35 and Figure 36 chord described later, correcting process being set.
In step S215, CPU21 carries out the comparison process with reference to Figure 37 melody described later and chord scale.
In step S216, CPU21 carries out the correcting process by the user described later with reference to Figure 38.
Then, CPU21 finishes non real-time chord correcting process.
Figure 28 and Figure 29 mean that the adjusting of relevant present embodiment just verifying the process flow diagram of the example of processing.
In step S221, CPU21 judges whether transfer in song is 1.Particularly, the CPU21 judgement is kept at whether the quantity of the classification of the accent (transferring in song) in RAM23 is 1.Transfer in this song to be based on by keyboard 11 and play the accent that the resume of pitch of the melody of input determine.This is for example by extracting the musical alphabet group corresponding with the resume of this pitch, retrieving the accent (accent) that this musical alphabet group all is included in whole tone scale and obtain.In retrieval, can consider to use the table of the whole tone exponent character of preserving every kind of accent etc.
In the situation that step S221 be judged as "Yes", CPU21 transfers to step S222 with processing, in the situation that "No" is transferred to step S234 with processing.
In step S222, CPU21 will determine to transfer in row in table and song relatively based on the accent of final melody sound.Particularly, CPU21 determines table (Figure 39) with reference to the accent based on final melody sound, compares transferring in song with final melody sound.For example, according to Figure 39, be " C " if transfer in song, final melody sound is certain of " C, E, G ", preserves " C (1) " owing to transferring in the part corresponding with final melody sound in song, so mate in step S223 described later.
On the other hand, be " C " if transfer in song, final melody sound is " A ", does not preserve data owing to transferring in the part corresponding with final melody sound in song, so do not mate in step S223 described later.
In step S223, whether the result in CPU21 determining step S222 mates.In the situation that this is judged as "Yes", no problem in transferring judgement, so CPU21 finishes to transfer the judgement checking to process, in the situation that "No", for adjusting is just transferred to step S224 with processing.
In step S224, CPU21 will have the accent that is documented in the final sound in determining to show based on the accent of final melody sound and transfer as the candidate according to preferential precedence.Particularly, CPU21 determines table (Figure 39) with reference to the accent based on final melody sound, determines that the candidate transfers.For example, determine table (Figure 39) according to transferring, in the situation that final melody sound is " A ", preserve F (1), D (2), A (3) in the row of " A ".This F, D, A mean possibility is higher when melody finishes with A accent, the preferential precedence of numeral.Thereby, transfers in song to be judged as " C " and final melody sound is in this situation of A, candidate's accent of the last part that the preferential higher F furnishing of precedence be song in real time transferring judgement.
In addition, in Figure 39, only disclose the accent that calls greatly and determined table, but also existed the accent that ditty is used to determine table (not shown).
In step S225, CPU21 transfers in capable chord setting with final 4 trifles with the candidate, and in step S226, CPU21 judges whether 4 last trifles conform to finale (cadence) judgement table.These processing are to verify that whether no problem bent last part transfer processing with the candidate.
For example, be " F " in the situation that the candidate transfers, final 4 trifles are carried out the chord setting with accent " F ", the chord function that judges the 4 initial trifles after chord arranges and finale judge whether the chord function of bent tail portion of table (Figure 40) is consistent.In the situation that this is judged as "Yes", CPU21 will process to step S227 and shift, in the situation that "No" will be processed to step S231 and shift.
The finale judgement table of Figure 40 is to divide into the table that part in bent tail portion and song represents the form of possible finale (cadence) (stopping shape).In addition, also can append the part etc. of prelude part or hook symbol (hook) and further sectionalization." T " expression keynote of Figure 40, " D " represents dominant, " S " represents sub-dominant.
In step S227, whether CPU21 reinstates the candidate from bent head and transfers checking no problem.This processing is in the situation that consistent the carrying out of chord function of the 4 last trifles that the candidate transfers and the bent tail portion of finale judgement table.For example, " F " in the situation that the candidate transfers, whether bent 4 last trifles are determined with accent " F ", but CPU21 reads the melody sound data of the song head of (keyboard of Fig. 4 is processed) input from real time from RAM23, verify and transfer " F " just to set up from bent head.
In step S228, whether the CPU21 judgement is no problem under the candidate transfers.Particularly, CPU21 is judging whether in step S227 that the candidate transfers just establishment from bent head.In the situation that this is judged as "Yes", CPU21 will process to step S230 and shift, in the situation that "No" will be processed to step S229 and shift.
In step S229, CPU21 is modified to two in the place of contradiction with accent.Particularly, CPU21 transfers as the candidate from bent head to which part according to the judgement of the result of step S227 is false, and from bent head to transferring invalid position as the candidate and tuning to open last to song of the position of setting up of beginning from the candidate, accent is divided into two.For example, be that " C " and candidate's accent are " F " in the situation that transfer in the judgement song in real-time accent judgement, be divided into " C " and " F " these two accent.Then, will process to step S221 and shift.
In step S230, because just transferring, candidate from bent sets up, so CPU21 determines accent, and finish to transfer judgement checking processing.
In step S231, CPU21 judges whether to transfer the next candidate who determines table.Particularly, retrieval is transferred and is determined that table (Figure 39) judges.For example, in the situation that final melody sound is that " A ", candidate's accent are " F ", transfer as next candidate, have " D " as the accent of the 2nd preferential precedence.On the other hand, in the situation that final melody sound is that " A ", candidate's accent are " A ", there is not next candidate's accent.In the situation that this is judged as "Yes", CPU21 will process to step S232 and shift, in the situation that "No" will be processed to step S233 and shift.
In step S232, CPU21 transfers the candidate accent that replaces with the next candidate who judges in step S231, will process to step S225 and shift.
In step S233, CPU21 does not revise accent, and finishes to transfer the judgement checking to process.
In step S234, CPU21 judges whether the accent in song is two.In the situation that this is judged as "Yes", CPU21 will process to step S235 and shift, in the situation that "No" will be processed to step S237 and shift.
In step S235, CPU21 judged first transfer with song in the difference of transferring be whether+1 semitone ,+2 semitones ,+certain in 3 semitones.This processing is the processing that judges whether to have carried out so-called up modulation.In the situation that this is judged as "Yes", CPU21 will process to step S236 and shift, in the situation that "No" will be processed to step S240 and shift.
In step S236, CPU21 determines to transfer, and finishes to transfer the judgement checking to process.
In step S237, CPU21 has judged first the accent with finally whether accent is identical.In the situation that this is judged as "Yes", CPU21 will process to step S238 and shift, in the situation that "No" will be processed to step S240 and shift.
In step S238, CPU21 judges whether 4 last trifles conform to finale judgement table.Particularly, CPU21 judges with reference to finale in the song of table (Figure 40) about playing first accent, has judged that the chord function of first 4 last trifles of transferring judges with finale whether the chord function in the song of showing (Figure 40) is consistent.On the other hand, about final accent, with reference to the bent tail portion of finale judgement table (Figure 40), whether the chord function of the final 4 last trifles of transferring of judgement is consistent with the chord function of the bent tail portion of finale judgement table (Figure 40).In the situation that this is judged as "Yes", CPU21 will process to step S239 and shift, in the situation that "No" will be processed to step S240 and shift.
In step S239, CPU21 has determined the first final accent that is in harmonious proportion.For example, in step S238, only play first the accent unanimously if be judged as, only determined first the accent.In addition, if be judged as only final the accent unanimously, only determine final the accent.And then, finally transfer both consistent if be judged as first the mediation, determined that head transfers and finally transfers.
In step S240, CPU21 has judged whether that checking is not transferred.In the situation that this is judged as "Yes", CPU21 will process to step S241 and shift, in the situation that "No" finishes to transfer the judgement checking to process.
In step S241, the large ditty of CPU21 reference relation is used the judgement table, and judgement is transferring definite rear 4 trifles with the interior chord that whether has in being in this table.Particularly, the large ditty of CPU21 reference relation is used judgement table (Figure 41), and judgement is transferring definite rear 4 trifles with the interior homophony independence chord whether this table is arranged.
For example, in the situation that accent has 3, in the situation that play that first to transfer be " C ", rise first transfer with final the accent between accent be to belong to transferring (transferring as a genus that plays the first homophony C that transfers is G), judgement in the 4 initial trifles that belong to accent with interior V7 (G7) or the IIm (Dm) that whether exists as homophony independence chord.
Here, homophony independence chord is described.For example, in the situation that homophony is C, belong to transferring G is the accent of the 4th sound (fa) the rising semitone of only homophony, if with homophony C (by do, re, mi, fa, so, la, si consists of) and genus accent G (by so, la, si, do, re, mi, fa# consists of) relatively, do not comprise fa in belonging to accent G.Thus, belong to as the G7 of the chord that comprises fa or Dm the chord of transferring G, but the chord of homophony C.In the present embodiment, under this meaning, use the title of homophony independence chord.
In step S242, whether the CPU21 judgement mates in step S241.In the situation that this is judged as "Yes", CPU21 will process to step S243 and shift, in the situation that "No" will be processed to step S248 and shift.
In step S243, CPU21 is modified to former accent from the place of coupling.For example, from the position that homophony independence chord exists, be modified to homophony (playing first the accent).
In step S244, CPU21 judges whether 4 last trifles conform to finale judgement table.In this is processed, be used in step S243 in the song of revised accent with reference to finale judgement table (Figure 40), judge that the chord function of the 4 last trifles of revised accent judges with finale whether the chord function in the song of showing (Figure 40) is consistent.In the situation that this is judged as "Yes", CPU21 will process to step S245 and shift, in the situation that "No" will be processed to step S246 and shift.
In step S245, CPU21 determines the accent (revised accent) of this part, will process to step S247 and shift.
In step S246, CPU21 judges whether remaining accent is 1.In the situation that this is judged as "Yes", CPU21 will process to step S222 and shift, in the situation that "No" will be processed to step S247 and shift.
In step S247, CPU21 has judged whether that checking is not transferred.In the situation that this is judged as "Yes", CPU21 will process to step S241 and shift, in the situation that "No" finishes to transfer the judgement checking to process.
In step S248, CPU21 judges whether 4 last trifles conform to finale judgement table.In this processing, judge in the song of showing (Figure 40) with not verifying to transfer with reference to finale, judgement verifies that the chord function of the 4 last trifles of transferring judges with finale whether the chord function in the song of showing (Figure 40) is consistent.In the situation that this is judged as "Yes", CPU21 will process to step S245 and shift, in the situation that "No" will be processed to step S249 and shift.
In step S249, CPU21 judges whether to have checked same homophony.That is, CPU21 has judged whether to check the having or not of existence of homophony independence chord for the same homophony of the hypomere of using judgement table (Figure 41) as relative keys.In the situation that this is judged as "Yes", CPU21 will process to step S246 and shift, in the situation that "No" will be processed to step S250 and shift.
In step S250, CPU21 as confirming object, will process next relative keys to step S241 and shift.For example, gone inspection if genus is transferred in, will transfer as next confirmation object as the subordinate of the relative keys of next (its hypomere).
Figure 30 means the process flow diagram of the example that the chord constituting tone checking of relevant present embodiment is processed.In the situation that during chord arranged middle appoggiatura or is present in strong beat through graces such as sounds automatically in real time, setting brought the impact chord that mistake is set to chord because of this grace sometimes.So, the error correction that arranges for such chord is processed in this Zhi Peiyin checking, in the present embodiment, extract according to each trifle and removed the chord constituting tone after the grace from the melody sound, whether the chord that checking is set up by this chord constituting tone is identical with the chord of chord setting in real time.
At first, in step S261, CPU21 extracts 3 sounds for the sound that has more than 1 bat according to duration of a sound order from long to short in this trifle.Particularly, the conduct of reading and saving in RAM23 for the sound that has more than 1 bat, extracted 3 sounds according to duration of a sound order from long to short based on chord data and the melody data of the result of the real-time chord setting of a series of performance in this trifle.Here, so-called this trifle is the trifle as the processing object of CPU21, at first with the 1st trifle as processing object.
In step S262, whether 3 sounds that the CPU21 judgement extracts are included in the chord constituting tone of real-time chord setting.Particularly, CPU21 judges with reference to the chord modulator of Figure 43.For example, in the situation that the chord of chord setting in real time is IMajor (I is large), whether 3 sounds that judgement extracts in step S261 or S263 are as chord constituting tone (CT) " C, E, G ".In the situation that this is judged as "Yes", CPU21 will process to step S264 and shift, in the situation that "No" will be processed to step S263 and shift.
Here, if 3 sounds that extract are chord constituting tone (CT), these 3 sounds are overriding sound.
In step S263, CPU21 divides half with trifle, extracts 3 sounds according to duration of a sound order from long to short.Then, will process to step S262 and shift.
In step S264, whether the CPU21 judgement has the melody sound beyond chord in trifle.Particularly, in the situation that as having the sound beyond 3 sounds that extracted by step S261 or step S263 in the trifle of the processing object of CPU21 and with reference to the chord modulator of Figure 43 and this sound is not chord constituting tone (CT), this sound is the melody sound beyond chord.In the situation that this is judged as "Yes", CPU21 will process to step S265 and shift, in the situation that "No" will be processed to step S270 and shift.
In step S265, CPU21 judges whether these sounds comprise grace.Particularly, CPU21 judges with reference to grace database (Figure 42).In the situation that this is judged as "Yes", CPU21 will process to step S266 and shift, in the situation that "No" will be processed to step S267 and shift.
Here, with reference to Figure 42, the grace database is described.This grace database is judgement in the situation that whether the database of grace (sound beyond chord constituting tone) is arranged in strong beat (at 4 bats, being that 1 bat and 3 is clapped).
For example, example according to Figure 42, in the situation that 4 bats, chord constituting tone grace is in addition arranged (for example in the 1st claps (strong beat), appoggiatura), the 2nd clap and to have chord constituting tone and the 2nd chord constituting tone of clapping to compare in the situation of the relation that is in high or low whole tone (or semitone) with the 1st sound of clapping in (weak beat), the 1st sound of clapping is judged as grace.It is also same clapping about the 3rd bat, the 4th.
In addition, although do not illustrate, also can judge to have or not 2 bats, 3 bats etc. the grace beyond 4 bats in Figure 42.
In step S266, CPU21 removes grace, and the chord that result is set with real-time chord compares.Particularly, whether the chord that the real-time chord of CPU21 reading and saving in RAM23 arranges, the sound that the trifle of the processing object after the grace has been removed in judgement are the chord constituting tones (CT) corresponding with each chord of the chord modulator of Figure 43.
In step S267, CPU21 compares with the chord that real-time chord arranges result.Particularly, whether the chord that the real-time chord of CPU21 reading and saving in RAM23 arranges, the sound that the trifle of object is processed in judgement are the chord constituting tones (CT) corresponding with each chord of the chord modulator of Figure 43.
In step S268, whether the result of the comparison in CPU21 determining step S266 and S267 mates (step S266 or S267 be judged as "Yes" (coupling) or "No" (not mating)).In the situation that this is judged as "Yes", CPU21 will process to step S270 and shift, in the situation that "No" will be processed to step S269 and shift.
In step S269, whether this overriding sound of CPU21 judgement is set up as chord.Particularly, CPU21 is with reference to the chord modulator of Figure 43, and whether the sound that judgement is compared in step S266 or S267 is chord constituting tone (CT).In the situation that this is judged as "Yes", CPU21 will process to step S272 and shift, in the situation that "No" will be processed to step S270 and shift.
In step S272, CPU21 is made as " unlatching " with chord correction sign.Particularly, CPU21 is made as " unlatching " with chord correction sign accordingly with setting up as the trifle of processing object.In addition, chord correction sign is present in the regulation zone of RAM23.Thus, in chord correcting process described later (Figure 35), can revise the chord of object trifle.
In step S270, CPU21 judges whether it is last trifle.In the situation that this is judged as "Yes", CPU21 verifies that with chord constituting tone processing finishes, in the situation that "No" will be processed to step S271 and shift.
In step S271, CPU21 will process the object of next trifle as the chord constituting tone checking to step S261 and shift.
Figure 31 to Figure 34 means the process flow diagram of the example that the phrase division checking of relevant present embodiment is processed.
In step S281, CPU21 compares the chord of the 1st trifle and (8N+1) trifle.Particularly, the conduct of reading and saving in RAM23 compares based on chord data and the melody data of the result of the real-time chord setting of a series of performance.The initial value of N is 1.
In step S282, CPU21 judges whether the 1st trifle is identical with the chord progress of (8N+1) kid show.In the situation that this is judged as "Yes", CPU21 will process to step S296 and shift, in the situation that "No" will be processed to step S283 and shift.
In step S283, (the 1st~8 trifle and (8N+1)~(8N+8) trifle) rhythm of melody that CPU21 is unit to 8 trifles compares.Particularly, use the melody data that middle utilization is set at real-time chord that is kept in RAM23 to compare.
In step S284, CPU21 judges 8 trifles are whether (the 1st~8 trifle and (8N+1)~(8N+8) trifle) rhythm of melody of unit mates.In the situation that this is judged as "Yes", CPU21 will process to step S285 and shift, in the situation that "No" will be processed to step S290 and shift.
In step S285, (the 1st~8 trifle and (8N+1)~(8N+8) trifle) melody pitch that CPU21 is unit to 8 trifles compares.Particularly, use the melody data that middle utilization is set at real-time chord that is kept in RAM23 to compare.
In step S286, CPU21 judges 8 trifles are whether (the 1st~8 trifle and (8N+1)~(8N+8) trifle) melody pitch of unit mates.In the situation that this is judged as "Yes", CPU21 will process to step S287 and shift, in the situation that "No" will be processed to step S288 and shift.
In step S287, CPU21 is made as phrase 8 types with the trifle of correspondence.Particularly, CPU21 preserves trifle data and type data in the phrase type zone of RAM23.
In step S288, CPU21 judges 8 trifles are whether (the 1st~8 trifle and (8N+1)~(8N+8) trifle) melody pitch of unit mates more than 70%.In the situation that this is judged as "Yes", CPU21 will process to step S289 and shift, in the situation that "No" will be processed to step S296 and shift.
In step S289, CPU21 is made as phrase 8 β types with the trifle of correspondence.Particularly, CPU21 preserves trifle data and type data in the phrase type zone of RAM23.
In step S290, CPU21 judges 8 trifles are whether (the 1st~8 trifle and (8N+1)~(8N+8) trifle) rhythm of melody of unit mates more than 70%.In the situation that this is judged as "Yes", CPU21 will process to step S291 and shift, in the situation that "No" will be processed to step S296 and shift.
In step S291, (the 1st~8 trifle and (8N+1)~(8N+8) trifle) melody pitch that CPU21 is unit to 8 trifles compares.Particularly, use the melody data that middle utilization is set at real-time chord that is kept in RAM23 to compare.
In step S292, CPU21 judges 8 trifles are whether (the 1st~8 trifle and (8N+1)~(8N+8) trifle) melody pitch of unit mates.In the situation that this is judged as "Yes", CPU21 will process to step S293 and shift, in the situation that "No" will be processed to step S294 and shift.
In step S293, CPU21 is made as phrase 8R α type with the trifle of correspondence.Particularly, CPU21 preserves trifle data and type data in the phrase type zone of RAM23.
In step S294, CPU21 judges 8 trifles are whether (the 1st~8 trifle and (8N+1)~(8N+8) trifle) melody pitch of unit mates more than 70%.In the situation that this is judged as "Yes", CPU21 will process to step S295 and shift, in the situation that "No" will be processed to step S296 and shift.
In step S295, CPU21 is made as phrase 8R β type with the trifle of correspondence.Particularly, CPU21 preserves trifle data and type data in the phrase type zone of RAM23.
In step S296, CPU21 judges whether it is bent the end.In the situation that this is judged as "Yes", CPU21 will process to step S298 and shift, in the situation that "No" will be processed to step S297 and shift.
In step S297, CPU21 makes N increase by 1, will process to step S281 and shift.
In step S298, CPU21 compares the chord of the 1st trifle and (4N+1) trifle.Particularly, the chord data based on real-time chord setting of reading and saving in RAM23 compares.Here, the initial value of N is 1.
In step S299, CPU21 judges whether the 1st trifle is identical with the chord progress of (4N+1) trifle.In the situation that this is judged as "Yes", CPU21 will process to step S313 and shift, in the situation that "No" will be processed to step S300 and shift.
In step S300, (the 1st~the 4th trifle and (4N+1)~(4N+4) trifle) rhythm of melody that CPU21 is unit to 4 trifles compares.Particularly, use the melody data that middle utilization is set at real-time chord that is kept in RAM23 to compare.
In step S301, CPU21 judges 4 trifles are whether (the 1st~the 4th trifle and (4N+1)~(4N+4) trifle) rhythm of melody of unit mates.In the situation that this is judged as "Yes", CPU21 will process to step S302 and shift, in the situation that "No" will be processed to step S307 and shift.
In step S302, (the 1st~the 4th trifle and (4N+1)~(4N+4) trifle) melody pitch that CPU21 is unit to 4 trifles compares.Particularly, use the melody data that middle utilization is set at real-time chord that is kept in RAM23 to compare.
In step S303, CPU21 judges 4 trifles are whether (the 1st~the 4th trifle and (4N+1)~(4N+4) trifle) melody pitch of unit mates.In the situation that this is judged as "Yes", CPU21 will process to step S304 and shift, in the situation that "No" will be processed to step S305 and shift.
In step S304, CPU21 is made as phrase 4 types with the trifle of correspondence.Particularly, CPU21 preserves trifle data and type data in the phrase type zone of RAM23.
In step S305, CPU21 judges 4 trifles are whether (the 1st~the 4th trifle and (4N+1)~(4N+4) trifle) melody pitch of unit mates more than 70%.In the situation that this is judged as "Yes", CPU21 will process to step S306 and shift, in the situation that "No" will be processed to step S313 and shift.
In step S306, CPU21 is made as phrase 4 β types with the trifle of correspondence.Particularly, CPU21 preserves trifle data and type data in the phrase type zone of RAM23.
In step S307, CPU21 judges 4 trifles are whether (the 1st~the 4th trifle and (4N+1)~(4N+4) trifle) rhythm of melody of unit mates more than 70%.In the situation that this is judged as "Yes", CPU21 will process to step S308 and shift, in the situation that "No" will be processed to step S313 and shift.
In step S308, (the 1st~the 4th trifle and (4N+1)~(4N+4) trifle) melody pitch that CPU21 is unit to 4 trifles compares.Particularly, use the melody data that middle utilization is set at real-time chord that is kept in RAM23 to compare.
In step S309, CPU21 judges 4 trifles are whether (the 1st~the 4th trifle and (4N+1)~(4N+4) trifle) melody pitch of unit mates.In the situation that this is judged as "Yes", CPU21 will process to step S310 and shift, in the situation that "No" will be processed to step S311 and shift.
In step S310, CPU21 is made as phrase 4R α type with the trifle of correspondence.Particularly, CPU21 preserves trifle data and type data in the phrase type zone of RAM23.
In step S311, CPU21 judges 4 trifles are whether (the 1st~the 4th trifle and (4N+1)~(4N+4) trifle) melody pitch of unit mates more than 70%.In the situation that this is judged as "Yes", CPU21 will process to step S312 and shift, in the situation that "No" will be processed to step S313 and shift.
In step S312, CPU21 is made as phrase 4R β type with the trifle of correspondence.Particularly, CPU21 preserves trifle data and type data in the phrase type zone of RAM23.
In step S313, CPU21 judges whether bent the end.In the situation that this is judged as "Yes", CPU21 will process to step S315 and shift, in the situation that "No" will be processed to step S314 and shift.
In step S314, CPU21 makes N increase by 1, will process to step S281 and shift.
In step S315, CPU21 compares the chord of the 1st trifle and (2N+1) trifle.Particularly, the chord data based on real-time chord setting of reading and saving in RAM23 compares.Here, the initial value of N is 1.
In step S316, CPU21 judges whether the 1st trifle is identical with the chord progress of (2N+1) trifle.In the situation that this is judged as "Yes", CPU21 will process to step S330 and shift, in the situation that "No" will be processed to step S317 and shift.
In step S317, (the 1st~the 2nd trifle and (2N+1)~(2N+2) trifle) rhythm of melody that CPU21 is unit to 2 trifles compares.Particularly, use the melody data that middle utilization is set at real-time chord that is kept in RAM23 to compare.
In step S318, CPU21 judges 2 trifles are whether (the 1st~the 2nd trifle and (2N+1)~(2N+2) trifle) rhythm of melody of unit mates.In the situation that this is judged as "Yes", CPU21 will process to step S319 and shift, in the situation that "No" will be processed to step S324 and shift.
In step S319, CPU21 to 2 trifles be unit ((the 1st~the 2nd trifle and (2N+1)~(2N+2) trifle) melody pitch compares.Particularly, use the melody data that middle utilization is set at real-time chord that is kept in RAM23 to compare.
In step S320, CPU21 judges 2 trifles are whether (the 1st~the 2nd trifle and (2N+1)~(2N+2) trifle) melody pitch of unit mates.In the situation that this is judged as "Yes", CPU21 will process to step S321 and shift, in the situation that "No" will be processed to step S322 and shift.
In step S321, CPU21 is made as phrase 2 types with the trifle of correspondence.Particularly, CPU21 preserves trifle data and type data in the phrase type zone of RAM23.
In step S322, CPU21 judges 2 trifles are whether (the 1st~the 2nd trifle and (2N+1)~(2N+2) trifle) melody pitch of unit mates more than 70%.In the situation that this is judged as "Yes", CPU21 will process to step S323 and shift, in the situation that "No" will be processed to step S330 and shift.
In step S323, CPU21 is made as phrase 2 β types with the trifle of correspondence.Particularly, CPU21 preserves trifle data and type data in the phrase type zone of RAM23.
In step S324, CPU21 judges 2 trifles are whether (the 1st~the 2nd trifle and (2N+1)~(2N+2) trifle) rhythm of melody of unit mates more than 70%.In the situation that this is judged as "Yes", CPU21 will process to step S325 and shift, in the situation that "No" will be processed to step S330 and shift.
In step S325, (the 1st~the 2nd trifle and (2N+1)~(2N+2) trifle) melody pitch that CPU21 is unit to 2 trifles compares.Particularly, use the melody data that middle utilization is set at real-time chord that is kept in RAM23 to compare.
In step S326, CPU21 judges 2 trifles are whether (the 1st~the 2nd trifle and (2N+1)~(2N+2) trifle) melody pitch of unit mates.In the situation that this is judged as "Yes", CPU21 will process to step S327 and shift, in the situation that "No" will be processed to step S328 and shift.
In step S327, CPU21 is made as phrase 2R α type with the trifle of correspondence.Particularly, CPU21 preserves trifle data and type data in the phrase type zone of RAM23.
In step S328, CPU21 judges 2 trifles are whether (the 1st~the 2nd trifle and (2N+1)~(2N+2) trifle) melody pitch of unit mates more than 70%.In the situation that this is judged as "Yes", CPU21 will process to step S329 and shift, in the situation that "No" will be processed to step S330 and shift.
In step S329, CPU21 is made as phrase 2R β type with the trifle of correspondence.Particularly, CPU21 preserves trifle data and type data in the phrase type zone of RAM23.
In step S330, CPU21 judges whether bent the end.In the situation that this is judged as "Yes", CPU21 will process to step S332 and shift, in the situation that "No" will be processed to step S331 and shift.
In step S331, CPU21 makes N increase by 1, will process to step S315 and shift.
In step S332, CPU21 judge the phrase type whether one all do not have.Particularly, whether CPU21 judgement does not have the record of type data fully in the phrase type zone of RAM23.In the situation that this is judged as "Yes", CPU21 will process to step S333 and shift, in the situation that "No" finishes phrase and divides the checking processing.
In step S333, CPU21 compares the melody pitch of the 1st trifle and (N+1) trifle.Particularly, use the melody data that middle utilization is set at real-time chord that is kept in RAM23 to compare.Here, the initial value of N is 1.
In step S334, CPU21 judges whether the melody pitch of the 1st trifle and (N+1) trifle mates.In the situation that this is judged as "Yes", CPU21 will process to step S335 and shift, in the situation that "No" will be processed to step S336 and shift.
In step S335, CPU21 is made as the phrase X-type with the trifle of correspondence.In addition, the trifle number till X is stored.Particularly, CPU21 preserves data and the type data of little joint number in the phrase type zone of RAM23.
In step S336, CPU21 judges whether it is last trifle.In the situation that this is judged as "Yes", CPU21 finishes phrase and divides the checking processing, in the situation that "No" will be processed to step S337 and shift.
In step S337, CPU21 makes N increase by 1, will process to step S333 and shift.
Figure 35 and Figure 36 mean that the chord of relevant present embodiment arranges the process flow diagram of the example of correcting process.
In step S341, CPU21 processes the accent that real-time chord arranges (Figure 28 and Figure 29) revised row of transferring in and compares with judged checking by accent.
In step S342, CPU21 has judged whether modulation more position.In the situation that this is judged as "Yes", CPU21 will process to step S343 and shift, in the situation that "No" will be processed to step S346 and shift.
In step S343, the chord setting is carried out at CPU21 exchanges with new accent the (processing (Figure 28 and Figure 29) revised accent by transferring the judgement checking) change position.
In step S344, CPU21 has judged whether to transfer and has determined to keep the position.In the situation that this is judged as "Yes", CPU21 will process to step S345 and shift, in the situation that "No" will be processed to step S346 and shift.
In step S346, CPU21 judges whether the chord correction appointed part based on overriding sound.Particularly, CPU21 judges whether that chord correction sign is set as the trifle of " unlatching " in step S272 (Figure 30).In the situation that this is judged as "Yes", CPU21 will process to step S347 and shift, in the situation that "No" will be processed to step S350 and shift.
In step S347, CPU21 judges that the 4 last trifles of specified portions judge with finale whether table conforms to.Particularly, CPU21 is for comprising that chord correction sign is set as 4 trifles of the trifle of " unlatching ", in song or bent tail portion according to this 4 trifle, judge in the song of showing (Figure 40) with reference to finale or bent tail portion, judge whether the chord function of 4 trifles is consistent with the chord function of finale judgement table (Figure 40).In the situation that this is judged as "Yes", CPU21 will process to step S377 and shift, in the situation that "No" will be processed to step S348 and shift.
In step S348, CPU21 determines to transfer definite reserved-range, and the melody of this part is transferred judgement, determines to transfer.
In step S349, CPU21 carries out the chord setting with the new change position of exchanging of transferring.Then, will process to step S347 and shift.
In step S377, CPU21 carries out the chord correction.Particularly, CPU21 be used in determine in step S269, with corresponding to the corresponding chord of the chord constituting tone of overriding sound, revise the chord that chord correction sign is set as the trifle of " unlatching ".
In step S269, CPU21 judges whether overriding sound is set up as chord.Particularly, CPU21 is with reference to the chord modulator of Figure 43, and whether the sound that judgement is compared in step S266 or S267 is chord constituting tone (CT).In the situation that this is judged as "Yes", CPU21 will process to step S272 and shift, in the situation that "No" will be processed to step S270 and shift.
In step S350, CPU21 judges whether the phrase of corresponding position is divided is 4 (*) type (4 types, 4 β types, 4R α type or 4R β type).In the situation that this is judged as "Yes", CPU21 will process to step S351 and shift, in the situation that "No" will be processed to step S357 and shift.
In step S351, CPU21 judges whether phrase is divided is 4 types.In the situation that this is judged as "Yes", CPU21 will process to step S352 and shift, in the situation that "No" will be processed to step S353 and shift.
In step S352, CPU21 is made as the chord of this part identical with reference source.In the situation that 4 types, the rhythm of melody and pitch are all identical with reference source, and institute is so that chord is also identical.For example, in the situation that the 5th~the 8th trifle is 4 types, CPU21 makes the chord of the chord and the 1st of the 5th~the 8th kid show~the 4th kid show identical.In addition, as described later, if the 9th~the 12nd trifle is 4 β types, 4R α type, 4R β type certain, when the function of the chord of different parts is identical in the chord of the chord and the 1st of the 9th~the 12nd trifle~the 4th trifle, make the chord of the chord and the 1st of this different part~the 4th trifle identical.
In step S353, CPU21 compares the chord of different parts.In the case, although be certain of 4 β types, 4R α type, 4R β type, they due to melody pitch and rhythm of melody a certain or both and reference source have respectively less than 30% different, so the chord of this different part is compared.For example, if the 9th~the 12nd trifle is 4 β types, 4R α type, 4R β type certain, the chord with the chord and the 1st of the 9th~the 12nd trifle~the 4th trifle compares.
In step S354, whether the CPU21 arbitration functions is identical.Particularly, CPU21 judges whether the function of chord of the part that these are different is identical.In the situation that this is judged as "Yes", CPU21 will process to step S352 and shift, in the situation that "No" will be processed to step S355 and shift.
In step S355, CPU21 judges whether it is last trifle.In the situation that this is judged as "Yes", CPU21 will process to step S357 and shift, in the situation that "No" will be processed to step S356 and shift.
In step S356, CPU21 advances to next 4 trifles, will process to step S351 and shift.
In step S357, CPU21 judges whether the phrase of corresponding position is divided is 8 (*) type (8 types, 8 β types, 8R α type or 8R β type).In the situation that this is judged as "Yes", CPU21 will process to step S358 and shift, in the situation that "No" will be processed to step S364 and shift.
In step S358, CPU21 judges whether phrase is divided is 8 types.In the situation that this is judged as "Yes", CPU21 will process to step S359 and shift, in the situation that "No" will be processed to step S360 and shift.
In step S359, CPU21 is made as the chord of this part identical with reference source.In the situation that 8 types, because rhythm and the pitch of melody are all identical with reference source, institute is so that chord is also identical.For example, in the situation that the 9th~the 16th trifle is 8 types, CPU21 makes the chord of the chord and the 1st of the 9th~the 16th trifle~the 8th trifle identical.In addition, in the situation that the 17th~the 24th trifle is certain of 8 β types, 8R α type, 8R β type as described later, if the function of the chord of different parts is identical in the chord of the chord and the 1st of the 17th~the 24th trifle~the 8th trifle, make the chord of the chord and the 1st of this different part~the 8th trifle identical.
In step S360, CPU21 compares the chord of different parts.In the case, although be certain of 8 β types, 8R α type, 8R β type, they due to melody pitch and rhythm of melody a certain or both and reference source have respectively less than 30% different, so chord that will this different part compares.For example, if the 17th~the 24th trifle is 8 β types, 8R α type, 8R β type certain, with the chord of the chord and the 1st of the 17th~the 24th trifle~the 8th trifle relatively.
In step S361, whether the CPU21 arbitration functions is identical.Particularly, CPU21 judges whether that the function of the chord of the part that these are different is identical.In the situation that this is judged as "Yes", CPU21 will process to step S359 and shift, in the situation that "No" will be processed to step S362 and shift.
In step S362, CPU21 judges whether it is last trifle.In the situation that this is judged as "Yes", CPU21 will process to step S364 and shift, in the situation that "No" will be processed to step S363 and shift.
In step S363, CPU21 advances to next 8 trifles, will process to step S358 and shift.
In step S364, CPU21 judges whether the phrase of corresponding position is divided is 2 (*) type (2 types, 2 β types, 2R α type or 2R β type).In the situation that this is judged as "Yes", CPU21 will process to step S365 and shift, in the situation that "No" will be processed to step S371 and shift.
In step S365, CPU21 judges whether phrase is divided is 2 types.In the situation that this is judged as "Yes", CPU21 will process to step S366 and shift, in the situation that "No" will be processed to step S367 and shift.
In step S366, CPU21 is made as the chord of this part identical with reference source.In the situation that 2 types, because rhythm and the pitch of melody are all identical with reference source, institute is so that chord is identical.For example, in the situation that the 3rd~the 4th trifle is 2 types, CPU21 makes the chord of the chord and the 1st of the 3rd~the 4th trifle~the 2nd trifle identical.In addition, if the 5th~the 6th trifle is certain of 2 β types, 2R α type, 2R β type as described later, when the function of the chord of different parts is identical in the chord of the chord and the 1st of the 5th~the 6th trifle~the 2nd trifle, make the chord of the chord and the 1st of this different part~the 2nd trifle identical.
In step S367, CPU21 compares the chord of different parts.In the case, although be certain of 2 β types, 2R α type, 2R β type, they due to melody pitch and rhythm of melody a certain or both and reference source have respectively less than 30% different, so chord that will this different part compares.For example, if the 3rd~the 4th trifle is 2 β types, 2R α type, 2R β type certain, with the chord of the chord and the 1st of the 3rd~the 4th trifle~the 2nd trifle relatively.
In step S368, whether the CPU21 arbitration functions is identical.Particularly, CPU21 judges whether the function of chord of the part that these are different is identical.In the situation that this is judged as "Yes", CPU21 will process to step S366 and shift, in the situation that "No" will be processed to step S369 and shift.
In step S369, CPU21 judges whether it is last trifle.In the situation that this is judged as "Yes", CPU21 will process to step S371 and shift, in the situation that "No" will be processed to step S370 and shift.
In step S370, CPU21 advances to next 2 trifles, will process to step S365 and shift.
In step S371, CPU21 judges whether the phrase of corresponding position is divided is X-type.In the situation that this is judged as "Yes", CPU21 will process to step S372 and shift, in the situation that "No" will be processed to step S376 and shift.
In step S372, CPU21 confirms the starting position.
In step S373, CPU21 is made as the chord of this part identical with reference source.
In step S374, CPU21 judges whether it is last trifle.In the situation that this is judged as "Yes", CPU21 will process to step S376 and shift, in the situation that "No" will be processed to step S375 and shift.
In step S375, CPU21 advances to next X-type, will process to step S372 and shift.
In step S376, CPU21 judges whether to also have in addition phrase type stores location.In the situation that this is judged as "Yes", CPU21 will process to step S350 and shift, in the situation that "No" finishes chord correcting process is set.
Figure 37 means the process flow diagram of example of the comparison process of the melody of relevant present embodiment and chord scale.
In step S381, CPU21 confirms the scale of revised chord with chord modulator (Figure 43), confirm whether the melody (melody of input when real-time chord arranges) corresponding to revised chord interval is consistent with the chord scale of revised chord.Here, so-called chord scale, be described in the chord modulator of Figure 43, scale symbol (SN) and chord constituting tone (CT) are combined the tone cluster that forms.
For example, in the situation that revised chord is the IMajor (CMajor (C is large)) that is adjusted to C, the chord scale of revised chord according to Figure 43, is " C, D, E, F, G, A, B ".
Thereby in the situation that revised chord is the IMajor (CMajor) that is adjusted to C, if be certain of " C, D, E, F, G, A, B " with the interval corresponding melody of revised chord, this melody is consistent with this chord scale.
In step S382, whether the CPU21 judgement is consistent in step S381.In the situation that this is judged as "Yes", CPU21 will process to step S388 and shift, in the situation that "No" will be processed to step S383 and shift.
In step S383, CPU21 judges whether the outer sound of scale is grace.Particularly, CPU21 and step S265 (Figure 30) similarly judge with reference to grace database (Figure 42).In the situation that this is judged as "Yes", CPU21 will process to step S388 and shift, in the situation that "No" will be processed to step S384 and shift.
In step S384, CPU21 is with reference to reprovision chord (re-harmonization) database (not shown).For example, be that Am (the formation sound of Am is " A, B, C, D, E; F, G "), melody are sharp type (A, B, C, D, the E of melodic minor at accent, F#, G#) situation under, " F#, G# " is not the formation sound of transferring Am, so for the sound of F#, chord can be changed to Bm7.
Like this, in reprovision chord data storehouse (not shown), be registered with the pattern that can change chord as database.
In step S385, whether CPU21 judgement mates in reprovision chord data storehouse.In the situation that this is judged as "Yes", CPU21 will process to step S386 and shift, in the situation that "No" will be processed to step S387 and shift.
In step S386, CPU21 carries out the chord correction.Particularly, CPU21 is modified to the chord that is registered in reprovision chord data storehouse.
In step S387, CPU21 records inappropriate position.That is, record unmatched position to RAM23.
In step S388, CPU21 judges whether it is last chord.In the situation that this is judged as "Yes", CPU21 finishes the comparison process of melody and chord scale, in the situation that "No" will be processed to step S389 and shift.
In step S389, CPU21 advances to next chord, will process to step S381 and shift.
Figure 38 means the user's of relevant present embodiment the process flow diagram of example of correcting process.
Even revise in non real-time, also have unsatisfied situation for tasteful user.At this moment, if user's debugging functions are arranged more convenient.User's correcting process is the processing for this.
In step S401, CPU21 judges whether to be based in the data reproduction process of arbitrary accent.In the situation that this is judged as "Yes", CPU21 will process to step S402 and shift, in the situation that "No", with user's correcting process correction.
In step S402, CPU21 judges whether edit switch (not shown) is opened.In the situation that this is judged as "Yes", CPU21 will process to step S404 and shift, in the situation that "No" will be processed to step S403 and shift.
In step S403, CPU21 is with the Sequential output chord candidate in chord prioritized data storehouse.Particularly, CPU21 is to be kept at the order in chord prioritized data storehouse (Figure 44), output chord candidate.For example, if the chord before revising is IIm, as the 1st chord candidate, output " IIm7 ".
In step S404, CPU21 judges whether OK switch (not shown) is pressed.In the situation that this is judged as "Yes", CPU21 will process to step S405 and shift, in the situation that "No" will be processed to step S406 and shift.
In step S405, CPU21 revises chord, will process to step S407 and shift.Particularly, CPU21 carries out the chord correction with the chord of exporting in step S403.
In step S406, CPU21 exports next candidate, will process to step S404 and shift.For example, if the chord of current output is " IIm7 ", CPU21 will be as " IV " output of the 2nd chord candidate.
In step S407, CPU21 determines whether bent the end.In the situation that this is judged as "Yes", CPU21 finishes user's correcting process, in the situation that "No" will be processed to step S401 and shift.
The electronic musical instrument 10 of present embodiment has the keyboard 11 of the melody of playing music, the resume of the pitch of the melody that CPU21 plays by quilt, this melody is carried out chord in real time give, after melody play to finish, revise in non real-time having carried out in real time the chord that chord gives.
Thereby, carry out in real time with the chord correction, can further improving the precision that chord arranges by in non real-time after chord arranges at the melody to input.
In addition, in the present embodiment, CPU21 is interval according to the regulation of song, the sound whether checking exists other chords beyond the chord that is endowed to set up in the melody sound that is included in the there, specify the interval conduct of this regulation to revise the position in the situation that set up, the melody of song is divided into a plurality of phrases of the length of regulation, verify the consistent degree of this phrase happy formula each other, based on this result, with above-mentioned chord correction of giving.
Thereby, for example, in the situation that be divided into the phrase of 4 trifles as the length of regulation, carry out the chord correction based on the consistent degree of the happy formula of every 4 trifles, so if the consistent degree of the happy formula of phrase is higher, can improve the consistent degree that phrase chord each other arranges.
In addition, in the present embodiment, whether the accent that CPU21 checking is given the interval of the regulation of song is consistent with the accent that determines based on the final sound of the melody in the interval of this regulation.
Thereby whether the accent that can give the interval of the regulation of song based on the final sound checking of melody is correct.
In addition, in the present embodiment, whether the scale that CPU21 judges revised each chord is consistent with the scale of the melody in corresponding interval, should further correct by revised chord in inconsistent situation.
Thereby the correctness of the revised chord of checking can be further with the chord corrigendum, so can further improve the precision that chord arranges in incorrect situation.
In addition, in the present embodiment, CPU21 in real-time chord arranges, based on number of tracks according in pitch, the pitch of bat of tight front that belongs to this bat and the chord that the bat of this tight front is given of the bat that belongs to regulation, determine the chord that the bat of reply regulation is given.
Thereby, can be rapidly and correctly carry out real-time chord setting.
In addition, in the present embodiment, CPU21 differentiates in the melody sound that is included in this trifle according to the trifle of song, whether have other sounds beyond the formation sound of the chord that is endowed; Whether in the situation that differentiate for there being other sounds, differentiating these other sounds is graces; Be grace in the situation that differentiate, to compare based on the chord of having removed the sound after this grace and the chord that above-mentioned trifle is given, and in the situation that not have to differentiate and will compare based on the chord of above-mentioned other sounds and the chord that above-mentioned trifle is given for grace; In the inconsistent situation of the chord that is judged as both, the interval of above-mentioned trifle is appointed as is revised the position.
Thereby the grace of the reason of the mistake that can be in real time will arrange as chord is removed, and revises reliably chord by overriding sound.
In addition, in the present embodiment, CPU21 is according to each trifle of song, when whether having other sounds beyond overriding sound in differentiation is included in melody sound in this trifle, according to each trifle of song, extract 3 the long sounds of the duration of a sound in the melody sound be included in this trifle, and differentiate the formation sound whether these 3 sounds are chords that above-mentioned trifle is given, be chord constituting tone in the situation that differentiate, with these 3 sounds as overriding sound.
Thereby, can be with overriding sound as chord constituting tone.
In addition, in the present embodiment, when CPU21 is divided into a plurality of phrase of length of regulation at the melody with song, with song according to every 4 trifles, according to every 8 trifles and divided according to every 2 trifles.
Thereby, can be that unit, 8 trifles are that unit, 2 trifles are unit etc. as 4 trifles, will be at repeatedly a plurality of trifle numbers musically as unit, the consistent degree of the happy formula of checking.
In addition, in the present embodiment, number of tracks is according to also comprising the rhythm sound, CPU21 compares pitch and the rhythm sound of phrase melody sound each other as Le Shi, and each phrase is categorized as certain in consistent and another the two situation more than consistent setting of situation, pitch and rhythm sound more than consistent setting of pitch and the two consistent situation of rhythm sound, pitch and rhythm sound one.
Thereby, can make the distortion of verification method of the consistent degree of happy formula become many.
In addition, in the present embodiment, CPU21 verifies in the situation that have by chord constituting tone the interval that is judged as the song of revising the position when carrying out the chord correction, by giving other chords in this interval, whether differentiate the last part in above-mentioned interval to be fit to the form termination of finale; In the situation that differentiate for termination, the chord that is endowed is corrected as this other chords.
Thereby, can carry out more suitable chord setting.
In addition, in the present embodiment, CPU21 verifies in the situation that have by chord constituting tone the interval that is judged as the song of revising the position when carrying out the chord correction, by giving other chords in this interval, whether differentiate the last part in above-mentioned interval to be fit to the form termination of finale; Be termination not in the situation that differentiate, determine to transfer by the melody sound that is included in this interval, again differentiated whether to be fit to the form termination of finale by the chord of newly giving based on this accent of determining.
Thereby, can carry out more suitable chord setting.
In addition, in the present embodiment, CPU21 will be corrected as identical chord to the chord that the phrase that is classified as pitch and the two consistent situation of rhythm sound is given respectively be divided into a plurality of phrases of length of regulation at the melody with song after; In the situation that in the chord that the phrase of certain situation in being classified as pitch and rhythm sound one consistent and another the two situation more than consistent setting of situation, pitch and rhythm sound more than consistent setting is given respectively, the chord function each other of different parts is identical, make the chord of this different part identical.
Thereby, can further improve the precision that chord arranges.
In the present embodiment, in (the step S4 of Fig. 3) processed in the judgement of chord name, in the melody sequence that CPU21 makes progress in a series of operation of keyboard 11, based on the temporal information of the progress of the automatic accompaniment data of regulation in implementation, the information of particularly clapping, determine with the racket head of current bat by the related current melody sound CM of the key of button and with as the racket head of the front bat of front 1 bat by the relevant formerly melody sound PM of the key of button.In addition, CPU21 carries out the chord name that determines current chord name CurCH and determines to process (the step S31 of Fig. 5) based on the current melody message breath that determines, melody message breath and as the formerly chord name PreCH of the chord name in front bat formerly.In addition, when determining the melody sound, CPU21 is which is clapped in trifle based on current bat, determines that current melody sound CM reaches formerly melody sound PM.
That is, according to present embodiment, consider to be decided current melody sound CM and melody sound PM formerly by the position of the bat of button (temporal position), based on the sequence of the melody sound that determines and chord name PreCH formerly, determine current chord name CurCH.
In addition, in the present embodiment, CPU21 in the situation that bat is 4 bats, is that the 1st bat or the 3rd is clapped or other bats based on current bat, determines that current melody message breath reaches formerly melody message breath.That is, by determining that based on strong beat (the 1st bat, the 3rd is clapped) and weak beat (the 2nd bat, the 4th is clapped) current melody sound CM reaches formerly melody sound PM, can consider the power of clapping thus.
In addition, in the present embodiment, CPU21 is in the situation that the later button of the beginning of front bat extends to current bat, and judgement is cutting, and current melody sound CM is determined to be about extending to the button of current bat.That is, in the situation that be not the button of racket head but consist of cutting, the button of itself and racket head can be disposed equally.
In addition, CPU21 is in (Figure 10) processed in the 1 five degree displacement judgement, in the situation that formerly chord name PreCH represents the dominant chord and represents transformation predefined, from the formation sound of dominant chord to the formation sound of keynote chord from melody sound PM formerly to current melody sound CM, provide as current chord name CurCH the chord name that is equivalent to keynote.Like this, in the situation that conclusively show five degree displacements according to the melody sequence, current chord name CurCH as keynote, is formed the termination of chord progress.
In addition, CPU21 is in (Figure 17) processed in the 2 five degree displacement judgement, in the situation that represent transformation predefined, from the formation sound of dominant chord to the formation sound of keynote chord from melody sound PM formerly to current melody sound CM, provide as current chord name CurCH the chord name that is equivalent to keynote.Here, even formerly chord name PreCH is not the dominant chord, in the situation that conclusively show five degree displacements according to the melody sequence, also with current chord name CurCH as keynote, form the termination of chord progress.
And then CPU21 judges to process do not have to give the chord that is equivalent to keynote name as current chord name CurCH in the situation that spend displacement by the 1 five degree displacement judgement processing or the 2 five, provides formerly chord name PreCH as current chord name CurCH.Thus, can realize that chord keeps.
In addition, in the present embodiment, possess: the 1st chord table, preserve that chord name information PreCH has set up corresponding chord name in the situation that current melody sound CM reaches formerly about the 1st button of clapping with formerly melody sound PM, current melody sound CM; And the 2nd chord table, preserve that chord name PrCH has set up corresponding chord name in the situation that the button of current melody sound CM beyond clapping about the 1st reaches formerly with formerly melody sound PM, current melody sound CM, CPU21 is according to the button timing, with reference to the 1st chord table or the 2nd chord table.Thus, can obtain the chord name different according to bat.In addition, by reference table, can determine in real time the chord name.
And then, in the present embodiment, based on the formerly melody sound PM that determines and current melody sound CM, in the situation that there is not corresponding chord name in the 1st chord table or the 2nd chord table, give as current chord name CurCH increase (aug) or subtract (dim) such without judgement chord.Thus, even in the situation that formerly melody sound PM or current melody sound be not chord constituting tone or scale symbol, also can give in melody the chord of awkward sense name is less arranged.
And then in the present embodiment, CPU21 is with reference to without the judgement chord table, can be according to current melody sound CM, formerly melody sound PM and chord name PreCH formerly, and judgement should be made as and increase (aug) or subtract which chord in (dim).
The present invention is not limited to above embodiment, can carry out various changes in the scope of invention that claims are put down in writing, and these changes are also contained in scope of the present invention certainly.
For example, in the above-described embodiment, bat is made as 4 bats, but if 3 bats or 6 bats also can adopt the present invention.For example, in the situation that 3 bats, as long as use the processing about the 1st bat the~the 3 bat in above-mentioned processing just passable.In addition, 6 bats have been thought of as two 3 bats, use the above-mentioned the 1st to clap the~the 3 processing of clapping.In addition, the 4th bat~the 6 is clapped as long as carry out identical processing with the 1st bat the~the 3 beating-in sample disposal just passable.
In addition, in the above-described embodiment, in the tonality of c major (C Maj) or A ditty (A min), can access the chord name of using with respect to the number of degrees of keynote (root sound), but be not limited thereto, also can adopt the present invention about other tonalities.In the case, for example, if melody is large accent, poor with the pitch of " C ", that this pitch is poor as side-play amount, be saved in RAM23 offset value just passable as long as calculate the root sound of tonality of this melody.In processing, by being reduced side-play amount by the musical alphabet of the key appointment of button by reality, the scale of energy enough " C " is carried out and is processed.

Claims (18)

1. automatic adjusting equipment has:
Play input mechanism, the Qu Xuanlv that plays is inputted successively;
Transfer in real time decision mechanism, based on the resume of the pitch of the Qu Xuanlv of input successively, judge in real time accent for this Qu Xuanlv; And
The positive mechanism of non real-time adjusting, the melody of above-mentioned performance mechanism play finish after, revise in non real-time the accent of being judged by above-mentioned real-time accent decision mechanism.
2. automatic adjusting equipment as claimed in claim 1,
The positive mechanism of above-mentioned non real-time adjusting has:
Determine the adjusting data storehouse, the relation between the final pitch of expression Qu Xuanlv and this final pitch and accent; And
Non real-time accent decision mechanism, judgement according to above-mentioned final pitch and from this determine the accent that the adjusting data storehouse reads whether with the accent coupling of being judged by above-mentioned real-time accent decision mechanism, in the situation that coupling, with this accent of judging as determining accent.
3. automatic adjusting equipment as claimed in claim 2,
Above-mentioned automatic adjusting equipment also has:
The finale decision mechanism, be judged as in unmatched situation by above-mentioned non real-time accent decision mechanism, read the accent candidate dark with the final pitch relation of the melody of above-mentioned song from above-mentioned definite adjusting data storehouse, and in the situation that given chord based on this accent candidate to the last interval of song temporarily, judge that whether this chord of temporarily giving is to be fit to the form termination of finale; And
Whether determine to transfer mechanism for identifying, differentiating above-mentioned accent candidate based on the judged result of this finale decision mechanism is to determine to transfer.
4. automatic adjusting equipment as claimed in claim 3,
Above-mentioned definite accent decision mechanism has certifying organization, this certifying organization is in the situation that be judged as termination by above-mentioned finale decision mechanism, begin checking from bent head and utilize above-mentioned accent candidate whether there is no contradiction, there is no contradiction in the situation that be verified as, above-mentioned accent candidate is differentiated for determining transfer.
5. automatic adjusting equipment as claimed in claim 3,
Above-mentioned definite accent decision mechanism also has:
Distributor gear in the situation that be judged as contradictoryly by above-mentioned certifying organization, distributes above-mentioned accent candidate to the interval that there is no contradiction of song, and the above-mentioned accent of judging is distributed in interval in addition; And
Whether the accent that up modulation decision mechanism, judgement are distributed to the interval of bent head is up modulation with relation between the accent of distributing to interval in addition, and in the situation that be judged as up modulation, with both the above-mentioned accent that distributes respectively as definite accent.
6. automatic adjusting equipment as claimed in claim 1,
Above-mentioned automatic adjusting equipment,
Also have the expression relative keys with the relative keys of using the relation between chord and use the chord data storehouse;
In the situation that distributed a plurality of accent in above-mentioned song and wherein had the interval that has been assigned with not verified accent, exist not in this interval in the situation that the chord in the relative keys that above-mentioned not checking is transferred is not verified that this transfers as determining and transferred.
7. automatic adjusting equipment as claimed in claim 1,
Above-mentioned real-time accent decision mechanism possesses:
Memory storage has: register, based on the information by the input of above-mentioned performance input mechanism, preserve at least musical alphabet, musical alphabet group, the accent candidate corresponding with the resume of the Qu Xuanlv of input; And the 1st table, preserve the whole tone exponent character of each accent; And
Transfer decision mechanism, musical alphabet group that will be corresponding with the resume of above-mentioned Qu Xuanlv and above-mentioned the 1st table compare, by judging whether to exist the musical alphabet in the resume that are included in Qu Xuanlv all to be included in accent such in the whole tone scale of certain accent, reduce above-mentioned accent candidate, judge the accent based on the melody of above-mentioned Qu Xuanlv, the accent of judging is saved in above-mentioned register.
8. automatic adjusting equipment as claimed in claim 7,
Above-mentioned accent decision mechanism constitutes, in the situation that the result of above-mentioned accent candidate's reduction is to have a plurality of accent candidates, tri-tone in whether comprising the whole tone scale of transferring the candidate by judgement in the musical alphabet group corresponding with the resume of aforesaid operations section and between scale accord with, will transfer the candidate further to reduce.
9. automatic adjusting equipment as claimed in claim 7,
Above-mentioned accent decision mechanism is judged as the accent of tone mark minimum the accent of above-mentioned melody in the situation that the result of above-mentioned accent candidate's reduction is to have a plurality of accent candidates.
10. automatic adjusting equipment as claimed in claim 7,
Above-mentioned memory storage has: register, based on the information by the input of above-mentioned performance input mechanism, preserve at least musical alphabet, musical alphabet group, the accent candidate corresponding with the resume of the Qu Xuanlv of input; And the 2nd table, preserve in the whole tone exponent character of each accent, transfer intrinsic tri-tone and between the scale symbol;
Above-mentioned accent decision mechanism constitutes, musical alphabet group that will be corresponding with the resume of above-mentioned Qu Xuanlv and above-mentioned the 2nd table compare, be included in by judgement in the resume of Qu Xuanlv musical alphabet whether with the tri-tone of certain accent and between the scale symbol consistent, with above-mentioned accent candidate reduction, judge the accent of above-mentioned Qu Xuanlv, the accent of judging is saved in above-mentioned register.
11. automatic adjusting equipment as claimed in claim 1,
Above-mentioned real-time accent decision mechanism possesses:
Memory storage has: register, based on the information by the input of above-mentioned performance input mechanism, preserve at least musical alphabet, musical alphabet group, the accent candidate corresponding with the resume of the Qu Xuanlv of input; And the 2nd table, preserve in the whole tone exponent character of each accent, transfer intrinsic tri-tone and between the scale symbol; And
Transfer decision mechanism, musical alphabet group that will be corresponding with the resume of above-mentioned Qu Xuanlv and above-mentioned the 2nd table compare, be included in by judgement in the resume of Qu Xuanlv musical alphabet whether with the tri-tone of certain accent and between the scale symbol consistent, with above-mentioned accent candidate reduction, judge the accent of above-mentioned Qu Xuanlv, the accent of judging is saved in above-mentioned register.
12. automatic adjusting equipment as claimed in claim 11,
Above-mentioned accent decision mechanism constitutes, in the situation that above-mentioned accent candidate is reduced into 1, this 1 accent candidate is preserved as the above-mentioned register of definite tuning, in the situation that in addition, the accent of the regulation in above-mentioned accent candidate is preserved as the above-mentioned register of interim tuning.
13. automatic adjusting equipment as claimed in claim 11,
Possess chord name decision mechanism, this chord name decision mechanism is based on having set up corresponding pitch and as the last time chord name of formerly chord name, judged current chord name with above-mentioned Qu Xuanlv;
Above-mentioned accent decision mechanism constitutes,
In the situation that above-mentioned current chord name has the relation of regulation with respect to the accent in being kept at above-mentioned register, obtain new accent based on the relation of this regulation.
14. automatic adjusting equipment as claimed in claim 13,
Above-mentioned accent decision mechanism constitutes, in the situation that above-mentioned current chord name is to have 7 chord of relation beyond III7 or V7 with respect to the accent in being kept at above-mentioned register, calculate the difference value between the root sound of above-mentioned accent and current chord name, and by above-mentioned accent being added above-mentioned difference and 5 semitones, obtain new accent.
15. automatic adjusting equipment as claimed in claim 13,
Above-mentioned accent decision mechanism constitutes, above-mentioned last time chord name be the axle center chord of the accent in being kept at above-mentioned register and above-mentioned current chord name in the situation that in the full keynote chord of the accent after being connected in the axle center chord the nearly system corresponding to the axle center chord transfer, obtain this nearly system and transfer as new accent.
16. automatic adjusting equipment as claimed in claim 13,
Above-mentioned accent decision mechanism constitutes, in the situation that above-mentioned current chord name is the I of accent of high semitone, high whole tone or high minor third or the chord of III with respect to the accent in being kept at above-mentioned register, obtain respectively the accent of this high semitone, high whole tone or high minor third as new accent.
17. automatic adjusting equipment as claimed in claim 11,
Above-mentioned accent decision mechanism is with reference to selecting and be kept in advance the selection information of the large accent/ditty in above-mentioned memory storage, and whether the accent that judgement obtains is large the accent or ditty.
18. an automatic adjusting correction method has:
According to the resume of the pitch of the Qu Xuanlv that plays, this Qu Xuanlv is transferred in real time the step of judgement; And
After above-mentioned melody is played end, revise in non real-time the step of the above-mentioned accent that judges.
CN201210432371.8A 2011-11-04 2012-11-02 Automatically adjusting equipment and automatically adjusting correction method Active CN103093747B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2011242251A JP5472261B2 (en) 2011-11-04 2011-11-04 Automatic adjustment determination apparatus, automatic adjustment determination method and program thereof
JP2011-242251 2011-11-04

Publications (2)

Publication Number Publication Date
CN103093747A true CN103093747A (en) 2013-05-08
CN103093747B CN103093747B (en) 2016-05-04

Family

ID=48206254

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210432371.8A Active CN103093747B (en) 2011-11-04 2012-11-02 Automatically adjusting equipment and automatically adjusting correction method

Country Status (2)

Country Link
JP (1) JP5472261B2 (en)
CN (1) CN103093747B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104934023A (en) * 2015-06-30 2015-09-23 宋志星 System of intelligently controlling plying of copper bell or chime
CN105161081A (en) * 2015-08-06 2015-12-16 蔡雨声 APP humming composition system and method thereof
US9384716B2 (en) 2014-02-07 2016-07-05 Casio Computer Co., Ltd. Automatic key adjusting apparatus and method, and a recording medium
CN107871489A (en) * 2016-09-28 2018-04-03 卡西欧计算机株式会社 The recording medium of chord decision maker, chord decision method and non-transitory

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6465136B2 (en) * 2017-03-24 2019-02-06 カシオ計算機株式会社 Electronic musical instrument, method, and program

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007041234A (en) * 2005-08-02 2007-02-15 Univ Of Tokyo Method for deducing key of music sound signal, and apparatus for deducing key
CN101034546A (en) * 2006-03-06 2007-09-12 雅马哈株式会社 Music performance apparatus and tone generation method
CN101276577A (en) * 2007-03-29 2008-10-01 雅马哈株式会社 Musical instrument capable of producing after-tones and automatic playing system
WO2010128560A1 (en) * 2009-05-08 2010-11-11 パイオニア株式会社 Voice recognition device, voice recognition method, and voice recognition program

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3099436B2 (en) * 1991-07-24 2000-10-16 ヤマハ株式会社 Chord detection device and automatic accompaniment device
JPH0588676A (en) * 1991-09-30 1993-04-09 Matsushita Electric Ind Co Ltd Automatic accompaniment device
JP3329242B2 (en) * 1997-10-22 2002-09-30 ヤマハ株式会社 Performance data analyzer and medium recording performance data analysis program
JP3960242B2 (en) * 2003-03-19 2007-08-15 ヤマハ株式会社 Automatic accompaniment device and automatic accompaniment program
JP5168297B2 (en) * 2010-02-04 2013-03-21 カシオ計算機株式会社 Automatic accompaniment device and automatic accompaniment program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007041234A (en) * 2005-08-02 2007-02-15 Univ Of Tokyo Method for deducing key of music sound signal, and apparatus for deducing key
CN101034546A (en) * 2006-03-06 2007-09-12 雅马哈株式会社 Music performance apparatus and tone generation method
CN101276577A (en) * 2007-03-29 2008-10-01 雅马哈株式会社 Musical instrument capable of producing after-tones and automatic playing system
WO2010128560A1 (en) * 2009-05-08 2010-11-11 パイオニア株式会社 Voice recognition device, voice recognition method, and voice recognition program

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9384716B2 (en) 2014-02-07 2016-07-05 Casio Computer Co., Ltd. Automatic key adjusting apparatus and method, and a recording medium
CN104934023A (en) * 2015-06-30 2015-09-23 宋志星 System of intelligently controlling plying of copper bell or chime
CN104934023B (en) * 2015-06-30 2018-09-21 烟台豪特乐器有限公司 The system that a kind of intelligent control copper clock or an ancient Chinese chime with 12 bells are played
CN105161081A (en) * 2015-08-06 2015-12-16 蔡雨声 APP humming composition system and method thereof
CN105161081B (en) * 2015-08-06 2019-06-04 蔡雨声 A kind of APP humming compositing system and its method
CN107871489A (en) * 2016-09-28 2018-04-03 卡西欧计算机株式会社 The recording medium of chord decision maker, chord decision method and non-transitory
CN107871489B (en) * 2016-09-28 2021-11-02 卡西欧计算机株式会社 Chord decision device, chord decision method, and non-transitory recording medium

Also Published As

Publication number Publication date
JP5472261B2 (en) 2014-04-16
JP2013097302A (en) 2013-05-20
CN103093747B (en) 2016-05-04

Similar Documents

Publication Publication Date Title
JP3309687B2 (en) Electronic musical instrument
CN101916568B (en) Information processing apparatus and information processing method
JP3557917B2 (en) Automatic composer and storage medium
CN104008747A (en) Apparatus and method for detecting music chords
CN103093747B (en) Automatically adjusting equipment and automatically adjusting correction method
Johansson Rhythm into style: studying assymmetrical grooves in Norwegian folk music
CN102148027B (en) Automatic accompanying apparatus
CN107301857A (en) A kind of method and system to melody automatically with accompaniment
JP2000089756A (en) Automatic composition apparatus and memory medium
US6294720B1 (en) Apparatus and method for creating melody and rhythm by extracting characteristic features from given motif
CN102419969B (en) Key determination apparatus
KR102560394B1 (en) Chord generation system based on music score chord ai discrimination algorithm
JP6047867B2 (en) Automatic code correction device, automatic code correction method and program thereof
JP3835456B2 (en) Automatic composer and storage medium
JP6555231B2 (en) Automatic code correction device, automatic code correction method and program thereof
Oliwa Genetic algorithms and the abc music notation language for rock music composition
JP2002175086A (en) Karaoke device
JP3656597B2 (en) Electronic musical instruments
Dias Interfacing jazz: A study in computer-mediated jazz music creation and performance
JPH0573058A (en) Electronic musical instrument
JP4186797B2 (en) Computer program for bass tone string generation and bass tone string generator
JP3953071B2 (en) Electronic musical instruments
Muñoz-Lago et al. An approach to Beethoven's 10th Symphony
Hu et al. Deep Learning in Computer Aided Pop Music Creation System
JP3669301B2 (en) Automatic composition apparatus and method, and storage medium

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