Auxiliary playing method and device of electronic organ, electronic equipment and storage medium
By obtaining the piano score identification code in the electronic piano and automatically matching the tracks, and comparing the user's playing notes with target notes in real time, the problem of not providing immediate guidance and correction in the prior art is solved, and a more efficient and pleasant music learning and performance experience is achieved.
Patent Information
- Application Number
- CN202411582333.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-07
- Publication Date
- 2025-03-11
AI Technical Summary
The existing electronic piano assistance functions cannot provide immediate guidance and corrections during user performance, affecting users' learning and playing experience.
By obtaining the piano score identification code of the target piano score, the target track and music score are automatically matched in the electronic piano track library, and the trigger information is monitored in real time when the user performs, comparing the real-time trigger notes with the target notes, and playing the target notes when they do not match.
It provides instant guidance and correction during user performance, significantly reducing the difficulty of playing for beginners of electronic pianos and improving learning efficiency and fun.
Smart Images

Figure CN119600976A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of music education, and in particular to an auxiliary playing method and device of an electronic keyboard, an electronic device and a storage medium. Background Art
[0002] In the field of music education, the electronic keyboard, as a popular musical instrument, not only plays an important role in music teaching, but also provides users with a convenient way to learn and play. The auxiliary performance function of the electronic keyboard is designed to help users better master performance skills, improve learning efficiency, enhance the fun of music learning, and help users practice effectively without professional guidance.
[0003] In the related art, the auxiliary functions of the existing electronic keyboard cannot provide immediate guidance and correction during the user's performance, which affects the user's overall experience of learning and playing the electronic keyboard. Therefore, a more complete electronic keyboard auxiliary performance method and device is needed to meet the needs of modern music education. Summary of the invention
[0004] The main purpose of the embodiments of the present application is to provide an auxiliary performance method and device for an electronic keyboard, an electronic device and a storage medium, which can provide instant guidance and correction during the performance.
[0005] To achieve the above-mentioned purpose, a first aspect of an embodiment of the present application provides an auxiliary playing method of an electronic piano, the method comprising: obtaining a score identification code of a target score;
[0006] According to the music score identification code, determining the target music piece and the target music score corresponding to the music score identification code in a preset electronic piano music library;
[0007] In response to obtaining real-time trigger information of a target user during the performance of the target music piece, determining a target note corresponding to the real-time trigger information in the target music score;
[0008] The trigger note corresponding to the real-time trigger information is compared with the target note, and when the trigger note corresponding to the real-time trigger information does not match the target note, the target note is played.
[0009] In some embodiments, the step of obtaining the music score identification code of the target music score includes:
[0010] Scanning the target musical score based on the sensor array to obtain musical score coding information of the target musical score, wherein the sensor array is installed on the musical score stand of the electronic piano and the sensor array includes a plurality of high-sensitivity optical sensors;
[0011] The music score encoding information is decoded according to a decoding algorithm built into the electronic piano, and a music score identification code corresponding to the music score encoding information is extracted.
[0012] In some embodiments, the step of determining, according to the music score identification code, a target music track and a target music score corresponding to the music score identification code in a preset electronic piano music library includes:
[0013] In the electronic piano music library, using the music score identification code as an index, searching for a target electronic piano music corresponding to the music score identification code;
[0014] The target electronic piano piece is determined as the target piece, and the music score corresponding to the target electronic piano piece is determined as the target music score.
[0015] In some embodiments, in response to obtaining the real-time trigger information of the target user during the performance of the target music piece, determining the target note corresponding to the real-time trigger information in the target music score includes:
[0016] Acquire a trigger note serial number in the real-time trigger information, where the trigger note serial number indicates a position of the trigger note corresponding to the real-time trigger information in a target user's performance input sequence;
[0017] According to the trigger note sequence number, determining the score note corresponding to the trigger note sequence number in the note sequence of the target score;
[0018] The music score note is determined as the target note corresponding to the real-time trigger information.
[0019] In some embodiments, comparing the trigger note corresponding to the real-time trigger information with the target note, and playing the target note when the trigger note corresponding to the real-time trigger information does not match the target note, includes:
[0020] Obtaining a preset performance mode; wherein the performance mode includes an entertainment mode and a teaching mode;
[0021] When the performance mode is the entertainment mode and the trigger note corresponding to the real-time trigger information does not match the target note, playing the target note;
[0022] When the performance mode is the teaching mode and the trigger note corresponding to the real-time trigger information does not match the target note, the trigger note is played, and prompt information instructing to play the target note is generated.
[0023] In some embodiments, an indicator light is provided above each key of the electronic keyboard, and the generating of prompt information indicating to play the target note includes:
[0024] When the trigger note does not match the target note, the indicator light above the key corresponding to the trigger note is controlled to be a first color, and the indicator light above the key corresponding to the target note is controlled to be a second color;
[0025] When the trigger note matches the target note, the indicator light above the key corresponding to the target note is controlled to be a third color.
[0026] In some embodiments, when the performance mode is the entertainment mode and the trigger note corresponding to the real-time trigger information does not match the target note, after playing the target note, the method further includes:
[0027] When the performance mode is the entertainment mode and the trigger note corresponding to the real-time trigger information does not match the target note, marking the target note as a performance error note on the target music score;
[0028] In the entertainment mode, when the target user finishes playing the target song, an entertainment mode performance report is generated according to the performance error notes.
[0029] To achieve the above-mentioned purpose, a second aspect of an embodiment of the present application provides an auxiliary performance device for an electronic piano, comprising: an acquisition module, for acquiring a score identification code of a target score;
[0030] A determination module, for determining, according to the music score identification code, a target music track and a target music score corresponding to the music score identification code in a preset electronic piano music library;
[0031] A response module, configured to determine, in response to obtaining real-time trigger information of a target user during the performance of the target music piece, a target note corresponding to the real-time trigger information in the target music score;
[0032] The comparison module is used to compare the trigger note corresponding to the real-time trigger information with the target note, and when the trigger note corresponding to the real-time trigger information does not match the target note, play the target note.
[0033] To achieve the above-mentioned purpose, the third aspect of the embodiments of the present application proposes an electronic device, which includes a memory and a processor, the memory stores a computer program, and the processor implements the method described in the above-mentioned first aspect embodiment when executing the computer program.
[0034] To achieve the above-mentioned purpose, the fourth aspect of an embodiment of the present application proposes a storage medium, which is a computer-readable storage medium, and the storage medium stores a computer program. When the computer program is executed by a processor, the method described in the embodiment of the first aspect is implemented.
[0035] The present application proposes an electronic keyboard auxiliary performance method, device and related equipment, which have the following beneficial effects: obtaining a score identification code of a target score, determining a target track and a target score corresponding to the score identification code in a pre-set electronic keyboard repertoire according to the score identification code, determining a target note corresponding to the real-time trigger information in the target score in response to obtaining real-time trigger information of a target user in the process of playing the target track, comparing the trigger note corresponding to the real-time trigger information with the target note, and playing the target note when the trigger note corresponding to the real-time trigger information does not match the target note. The target user's performance track is automatically matched in the electronic keyboard repertoire library through the score identification code, and the target note is played when the trigger note corresponding to the real-time trigger information does not match the target note. Even if the target user plays several wrong keys during the performance, the user can still be assisted to complete the performance by playing the correct target notes, which significantly reduces the performance difficulty of electronic keyboard beginners and can provide instant guidance and correction during the performance. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 is a flow chart of the auxiliary playing method of the electronic keyboard provided in an embodiment of the present application;
[0037] Figure 2 is another flow chart of the auxiliary playing method of the electronic keyboard provided in the embodiment of the present application;
[0038] Figure 3 is another flow chart of the auxiliary playing method of the electronic keyboard provided in the embodiment of the present application;
[0039] Figure 4 is another flow chart of the auxiliary playing method of the electronic keyboard provided in the embodiment of the present application;
[0040] Figure 5 is another flow chart of the auxiliary playing method of the electronic keyboard provided in the embodiment of the present application;
[0041] Figure 6 is another flow chart of the auxiliary playing method of the electronic keyboard provided in the embodiment of the present application;
[0042] Figure 7 Another flow chart of the auxiliary playing method of the electronic keyboard provided in the embodiment of the present application
[0043] Figure 8 This is a schematic diagram of an optional structure of the auxiliary performance device of the electronic keyboard provided in an embodiment of the present application;
[0044] Fig. 9 It is a schematic diagram of the hardware structure of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION
[0045] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0046] It should be noted that although the functional modules are divided in the device schematic and the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flowchart.
[0047] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0048] In the field of music education, the electronic keyboard, as a popular musical instrument, not only plays an important role in music teaching, but also provides users with a convenient way to learn and play. The auxiliary performance function of the electronic keyboard is designed to help users better master performance skills, improve learning efficiency, enhance the fun of music learning, and help users practice effectively without professional guidance.
[0049] In the prior art, the auxiliary functions of the existing electronic keyboards cannot provide immediate guidance and correction during the user's performance, which affects the user's overall experience of learning and playing the electronic keyboard. Therefore, a more complete electronic keyboard auxiliary performance method and device is needed to meet the needs of modern music education.
[0050] Based on this, the embodiments of the present application provide an auxiliary playing method and device of an electronic keyboard, an electronic device and a storage medium, which can provide instant guidance and correction during the playing process.
[0051] An auxiliary playing method, device and related equipment of an electronic keyboard provided in an embodiment of the present application are specifically illustrated through the following embodiments. First, the auxiliary playing method of the electronic keyboard in the embodiment of the present application is described.
[0052] The auxiliary playing method of the electronic keyboard in the embodiment of the present application can be illustrated by the following embodiment.
[0053] It should be noted that in each specific implementation of the present application, when it comes to the need to perform relevant processing based on data related to user identity or characteristics such as user information, user behavior data, user historical data, and user location information, the user's permission or consent will be obtained first. For example, when obtaining user stored data and the user's cached data access request, the user's permission or consent will be obtained first. Moreover, the collection, use and processing of these data will comply with the relevant laws, regulations and standards of the relevant countries and regions. In addition, when the embodiment of the present application needs to obtain the user's sensitive personal information, the user's separate permission or separate consent will be obtained by means of a pop-up window or jumping to a confirmation page. After clearly obtaining the user's separate permission or separate consent, the necessary user-related data used to enable the normal operation of the embodiment of the present application will be obtained.
[0054] For example, the electronic keyboard auxiliary playing method in the embodiment of the present application can be applied to the fields of family entertainment and music education. Family members can use this method for self-entertainment. Even if they have no music foundation, they can enjoy the fun of playing the electronic keyboard through the auxiliary playing function, increase interactivity and entertainment, and allow everyone to participate in music performance. In the field of music education, this method can help beginners quickly get started with the electronic keyboard and improve the efficiency and fun of music learning.
[0055] The auxiliary playing method of the electronic keyboard provided in the embodiment of the present application relates to the field of music education technology. The auxiliary playing method of the electronic keyboard provided in the embodiment of the present application can be applied to the terminal, can also be applied to the server side, and can also be software running in the terminal or the server side. In some embodiments, the terminal can be a smart phone, a tablet computer, a laptop computer, a desktop computer, etc.; the server side can be configured as an independent physical server, or it can be configured as a server cluster or a distributed system composed of multiple physical servers, and can also be configured as a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms; the software can be an application that implements the auxiliary playing method of the electronic keyboard, etc., but is not limited to the above forms.
[0056] Figure 1 is an optional flow chart of the auxiliary playing method of the electronic keyboard provided in the embodiment of the present application. Figure 1 The method in the embodiment may include but is not limited to steps 101 to 104. Figure 1 The order of step 101 to step 104 is not specifically limited, and the order of steps can be adjusted or some steps can be reduced or added according to actual needs.
[0057] Step 101, obtaining the music score identification code of the target music score.
[0058] The following is a detailed explanation of step 101.
[0059] It is understandable that the electronic keyboard first needs to obtain the score identification code of the target score. This score identification code is pre-embedded in the score and can be a QR code, barcode or other forms of machine-readable code. When the target user places the target score on the dedicated score stand, the OID sensor array starts the scanning program to identify and read the score identification code on the target score. The score identification code is embedded with specific information about the score, which may include the name of the track, the composer, the track number, etc.
[0060] Exemplarily, the target user places the target music score on the dedicated music stand of the electronic keyboard. The OID sensor array equipped on the music stand can scan the music score and identify these codes. These codes contain specific information about the music score, allowing the electronic keyboard to identify the piece that the target user is trying to play. By automatically identifying the music score identification code, the electronic keyboard device can quickly respond to the needs of the target user and provide the target user with an efficient and intuitive way to select music. This automated music score recognition mechanism is the basis for implementing subsequent steps, such as music matching, performance assistance and other functions, and provides an innovative user interaction method for the electronic keyboard device.
[0061] Step 102, according to the score identification code, determine the target track and target score corresponding to the score identification code in a preset electronic piano track library.
[0062] Step 102 is explained in detail below.
[0063] Exemplarily, when the electronic piano device reads the piano score identification code through the O ID sensor array, the processor compares the identification code with the data stored in the music library. Through the matching process, the processor can determine the unique target music track and the corresponding target music score corresponding to the piano score identification code. The target music track refers to the specific music track selected by the target user to play, and the target music score is the specific musical symbol representation of the music track, including music information such as notes, rhythm, and dynamics. The piano score identification code is quickly matched to the corresponding music track and music score, and the target music track and target music score that the target user wants to play are determined, and the target user does not need to manually search or select the music track.
[0064] It is understandable that the design of the electronic keyboard repertoire library allows for flexible addition, deletion or updating of repertoires, so that the electronic keyboard can adapt to the needs and preferences of different target users. Updates to the repertoire library can be downloaded via a wireless network, transferred via physical media such as an SD card, or directly through the interface of the electronic keyboard.
[0065] Step 103, in response to obtaining the real-time trigger information of the target user in the process of playing the target music, determining the target note corresponding to the real-time trigger information in the target music score.
[0066] Step 103 is explained in detail below.
[0067] It is understandable that the electronic piano device is equipped with sensors or other input devices to monitor and record the target user's playing actions. When the target user starts to play the target song, the target user's playing actions are monitored in real time to obtain the target user's real-time trigger information. The real-time trigger information may include the keys pressed by the target user, the strength, the rhythm, etc.
[0068] For example, the target score contains the complete music information of the track, including the pitch, duration and playing time of each note. Through comparison, the electronic keyboard processor can accurately find the target note corresponding to the user's real-time trigger information in the target score, track the target user's playing progress in real time, and find the note that the target user should currently play in the target score.
[0069] Step 104, comparing the trigger note corresponding to the real-time trigger information with the target note, and when the trigger note corresponding to the real-time trigger information does not match the target note, playing the target note.
[0070] Step 104 is explained in detail below.
[0071] It is understandable that after determining the target note corresponding to the target user's real-time trigger information, it will be compared with the note actually played by the user, that is, compared with the trigger note corresponding to the real-time trigger information. If the trigger note is consistent with the target note, it means that the user's performance is accurate. If it is found that the target user's performance does not match the target note, that is, the user may have played the wrong note, the electronic keyboard will automatically play the correct target note. In this way, even if the target user makes a mistake during the performance, the electronic keyboard can assist the user to correct the mistake by playing the correct target note, ensure the continuity and accuracy of the performance, and improve the user's performance experience and learning efficiency through intelligent assistance.
[0072] Through the above steps 101 to 104, the score identification code of the target score is obtained, and according to the score identification code, the target track and target music score corresponding to the score identification code are determined in the pre-set electronic keyboard music library, and in response to the real-time trigger information of the target user in the process of playing the target track, the target note corresponding to the real-time trigger information is determined in the target music score, and the trigger note corresponding to the real-time trigger information is compared with the target note, and when the trigger note corresponding to the real-time trigger information does not match the target note, the target note is played. The target user's performance track is automatically matched in the electronic keyboard music library through the score identification code, and the target note is played when the trigger note corresponding to the real-time trigger information does not match the target note. Even if the target user plays several wrong keys during the performance, the user can still be assisted to complete the performance by playing the correct target notes, which significantly reduces the performance difficulty of electronic keyboard beginners and can provide instant guidance and correction during the performance.
[0073] See also Figure 2 In some embodiments, step 101 may include but is not limited to steps 201 to 202:
[0074] Step 201, scanning the target musical score based on the sensor array to obtain musical score coding information of the target musical score;
[0075] Wherein, the sensor array is installed on the music stand of the electronic keyboard, and the sensor array includes a plurality of high-sensitivity optical sensors;
[0076] Step 202: decode the music score encoding information according to the decoding algorithm built into the electronic piano, and extract the music score identification code corresponding to the music score encoding information.
[0077] Steps 201 to 202 are explained in detail below.
[0078] It is understandable that a sensor array is installed on the music stand of the electronic keyboard, and the sensor array is composed of multiple high-sensitivity optical sensors. When the user places the target music score on the music stand, the sensor array starts to work and scans the coded information on the music score. These coded information are usually presented in the form of barcodes, QR codes or other forms of machine-readable optical codes, embedded in the music score. The optical sensor is responsible for capturing the optical code on the music score and converting the optical signal into an electronic signal, which is then transmitted to the processor of the electronic keyboard device. Since the optical sensors have high sensitivity, they can accurately read the coded information on the music score, and can ensure a high recognition accuracy even when the printing quality of the music score is uneven or the lighting conditions change.
[0079] Exemplarily, the music score encoding information obtained in step 201 is in the form of electronic signals, and step 202 involves decoding these electronic signals using a decoding algorithm built into the electronic piano device. The decoding algorithm is specially designed for reading and parsing the optical code on the music score and can convert the electronic signal back into the original music score identification code.
[0080] Exemplarily, the decoding process may include steps such as signal preprocessing, feature extraction and pattern recognition. First, the electronic signal is preprocessed, such as filtering and enhancement, to improve the quality of the signal, and then the key features in the signal are extracted, such as the positioning pattern of the QR code, the width of the bars and spaces of the barcode, etc. Finally, the extracted features are matched with the built-in code system standard using pattern recognition technology, such as machine learning algorithms, to identify the music score recognition code.
[0081] It can be understood that after successful decoding, the extracted music score identification code will be used in subsequent steps, such as matching the corresponding target song and target score in the electronic piano repertoire library. These processes are fully automated and do not require human intervention, which greatly improves the ease of use and user experience of the electronic piano.
[0082] Through the above steps 201 to 202, the target musical score is scanned based on the sensor array to obtain the musical score coding information of the target musical score, the musical score coding information is decoded according to the built-in decoding algorithm of the electronic keyboard, and the musical score identification code corresponding to the musical score coding information is extracted, thereby realizing the function of obtaining the musical score identification code from the musical score. Through the highly sensitive optical sensor array and the built-in decoding algorithm, the coding information on the musical score can be quickly and accurately identified, and the musical score identification code can be extracted, laying the foundation for realizing the auxiliary performance of the electronic keyboard.
[0083] See also Figure 3 In some embodiments, step 102 may include but is not limited to steps 301 to 302:
[0084] Step 301, in the electronic piano music library, using the music score identification code as an index, searching for the target electronic piano music corresponding to the music score identification code;
[0085] Step 302, determining the target electronic piano track as the target track, and determining the music score corresponding to the target electronic piano track as the target music score.
[0086] Steps 301 to 302 are explained in detail below.
[0087] It is understandable that the electronic keyboard has a built-in electronic keyboard music library, which stores a large amount of electronic keyboard music data, including the music audio files, music score information and music score identification codes associated with the music. After obtaining the music score identification code, the electronic keyboard processor can use the identification code as an index to search in the music library to find the target electronic keyboard music corresponding to the music score identification code.
[0088] Exemplarily, the retrieval process may involve a hash table, database query or other efficient search algorithm to ensure that the target track is located quickly and accurately. The electronic keyboard processor will compare the obtained music score identification code with the identification code stored in the track library to find the matching track record. This process is similar to using an index number to find a book in a library. The music score identification code is a unique identifier that can uniquely identify a specific electronic keyboard track.
[0089] It is understandable that after successfully retrieving the target electronic piano track, the track is determined as the target track, and the corresponding score information is determined as the target score. The target track represents the electronic piano track selected by the user to play, and the target score contains the specific music information of the track, such as notes, rhythm, dynamics, etc. The electronic piano will load the target track and target score into the memory of the electronic piano device for use in subsequent steps. This process ensures that the user can seamlessly start playing the selected track without manually searching or selecting the track, thereby enhancing the smoothness and convenience of the user experience. If the electronic piano is equipped with a display screen, it may also involve updating the user interface to display the information and score of the target track, so that the user can see a real-time view of the track and score to be played, thereby enhancing the interactivity and visualization experience.
[0090] Through the above steps 301 to 302, in the electronic keyboard repertoire library, the target electronic keyboard repertoire corresponding to the musical score identification code is retrieved with the musical score identification code as the index, the target electronic keyboard repertoire is determined as the target repertoire, and the music score corresponding to the target electronic keyboard repertoire is determined as the target music score. By retrieving and determining the target electronic keyboard repertoire and its corresponding music score according to the musical score identification code, the repertoire selected by the user can be quickly and accurately located, and the corresponding music score information can be provided for it.
[0091] See also Figure 4 In some embodiments, step 103 may include but is not limited to steps 401 to 403:
[0092] Step 401, obtaining the trigger note sequence number in the real-time trigger information;
[0093] The trigger note sequence number indicates the position of the trigger note corresponding to the real-time trigger information in the target user's performance input sequence;
[0094] Step 402, according to the trigger note sequence number, determining the music score note corresponding to the trigger note sequence number in the note sequence of the target music score;
[0095] Step 403: determine the music score note as the target note corresponding to the real-time trigger information.
[0096] Steps 401 to 403 are explained in detail below.
[0097] It is understandable that when the user plays the target music piece, the electronic keyboard will monitor the user's playing movements in real time and convert these movements into real-time trigger information. Step 401 involves extracting the trigger note sequence number from the real-time trigger information. The trigger note sequence number is an index value indicating the position of the trigger note played by the user in the performance input sequence. For example, if the user plays a note sequence CDEF, each note can be assigned a sequence number, such as 1-2-3-4, indicating their positions in the sequence.
[0098] Exemplarily, in order to obtain the trigger note sequence number, the electronic keyboard needs to track the user's playing progress in real time and record the trigger time of each note, which can be achieved in a variety of ways, such as using MIDI (Music Device Digital Interface) protocol, sensor monitoring or other music information processing technology. By recording the trigger note sequence number, the electronic keyboard can accurately know which note the user played at a specific time point. According to the position of the note actually played by the user in the input sequence, the target note at the corresponding position in the correct performance is directly found in the note sequence of the target score.
[0099] It can be understood that by using the trigger note serial number obtained in step 401, the corresponding music score note can be found in the note sequence of the target music score. The note sequence of the target music score is predefined and contains all the note information constituting the target music score, which is arranged in the order of performance of the music score. Each note information is associated with a serial number, which represents the position of the note in the entire music score.
[0100] It can be understood that marking the music score note determined in step 402 as the target note corresponding to the real-time trigger information means that the processor has successfully matched the user's performance action with the corresponding note in the target music score.
[0101] Through the above steps 401 to 403, the trigger note serial number in the real-time trigger information is obtained, and according to the trigger note serial number, the score note corresponding to the trigger note serial number is determined in the note sequence of the target score, and the score note is determined as the target note corresponding to the real-time trigger information. The trigger note is extracted from the user's real-time performance data and matched with the corresponding note in the target score. This can monitor the user's performance progress in real time and accurately know which note the user should play at a specific time point.
[0102] See also Figure 5 In some embodiments, step 104 may include but is not limited to steps 501 to 503:
[0103] Step 501, obtaining a preset performance mode;
[0104] Among them, the performance mode includes entertainment mode and teaching mode;
[0105] Step 502, when the performance mode is the entertainment mode and the trigger note corresponding to the real-time trigger information does not match the target note, play the target note;
[0106] Step 503, when the performance mode is the teaching mode and the trigger note corresponding to the real-time trigger information does not match the target note, the trigger note is played and prompt information indicating the target note to be played is generated.
[0107] Steps 501 to 503 are explained in detail below.
[0108] Exemplarily, the playing mode may include an entertainment mode and a teaching mode, which provide different playing experiences and assistance levels for users. The entertainment mode focuses more on providing a relaxing and enjoyable playing experience, while the teaching mode focuses on providing guidance and teaching to help users improve their playing skills. Users can select and preset playing modes through the interface or related settings of the electronic keyboard.
[0109] It is understandable that in the entertainment mode, the main goal of the electronic keyboard is to provide users with a pleasant playing experience. Therefore, when the trigger note corresponding to the user's real-time trigger information does not match the target note, that is, the user plays an incorrect note, the electronic keyboard will automatically play the correct target note. In this way, even if the user makes a mistake in playing, the continuity and fluency of the music can be ensured, allowing the user to enjoy the fun of playing.
[0110] For example, the electronic keyboard will monitor the user's performance in real time and immediately play the correct target notes when an error is found. This instant feedback mechanism helps the user maintain the continuity of the music during the performance, and can also subtly help the user learn and remember the correct notes.
[0111] Exemplarily, in teaching mode, the goal of the electronic keyboard is to provide more detailed guidance and feedback to help users improve their playing skills. Therefore, when the trigger note corresponding to the user's real-time trigger information does not match the target note, that is, the note played by the user is wrong, the electronic keyboard device will adopt a more comprehensive feedback strategy. For example, the electronic keyboard will play the trigger note actually played by the user, allowing the user to hear his own performance, and then generate prompt information indicating the target note to be played, such as displaying the correct note through the display screen, indicating the correct key through the LED light, etc. These prompt information provides users with clear guidance to help them identify and correct their mistakes. The teaching mode can also include richer teaching functions, such as playing technique analysis, difficult passage practice, playing speed adjustment, etc., to meet the learning needs and progress of different users.
[0112] Through the above steps 501 to 503, a preset performance mode is obtained. When the performance mode is an entertainment mode and the trigger note corresponding to the real-time trigger information does not match the target note, the target note is played. When the performance mode is a teaching mode and the trigger note corresponding to the real-time trigger information does not match the target note, the trigger note is played, and a prompt message instructing to play the target note is generated. Feedback is given to the user's performance according to the preset performance mode to provide the user with personalized performance experience and learning support.
[0113] See also Figure 6 In some embodiments, step 503 may include but is not limited to steps 601 to 602:
[0114] Step 601: When the trigger note does not match the target note, the indicator light above the key corresponding to the trigger note is controlled to be a first color, and the indicator light above the key corresponding to the target note is controlled to be a second color;
[0115] Step 602: When the trigger note matches the target note, the indicator light above the key corresponding to the target note is controlled to be a third color.
[0116] Steps 601 to 602 are explained in detail below.
[0117] It is understandable that in the teaching mode, when the trigger note does not match the target note in the user's performance, that is, when the user makes an error in the performance, the electronic keyboard device will provide visual feedback through the indicator lights above the keys. Specifically, the electronic keyboard will control the indicator lights above the keys corresponding to the trigger notes to display a first color, such as red, to indicate that the notes played by the user are wrong. At the same time, the device will control the indicator lights above the keys corresponding to the target notes to display a second color, such as green, to indicate the correct note position. This color-differentiated visual feedback mechanism provides users with intuitive guidance, helping them to quickly identify and correct their mistakes. Users can adjust their performance according to the color changes of the indicator lights until the trigger notes match the target notes.
[0118] It is understandable that when the trigger note in the user's performance matches the target note, that is, when the user plays correctly, the electronic keyboard will also provide positive feedback through the indicator light above the key. In this case, the device will control the indicator light above the key corresponding to the target note to display a third color, such as green or yellow, to indicate that the note played by the user is correct. This positive feedback not only affirms the user's performance, but also enhances the user's self-confidence and learning motivation. The user can consolidate the correct playing skills based on this feedback and continue to improve his or her playing level.
[0119] Through the above steps 601 to 602, when the trigger note does not match the target note, the indicator light above the key corresponding to the trigger note is controlled to be the first color, and the indicator light above the key corresponding to the target note is controlled to be the second color. When the trigger note matches the target note, the indicator light above the key corresponding to the target note is controlled to be the third color. The indicator lights above the keys provide the user with intuitive and real-time visual feedback in the teaching mode. When the user makes a mistake in playing, the electronic keyboard clearly points out the location of the mistake and the correct target through indicator lights of different colors; when the user plays correctly, the electronic keyboard affirms the user's performance through the indicator light feedback on the front. This visual feedback mechanism not only helps users quickly identify and correct errors, but also enhances the learning experience and performance effect of the target user.
[0120] See also Figure 7 In some embodiments, step 502 may also include but is not limited to step 701 to step 702:
[0121] Step 701: when the performance mode is the entertainment mode and the trigger note corresponding to the real-time trigger information does not match the target note, marking the target note as a performance error note on the target music score;
[0122] Step 702: In the entertainment mode, when the target user finishes playing the target song, an entertainment mode performance report is generated according to the performance error notes.
[0123] Steps 701 to 702 are described in detail below.
[0124] It is understandable that in the entertainment mode, the user's main goal is to enjoy the fun of playing, rather than strictly learning or practicing. Therefore, when the trigger note in the user's performance does not match the target note, that is, when the user makes an error in the performance, the electronic piano device will not immediately interrupt the user's performance or provide real-time corrective feedback. Instead, the target note can be marked on the target score as a performance error note. This marking mechanism allows the electronic piano to record all errors that occur during the user's performance without interfering with the user's performance. These error information can be stored for subsequent analysis and feedback.
[0125] It is understandable that after the user completes the performance of the entire target piece, the electronic keyboard will generate an entertainment mode performance report based on the previously recorded performance error notes, which can show the number of errors, types of errors, and areas that may need improvement during the entire performance in a user-friendly manner, such as a graphical interface or simple statistics. This performance report provides users with valuable feedback to help them understand their performance and point out directions for improvement. At the same time, since this feedback is provided after the performance, it will not affect the user's fluency and fun when playing. In addition, the performance report can also include some positive encouragement and suggestions, such as the parts of the user's performance that performed well, and some useful practice tips to motivate users to continue to enjoy the performance and improve their performance skills.
[0126] For example, the entertainment mode performance report may include a performance error note list, detailing all errors made by the user during the performance, including wrong pitch, rhythm, or duration. At the same time, the report may also provide performance accuracy statistics, showing the percentage of correct notes played by the user to the total notes, so that the user has an intuitive understanding of their overall performance. The report may also analyze the user's rhythm accuracy, indicating whether there is any rhythm instability during the performance.
[0127] Through the above steps 701 to 702, when the performance mode is the entertainment mode and the trigger note corresponding to the real-time trigger information does not match the target note, the target note is marked on the target music score as a performance error note. In the entertainment mode, when the target user finishes playing the target song, an entertainment mode performance report is generated based on the performance error note. By recording errors during the performance and providing feedback after the performance, these steps ensure that the user can obtain valuable information to improve his or her performance skills while enjoying the performance.
[0128] See also Figure 8, the embodiment of the present application also provides an auxiliary performance device of an electronic keyboard, which can implement the auxiliary performance method of the electronic keyboard, and the device includes: an acquisition module, which is used to acquire a music score identification code of a target music score;
[0129] A determination module is used to determine the target music piece and the target music score corresponding to the music piece identification code in a preset electronic piano music library according to the music piece identification code;
[0130] A response module, configured to respond to the real-time trigger information acquired by the target user during the performance of the target music piece, and determine the target note corresponding to the real-time trigger information in the target music score;
[0131] The comparison module is used to compare the trigger note corresponding to the real-time trigger information with the target note, and when the trigger note corresponding to the real-time trigger information does not match the target note, the target note is played.
[0132] The specific implementation of the electronic keyboard auxiliary performance device is basically the same as the specific implementation of the electronic keyboard auxiliary performance method described above, and will not be repeated here. On the premise of meeting the requirements of the embodiment of the present application, the electronic keyboard auxiliary performance device can also be provided with other functional modules to implement the electronic keyboard auxiliary performance method in the above embodiment.
[0133] The embodiment of the present application also provides an electronic device, the electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the auxiliary playing method of the electronic piano when executing the computer program. The electronic device can be any intelligent terminal including a tablet computer, a car computer, etc.
[0134] See also Fig. 9 , Fig. 9 The hardware structure of an electronic device of another embodiment is illustrated, and the electronic device includes:
[0135] The processor 901 may be implemented by a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application;
[0136] The memory 902 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device or a random access memory (RAM). The memory 902 can store an operating system and other application programs. When the technical solution provided in the embodiment of this specification is implemented by software or firmware, the relevant program code is stored in the memory 902, and the processor 901 calls and executes the auxiliary playing method of the electronic piano in the embodiment of this application;
[0137] Input / output interface 903, used to implement information input and output;
[0138] Communication interface 904, used to realize communication interaction between the device and other devices, which can be realized through wired mode (such as USB, network cable, etc.) or wireless mode (such as mobile network, WI FI, Bluetooth, etc.);
[0139] A bus 905 that transmits information between various components of the device (e.g., the processor 901, the memory 902, the input / output interface 903, and the communication interface 904);
[0140] The processor 901 , the memory 902 , the input / output interface 903 and the communication interface 904 are connected to each other in communication within the device via a bus 905 .
[0141] An embodiment of the present application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the auxiliary playing method of the electronic piano is implemented.
[0142] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0143] The embodiments described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Those skilled in the art will appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0144] Those skilled in the art will appreciate that the technical solutions shown in the figures do not constitute a limitation on the embodiments of the present application, and may include more or fewer steps than shown in the figures, or a combination of certain steps, or different steps.
[0145] The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0146] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.
[0147] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0148] It should be understood that in the present application, "at least one (item)" and "several" refer to one or more, and "plurality" refers to two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the previous and subsequent associated objects are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0149] In the several embodiments provided in the present application, it should be understood that the disclosed systems and methods can be implemented in other ways. For example, the system embodiments described above are only schematic. For example, the division of the above units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. The mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0150] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0151] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0152] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including multiple instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store programs.
[0153] The preferred embodiments of the present invention are described above with reference to the accompanying drawings, but the scope of the rights of the present invention is not limited thereto. Any modification, equivalent substitution and improvement made by a person skilled in the art without departing from the scope and essence of the present invention should be within the scope of the rights of the present invention.
Claims
1. An auxiliary playing method of an electronic keyboard, characterized in that: include: Get the score identification code of the target score; According to the music score identification code, determining the target music piece and the target music score corresponding to the music score identification code in a preset electronic piano music library; In response to obtaining real-time trigger information of a target user during the performance of the target music piece, determining a target note corresponding to the real-time trigger information in the target music score; The trigger note corresponding to the real-time trigger information is compared with the target note, and when the trigger note corresponding to the real-time trigger information does not match the target note, the target note is played.
2. The electronic keyboard playing aid method according to claim 1, characterized in that: The step of obtaining the music score identification code of the target music score includes: Scanning the target musical score based on the sensor array to obtain musical score coding information of the target musical score, wherein the sensor array is installed on the musical score stand of the electronic piano and the sensor array includes a plurality of high-sensitivity optical sensors; The music score encoding information is decoded according to a decoding algorithm built into the electronic piano, and a music score identification code corresponding to the music score encoding information is extracted.
3. The method according to claim 1, characterized in that The step of determining, according to the music score identification code, a target music track and a target music score corresponding to the music score identification code in a preset electronic piano music library comprises: In the electronic piano music library, using the music score identification code as an index, searching for a target electronic piano music corresponding to the music score identification code; The target electronic piano piece is determined as the target piece, and the music score corresponding to the target electronic piano piece is determined as the target music score.
4. The method according to claim 1, characterized in that: In response to acquiring the real-time trigger information of the target user in the process of playing the target music, determining the target note corresponding to the real-time trigger information in the target music score includes: Acquire a trigger note serial number in the real-time trigger information, where the trigger note serial number indicates a position of the trigger note corresponding to the real-time trigger information in a target user's performance input sequence; According to the trigger note sequence number, determining the score note corresponding to the trigger note sequence number in the note sequence of the target score; The music score note is determined as the target note corresponding to the real-time trigger information.
5. The auxiliary playing method of electronic keyboard according to claim 1, characterized in that: The comparing the trigger note corresponding to the real-time trigger information with the target note, and when the trigger note corresponding to the real-time trigger information does not match the target note, playing the target note, comprises: Obtaining a preset performance mode; wherein the performance mode includes an entertainment mode and a teaching mode; When the performance mode is the entertainment mode and the trigger note corresponding to the real-time trigger information does not match the target note, playing the target note; When the performance mode is the teaching mode and the trigger note corresponding to the real-time trigger information does not match the target note, the trigger note is played, and prompt information instructing to play the target note is generated.
6. The electronic keyboard auxiliary performance method according to claim 5, characterized in that: An indicator light is provided above each key of the electronic keyboard, and the generating of prompt information indicating to play the target note includes: When the trigger note does not match the target note, the indicator light above the key corresponding to the trigger note is controlled to be a first color, and the indicator light above the key corresponding to the target note is controlled to be a second color; When the trigger note matches the target note, the indicator light above the key corresponding to the target note is controlled to be a third color.
7. The electronic keyboard playing aid method according to claim 5, characterized in that: When the performance mode is the entertainment mode and the trigger note corresponding to the real-time trigger information does not match the target note, after playing the target note, the method further includes: When the performance mode is the entertainment mode and the trigger note corresponding to the real-time trigger information does not match the target note, marking the target note as a performance error note on the target music score; In the entertainment mode, when the target user finishes playing the target song, an entertainment mode performance report is generated according to the performance error notes.
8. An auxiliary performance device for an electronic keyboard, characterized in that: include: An acquisition module is used to acquire the music score identification code of the target music score; A determination module, for determining, according to the music score identification code, a target music track and a target music score corresponding to the music score identification code in a preset electronic piano music library; A response module, configured to determine, in response to obtaining real-time trigger information of a target user during the performance of the target music piece, a target note corresponding to the real-time trigger information in the target music score; The comparison module is used to compare the trigger note corresponding to the real-time trigger information with the target note, and when the trigger note corresponding to the real-time trigger information does not match the target note, play the target note.
9. An electronic device, characterized in that: The electronic device comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements the auxiliary playing method of the electronic piano as claimed in any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the auxiliary playing method of the electronic keyboard as claimed in any one of claims 1 to 7 is implemented.
Citation Information
Cited By
Calculator game playing control method
CN121387810A