SUMMERY OF THE UTILITY MODEL
In view of the above, the present application provides an electronic musical instrument that solves the problem that it is difficult to lower the playing threshold by simplifying the playing style of the conventional electronic musical instrument.
In order to achieve the above object, the inventor provides an electronic musical instrument, comprising a microcontroller, a key module, a trigger module and an output module;
the key module is electrically connected with the microcontroller, the key module comprises a plurality of keys, and the pressing states of different keys correspond to different tone tones or chord tones;
the triggering module is electrically connected with the microcontroller, the triggering module comprises a plurality of triggering sensors, and the triggering states of different triggering sensors correspond to different musical tone playing types;
the microcontroller is used for generating corresponding MIDI information according to the pressing state of the key module and the triggering state of a triggering sensor in the triggering module, and outputting a value output module;
the output module is electrically connected with the microcontroller and is used for outputting playing music.
Preferably, the key module includes four keys, and different key states of the four keys are combined to form 16 performance states, and the performance states correspond to corresponding monophonic or polyphonic notes.
Further preferably, the trigger sensor is an infrared correlation sensor.
Further preferably, the trigger sensor is a key sensor.
Further preferably, the output module comprises a bluetooth module, and the bluetooth module is used for communicating with external equipment bluetooth and sending the MIDI message to external equipment to play music.
Further optimization, the output module comprises a MIDI hard sound source and a loudspeaker;
the MIDI hard sound source is used for receiving the MIDI message sent by the microcontroller and sending out the performance music through the loudspeaker.
Further optimize, still include power module, power module and microcontroller electric connection for provide the power for microcontroller.
Further optimize, the power module includes lithium cell and power management unit, the lithium cell passes through power management unit and connects in microcontroller.
Preferably, the microcontroller is further configured to, after detecting that the trigger sensor is triggered, read a pressing state of a key in the key module, and then generate a MIDI message corresponding to the played note sequence according to the chord tone or monophonic tone corresponding to the pressing state and the corresponding tone playing type of the triggered sensor.
Further preferably, the microcontroller is further configured to set a chord tone or a tone corresponding to the pressed state of the key in the key module and set a tone playing type corresponding to the triggering of the trigger sensor.
Different from the prior art, in the technical scheme, different pressing states of a plurality of keys on the key module correspond to different tone sounds or chord tone sounds, meanwhile, different tone sound playing types correspond to the triggering states of the triggering sensors in the triggering module, and the microcontroller generates corresponding MIDI messages by detecting the pressing states of the key module and the triggering states of the triggering sensors in the triggering module and outputs corresponding playing music through the output module. Through the cooperation of the keys of the key module and the trigger sensors of the trigger module, the playing of different chord music or single-tone music can be realized, the requirement threshold for players is low, and a faster approach is provided for beginners of musical instruments.
The above description of the present invention is only an overview of the technical solutions of the present application, and in order to make the technical solutions of the present application more clearly understood by those skilled in the art, further, the present invention can be implemented according to the contents described in the text and the drawings of the present application, and in order to make the above objects, other objects, features, and advantages of the present application more easily understood, the following description will be made in conjunction with the detailed description of the present application and the drawings.
Detailed Description
In order to explain in detail possible application scenarios, technical principles, practical embodiments, and the like of the present application, the following detailed description is given with reference to the accompanying drawings in conjunction with the listed embodiments. The embodiments described herein are only used for clearly illustrating the technical solutions of the present application, and therefore are only used as examples, and the scope of the present application is not limited thereby.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase "an embodiment" in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or related to other embodiments specifically defined. In principle, in the present application, the technical features mentioned in the embodiments can be combined in any manner to form a corresponding implementable technical solution as long as there is no technical contradiction or conflict.
Unless defined otherwise, technical terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs; the use of relational terms herein is intended to describe specific embodiments only and is not intended to limit the present application.
In the description of the present application, the term "and/or" is a expression for describing a logical relationship between objects, meaning that three relationships may exist, for example a and/or B, meaning: there are three cases of A, B, and both A and B. In addition, the character "/" herein generally indicates that the former and latter associated objects are in a logical relationship of "or".
In this application, terms such as "first" and "second" are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.
Without further limitation, in this application, the use of the phrases "comprising," "including," "having," or other similar expressions, is intended to cover a non-exclusive inclusion, and these expressions do not exclude the presence of additional elements in a process, method, or article that includes the elements, such that a process, method, or article that includes a list of elements may include not only those elements defined, but other elements not expressly listed, or may include other elements inherent to such process, method, or article.
As is understood in the examination of the guidelines, the terms "greater than", "less than", "more than" and the like in this application are to be understood as excluding the number; the expressions "above", "below", "within" and the like are understood to include the present numbers. In addition, in the description of the embodiments of the present application, "a plurality" means two or more (including two), and expressions related to "a plurality" similar thereto are also understood, for example, "a plurality of groups", "a plurality of times", and the like, unless specifically defined otherwise.
In the description of the embodiments of the present application, spatially relative expressions such as "central," "longitudinal," "lateral," "length," "width," "thickness," "up," "down," "front," "back," "left," "right," "vertical," "horizontal," "vertical," "top," "bottom," "inner," "outer," "clockwise," "counterclockwise," "axial," "radial," "circumferential," and the like are used, and the indicated orientations or positional relationships are based on the orientations or positional relationships shown in the specific embodiments or drawings and are only for convenience of describing the specific embodiments of the present application or for the convenience of the reader, and do not indicate or imply that the device or component in question must have a specific position, a specific orientation, or be constructed or operated in a specific orientation and therefore should not be construed as limiting the embodiments of the present application.
Unless specifically stated or limited otherwise, the terms "mounted," "connected," "secured," and "disposed" used in the description of the embodiments of the present application are to be construed broadly. For example, the connection can be a fixed connection, a detachable connection, or an integrated arrangement; it can be a mechanical connection, an electrical connection, or a communication connection; they may be directly connected or indirectly connected through an intermediate; which may be communication within two elements or an interaction of two elements. Specific meanings of the above terms in the embodiments of the present application can be understood by those skilled in the art to which the present application pertains in accordance with specific situations.
Referring to fig. 1-2, the present embodiment provides an electronic musical instrument, which includes a microcontroller 110, a key module, a trigger module and an output module 140;
the key module is electrically connected with the microcontroller 110, the key module comprises a plurality of keys 121, and the pressing states of different keys 121 correspond to different tone sounds or chord tones;
the trigger module is electrically connected with the microcontroller 110, the trigger module includes a plurality of trigger sensors 131, and the trigger states of different trigger sensors 131 correspond to different musical tone playing types; wherein the trigger state indicates that the trigger sensor 131 is triggered.
The microcontroller 110 is configured to generate a corresponding MIDI message according to the pressing state of the key module and the triggering state of the trigger sensor 131 in the trigger module, and output a value output module 140;
the output module 140 is electrically connected to the microcontroller 110, and the output module 140 is used for outputting the playing music.
The key module is composed of a plurality of keys 121. The key 121 may be a physical key 121 or a virtual key 121; while key 121 generally includes two states: an original state and a pressing state; the pressed states of different keys 121 in the key module correspond to different tones or chords, wherein the combination pressed by the different keys 121 also corresponds to different tones or chords; if only the key 121A is pressed, a C chord tone is corresponded, whereas if only the key 121B is pressed, a Dm chord is corresponded, whereas if the key 121A and the key 121B are pressed simultaneously, a G chord is corresponded.
Musical tone: a tone having a fixed pitch generated by regularly vibrating a sound-producing object is called a musical tone. Such as pianos, violins, urheens and the like are musical instruments capable of producing musical tones. Musical tones are the most important and basic materials used in music, and melodies, voices and the like in music are all composed of musical tones.
The different pressing states of several keys 121 on the key module correspond to different tone or chord tones, and the triggering state of the triggering sensor 131 in the triggering module corresponds to different tone playing types, and the micro-controller 110 generates corresponding MIDI messages by detecting the pressing state of the key module and the triggering state of the triggering sensor 131 in the triggering module, and outputs corresponding playing music through the output module 140. Through the cooperation of the keys 121 of the key module and the trigger sensors 131 of the trigger module, the playing of different chord music or single-tone music can be realized, the requirement threshold for players is low, and a faster approach is provided for beginners of musical instruments.
In some embodiments, the key module includes four keys 121, different key states of which are combined to form 16 performance states corresponding to respective monophonic or polyphonic notes.
Four keys 121 are used for selecting corresponding monophonic tones or polyphonic tones by considering that one hand has four fingers for flexible operation on the basis of grasping the instrument. When playing, each finger is placed on one key 121, and the key 121 is pressed by different fingers without moving the finger, so that the combination of the pressed states of different keys 121 can realize the 16-middle playing state, which can correspond to 16 sets of chords or two exaggerated 8-degree monophonic notes, even the combination of chords and monophonic notes, wherein the chords or monophonic notes corresponding to each state can be set in the setting mode. The player can realize the quick change of 16 states only by simple contact. Moreover, the player can realize 16 × N music playing types by matching the 16 playing states corresponding to the four keys with the N triggering sensors.
In certain embodiments, the trigger sensor 131 is an infrared correlation sensor 132. Infrared correlation sensor 132 comprises infrared emitter and infrared receiver, and infrared emitter transmission infrared ray to infrared receiver pass through between infrared emitter and the infrared receiver through the finger, block infrared correlation sensor 132 of infrared ray, and then realize triggering sensor 131's trigger state. Wherein combinations of the trigger states of the different infrared correlation sensors 132 may be set to correspond to different tone playing types. For example, a bar chord is assigned only when the infrared correlation sensor 132A is triggered, and an 8-point note is assigned only when the infrared correlation sensor 132B is triggered. And in the preset time, triggering the infrared correlation sensors 132A and B simultaneously corresponds to 4-minute notes, wherein the triggering sequence of different infrared correlation sensors 132 can be set to correspond to different musical tone playing types, for example, in the preset time, triggering the infrared correlation sensor 132A first and then triggering the sensor 131B corresponds to 4-minute notes, and if in the preset time, triggering the infrared correlation sensor 132B first and then triggering the sensor 131A corresponds to 2-minute notes, the setting can be specifically performed according to actual needs.
In some embodiments, the trigger sensor 131 is a key sensor 133. The corresponding tone playback type is triggered by pressing the key sensor 133. When the button sensor 133 is pressed, it indicates that the button sensor 133 is in a triggered state, and the micro-controller 110 starts to generate a corresponding MIDI message according to the pressed button sensor 133. Wherein, the combination of the trigger states of the different key sensors 133 may be set to correspond to different types of musical tone playing types, and if only the key sensor 133A is triggered, it corresponds to a columnar chord, and if only the key sensor 133B is triggered, it corresponds to an 8-point note, and if the key sensors 133A and B are simultaneously triggered, it corresponds to a 4-point note,
in some embodiments, the output module 140 includes a bluetooth module, which is configured to communicate with an external device via bluetooth for sending MIDI messages to the external device to play music. After the micro-controller 110 generates the MIDI message, the MIDI is sent to the external device such as the mobile phone and the PAD through the bluetooth module to play the playing music, and after the mobile phone or the PAD receives the MIDI message sent by the electronic musical instrument, the playing music is played through the corresponding APP.
In some embodiments, the output module 140 includes a MIDI hard sound source 141 and a speaker 142;
the MIDI hard sound source 141 is used for receiving MIDI messages sent by the microcontroller 110 and emitting performance music through the speaker 142.
The MIDI hard sound source 141 is a device for playing a sound source carrier, and when receiving the MIDI message sent by the microcontroller 110, the MIDI hard sound source 141 plays the performance music corresponding to the received MIDI message through the speaker 142.
In some embodiments, the system further comprises a power module electrically connected to the microcontroller 110 for providing power to the microcontroller 110. The power module includes a lithium battery 151 and a power management unit 152, and the lithium battery 151 is connected to the microcontroller 110 through the power management unit 152.
The microcontroller 110 and the corresponding devices are powered by the power supply module, wherein the power supply module comprises a lithium battery 151 and a power management unit 152, the microcontroller 110 is powered after the output voltage of the lithium battery 151 is subjected to voltage stabilization treatment by the power management unit 152, and meanwhile, the power management module is also used for charging the lithium battery 151 by an external power supply.
In some embodiments, the microcontroller 110 is further configured to read the pressing state of the key 121 in the key module after detecting that the triggering sensor 131 is triggered, and then generate a MIDI message corresponding to the playing note sequence according to the corresponding tone playing type of the triggered sensor according to the chord tone or monophonic tone corresponding to the pressing state. The finger presses the key module to select the playing state and does not trigger the musical instrument to sound; by setting a trigger module composed of a plurality of trigger sensors 131 for triggering and broadcasting, each trigger sensor 131 can set a plurality of trigger states, and each trigger state of each trigger sensor 131 can set a different tone playing type in the microcontroller 110. When the micro-controller 110 detects that a certain trigger sensor 131 reaches a certain trigger state, it generates a corresponding MIDI message according to the chord or tone corresponding to the key 121 pressed by the key module and the musical tone playing type corresponding to the trigger state of the triggered trigger sensor 131, and sends the MIDI message to the output module 140 for implementing sounding.
In some embodiments, the microcontroller 110 is further configured to set a chord tone or a tone corresponding to the pressed state of the key 121 in the key module and to set a tone playback type corresponding to the triggering of the triggering sensor 131.
The micro-controller 110 can set the chord tones or the monophonic tones corresponding to the pressed states of the keys 121 and the tone playing types corresponding to the triggering of the triggering sensor 131 according to actual requirements, and can set according to actual requirements to meet the requirements of different players on the electronic musical instruments.
In some embodiments, an electronic musical instrument such as that shown in fig. 3 is a MIDI guitar having two pairs of infrared correlation sensors 132 as trigger sensors 131, four keys 121A, B, C, D as key modules, and a MIDI hard sound source 141 and speaker 142 as output module 140; if the key 121A is pressed, the raised state of the other keys 121 is set as the C chord, the low level state of the infrared correlation sensor 1321 is set as the playing mode of the bar chord, and the low level state of the infrared correlation sensor 1322 is set as the decomposition rhythm type in which 3 chord tones are sequentially played at intervals of 8 minutes of notes. When the player presses the key 121A, the finger crosses the middle of the infrared correlation sensor 1321, a MIDI message for generating three CEG tones and playing simultaneously is transmitted to the MIDI hard sound source 141, and the speaker 142 simultaneously emits the three CEG tones. If the finger is moved across the middle of the sensor 2 after the key 121A is pressed, MIDI messages of three tones of CEG are sequentially generated, and three MIDI messages of played notes are sequentially transmitted to the MIDI sound source at intervals of 8 minutes of notes, thereby producing C-chord music of decomposed rhythm. By setting the key 121 combination to different chords or monophonic notes and the sensor trigger state to different decomposed rhythm types, the guitar can play 16 sets of harmony (or monophonic) harmony accompaniments of two decomposed rhythm types by a simple manipulation.
In some embodiments, as shown in fig. 4, the electronic musical instrument is a new type of key 121 musical instrument, which is composed of three key sensors 133 as the trigger sensors 131, four keys 121A, B, C, D as the key module, and a bluetooth module as the output module 140. The electronic musical instrument sends the generated MIDI message to the APP with the MIDI playing function of the mobile phone through the Bluetooth module for playing. If the key 121A is pressed, the lifted state of the other keys 121 is set to C chord and monophonic C, the pressed state of the key sensor 1331 is set to the mode of playing the bar chord, the pressed state of the key sensor 1332 is set to the decomposed rhythm type in which 3 chord tones are sequentially played at 8-minute note intervals, and the pressed state of the key sensor 1333 is set to the monophonic mode. During playing, the key 121A is pressed down and then the key sensor 1331 is pressed down, MIDI information that three CEG tones are played simultaneously is generated and sent to the mobile phone APP through the Bluetooth communication module, and the mobile phone sends out the three CEG tones simultaneously. If the key 121A is pressed and then the key sensor 1332 is pressed, MIDI messages of three tones of the CEG are sequentially generated, the MIDI messages of three played notes are sequentially sent to the mobile phone APP through the Bluetooth at the time interval of 8 minutes of notes, and the music with the decomposed rhythm of the C chord is sent out. If the key sensor 1333 is pressed after the key 121A is pressed, a MIDI message for playing C note monophone is generated, and the message is sent to the mobile phone APP through bluetooth to sound C note. By setting the key 121 combination to different chords or monophonic notes and the key sensor 133 trigger state to different decomposed rhythm types, the new musical instrument can play 16 sets of chords (or monophones), three decomposed rhythm type harmony accompaniments or monophonic melodies by a simple manipulation.
Referring to fig. 5, in another embodiment, a playing method of an electronic musical instrument having 16 playing states formed by the combination of the key states of four keys 121, different playing states correspond to different chords or monophones, and different triggering states of the triggering sensors 131 correspond to different tone playing types. The specific playing method is as follows:
step 510: setting chords or tones corresponding to the 16 performance states;
step 520: setting a musical tone playing type corresponding to the trigger state of the trigger sensor 131;
step 530: the microcontroller 110 detects whether the trigger sensor 131 reaches a trigger state;
if yes, go to step 540: reading the playing state to obtain the chord or the single tone to be played;
then step 550 is performed: generating a MIDI message queue corresponding to the played note sequence according to the obtained chord or tone and the musical tone playing type corresponding to the triggered triggering state of the triggering sensor 131;
then, step 560 is executed: the messages of the MIDI message queue are sent to the output module 140 (bluetooth module or MIDI hard sound source 141).
Four keys are used for selecting corresponding tone or chord tones by considering that one hand has four fingers for flexible operation on the basis of grasping the musical instrument. When playing, each finger is placed on one key, the fingers do not need to move, and only different fingers need to press the keys, so that the combination of the pressing states of different keys can realize 16 playing states, which can correspond to 16 groups of chords or two exaggerated 8-degree monophonic notes, even the combination of the chords and the monophonic notes, wherein the chords or the monophonic notes corresponding to each state can be set in the setting mode. The player can realize the quick change of 16 states only by simple contact.
The different pressing states of a plurality of keys on the key module correspond to different tone tones or chord tones, the triggering states of the triggering sensors in the triggering module correspond to different tone playing types, and the microcontroller generates corresponding MIDI messages by detecting the pressing states of the key module and the triggering states of the triggering sensors in the triggering module and outputs corresponding playing music through the output module. Through the cooperation of the keys of the key module and the trigger sensors of the trigger module, the playing of different chord music or single-tone music can be realized, the requirement threshold for players is low, and a faster approach is provided for beginners of musical instruments.
Finally, it should be noted that, although the above embodiments have been described in the text and drawings of the present application, the scope of the patent protection of the present application is not limited thereby. All technical solutions which are generated by replacing or modifying the equivalent structure or the equivalent flow according to the contents described in the text and the drawings of the present application, and which are directly or indirectly implemented in other related technical fields, are included in the scope of protection of the present application.