It is a kind of to be used for the performance evaluator of intelligent fender
Technical field
It is specially a kind of to be used for the performance evaluator of intelligent fender the present invention relates to intelligent fender system regions.
Background technology
Intelligent fender is a kind of new interactive electronic musical instrument, its by MIDI keyboard emulations fingerboard for
Family is played, after the input signal that MIDI keyboards are handled by built-in master controller, exports corresponding piano music.Existing skill
Qu Ku, bank, MIDI SEQ sequencers, melody document analysis are typically provided with by program in intelligent fender master controller in art
The modules such as device, music score of Chinese operas display, metronome, MIDI synthesizer, piano performance is simulated by the cooperation of modules, but at present still
Player is not performed music the module being estimated.
The content of the invention
It is used for the performance evaluator of intelligent fender it is an object of the invention to provide a kind of, to solve prior art presence
Problem.
In order to achieve the above object, the technical solution adopted in the present invention is:
It is a kind of to be used for the performance evaluator of intelligent fender, by program construction in the master controller of intelligent fender,
It is characterized in that:When user is played by MIDI keyboards, the performance evaluator receives melody in intelligent fender master controller
The midi event of document parser output is defeated as MIDI SEQ sequencers in reference event, and the intelligent fender master controller of reception
The midi event gone out respectively exports reference event, incoming event into intelligent fender master controller as incoming event
Music score of Chinese operas display is shown, by the way that incoming event is compared with reference event, so that the performance to user is estimated,
Detailed process is as follows:
User chooses the melody file to be played, the melody from the bent storehouses of the MIDI in intelligent fender master controller
Document parser is parsed to the melody file of selection, partial rail record note events and control event, is used as reference event
The reference time that melody document parser is exported is reduced into staff and shown in the music score of Chinese operas by output to evaluator, performance evaluator is played
Show in device and shown, each track correspondence a line staff;Meanwhile, when user is striked up by MIDI keyboards, intelligence electricity
MIDI SEQ sequencers are received after the midi signal of MIDI keyboards output in piano master controller, and processing obtains the melody letter of user's performance
Breath is as incoming event, and on the one hand output MIDI synthesizer into intelligent fender master controller is closed incoming event with source of sound
Into pronunciation, on the other hand output, to playing in evaluator, is compared, passed through incoming event with playing the reference time in evaluator
Note pitch parameter, note time started parameter, the note duration parameter for comparing incoming event and reference event are corresponded, is obtained
Obtain evaluation result;When incoming event and reference time note pitch parameter, note time started parameter, note duration parameter it
Between correspondence difference in the error range of setting when, be judged as correctly entering;When incoming event and the note sound of reference time
Between high parameter, note time started parameter, note duration parameter correspondence difference in a certain item outside the error range of setting, or
The incoming event with certain reference event same tone is not received in the error range of setting, then is judged as wrong input, and
Display reminding is carried out in music score of Chinese operas display;When comparison obtains not having identical pitch between incoming event and reference event, then sentence
It is disconnected to belong to erroneous input, not by carrying out display reminding in music score of Chinese operas display, but it is included in evaluation result.
A kind of described performance evaluator for intelligent fender, it is characterised in that:Play evaluator according to accuracy,
Different classes of mistake and the statistics index pressed by mistake carry out integrating marking, and can individually list part index number and individually beat
Point.
A kind of described performance evaluator for intelligent fender, it is characterised in that:For left and right in many track music scores of Chinese operas
The note events of the identical pitch of hand lap, only to the time started, note is judged earlier, its result influence other with
Overlapping note.
The present invention can be estimated to the music that user plays, and assessment result is shown by music score of Chinese operas display, and can
Performance to user is given a mark, and improves the performance of intelligent fender, intelligent fender is possessed the function of music teaching.
Brief description of the drawings
Fig. 1 is intelligent fender theory diagram.
Embodiment
As shown in Figure 1.It is a kind of to be used for the performance evaluator of intelligent fender, by program construction intelligent fender master
In controller, when user is played by MIDI keyboards, play evaluator and receive melody file solution in intelligent fender master controller
The midi event of parser output is as reference event, and receives what MIDI SEQ sequencers in intelligent fender master controller were exported
Reference event, incoming event are exported the music score of Chinese operas into intelligent fender master controller by midi event respectively as incoming event
Display is shown, by the way that incoming event is compared with reference event, so that the performance to user is estimated, specifically
Process is as follows:
User chooses the melody file to be played, melody file from the bent storehouses of the MIDI in intelligent fender master controller
Resolver is parsed to the melody file of selection, partial rail record note events and control event, is exported as reference event
To evaluator is played, play evaluator and the reference time that melody document parser is exported is reduced into staff in music score of Chinese operas display
It is middle to be shown, each track correspondence a line staff;Meanwhile, when user is striked up by MIDI keyboards, intelligent fender
MIDI SEQ sequencers are received after the midi signal of MIDI keyboards output in master controller, and the musical composition information that processing obtains user's performance is made
For incoming event, on the one hand output MIDI synthesizer into intelligent fender master controller carries out synthesis hair to incoming event with source of sound
Sound, on the other hand output, to playing in evaluator, is compared, by one by one incoming event with playing the reference time in evaluator
Correspondence compares note pitch parameter, note time started parameter, the note duration parameter of incoming event and reference event, is commented
Valency result;When right between the note pitch parameter, note time started parameter, note duration parameter of incoming event and reference time
When answering difference in the error range of setting, it is judged as correctly entering;When the note pitch of incoming event and reference time are joined
Number, a certain item outside the error range of setting, or is being set in correspondence difference between note time started parameter, note duration parameter
Dull incoming event identical with certain reference event is not received in fixed error range, then is judged as wrong input, and in song
Display reminding is carried out in spectrum display;When comparison obtains not having identical pitch between incoming event and reference event, then category is judged
In erroneous input, not by carrying out display reminding in music score of Chinese operas display, but evaluation result is included in.
Evaluator is played to integrate and beat according to accuracy, different classes of mistake and the statistics index progress pressed by mistake
Point, and part index number can be listed individually to independent marking.
For the note events of the identical pitch of right-hand man's lap in many track music scores of Chinese operas, only to time started sound earlier
Symbol is judged, and its result influences the note that other are overlapped.