Electronic keyboard instrument replay method and system

文档序号:685139 发布日期:2021-04-30 浏览:15次 中文

阅读说明:本技术 一种电子键盘乐器重奏方法和系统 (Electronic keyboard instrument replay method and system ) 是由 王晓伟 管伯良 于 2020-12-29 设计创作,主要内容包括:本发明提供了一种电子键盘乐器重奏方法和系统,该方法包括:制作不同声部的乐谱数据,将各个声部的乐谱数据上传服务端,建立重奏组合,从云端加载电子乐谱,不同演奏声部加载各自的乐谱;由领奏方在App内发起重奏合练请求,跟奏方在App内搜索发起的重奏合练请求,并加入;领奏方点击开始重奏,将重奏指令发给跟奏方,并且开启伴奏,跟奏方收到开始指令后,不开伴奏,开始各自走谱;领奏方和跟奏方在演奏过程中可以实时纠错并打分。通过本发明提供的重奏方法,一个App可以同时控制多个演奏声部的乐谱,可以通过指令同时演奏,达到交响乐团效果,演奏过程中可纠错、打分、自动翻谱,能有效帮助用户练习提升。(The invention provides a method and a system for playing an electronic keyboard musical instrument, wherein the method comprises the following steps: making music score data of different vocal parts, uploading the music score data of each vocal part to a server, establishing a repetition combination, loading electronic music scores from a cloud, and loading respective music scores of different playing vocal parts; initiating a repeat and ensemble request in the App by a leader, searching the initiated repeat and ensemble request in the App by a follower, and adding; the leading party clicks to start the repeat, the repeat instruction is sent to the following party, the accompaniment is started, and the following party starts each self-walking music score without starting the accompaniment after receiving the start instruction; the leading player and the following player can correct errors and score in real time during the playing process. Through the ensemble method provided by the invention, one App can simultaneously control the music scores of a plurality of playing vocal parts, the music scores can be played simultaneously through instructions, the symphony orchestra effect is achieved, error correction, scoring and automatic score turning can be realized in the playing process, and the practice promotion of a user can be effectively helped.)

1. An electronic keyboard musical instrument repetition method characterized by: the method comprises the following steps:

s1: the method comprises the steps of making a repeated music score, making music score data of different vocal parts, uploading the music score data of each vocal part to a server, establishing a repeated music combination, loading the music score from a cloud end by an APP, and loading respective music scores of the different vocal parts;

s2: a leading player initiates a repeat and ensemble request in an App, the leading player selects to initiate the ensemble on the App, a partner port is opened locally, Socket is established to start circular monitoring, and a Socket link of a TCP is adopted;

s3: the follow-up party searches for the initiated reimposing ensemble request in the App in a mode of starting broadcast monitoring operation, monitoring a broadcast data packet of a local network, starting to analyze the data packet after the follow-up party receives the data packet, acquiring a packet ID, then comparing the packet IDs of the currently opened songs, and if the packet IDs are consistent, initiating a TCP connection request to connect an IP and a port in the broadcast data packet; if the grouping is not consistent, discarding and continuously receiving the broadcast data packet;

s4: the method comprises the following steps that a leading party waits for all follow-up parties to add an ensemble, then prepares to start the ensemble, clicks to start the ensemble by the leading party, sends an ensemble instruction to the follow-up parties, and starts an accompaniment, and the follow-up parties start each self-walking music without starting the accompaniment after receiving the start instruction;

s5: the leading player and the following player can correct errors and score in real time during the playing process.

2. The electronic keyboard musical instrument repetition method according to claim 1, characterized in that: the music score can be automatically turned over during the playing process.

3. The electronic keyboard musical instrument repetition method according to claim 2, characterized in that: the process of turning the music score is as follows:

a) firstly, analyzing and obtaining the coordinates (x, y) of each note according to XML data of a music score;

b) then analyzing according to the exemplary MIDI to obtain the playing time point T of each note;

c) in the initial state, a cursor for moving a score is positioned at the position (X0, Y0) of the first note of the score and the playing time point T0;

d) when the performance is started, timing is started, and the coordinates (X1, Y1) of the next note and the performance time point T1 are acquired;

e) then, the distance L between the two points is calculated, and the required time T is equal to (T1-T2)

f) Then the cursor moves to the next note position according to the speed of L/t;

g) if a line is changed, instantaneously moving to the 1 st note position of the line;

h) and repeating the steps d, e, f and g until all notes are gone.

4. The electronic keyboard instrument ensemble method according to claim 1, wherein said leading player and following player can correct errors and score in real time during the performance, comprising:

the program expresses the collected performance data as MIDI information in the performance process, and the method comprises the following steps: pitch, press time T1, release time T2), and the MIDI (pitch, press time T1, release time T2) of the demonstration performance are compared and corrected, the allowable error is Q, and the comparison process is as follows;

(1) if the pitches are not consistent, then the following judgment is made: wrong sound;

(2) if the time points T1-T1 > Q are pressed, the judgment is made that: shooting at night;

(3) if the time points T1-T1 > Q are pressed, then the judgment is made that: the spring is early;

(4) if the release time points T2-T2 > Q, then it is determined that: loosening at night;

(5) if the release time points T2-T2 > Q, it is determined that: loosening and early maturing;

(6) if the corresponding pitch is not collected, judging that: bullet leakage;

(7) and judging other conditions: correct;

after the performance is finished, counting the correct number and the error number, and calculating a score according to the following formula:

wherein c is the score, a is the correct number, and b is the total number.

5. An electronic keyboard instrument playing system, characterized in that, the system includes a mobile terminal, in which a playing app, a server and an electronic keyboard instrument are installed, the system also includes:

the system comprises a making unit, a playing unit and a playing unit, wherein the making unit is used for making a music score for repetition, making music score data of different vocal parts, uploading the music score data of each vocal part to a server, establishing a repetition combination, loading the music score from a cloud end by an APP, and loading respective music scores of different playing vocal parts;

the system comprises a leading party processing unit, a receiving party processing unit and a transmitting party processing unit, wherein the leading party processing unit is used for leading a leading party to select and initiate the chorus on an App, opening a chorus port locally, establishing Socket to start circulating monitoring and adopting a Socket link of TCP;

the follow-up party processing unit is used for searching the initiated repetition ensemble request in the App by the follow-up party in a searching mode, starting broadcast monitoring operation, monitoring a broadcast data packet of a local network, starting to analyze the data packet after the follow-up party receives the data packet, acquiring a packet ID, then comparing the packet IDs of the currently opened songs, if the packet IDs are consistent, initiating a TCP connection request, connecting an IP and a port in the broadcast data packet, and if the packets are inconsistent, discarding and continuously receiving the broadcast data packet;

the ensemble playing unit is used for starting ensemble by the leading party after waiting for all the following parties to add ensemble, clicking the leading party to start ensemble, sending an ensemble instruction to the following party and starting the accompaniment, and starting each self-walking music score without starting the accompaniment after the following party receives the start instruction;

and the error correction scoring unit, the leading player and the following player can correct errors and score in real time in the playing process.

6. The electronic keyboard musical instrument repetition system according to claim 5, characterized in that: the music score automatic turning device also comprises an automatic music score turning unit which is used for automatically turning music scores during the playing process.

7. The electronic keyboard instrument repetition system according to claim 6, wherein the automatic music score turning unit automatically turns music scores as follows:

a) firstly, analyzing and obtaining the coordinates (x, y) of each note according to XML data of a music score;

b) then analyzing according to the exemplary MIDI to obtain the playing time point T of each note;

c) in the initial state, a cursor for moving a score is positioned at the position (X0, Y0) of the first note of the score and the playing time point T0;

d) when the performance is started, timing is started, and the coordinates (X1, Y1) of the next note and the performance time point T1 are acquired;

e) then, calculating the distance L between the two points, wherein the required time T is (T1-T2);

f) then the cursor moves to the next note position according to the speed of L/t;

g) if a line is changed, instantaneously moving to the 1 st note position of the line;

h) and repeating the steps d, e, f and g until all notes are gone.

8. The electronic keyboard instrument ensemble system according to claim 5, wherein the method of the error correction scoring unit implementing the error correction scoring includes:

the program expresses the collected performance data as MIDI information in the performance process, and the method comprises the following steps: pitch, press time T1, release time T2), and the MIDI (pitch, press time T1, release time T2) of the demonstration performance are compared and corrected, the allowable error is Q, and the comparison process is as follows;

(1) if the pitches are not consistent, then the following judgment is made: wrong sound;

(2) if the time points T1-T1 > Q are pressed, the judgment is made that: shooting at night;

(3) if the time points T1-T1 > Q are pressed, then the judgment is made that: the spring is early;

(4) if the release time points T2-T2 > Q, then it is determined that: loosening at night;

(5) if the release time points T2-T2 > Q, it is determined that: loosening and early maturing;

(6) if the corresponding pitch is not collected, judging that: bullet leakage;

(7) and judging other conditions: correct;

after the performance is finished, counting the correct number and the error number, and calculating a score according to the following formula:

wherein c is the score, a is the correct number, and b is the total number.

Technical Field

The invention belongs to the field of music education, and particularly relates to a method and a system for playing an electronic keyboard instrument.

Background

With the development of internet technology, more and more internet technologies are applied to the music education field, for example, music scores are electronized to gradually replace paper music scores, electronic music scores can be freely split and combined, an electronic display screen for displaying the electronic music scores can also be split, combined and spliced, and partial music score practice or multi-person cooperative playing is facilitated. Currently, there are music software such as "Magic zither", "guqin", "Magic Piano", etc. which can control a system to emit musical tones through a point and a sliding action on a touch screen according to a song selected from a song library, thereby realizing musical performance. However, such products are not based on electronic musical instruments, cannot play multiple parts independently and in parallel, and do not support multi-person and multi-musical-instrument repetition, and currently, an automatic system specially aiming at repetition does not exist in the field of electronic keyboard musical instruments.

The existing ensemble teaching method and system have the following defects:

1. traditional repetition needs to adopt paper teaching materials, cannot automatically turn music scores, and must pass through the gesture instruction of commander in the beginning, and neat synchronization can not be accomplished, and there is not error correction suggestion in the performance process.

2. The partner App can correct the score, but cannot notify the music scores controlling a plurality of different vocal parts, and cannot start playing at the same time, thereby achieving the purpose of ensemble.

Disclosure of Invention

In view of the above, the present invention is directed to a method and a system for playing an electronic keyboard musical instrument, so as to solve the problems of the conventional method, such as failure to notify a music score controlling a plurality of different vocal parts, failure to start playing simultaneously, failure to automatically turn over the music score, and no error correction function.

In order to solve the technical problems, the invention adopts the following technical scheme:

in a first aspect, the present invention provides an electronic keyboard instrument repetition method, the method comprising:

s1: the method comprises the steps of making a repeated music score, making music score data of different sound parts, uploading the music score data of each sound part to a server, establishing a repeated music combination, loading the music score from a cloud side by an APP, and loading respective music scores by different sound parts.

S2: a player initiates a repeat and ensemble request in an App, the player selects to initiate the ensemble on the App, a partner opens an ensemble port locally, Socket starts to circularly monitor, and a Socket link of a TCP is adopted.

S3: the follow-up party searches for the initiated reimposing ensemble request in the App in a mode of starting broadcast monitoring operation, monitoring a broadcast data packet of a local network, starting to analyze the packet after the follow-up party receives the data packet, acquiring a packet ID, then comparing the packet IDs of the currently opened songs, and if the packet IDs are consistent, initiating a TCP connection request to connect an IP and a port in the broadcast data packet; if the packets are not consistent, the packets are discarded and the broadcast data packet continues to be received.

S4: the method comprises the following steps that a leading party waits for all following parties to add an ensemble, the leading party is ready to begin the ensemble, clicks to begin the ensemble, an ensemble instruction is sent to the following party, the accompanying party is started, and the following party starts each self-walking music score without starting the accompaniment after receiving the onset instruction.

S5: the leading player and the following player can correct errors and score in real time during the playing process.

Specifically, if the playing process needs automatic music score turning, the music score turning process is as follows:

a) firstly, analyzing and obtaining the coordinates (x, y) of each note according to XML data of a music score;

b) then analyzing according to the exemplary MIDI to obtain the playing time point T of each note;

c) in the initial state, a cursor for moving a score is positioned at the position (X0, Y0) of the first note of the score and the playing time point T0;

d) when the performance is started, timing is started, and the coordinates (X1, Y1) of the next note and the performance time point T1 are acquired;

e) then, calculating the distance L between the two points, wherein the required time T is (T1-T2);

f) then the cursor moves to the next note position according to the speed of L/t;

g) if a line is changed, instantaneously moving to the 1 st note position of the line;

h) and repeating the steps d, e, f and g until all notes are gone.

In a second aspect, the present invention further provides an electronic keyboard instrument playing system, where the system includes a mobile terminal, and the mobile terminal is equipped with a playing app, a server, and an electronic keyboard instrument, and the system further includes:

the production unit is used for producing a music book for repetition, producing music book data of different sound parts, uploading the music book data of each sound part to the server side, establishing a combination for repetition, loading the music book from the cloud side by the APP, and loading respective music books by the different sound parts for playing.

And the leading party processing unit is used for selecting and initiating the co-practicing on the App by the leading party, opening a co-practicing port locally, establishing Socket to start circular monitoring and adopting a Socket link of the TCP.

The follow-up party processing unit is used for searching the initiated repetition ensemble request in the App by the follow-up party in a searching mode of starting broadcast monitoring operation, monitoring a broadcast data packet of a local network, starting to analyze the packet after the follow-up party receives the data packet, acquiring a packet ID, comparing the packet IDs of the currently opened songs, and initiating a TCP connection request to connect an IP and a port in the broadcast data packet if the packet IDs of the currently opened songs are consistent with the packet IDs of the currently opened songs; if the packets are not consistent, the packets are discarded and the broadcast data packet continues to be received.

And the ensemble playing unit is used for starting ensemble by the leading party after waiting for all the following parties to add ensemble, clicking the leading party to start ensemble, sending an ensemble instruction to the following party, starting the accompaniment, and starting each self-walking music score without starting the accompaniment after the following party receives the start instruction.

And the error correction scoring unit, the leading player and the following player can correct errors and score in real time in the playing process.

Specifically, the automatic music score turning device further comprises an automatic music score turning unit, wherein the automatic music score turning unit is used for automatically turning the music score, and the automatic music score turning process comprises the following steps:

a) firstly, analyzing and obtaining the coordinates (x, y) of each note according to XML data of a music score;

b) then analyzing according to the exemplary MIDI to obtain the playing time point T of each note;

c) in the initial state, a cursor for moving a score is positioned at the position (X0, Y0) of the first note of the score and the playing time point T0;

d) when the performance is started, timing is started, and the coordinates (X1, Y1) of the next note and the performance time point T1 are acquired;

e) then, calculating the distance L between the two points, wherein the required time T is (T1-T2);

f) then the cursor moves to the next note position according to the speed of L/t;

g) if a line is changed, instantaneously moving to the 1 st note position of the line;

h) and repeating the steps d, e, f and g until all notes are gone.

In a third aspect, the present invention also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the electronic keyboard instrument repetition method as described above.

Compared with the prior art, the electronic keyboard musical instrument repetition method and the electronic keyboard musical instrument repetition system have the advantages that the electronic repetition music book is manufactured, the repetition request is initiated in the APP by the player, the request is made in the APP by the player and the repetition is added into the APP by the player, so that the effect that one APP can simultaneously control a plurality of music books with distributed playing can be realized, the symphony music book effect can be achieved by simultaneously playing through the instruction, and the error correction, scoring and automatic music book turning can be realized in the playing process so as to help a user to practice and promote.

Drawings

The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate an embodiment of the invention and, together with the description, serve to explain the invention and not to limit the invention.

In the drawings:

fig. 1 is a flowchart of an electronic keyboard instrument repetition method provided by the embodiment of the present invention;

fig. 2 is a block diagram showing an electronic keyboard instrument repetition system provided by the embodiment of the present invention.

Detailed Description

Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.

It should be noted that the embodiments and features of the embodiments may be combined with each other without conflict.

Furthermore, the terms "first", "second", etc. are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first," "second," etc. may explicitly or implicitly include one or more of that feature. In the description of the present invention, "a plurality" means two or more unless otherwise specified.

The present invention will be described in detail below with reference to the embodiments with reference to the attached drawings.

As shown in fig. 1, an electronic keyboard musical instrument repetition method includes:

s1: the method comprises the steps of making a repeated music score, making music score data of different sound parts, uploading the music score data of each sound part to a server, establishing a repeated music combination, loading the music score from a cloud side by an APP, and loading respective music scores by different sound parts.

When a ensemble score is made, ensemble scores of different vocal parts are made through file software, music score data in a MusicXML format are led out from the score, MuiscXML format data of each vocal part needing to be played are uploaded to a server, an ensemble combination is established, an ID of each vocal part is obtained, and 1 group, namely the group [ ID1, ID2 and ID3], is created.

Furthermore, a repetition APP is opened on the mobile terminal, a repetition song to be played is selected, grouping information and music score data are requested from the server, and after the music score data are acquired at the App end of the mobile terminal, the electronic music score is drawn in a canvas mode.

S2: a player initiates a repeat and ensemble request in an App, the player selects to initiate the ensemble on the App, a partner opens an ensemble port locally, Socket starts to circularly monitor, and a Socket link of a TCP is adopted. Specifically, after the monitoring is started, a broadcast data packet is issued every 10 milliseconds on a broadcast channel in the currently linked local area network, and the structure of the data packet is as follows: packet ID + IP + port.

S3: the follow-up party searches for the initiated reimposing ensemble request in the App in a mode of starting broadcast monitoring operation, monitoring a broadcast data packet of a local network, starting to analyze the data packet after the follow-up party receives the data packet, acquiring a packet ID, then comparing the packet IDs of the currently opened songs, and if the packet IDs are consistent, initiating a TCP connection request to connect an IP and a port in the broadcast data packet; if the packets are not consistent, the packets are discarded and the broadcast data packet continues to be received. Specifically, after receiving a TCP connection request of the follow-up party, the lead party establishes long connection, and sends a heartbeat packet every 3 seconds to detect whether the connection is on line.

S4: the method comprises the following steps that a leading party starts to be played after waiting for all following parties to add to be played, the leading party clicks to start to be played, a starting instruction is sent to the following party, the accompanying is started, and the following party starts to respectively move self-walking music scores without starting the accompanying after receiving the starting instruction.

Specifically, the leading party clicks to start, and sends a start instruction to each added following party through the established TCP long connection, wherein the instruction data includes: starting an instruction and starting time, then sleeping, and starting to move the music score by the player after the starting time is up; and after receiving the starting instruction, the following player analyzes the instruction, finds the instruction to be the starting instruction, then analyzes the starting time, temporarily sleeps firstly if the instruction is not started, performs loop detection, and immediately starts to walk the music score without starting the accompaniment if the time is reached.

S5: the leading player and the following player can correct errors and score in real time during the playing process.

Specifically, the error correction scoring process is as follows: the program expresses the collected performance data as MIDI information in the performance process, and the method comprises the following steps: pitch, press time T1, release time T2), and then compared with the exemplary performance MIDI (pitch, press time T1, release time T2) to correct errors, the allowable error is Q, and the comparison process is as follows;

(1) if the pitches are not consistent, then the following judgment is made: wrong sound

(2) If the time points T1-T1 > Q are pressed, the judgment is made that: bounce night

(3) If the time points T1-T1 > Q are pressed, then the judgment is made that: bomb-shaped bomb

(4) If the release time points T2-T2 > Q, then it is determined that: song evening

(5) If the release time points T2-T2 > Q, it is determined that: songcao (pine morning)

(6) If the corresponding pitch is not collected, judging that: bullet leakage

(7) And judging other conditions: correction of

After the performance is finished, counting the correct number and the error number, and calculating a score according to the following formula:

wherein c is the score, a is the correct number, and b is the total number.

Specifically, if the playing process needs automatic music score turning, the music score turning process is as follows:

a) firstly, analyzing and obtaining the coordinates (x, y) of each note according to XML data of a music score;

b) then analyzing according to the exemplary MIDI to obtain the playing time point T of each note;

c) in the initial state, a cursor for moving a score is positioned at the position (X0, Y0) of the first note of the score and the playing time point T0;

d) when the performance is started, timing is started, and the coordinates (X1, Y1) of the next note and the performance time point T1 are acquired;

e) then, calculating the distance L between the two points, wherein the required time T is (T1-T2);

f) then the cursor moves to the next note position according to the speed of L/t;

g) if a line is changed, instantaneously moving to the 1 st note position of the line;

h) and repeating the steps d, e, f and g until all notes are gone.

Fig. 2 shows an electronic keyboard instrument repetition system, which includes a mobile terminal equipped with a repetition app, a server, and an electronic keyboard instrument, and further includes:

the production unit is used for producing a music book for repetition, producing music book data of different sound parts, uploading the music book data of each sound part to the server side, establishing a combination for repetition, loading the music book from the cloud side by the APP, and loading respective music books by the different sound parts for playing.

When the production unit produces a double-playing music score, double-playing music scores of different vocal parts are produced through file software, music score data in a MusicXML format are led out from the music scores, MuiscXML format data of each vocal part needing to be played are uploaded to a service end, a double-playing combination is established, an ID of each vocal part is obtained, and 1 group, namely the group [ ID1, ID2 and ID3], is created.

Furthermore, a repetition APP is opened on the mobile terminal, a repetition song to be played is selected, grouping information and music score data are requested from the server, and after the music score data are acquired at the App end of the mobile terminal, the electronic music score is drawn in a canvas mode.

And the leading party processing unit is used for selecting and initiating the repetition ensemble by the leading party on the App, opening an ensemble port locally, establishing Socket to start circular monitoring and adopting a Socket link of the TCP. Specifically, after the monitoring is started, a broadcast data packet is issued every 10 milliseconds on a broadcast channel in the currently linked local area network, and the structure of the data packet is as follows: packet ID + IP + port.

And the follow player processing unit is used for searching the initiated repetition ensemble request in the App by the follow player in a mode of starting broadcast monitoring operation, monitoring the broadcast data packet of the local network, starting to analyze the data packet after the follow player receives the data packet, acquiring a packet ID, comparing the packet IDs of the currently opened songs, initiating a TCP connection request if the packet IDs are consistent, connecting an IP and a port in the broadcast packet, discarding if the packet IDs are inconsistent, and continuously receiving the broadcast data packet.

Specifically, after receiving a TCP connection request of the follow-up party, the lead party establishes long connection, and sends a heartbeat packet every 3 seconds to detect whether the connection is on line.

And the ensemble playing unit is used for preparing to start ensemble playing after the leading player waits for all the following players to add ensemble, the leading player clicks to start ensemble playing, a starting instruction is sent to the following players, the accompaniment is started, and the following players start each self-walking music score without starting the accompaniment after receiving the starting instruction.

Specifically, the leading party clicks to start, and sends a start instruction to each added following party through the established TCP long connection, wherein the instruction data includes: starting an instruction and starting time, then sleeping, and starting to move the music score by the player after the starting time is up; and after receiving the starting instruction, the following player analyzes the instruction, finds the instruction to be the starting instruction, then analyzes the starting time, temporarily sleeps firstly if the instruction is not started, performs loop detection, and immediately starts to walk the music score without starting the accompaniment if the time is reached.

And the error correction scoring unit is used for correcting errors in real time and scoring the scores of the leading player and the following player in the playing process.

Specifically, the error correction scoring process is as follows: the program expresses the collected performance data as MIDI information in the performance process, and the method comprises the following steps: pitch, press time T1, release time T2), and then compared with the exemplary performance MIDI (pitch, press time T1, release time T2) to correct errors, the allowable error is Q, and the comparison process is as follows;

(1) if the pitches are not consistent, then the following judgment is made: wrong sound

(2) If the time points T1-T1 > Q are pressed, the judgment is made that: bounce night

(3) If the time points T1-T1 > Q are pressed, then the judgment is made that: bomb-shaped bomb

(4) If the release time points T2-T2 > Q, then it is determined that: song evening

(5) If the release time points T2-T2 > Q, it is determined that: songcao (pine morning)

(6) If the corresponding pitch is not collected, judging that: bullet leakage

(7) And judging other conditions: correction of

After the performance is finished, counting the correct number and the error number, and calculating a score according to the following formula:

wherein c is the score, a is the correct number, and b is the total number.

Specifically, the automatic music score turning device further comprises an automatic music score turning unit, wherein the automatic music score turning unit is used for automatically turning the music score, and the automatic music score turning process comprises the following steps:

a) firstly, analyzing and obtaining the coordinates (x, y) of each note according to XML data of a music score;

b) then analyzing according to the exemplary MIDI to obtain the playing time point T of each note;

c) in the initial state, a cursor for moving a score is positioned at the position (X0, Y0) of the first note of the score and the playing time point T0;

d) when the performance is started, timing is started, and the coordinates (X1, Y1) of the next note and the performance time point T1 are acquired;

e) then, calculating the distance L between the two points, wherein the required time T is (T1-T2);

f) then the cursor moves to the next note position according to the speed of L/t;

g) if a line is changed, instantaneously moving to the 1 st note position of the line;

h) and repeating the steps d, e, f and g until all notes are gone.

Specifically, the present invention also provides a computer-readable storage medium on which a computer program is stored, the computer program implementing the electronic keyboard instrument repetition method as described above when executed by a processor.

The electronic keyboard musical instrument repetition method and the system thereof can realize that one APP can simultaneously control a plurality of music scores distributed in playing by making an electronic repetition music score, the player initiates a repetition and ensemble request in the APP, and the player requests and adds repetition in the APP, and can achieve the effect of harmony music score by simultaneously playing through an instruction, and error correction, scoring and automatic music turning can be carried out in the playing process to help users to practice and promote.

The embodiments of the present invention have been described in connection with the accompanying drawings, but the present invention is not limited to the above embodiments, and the above embodiments are only illustrative and not restrictive, and any modifications, equivalent substitutions, improvements, etc. within the spirit and principle of the present invention should be included in the protection scope of the present invention.

11页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种电子键盘乐器智能变奏方法和系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!