Control method of electronic musical instrument, electronic musical instrument and storage medium

By setting solo mode and singing mode in the electronic instrument and realizing mode switching through collaborative detection of hardware and software, the problems of high threshold or low degree of freedom of existing electronic guitars are solved, providing a flexible creative space and efficient human-computer interaction experience.

CN120748346APending Publication Date: 2025-10-03SHENZHEN SUIDAN TECHNOLOGY CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202510958905.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-10
Publication Date
2025-10-03

AI Technical Summary

Technical Problem

Existing string instruments such as electronic guitars provide professional users with a high degree of playing freedom, but the threshold is too high. Instruments for non-professional users have a low degree of playing freedom and lack creative flexibility.

Method used

The electronic musical instrument is set with at least two modes. The mode switching is triggered by receiving the user's target performance operation, realizing the switching between solo mode and singing mode. The dual verification of hardware and software is combined to ensure accuracy and seamless switching, including the detection of the number of picks, direction, duration and speed, combined with the adjustment of pitch, volume and rhythm.

Benefits of technology

It achieves the goal of providing creative flexibility while maintaining ease of use, meeting the personalized playing needs of different users and enhancing the freedom of performance and musical expression.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120748346A_ABST
    Figure CN120748346A_ABST
Patent Text Reader

Abstract

The invention discloses a control method of an electronic musical instrument, the electronic musical instrument and a storage medium, the electronic musical instrument comprises at least two modes, and the control method comprises the following steps: receiving a target playing operation for the electronic musical instrument; under the condition that the target playing operation triggers mode switching, a current first playing mode is switched to a second playing mode, and playing rules of the electronic musical instrument in the first playing mode and the second playing mode are different; and responding to a new playing operation according to a target playing rule corresponding to the second playing mode. According to the technical scheme of the invention, different modes can be switched according to the operation of the user, so that the electronic musical instrument meets the operation freedom degrees of different users, and personalized playing requirements are met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of electronic musical instruments, and in particular to a control method for an electronic musical instrument, an electronic musical instrument, and a storage medium. Background Art

[0002] As the pace of life accelerates, people tend to pursue simpler and easier-to-learn instruments, such as electronic guitars. However, existing string instruments like electronic guitars rely on the left hand using chord keys and the right hand using a pick to produce chord sounds. The chords are preset in the electronic instrument, and the sounds produced are also preset chord sounds and rhythmic patterns. This makes it difficult for users with a basic understanding of music theory or those who have already mastered chord playing and singing to achieve greater creative freedom. Summary of the Invention

[0003] The present application provides a control method for an electronic musical instrument, which can enable the electronic musical instrument to switch modes according to the user's playing, so that the electronic musical instrument can meet the different user operation freedoms and conform to different usage scenarios.

[0004] To achieve the above-mentioned objectives, the present application proposes a control method for an electronic musical instrument, wherein the electronic musical instrument includes at least two modes, and the control method for the electronic musical instrument includes:

[0005] receiving a target performance operation for the electronic musical instrument;

[0006] When the target performance operation triggers a mode switch, the current first performance mode is switched to a second performance mode, wherein the performance rules of the electronic musical instrument are different from those in the first performance mode and the second performance mode;

[0007] Respond to new performance operations according to the target performance rule corresponding to the second performance mode.

[0008] In one embodiment of the present application, the electronic musical instrument is an electronic guitar, and the method further includes:

[0009] In a case where the target performance operation is a preset performance operation combination, determining that the target performance operation triggers the mode switching; or

[0010] In a case where the target performance operation is not a preset performance operation combination, determining that the target performance operation does not trigger the mode switching;

[0011] The playing operation combination represents at least two playing operations of switching between the startup modes preset in the electronic musical instrument.

[0012] In one embodiment of the present application, the electronic musical instrument is an electronic guitar, which is provided with chord keys and drum machine keys, and is equipped with a pick;

[0013] The performance operation combination includes a combination of the chord key pressing operation and the pick plucking operation, and / or a combination of the chord key pressing operation and the drum machine key pressing operation.

[0014] In one embodiment of the present application, the method further includes:

[0015] In a case where the target operation combination includes the paddle shifting operation, determining the number of the paddles;

[0016] When there are two paddles, recording the direction of the paddle movement and / or the duration of the paddle movement;

[0017] When the plucking direction is the target direction and / or the plucking duration exceeds a preset duration, it is determined whether the chord key is pressed, and the target direction is upward or downward.

[0018] In one embodiment of the present application, the method further includes:

[0019] When the performance operation combination includes a plectrum wave operation, obtaining a change in plectrum speed during the plectrum plucking operation;

[0020] When the pick speed changes within a preset speed range, the step of switching the current first playing mode to the second playing mode is performed.

[0021] In one embodiment of the present application, the performance mode includes: the performance mode includes: a singing mode and a solo mode, and the performance rule includes: at least one of a single tone mapping rule and a chord combination rule;

[0022] The step of responding to a new performance operation according to the target performance rule corresponding to the second performance mode includes:

[0023] When the first performance mode is a solo mode and the second performance mode is a singing and playing mode, the single-note mapping rule for controlling the solo mode is terminated, and the chord combination rule for the singing and playing mode is activated to respond to a new performance operation;

[0024] When the first performance mode is the playing and singing mode and the second performance mode is the solo mode, the chord combination rule controlling the playing and singing mode is terminated, and the single tone mapping rule of the solo mode is started to respond to the new performance operation.

[0025] In one embodiment of the present application, the playing rules include: at least one of a rhythm pattern adjustment rule, a volume adjustment rule, a range adjustment rule, a pitch adjustment rule, and a timbre adjustment rule;

[0026] The step of responding to a new performance operation according to the target performance rule corresponding to the second performance mode includes:

[0027] When the first playing mode is a solo mode and the second playing mode is a singing and playing mode, at least one of controlling the pitch adjustment rule by operating a corresponding chord key of the electronic musical instrument and / or controlling a range adjustment rule by a pitch-up key of the electronic musical instrument responds to the new playing operation;

[0028] When the first playing mode is the singing and playing mode, and the second playing mode is the solo mode, the pitch adjustment rules are controlled by the up and down key buttons of the electronic musical instrument, the rhythm type adjustment rules are controlled by the plucking operation of the electronic musical instrument, and at least one of the timbre adjustment rules and rhythm type adjustment rules is controlled by the combined operation of the chord key and the drum machine key of the electronic musical instrument, in response to the new playing operation.

[0029] In one embodiment of the present application, the electronic musical instrument includes a sound sensor, and the method further includes:

[0030] receiving sound feedback information detected by the sound sensor;

[0031] When the target performance operation triggers a mode switch, the tempo and volume of the second performance mode are adjusted based on the sound feedback information and the timbre, volume, and tempo information corresponding to the first performance mode to ensure smooth performance.

[0032] Respond to a new performance operation according to the music tempo information of the second performance pattern and the volume.

[0033] The present application also proposes an electronic musical instrument, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the steps of the above-mentioned electronic musical instrument control method are implemented.

[0034] The present application also proposes a storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the above-mentioned method for controlling an electronic musical instrument are implemented.

[0035] The technical solution of the control method of the electronic musical instrument of the present application, the electronic musical instrument includes at least two modes, and the control method includes: receiving a target performance operation for the electronic musical instrument; when the target performance operation triggers a mode switch, switching the current first performance mode to a second performance mode, the performance rules of the electronic musical instrument in the first performance mode and the second performance mode being different; responding to the new performance operation according to the target performance rules corresponding to the second performance mode. The technical solution of the present application can switch between different modes according to the user's operation, creating a hybrid mode electronic musical instrument that can retain ease of use while providing creative flexibility, so that the electronic musical instrument can meet the operational freedom of different users and meet the personalized playing needs. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 This is a flow chart of an embodiment of a control method for an electronic musical instrument of the present application;

[0037] Figure 2 This is a flow chart of an embodiment of a control method for an electronic musical instrument of the present application;

[0038] Figure 3 This is a flow chart of an embodiment of a control method for an electronic musical instrument of the present application;

[0039] Figure 4 This is a flow chart of an embodiment of a control method for an electronic musical instrument of the present application;

[0040] Figure 5 This is a flow chart of an embodiment of a control method for an electronic musical instrument of the present application;

[0041] Figure 6 A schematic diagram of the structure of an electronic musical instrument in a hardware operating environment involved in an embodiment of the present application. DETAILED DESCRIPTION

[0042] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments of this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0043] It should be noted that all directional indications in the embodiments of the present application (such as up, down, left, right, front, back, etc.) are only used to explain the relative position relationship, movement status, etc. between the various components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.

[0044] It should also be noted that when an element is referred to as being "fixed on" or "disposed on" another element, it may be directly on the other element or there may be an intermediate element. When an element is referred to as being "connected to" another element, it may be directly connected to the other element or there may be an intermediate element.

[0045] In addition, the descriptions of "first", "second", etc. in this application are for descriptive purposes only and should not be understood as indicating or implying their relative importance or implicitly indicating the number of the technical features indicated. Therefore, the features defined as "first" or "second" may explicitly or implicitly include at least one of such features. In addition, the technical solutions between the various embodiments can be combined with each other, but this must be based on the fact that they can be implemented by ordinary technicians in this field. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by this application.

[0046] As the pace of life accelerates, people are increasingly seeking instruments that are simple and easy to learn. For example, the electronic guitar has a low learning threshold and can be played simply by pressing buttons, eliminating the need for complex fingering techniques. Playing is simpler and easier, making it the preferred instrument for most users. However, existing string instruments, such as electronic guitars, are designed for professional users and can freely play single notes and chord combinations according to the player's needs. However, the learning threshold is too high, making it inaccessible to non-professional users. Low-threshold electronic guitars designed for non-professional users can only play in the form of chords, with limited playing freedom, lack of room for improvement, and a relatively monotonous rhythm for the entire piece. The technical solution of this application addresses this issue by enabling "single-note + chord free switching" by making different modes compatible. This allows non-professional users to play in a low-threshold singing mode, while also allowing them to transition to single-note mode to incorporate improvisational solos into their performances, enriching the overall song and increasing the freedom of play.

[0047] The implementing subject of the control method of the electronic musical instrument of the present application can be an electronic musical instrument, or an electronic musical instrument that communicates with the electronic musical instrument (for example, a tablet computer, a smart phone, etc.); in the embodiments of the present application, the technical solution of the present application is explained in detail by taking the electronic musical instrument as the implementing subject of the control method of the electronic musical instrument as an example.

[0048] The electronic musical instrument in the present application can be an electronic guitar or other stringed instruments. The electronic musical instrument has multiple playing modes, and the playing modes can be switched by the user's target playing operation.

[0049] Reference Figure 1 In this embodiment, the control method of the electronic musical instrument includes:

[0050] Step 10: Receive a target performance operation for the electronic musical instrument.

[0051] In the embodiment of the present application, after the electronic musical instrument is turned on, the electronic musical instrument receives the user's target playing operation; the target playing operation is controlled by the user through hardware and software, and the hardware includes: at least one of: strings, touchpad and buttons; software refers to the action triggered by the controller.

[0052] In the embodiments of the present application, the types of target performance operations of the electronic musical instrument are not limited. For example, the target performance operations include pick operations and chord key operations. The key operations are divided into individual keys and combination keys. The singing mode is individual chord key operations combined with pick operations, and the solo mode is individual chord key operations. The combination key operations will be used to switch modes in the technical solution of the present application.

[0053] In the embodiment of the present application, the target performance operation can also correspond to the setting of control parameters. The source of the control parameters is not limited. The control parameters can be user operation data captured by the hardware or software of the electronic musical instrument. The control parameters are used to generate sound or control functions, such as: force parameter, pitch and duration, where the force parameter refers to the intensity of the pressure (0~127); the pitch can be determined by the touch position; the duration refers to the holding time of the note, for example, millisecond-level accuracy; touch mode: such as single click, slide and multi-finger press (gesture type code needs to be defined).

[0054] In the embodiment of the present application, the electronic musical instrument dynamically adjusts the mode of the instrument according to user needs. For example, the electronic musical instrument is an electronic guitar, which includes a solo mode and a singing mode. The solo mode is also called a free mode, in which the user can completely control the single tone or custom chord independently; the singing mode is also called a preset mode, in which the electronic guitar automatically completes the chord or rhythm according to the user's operation (for example, playing the C note corresponds to the output of the C major triad).

[0055] The difference between the solo mode and the singing and playing mode in the embodiment of the present application lies in the different degrees of freedom for user operation. In the related art, the electronic musical instrument only has the singing and playing mode, which lowers the user's learning threshold by pre-setting harmony and rhythm patterns, and is suitable for quick learning but cannot play single notes; or only the solo mode provides the freedom of playing single notes by simulating guitar operations, and meets personalized needs by simulating the operation of a real guitar, but the user's learning threshold is high; in the embodiment of the present application, at least two modes are set in the electronic musical instrument, and the user can switch between different modes during the performance, creating a mixed-mode electronic musical instrument that can retain ease of use and provide creative flexibility, so that the electronic musical instrument can meet the operational freedom of different users and meet personalized playing needs.

[0056] In the embodiment of the present application, when the electronic musical instrument receives a playing operation, the electronic musical instrument determines whether the user triggers a mode switch, that is, in the embodiment of the present application, the electronic musical instrument pre-sets different mode switching trigger conditions. When the electronic musical instrument receives a target playing operation, the electronic musical instrument analyzes whether the user's target playing operation triggers a mode switch. In the embodiment of the present application, the electronic musical instrument pre-sets the event type that triggers the mode switch. The playing operation can be an explicit trigger actively operated by the user, such as a button or a gesture; the playing operation can also be an implicit trigger automatically determined by the electronic musical instrument based on the performance content, such as continuous single-tone execution to switch to single-tone mode.

[0057] For example, when an electronic musical instrument receives a user's playing operation, it will detect in real time whether the input signal meets the preset mode switching trigger conditions (such as a specific chord combination, the number of consecutive string strikes, or a velocity threshold). If the conditions are met, it will automatically switch to the target mode (such as switching from "solo mode" to "singing and playing mode") and adjust the audio processing parameters (such as turning off vocal enhancement and activating the guitar effects chain); at the same time, the electronic musical instrument will use LED indicators or screen prompts to feedback the mode switching status to ensure that the user is aware of the current mode. If the conditions are not triggered, the original mode will be maintained to continue to respond to regular playing instructions.

[0058] Step 20 , when the target performance operation triggers mode switching, the current first performance mode is switched to a second performance mode, wherein the performance rules of the electronic musical instrument are different in the first performance mode and the second performance mode.

[0059] The electronic musical instrument is pre-set with different playing rules corresponding to different playing modes, where the playing rules define the input and output logic of the electronic musical instrument in the current mode. The specific content of the playing rules is not limited. For example, the playing rules include: single tone mapping rules, chord combination rules, rhythm type adjustment rules, volume adjustment rules and range adjustment rules, pitch adjustment rules, input mapping rules and sound effect processing rules. At least one of them, the note triggering rule refers to the method of generating single tone, chord or rhythm; the input mapping rule refers to the conversion rule between hardware input (such as buttons, touch) and music signals; the sound effect processing rule refers to the exclusive tone processing process (such as reverberation, distortion).

[0060] In some embodiments, the playing rules of the first playing mode and the second playing mode before and after the electronic musical instrument is switched are different. For example, one singing mode is centered on preset harmony and rhythm. When it is detected that the user only needs to press a chord button and plucking a pick up or down, it can sound in the form of a chord. The chord sound is composed of different single notes in a specific rhythm. Another solo mode provides the freedom to play single notes and meets personalized needs by simulating the operation of a real guitar. In solo mode, the electronic instrument automatically responds to the user's operation and outputs the corresponding single note.

[0061] Step 30: respond to the new performance operation according to the target performance rule corresponding to the second performance mode.

[0062] The second performance mode of the electronic musical instrument in the embodiment of the present application is the singing and playing mode. The electronic musical instrument performs a dynamic response process according to the new performance operation, including: 1. Real-time collection of performance signals, such as the position of the pressed keys and the force value, and comparison of the chord / scale library in the target rules through the chip, such as only recognizing the scale in C major; 2. The user only needs to press a chord button and plucking up or down a pick to make a sound in the form of a chord. The chord sound is composed of different single notes combined in a specific rhythmic pattern.

[0063] In the embodiment of the present application, the second performance mode of the electronic musical instrument is a solo mode. The electronic musical instrument will dynamically respond to the user's target performance operation based on the preset target performance rules. The specific execution process is as follows: rules corresponding to different single-note cases are set in the electronic musical instrument, the electronic musical instrument detects the user's key operations in real time, and the electronic musical instrument outputs the single tone corresponding to the key.

[0064] It can be understood that in one embodiment of the present application, the electronic musical instrument sets the switching transition, and the switching transition processing methods during mode switching include: immediate switching, fade-in and fade-out, and parameter interpolation, among which immediate switching is no transition, and the new rules are directly applied, wherein immediate switching is suitable for rhythm mutation scenarios; fade-in and fade-out means that the notes of the old mode gradually weaken and the new mode gradually strengthen to avoid auditory discontinuity; parameter interpolation means that the timbre parameters gradually transition, such as transitioning from bright timbre to soft timbre.

[0065] Furthermore, in one embodiment of the present application, the electronic musical instrument is provided with a feedback device, for example, a chord button is electronically set, and when the user presses the chord button, the touch screen of the electronic musical instrument displays the current chord function (such as C = main chord, highlighted in red). In the embodiment of the present application, the electronic musical instrument can respond in real time according to the user's target playing operation, so that the user can intuitively understand the effect of the playing.

[0066] In an embodiment of the present application, a target performance operation for an electronic musical instrument is received; when the target performance operation triggers a mode switch, the current first performance mode is switched to a second performance mode, where the performance rules of the electronic musical instrument are different from those in the first performance mode and the second performance mode; and the new performance operation is responded to according to the target performance rules corresponding to the second performance mode. The technical solution of the present application can switch between different modes according to the user's operation, creating a hybrid mode electronic musical instrument that retains ease of use while providing creative flexibility, allowing the electronic musical instrument to meet the operational freedom of different users and meet the personalized playing needs.

[0067] Reference Figure 2 In some embodiments, after step 10, the method for controlling an electronic musical instrument further includes:

[0068] Step 40, when the target performance operation is a preset performance operation combination, determining that the target performance operation triggers the mode switching;

[0069] In the workflow of the electronic guitar in the embodiment of the present application, when the electronic instrument detects that the target performance operation performed by the user is a preset specific combination (such as a standard operation sequence pre-stored in the memory), the mode switching mechanism will be automatically triggered. The specific steps are as follows: Operation matching detection: The electronic instrument monitors the input signals of the chord keys, picks and drum machine keys in real time to determine whether the current operation meets the temporal and spatial characteristics of the preset combination (such as the pressing order of the chord keys, the force threshold of the pick plucking, the triggering interval of the drum machine keys, etc.). For example, if the preset combination is "C chord pressing (lasting ≥0.5 seconds) → fast picking strumming (force>80%)", then when the sensor data matches this sequence, the subsequent logic is triggered.

[0070] In the embodiment of the present application, after a successful match, the electronic musical instrument calls the pre-stored mode switching rules and selects the target mode according to the type of operation combination (e.g., switching from "regular performance mode" to "loop mode" or "drum machine synchronization mode"). The switch may be accompanied by tactile feedback (e.g., a short vibration of the instrument body vibration motor) and visual prompts (e.g., the chord button LED flashing a specific color) to confirm that the mode has changed.

[0071] Step 50: If the target performance operation is not a preset performance operation combination, determine that the target performance operation does not trigger the mode switch.

[0072] In the embodiment of the present application, when it is detected that the target performance operation performed by the user does not conform to any preset performance operation combination (such as the pressing order of the chord keys, the plucking force of the pick, or the triggering rhythm of the drum machine keys do not match the stored template), it is determined that the operation does not trigger the mode switch. At this time, the electronic musical instrument maintains the current operating mode and only performs conventional performance responses (such as normal output of chord tones or drum machine samples), while ignoring the mode switching instruction. To avoid misjudgment, the electronic musical instrument will monitor the timing tolerance of the operation (such as whether the key interval exceeds the preset threshold) and the force range (such as whether the pick trigger reaches the minimum sensitivity) in real time. If any condition is not met, the mode switch detection process is terminated immediately and the subsequent input signal will continue to be processed. In addition, the device may prompt the user that the operation is invalid through slight vibration or a brief flash of the LED indicator, but it will not interrupt the ongoing performance state.

[0073] In some embodiments of the present application, the electronic musical instrument needs to predetermine whether to trigger the mode switch. Specifically, the electronic musical instrument is an electronic guitar. In the embodiment of the present application, the electronic guitar is a digital musical instrument with a multi-functional playing interface, and its body surface integrates two types of core controls: one is a chord button group distributed along the neck (usually adopting a pressure-sensitive design, each button corresponds to a preset chord type such as a major triad, a minor triad, etc., and supports capacitive touch or mechanical triggering); the other is two drum machine buttons located on the upper side of the body (the two drum machine buttons are respectively a drum machine start button and a drum machine stop button. The drum machine start button produces different drum sounds and bass rhythm accompaniment in conjunction with different pick operations).

[0074] In the embodiment of the present application, chord keys and drum machine keys are provided on the electronic guitar, and the electronic guitar is equipped with a pick; the playing operation combination includes a combination of the chord key pressing operation and the pick plucking operation, and / or a combination of the chord key pressing operation and the drum machine button pressing operation.

[0075] The plectrums used in the present embodiment are made of aluminum alloy, and the tips of the plectrums are embedded with photoelectric sensors that detect the speed and angle of the strings. During performance, the user can perform two typical operation combinations: 1. Plucking the strings simultaneously with both plectrums without pressing any chord keys, triggering a mode switch; 2. Simultaneously pressing multiple (e.g., three) chord keys and drum machine keys, all with the left hand, triggers a mode switch.

[0076] It is understandable that the triggering order of the two target performance operations implemented in the present application does not constitute a limitation on the technical solution of the application. For example, in the embodiment of the present application, in the scenario where the pick triggers the performance, the electronic musical instrument needs to detect in real time whether the user synchronously presses the chord keys of the electronic guitar (that is, the pressure-sensitive touch keys in the preset chord trigger area) to determine whether the user triggers the mode switch.

[0077] For example, when the vibration signal generated by the strumming or plucking of the pick is collected by the piezoelectric sensor, the signal processing unit will synchronously scan the capacitance matrix of the chord key area. If a specific key combination is detected (such as pressing the C key and the G key at the same time) and the pressure value exceeds the threshold (such as >50g), it is determined that the chord press is valid. At this time, the original audio signal triggered by the pick is mixed with the preset chord tone and output, and the chord activation status is fed back through the dynamic LED backlight (such as the key glowing blue); if no valid press is detected, only the open string fundamental tone triggered by the pick is output to determine the user trigger mode switching operation.

[0078] In the embodiment of the present application, the electronic musical instrument ensures the accuracy of the mode switching operation while ensuring the user's normal target performance operation through dual verification of the hardware layer (sensor collaboration) and the software layer (logical AND gate judgment).

[0079] Furthermore, in one embodiment of the present application, in order to prevent accidental touches during performance, multiple parameters are monitored in the embodiment of the present application, specifically:

[0080] 1. When the target operation combination includes the paddle shifting operation, determining the number of the paddles;

[0081] In the embodiment of the present application, the electronic musical instrument determines the number of picks, that is, in the performance scenario triggered by the picks, the electronic guitar detects the current number of picks through multimodal sensor fusion: first, the piezoelectric sensor array collects the string vibration signal and analyzes the number of energy peaks in the vibration waveform (such as a double-peak interval of <5ms to determine a double pick); at the same time, the electromagnetic induction coil (for metal picks) or the optical sensor (for pick marks) assists in counting; if there is only a single signal, it is processed according to the single-pick logic; if two independent signals are detected (such as the 6th string and the 1st string are triggered synchronously), it is determined to be a double-pick mode, and the mode switch is ready to be started. At the same time, the electronic musical instrument in the embodiment of the present application can also provide operation prompts through the neck LED light strip before the mode switch.

[0082] 2. If there are two paddles, record the direction of the paddle movement and / or the duration of the paddle movement;

[0083] In the embodiment of the present application, the electronic musical instrument records the direction and duration of the plectrum. That is, in dual-plectrum mode, the electronic instrument tracks the plectrum movement through a timing difference algorithm: the Hall sensor detects the direction of movement of the plectrum's magnetic pole (e.g., the S pole is upward for positive direction), and combines the rising / falling edge of the string vibration signal to determine the direction of the plectrum movement (e.g., treble string → bass string is a downward sweep); the duration is accurately calculated by a timer from the vibration starting point (threshold > 20dB) to the end of attenuation (<5dB). Data is written to a ring buffer in real time for subsequent logic calls, and visual feedback is generated at the same time (e.g., RGB light strip on the edge of the pickup: green arrow indicates direction, gradient color length indicates duration).

[0084] 3. When the plucking direction is the target direction and / or the plucking duration exceeds a preset duration, determine whether the chord key is pressed, and the target direction is upward or downward.

[0085] In the embodiment of the present application, the electronic musical instrument further triggers chord key detection based on the plucking direction and plucking duration of the pick. For example, when the electronic musical instrument recognizes that it is plucking in the target direction (the target direction is not limited, for example, the target direction is upward plucking, such as the 1st string → 6th string signal timing difference is a negative value, or the target direction is a downward fluctuation) or the duration exceeds the limit (such as >200ms), the chord key verification process is immediately started: the capacitive touch matrix scans the chord key area at a frequency of 1kHz. If a valid press is detected (such as the capacitance value of the C key and the G key is >150pF and the pressure distribution is uniform), the pick signal and the chord timbre are mixed (such as superimposing the high-frequency overtones of the C chord); if no press is detected, the anti-interference fallback is started - retaining the original pick timbre but reducing the output gain (-6dB), and the tactile motor vibration prompts the missing operation. This process strictly follows real-time priority scheduling to ensure the continuity of performance.

[0086] In the embodiment of the present application, when the electronic musical instrument determines that the pressure value of the capacitor matrix is ​​effectively pressed, it will automatically lock the current playing mode (such as maintaining the "chord accompaniment mode"). At this time, the playing signal triggered by the pick will directly enter the tone mixing engine and be superimposed and output with the preset chord, but all mode switching detection logic will be shielded (such as ignoring specific strumming rhythm patterns or pick combination signals). The electronic musical instrument double-confirms the status through hardware feedback (such as the green LED in the chord key area is always on) and software identification (setting the mode lock flag FLAG_MODE_LOCK=1) to ensure the stability of the performance. This design prioritizes the integrity of the chord performance and avoids mode jumps caused by accidental touches.

[0087] In the embodiment of the present application, if the electronic musical instrument does not detect a valid chord key press (capacitance value < 30pF or pressure distribution is discrete) within a period of time after the pick is triggered, for example, within a 50ms window period, the mode switching arbitrator is immediately started: first, it is checked whether the current pick operation meets the preset switching conditions (such as upward strumming + lasting 300ms). If the conditions are met, the mode switching protocol is called (such as jumping from "solo mode" to "singing mode"). During the switching process, the chip will smoothly transition the effect parameters (such as fade-out delay effect / fade-in compression effect) and prompt the successful switching through multi-level feedback (two short vibrations of the body vibration motor + LED light strip flow animation). This mechanism ensures accurate response to the performance intention while avoiding the auditory abruptness caused by operation interruption.

[0088] In the embodiment of the present application, the linkage state between the pick trigger and the chord key press is detected to achieve precise control of the performance mode switching: when the pick triggers the performance signal, the electronic instrument scans the pressure data of the chord key area in real time. If a valid press is detected, the current mode is locked and the chord mixing output is prioritized to ensure the continuity of the performance; if no press is detected, the pick operation is automatically checked to see if it meets the preset switching conditions, triggering seamless mode switching (such as dynamic transition of the effects chain) and providing multi-modal feedback (LED / tactile prompts). The technical solution of the present application avoids accidental mode switching caused by mis-touch, and through the coordinated optimization of hardware sensing and software logic, it achieves efficient recognition and response of performance intentions, significantly improving the human-computer interaction efficiency and musical expression of electronic instruments.

[0089] Reference Figure 3 In some embodiments, the electronic musical instrument is provided with different types of sensors, and the electronic musical instrument accurately switches modes according to different detection information, including:

[0090] Step 60 : When the performance operation combination includes a pick wave operation, obtain a change in pick speed during the pick plucking operation.

[0091] In the embodiment of the present application, when the electronic musical instrument detects the plucking operation of the pick, the electronic musical instrument collects the three-axis acceleration and angular velocity data of the pick in real time through a high-precision inertial measurement unit (IMU), and performs signal processing at a sampling rate of 1000Hz. First, a digital filter is used to eliminate high-frequency noise, and then the instantaneous velocity vector is calculated through a time domain integration algorithm, and motion trajectory compensation is performed based on the characteristics of guitar playing (such as eliminating axial interference caused by wrist rotation). The electronic musical instrument will extract the characteristic parameters of each plucking, including the initial acceleration (trigger threshold > 3m / s 2 ), peak velocity (typical range 0.5-5m / s) and the second-order derivative of the speed-time curve (reflecting the rate of change of the force of the stroke). After normalization, these data are used to adjust the dynamic response of the sound engine in real time (for example, every increase of 1m / s in speed corresponds to a 2dB increase in gain). On the other hand, they are matched with the preset pattern library. When a specific speed change pattern is detected (such as the coefficient of variation of the speed of three consecutive strokes is less than 15%), special effects can be triggered. All calculations are completed within 10ms to ensure no perceptible delay, and there is also an anti-false touch mechanism (such as automatically resetting the detection cycle when the continuous static state is greater than 300ms).

[0092] Step 70 , when the pick speed changes within a preset speed range, executing the step of switching the current first playing mode to the second playing mode.

[0093] In the embodiment of the present application, when the electronic musical instrument detects that the pick speed change curve meets the preset speed range (such as peak speed 1.2-2.5m / s and acceleration change rate <15%) and continues to reach the minimum effective time (such as three consecutive pluckings meet the conditions), the main control chip will immediately trigger the mode switching protocol: first, the DSP signal chain of the current first playing mode (such as clean mode) is interrupted, and all state parameters (including unattenuated tail sound and effect settings) are saved; then the preset configuration of the second playing mode (such as distortion mode) is loaded (including gain curve, equalization parameters and effect chain order), and at the same time, two short vibrations (200ms apart) are generated through the tactile motor as physical feedback of successful switching, and the exclusive color code of the target mode is displayed on the LED ring indicator (such as red represents distortion mode). The whole process is completed within 50ms to ensure the continuity of the performance. If it is detected that the pick is still in motion, the switch is automatically delayed until the end of the current plucking cycle.

[0094] It can be supplemented that the electronic musical instrument in the embodiment of the present application is provided with different sensors, and multi-dimensional motion sensing realizes intelligent mode switching based on the user's playing posture: for example, the electronic musical instrument uses the built-in gyroscope and accelerometer to respectively collect the changes in the pick speed when the pick is plucked in real time, so as to accurately analyze the switching accuracy, effectively distinguish between active playing actions and accidental touches, and improve the human-computer collaboration performance.

[0095] Reference Figure 4 This embodiment is based on the above Figure 1 In the embodiment scheme, a specific implementation method is provided for responding to a new performance operation according to the target performance rule corresponding to the second performance mode in step 30, including:

[0096] Step 31, when the first performance mode is a solo mode and the second performance mode is a singing and playing mode, the single-note mapping rule controlling the solo mode is terminated, and the chord combination rule of the singing and playing mode is started to respond to the new performance operation.

[0097] In the embodiment of the present application, when the electronic musical instrument detects that it is currently in solo mode and meets the switching conditions, the electronic musical instrument immediately terminates the audio processing flow of the single-note mapping rule, including turning off the real-time pitch correction and solo reverberation effects. At the same time, the electronic musical instrument activates the intelligent chord response mechanism in the singing and playing mode, automatically loads the preset chord combination rule library, and establishes a new performance signal processing channel. At this time, the target performance operation input by the user will trigger the polyphonic chord recognition engine, dynamically generate the corresponding chord accompaniment layer according to the pressure strength and position, and intelligently mix it with the human voice signal. The electronic musical instrument ensures that the switching process from solo mode to singing and playing mode is natural and smooth through a smooth parameter transition algorithm, and completes the switching of all audio processing rules in a short time, for example, within 300 milliseconds, while maintaining volume balance during the period to avoid auditory discontinuity, and ultimately achieving a seamless transition from pure vocal interpretation to solo coordination.

[0098] Step 32, when the first performance mode is the singing and playing mode, and the second performance mode is the solo mode, the chord combination rule for controlling the singing and playing mode is terminated, and the single tone mapping rule for the solo mode is started to respond to the new performance operation.

[0099] In the embodiment of the present application, when the electronic musical instrument detects that it is currently in the singing and playing mode and meets the switching conditions, it will immediately terminate the audio processing flow of the chord combination rules, turn off the automatic accompaniment generation and chord recognition functions, and start the preset sound effect processing rules in the solo mode. The electronic musical instrument automatically switches to the monophonic signal processing channel, performs real-time pitch correction and dynamic equalization optimization on the input performance signal, strengthens the human voice frequency band and suppresses the interference of instrument resonance. At this time, the new performance operation will trigger the solo reverberation effector and the harmony superposition engine, and dynamically adjust the spatial reverberation parameters and harmony volume ratio according to the singing style. The entire switching process uses a fade-in and fade-out algorithm for smooth transition, and completes the conversion of all sound effect rules in a short time, such as within 200 milliseconds, to ensure seamless connection from solo coordination to pure vocal interpretation. At the same time, visual feedback is provided through the color change of the LED indicator light, and finally a natural transition and timbre unification of the performance mode are achieved.

[0100] In the embodiment of the present application, the intelligent switching between the solo mode and the singing and playing mode and the seamless connection of audio processing. When switching from the solo mode to the singing and playing mode, the electronic musical instrument will immediately terminate the single-tone signal processing process, turn off the solo special effects such as vocal pitch correction, and activate the chord recognition engine and accompaniment generation module at the same time, so that the subsequent target performance operation automatically triggers the intelligent chord accompaniment and rhythm combination function, realizing the natural fusion of human voice and musical instrument. When returning to the solo mode from the singing and playing mode, the electronic musical instrument will intelligently turn off the chord accompaniment function and re-enable the professional vocal effect processing chain, including real-time pitch correction, dynamic equalization optimization and solo reverberation effects, to ensure the best sound quality performance of pure vocal interpretation. Both mode switches use a smooth transition algorithm of fade-in and fade-out, and complete the automatic adjustment of all audio parameters within 200-300 milliseconds, completely eliminating the timbre fault or volume mutation during the switching process, and at the same time prompt the mode switching status through a multimodal feedback mechanism, providing a professional-level mode conversion experience for music performances.

[0101] Reference Figure 5 This embodiment is based on the above Figure 1 In the embodiment scheme, for the above step 30, responding to the new performance operation according to the target performance rule corresponding to the second performance mode, another specific implementation method is provided, including:

[0102] Step 33, when the first playing mode is a solo mode and the second playing mode is a singing and playing mode, the pitch adjustment rules are controlled by operating the corresponding chord keys of the electronic musical instrument, and / or at least one of the range adjustment rules is controlled by the pitch-raising keys in the electronic musical instrument to respond to the new playing operation.

[0103] In an embodiment of the present application, when the first performance mode (solo mode) is switched to the second performance mode (singing and playing mode) in an electronic musical instrument, the electronic musical instrument realizes intelligent pitch adaptation in the following manner: when the user presses the chord button, the preset chord fingering mapping rule is automatically triggered (such as the C button corresponds to the C major triad fingering), and the level pressing of the pitch-raising button (each level + 1 semitone) is coordinated to adjust the range of the sound in real time; when a new playing operation is detected (such as strumming or broken chords), the DSP processor will dynamically optimize the equalization curve of the output signal based on the current mode (such as automatically compensating for high-frequency attenuation when the pitch is raised) to ensure the coordination of the human voice and the accompaniment pitch. This hardware-level interactive design enables the pitch transition during mode switching to achieve millisecond-level response.

[0104] In the scenario where the electronic musical instrument switches from solo mode to singing mode in the embodiment of the present application, the electronic musical instrument first turns off the single-tone priority processing module and activates the chord intelligent recognition electronic instrument at the same time. At this time, the user can trigger the triple control logic through the pick operation: 1) Rhythm type adjustment - the continuous strumming speed of the pick automatically matches the preset rhythm template (such as a speed of 1.2m / s corresponds to a 4 / 4 beat broken chord, and 2.0m / s switches to an 8beat strum), and the DSP generates adaptive drum beats and bass parts in real time; 2) Dynamic volume balance - the pick acceleration data is mapped to the vocal-instrument mixing ratio (such as a 30% increase in vocal volume when gently plucking); 3) Range adaptation - pressing the pitch-up button can perform an overall transposition based on the current chord (each press increases the pitch by a semitone, and the cyclic adjustable range is ±3 degrees), and the LED neck indicator light synchronously displays the transposed chord fingering area. All parameter adjustments have a response period of 50ms, and tactile feedback is provided through the body resonance module to ensure real-time coordination between singing and playing).

[0105] Step 34, when the first playing mode is the singing and playing mode, and the second playing mode is the solo mode, the pitch range adjustment rule is controlled by the up / down key of the electronic musical instrument, the rhythm pattern adjustment rule is controlled by the plucking operation of the electronic musical instrument, and at least one of the timbre adjustment rule and the rhythm pattern adjustment rule is controlled by the combined operation of the chord key and the drum machine key of the electronic musical instrument, in response to the new playing operation.

[0106] In the embodiment of the present application, when switching from the first performance mode (singing and playing mode) to the second performance mode (solo mode), the electronic musical instrument adjusts the range of the sound in real time through the up and down tone keys (±1 semitone per level, automatically compensating the frequency response curve), and the plucking operation of the pick triggers dynamic rhythm type switching (such as switching between 16th notes and triplets by plucking up and down); at the same time, the combined operation of the chord key and the drum machine key (such as C key + bass drum key) can synchronously switch between distorted timbre and 4 / 4 beat drum rhythm. All parameters are processed at the hardware level through the FPGA chip to ensure that when a new playing operation (such as tapping the string or shaking the tremolo) is detected, the composite adjustment of timbre, rhythm and range can complete a seamless transition within 10ms, allowing the performer to obtain a real-time response experience of "one-click symphony".

[0107] In the embodiment of the present application, during the process of switching from the singing and playing mode to the solo mode, the function of the electronic instrument's pitch up / down buttons will be dynamically remapped to a range fine-tuning controller: short press to raise / lower the pitch by a semitone (maximum ±1 octave), and long press for 1 second to activate intelligent scale adaptation. The electronic instrument will automatically match the optimal mode according to the current melody (such as switching from C major to A minor). At the same time, the LED fingerboard will highlight the recommended position of the target scale in real time. All transposition operations are completed by the FPGA chip within 20ms with zero-delay pitch offset processing, and the original timbre harmonic integrity is maintained. Continuous pressing for more than 3 seconds will reset the pitch to the standard pitch, and the current range status is fed back through the breathing effect of the three-color LED light ring (red / green / blue).

[0108] The deep coupling of hardware interaction and dynamic audio processing rules in the embodiment of the present application realizes seamless switching and multi-dimensional control from singing mode to solo mode. All control instructions are executed by the phase-aligned audio processing pipeline, and the coordinated adjustment of pitch, range and sound effect is completed within 300 milliseconds, completely eliminating the auditory fault when switching modes. Through the organic combination of three-order control layers (precise tuning, range switching, and effect gradient), this design not only retains the improvisational freedom of performance, but also realizes the automatic adaptation of professional-level singing parameters, significantly improving the vocal expressiveness and performance fluency of electronic instruments.

[0109] In some embodiments, the electronic musical instrument includes a sound sensor, and the method further includes:

[0110] 1. Receive sound feedback information detected by the sound sensor.

[0111] In the embodiment of the present application, the electronic musical instrument will continuously receive real-time audio feedback from a highly sensitive sound sensor: through full-band sampling of 40Hz-20kHz, combined with an adaptive noise reduction algorithm to separate the ambient noise and the vibration signal of the instrument itself, and the processed sound wave characteristics (including spectral energy distribution, transient response time and harmonic distortion) are input into the intelligent analysis module. This module dynamically evaluates the performance quality with a period of 10ms. When an abnormality is detected (such as the missing frequency band caused by the deviation of the pick's contact angle), it will immediately prompt through the multi-modal feedback electronic instrument - the neck LED array will display an orange warning light spot, and at the same time generate a tactile code matching the error type (such as two consecutive short vibrations indicating a rhythm deviation). All analysis data will be synchronously recorded in the performance log for subsequent timbre optimization, but will not interrupt the current signal processing process to ensure the natural continuity of the performance process.

[0112] 2. When the target performance operation triggers the mode switch, adjust the music beat information and volume of the second performance mode according to the sound feedback information and the timbre, volume and beat information corresponding to the first performance mode to ensure the smoothness of the performance.

[0113] In the embodiment of the present application, when the target performance operation triggers a mode switch, the audio analysis module in the electronic instrument captures the sound feedback information of the current first performance mode in real time and extracts key parameters (including the timbre EQ curve, dynamic volume threshold and BPM beat value); then, the mode switching engine performs a differential comparison of these parameters with the preset configuration of the second performance mode to generate a transition compensation scheme - specifically, the following: ① Automatically matching the volume envelope curve of the new mode (such as instantaneous loudness compensation of distorted timbre) based on the decay characteristics of the previous mode's tail sound (such as the natural sustain of a clean guitar); ② Aligning the beat phases of the two modes through a time stretching algorithm (if the previous mode is an 80BPM singing rhythm, the initial speed of the solo mode is automatically set to a ±5BPM floating buffer); ③ Calling a filter bank to cross-fade the timbre frequency band (such as gradually migrating from the 400Hz-3kHz band dominated by the human voice to the 2kHz-8kHz band that emphasizes the high frequencies of the guitar). Finally, the DSP chip completes the seamless connection of all parameters within 20ms, ensuring that the performer obtains a sound response that conforms to the musical context on the first note after triggering the switch.

[0114] 3. Respond to a new performance operation according to the music beat information and the volume of the second performance mode.

[0115] In the embodiment of the present application, the preset beat structure of the electronic musical instrument performance mode (such as the 16th note rhythm of 120BPM) and the dynamic volume mapping table (such as the +3dB gain compensation of the main passage) will automatically correct the quantization accuracy of the triggered notes according to the current measure position through the rhythm engine. The adaptive volume controller dynamically adjusts the output gain according to the nonlinear curve (such as automatically increasing the bass string by 2dB to prevent frequency band masking) by analyzing the playing force (such as the 0-255 level data of the pick touch pressure sensor) and the pitch position (such as the frequency distribution of the string frets); finally, the dry and wet signals are intelligently balanced through the 32-bit floating-point mixing bus (such as the feedback amount of the delay effector is scaled proportionally with the playing speed) to ensure that each note meets the musical expression requirements of the target mode in the three dimensions of duration, loudness and spatial sense.

[0116] In the embodiment of the present application, the audio signal collected by the sound sensor is analyzed in real time. First, the time-frequency joint analysis method is used to extract the music beat information (including BPM value, beat phase and rhythm type matching degree), and the RMS value of the sound pressure level is calculated to determine the volume. When a strong beat is detected (the volume exceeds the threshold and meets the beat cycle), the dynamic response mechanism is automatically activated: the trigger timing of the effector is adjusted according to the current beat phase (such as synchronizing the delay effect to the 1 / 4 beat interval), and the gain compensation is controlled in stages according to the volume dynamic range (40-90dB) (every 10dB volume difference corresponds to a 3% compression ratio adjustment). All parameters are adaptively optimized within 20ms. At the same time, the tactile feedback module is used to map the real-time volume changes with vibration intensity (50Hz low-frequency micro-vibration for weak beats, 100Hz high-frequency strong vibration for strong beats) to ensure a closed-loop interaction between the performance operation and the audio feedback. The LED indicator ring will display blue / yellow alternating light effects with the beat cycle to enhance the rhythm visibility.

[0117] In the embodiments of the present application, adaptive music generation is achieved through the dynamic interaction of intelligent environmental perception and playing mode. The electronic musical instrument first uses a high-sensitivity sound sensor to collect environmental acoustic characteristics in real time, accurately analyzes the sound pressure level of the ambient sound and the echolocation data based on a multi-microphone array, and establishes a three-dimensional sound field model. Based on this, the electronic musical instrument intelligently determines the sound change mechanism, including audio processing rules such as dynamic noise reduction thresholds, reverberation parameters, and frequency response curves. The electronic musical instrument will respond to the user's new playing operation in real time based on the currently activated sound change mechanism: when the ambient sound pressure is high, the instrument's mid-frequency penetration is automatically improved, and the stereo sound image positioning is intelligently adjusted according to the direction of the sound source; when specific reverberation characteristics are detected, the corresponding spatial audio effect is dynamically matched. All processing processes are completed within 80ms, ensuring that the target playing operation and the ambient sound are synchronized at the millisecond level. The final output is optimized audio that retains the performance expressiveness and perfectly blends with the surrounding acoustic environment, significantly improving the adaptability and musical expressiveness of electronic instruments in complex environments.

[0118] In some embodiments, the electronic instrument can switch modes. The specific types of playing modes of the electronic instrument are not limited. For example, the playing modes may also include chord mode and main melody mode. The steps of each of the above embodiments can be performed in the main melody mode of the electronic instrument. When in chord mode, the electronic instrument can be similar to a conventional electronic guitar, only producing chord tones or single notes when playing the playing keys. In this way, the electronic instrument has at least multiple modes, and different users can choose the corresponding mode to play according to their actual needs, thereby improving the user experience.

[0119] Among them, the electronic musical instrument switching mode method can be to select to switch to the main melody mode or exit the main melody mode on the electronic musical instrument APP of the terminal that is connected to the electronic musical instrument (such as a mobile phone, tablet computer, etc. that is connected to the electronic musical instrument by Bluetooth); or the electronic musical instrument automatically switches to the main melody mode when it is determined that the communication connection with the terminal is established, and exits the main melody mode to return to the chord mode when it is determined that the terminal is disconnected: the mode switching can also be performed through the switching button or switching switch control on the electronic musical instrument.

[0120] It should be noted that all the above-mentioned embodiments of the control method for an electronic musical instrument of the present application can be arbitrarily combined or combined to form new embodiments, provided that there are no contradictions or conflicts between them.

[0121] This application also proposes an electronic musical instrument, see Figure 6 , Figure 6 It is a structural diagram of an electronic musical instrument in a hardware operating environment involved in an embodiment of the present application.

[0122] like Figure 6 As shown, the electronic musical instrument of this embodiment may include: a processor 1001 (such as a CPU), a control IC, a network interface 1004, a user interface 1003, a memory 1005 and a communication bus 1002. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit, such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may optionally be a storage device independent of the aforementioned processor 1001.

[0123] The controller may include a plurality of sub-controllers, such as the control unit and contact IC mentioned above.

[0124] Those skilled in the art will understand that Figure 6 The structure of the electronic musical instrument shown in the figure does not constitute a limitation to the electronic musical instrument, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0125] like Figure 6 As shown, the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module and a computer program.

[0126] exist Figure 6 In the electronic musical instrument shown, the network interface 1004 is mainly used to connect to the background server and communicate data with the background server; the user interface 1003 is mainly used to connect to the client (user end) and communicate data with the client; and the processor 1001 can be used to call the computer program stored in the memory 1005. When the computer program is called and executed by the processor 1001, the steps of the above-mentioned electronic musical instrument control method are implemented.

[0127] Based on the computer program proposed in the aforementioned embodiment, the present application further proposes a storage medium, which stores the computer program. When the computer program is executed by a controller, the control method of the electronic musical instrument described in the aforementioned embodiment is implemented.

[0128] The electronic musical instrument and storage medium of the present application can implement the steps of the above-mentioned electronic musical instrument control method, and therefore have at least all the beneficial effects brought about by the technical solutions of the above-mentioned electronic musical instrument control method embodiments, which will not be described one by one here.

[0129] In the several embodiments provided in this application, it should be understood that the disclosed methods and devices can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the modules is merely a logical function division. In actual implementation, there may be other division methods, such as multiple modules or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection of devices or modules through some interfaces, which can be electrical, mechanical or other forms.

[0130] The modules described as separate components may or may not be physically separate, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed across multiple network modules. Some or all of the modules may be selected to achieve the purpose of the present embodiment according to actual needs.

[0131] In addition, the functional modules in the various embodiments of the present application may be integrated into a processing module, or each module may exist physically separately, or two or more modules may be integrated into a single module. The above-mentioned integrated modules may be implemented in the form of hardware or software functional modules.

[0132] If the integrated module is implemented in the form of a software functional module 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 a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0133] The above description is only a partial or preferred embodiment of the present application. Neither the text nor the drawings can limit the scope of protection of the present application. Any equivalent structural transformation made by using the contents of the present application specification and drawings under the overall concept of the present application, or direct / indirect application in other related technical fields, is included in the scope of protection of the present application.

Claims

1. A method for controlling an electronic musical instrument, characterized in that: The electronic musical instrument includes at least two modes, and the control method of the electronic musical instrument includes: receiving a target performance operation for the electronic musical instrument; When the target performance operation triggers a mode switch, the current first performance mode is switched to a second performance mode, wherein the performance rules of the electronic musical instrument are different from those in the first performance mode and the second performance mode; Respond to new performance operations according to the target performance rule corresponding to the second performance mode.

2. The method for controlling an electronic musical instrument according to claim 1, wherein: The method further comprises: In a case where the target performance operation is a preset performance operation combination, determining that the target performance operation triggers the mode switching; or In a case where the target performance operation is not a preset performance operation combination, determining that the target performance operation does not trigger the mode switching; The playing operation combination represents at least two playing operations of switching between the startup modes preset in the electronic musical instrument.

3. The control method of the electronic musical instrument according to claim 2, characterized in that: The electronic musical instrument is an electronic guitar, which is provided with chord keys and drum machine keys, and is equipped with a pick; The performance operation combination includes a combination of the chord key pressing operation and the pick plucking operation, and / or a combination of the chord key pressing operation and the drum machine key pressing operation.

4. The method for controlling an electronic musical instrument according to claim 2, wherein: The method further comprises: In a case where the target operation combination includes the paddle shifting operation, determining the number of the paddles; When there are two paddles, recording the direction of the paddle movement and / or the duration of the paddle movement; When the plucking direction is the target direction and / or the plucking duration exceeds a preset duration, it is determined whether the chord key is pressed, and the target direction is upward or downward.

5. The method for controlling an electronic musical instrument according to claim 3, wherein: The method further comprises: When the performance operation combination includes a plectrum wave operation, obtaining a change in plectrum speed during the plectrum plucking operation; When the pick speed changes within a preset speed range, the step of switching the current first playing mode to the second playing mode is performed.

6. The method for controlling an electronic musical instrument according to claim 1, wherein: The performance modes include: a singing and playing mode and a solo mode, and the performance rules include: at least one of a single tone mapping rule and a chord combination rule; The step of responding to a new performance operation according to the target performance rule corresponding to the second performance mode includes: When the first performance mode is a solo mode and the second performance mode is a singing and playing mode, the single-note mapping rule for controlling the solo mode is terminated, and the chord combination rule for the singing and playing mode is activated to respond to a new performance operation; When the first performance mode is the playing and singing mode and the second performance mode is the solo mode, the chord combination rule controlling the playing and singing mode is terminated, and the single tone mapping rule of the solo mode is started to respond to the new performance operation.

7. The method for controlling an electronic musical instrument according to claim 1, wherein: The playing rules include at least one of a rhythm type adjustment rule, a volume adjustment rule, a range adjustment rule, a pitch adjustment rule, and a timbre adjustment rule; The step of responding to a new performance operation according to the target performance rule corresponding to the second performance mode includes: When the first playing mode is a solo mode and the second playing mode is a singing and playing mode, at least one of controlling the pitch adjustment rule by operating a corresponding chord key of the electronic musical instrument and / or controlling a range adjustment rule by a pitch-up key of the electronic musical instrument responds to the new playing operation; When the first playing mode is the singing and playing mode, and the second playing mode is the solo mode, the pitch adjustment rules are controlled by the up and down key buttons of the electronic musical instrument, the rhythm type adjustment rules are controlled by the plucking operation of the electronic musical instrument, and at least one of the timbre adjustment rules and rhythm type adjustment rules is controlled by the combined operation of the chord key and the drum machine key of the electronic musical instrument, in response to the new playing operation.

8. The method for controlling an electronic musical instrument according to any one of claims 1 to 7, wherein: The electronic musical instrument includes a sound sensor, and the method further includes: receiving sound feedback information detected by the sound sensor; When the target performance operation triggers a mode switch, the tempo and volume of the second performance mode are adjusted based on the sound feedback information and the timbre, volume, and tempo information corresponding to the first performance mode to ensure smooth performance. Respond to a new performance operation according to the music tempo information of the second performance pattern and the volume.

9. An electronic musical instrument, characterized in that The electronic musical instrument includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the steps of the method for controlling an electronic musical instrument according to any one of claims 1 to 8 are implemented.

10. A storage medium, characterized in that: The storage medium stores a computer program, which, when executed by a processor, implements the steps of the method for controlling an electronic musical instrument according to any one of claims 1 to 8.

Citation Information

Cited By

  • A segmented music performance triggering method and system

    CN122598587A

  • An adaptive dual-mode portable electronic musical instrument playing system and control method

    CN122695951A