SUMMERY OF THE UTILITY MODEL
In view of the above problem, the application provides a hand-wearing electronic musical instrument based on wireless communication, solves the problem that the existing electronic musical instrument occupies a large space and is inconvenient to carry.
In order to achieve the above object, the inventor provides a hand-wearing electronic musical instrument based on wireless communication, comprising a housing, a distance sensor, a microcontroller and a first communication module;
the distance sensor, the microcontroller and the first communication module are arranged in the shell;
the surface of the shell is provided with a wearing structure, and the hand-wearing electronic musical instrument is worn on the hand of a user through the wearing structure;
the distance sensor is electrically connected with the microcontroller and is used for detecting the distance between the electronic musical instrument and the reference plane;
the microcontroller is used for reading the musical notes corresponding to the distance calculated by the distance sensor which detects the distance between the electronic musical instrument and the reference plane and generating MIDI messages in a standard format;
the first communication module is electrically connected with the microcontroller and is used for sending MIDI messages generated by the microcontroller.
Further preferably, the distance sensor is a laser distance measuring sensor, an ultrasonic distance measuring sensor or a microwave distance measuring sensor.
Further preferably, the first communication module is a bluetooth module.
The trigger module is arranged on the side edge of the shell and is electrically connected with the microcontroller;
the triggering module is used for triggering the microcontroller to generate musical notes and MIDI messages.
Further preferably, the triggering module is a touch sensor.
Further optimize, still include power module, power module connects in first communication module, distance sensor and microcontroller.
Further optimize, the power module includes lithium cell and power management unit, the lithium cell passes through power management unit and connects in first communication module, distance sensor and microcontroller.
Further optimizing, and further comprising MIDI sound source products;
the MIDI sound source product comprises a second communication module, a MIDI hard sound source and a loudspeaker; the second communication module and the loudspeaker are connected with a MIDI hard sound source;
the second communication module establishes communication connection with the first communication module;
the MIDI hard sound source is used for converting the MIDI message received by the second communication module into a corresponding sound source and playing the sound source on the loudspeaker.
Further preferably, the microcontroller is further configured to calibrate the height of the C-tone when the hand-worn electronic musical instrument is started.
Further optimizing, still include the staff sticker, be equipped with the spectral line that a plurality of interval set up on the staff sticker.
Different from the prior art, above-mentioned technical scheme, hand-worn electronic musical instrument wears at user's hand through the wearing structure on the casing, when the user plays through hand-worn electronic musical instrument, through facing distance sensor to the reference plane, control distance between distance sensor and the reference plane, microcontroller is according to the distance information that distance sensor fed back, obtains the musical note that this distance information corresponds, then generates the MIDI message of standard format, sends MIDI message to corresponding terminal through first communication module and plays. Can play at the hand through wearing hand-worn electronic musical instrument, occupation space is little, makes things convenient for the player to carry, can play the note of different pitches through the fluctuation action of hand through wearing hand-worn electronic musical instrument in the hand simultaneously, utilizes the change of spatial distance to generate corresponding performance music with the direct expression of the melody line of music, improves player's experience and feels.
As described aboveUtility modelThe description is given below with reference to the embodiments and the drawings of the present application in order to make the technical solutions of the present application more clearly understood by those skilled in the art, and further, the present application may be implemented based on the contents described in the text and 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.
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 merely for more clearly illustrating the technical solutions of the present application, and therefore, the embodiments 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 only to describe particular embodiments 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 "including," "comprising," "having," or other similar expressions in phrases and expressions of "including," "comprising," or "having," is intended to cover a non-exclusive inclusion, and such expressions do not exclude the presence of additional elements in a process, method, or article that includes the recited elements, such that a process, method, or article that includes a list of elements may include not only those elements but also other elements not expressly listed or 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-3, the present embodiment provides a hand-worn electronic musical instrument 100 based on wireless communication, including a housing, a distance sensor 120, a microcontroller 110 and a first communication module 130;
the distance sensor 120, the microcontroller 110 and the first communication module 130 are arranged in the shell;
the surface of the shell is provided with a wearing structure, and the hand-wearing electronic musical instrument is worn on the hand of a user through the wearing structure;
the distance sensor 120 is electrically connected to the microcontroller 110, and the distance sensor 120 is used for detecting the distance between the electronic musical instrument and the reference plane;
the microcontroller 110 is configured to read a note corresponding to the distance between the electronic musical instrument and the reference plane detected by the distance sensor 120, calculate the distance, and generate a MIDI message in a standard format;
the first communication module 130 is electrically connected to the microcontroller 110, and the first communication module 130 is configured to send a MIDI message generated by the microcontroller 110.
The microcontroller 110 is a single-chip microcomputer in which the main part of the microcomputer is integrated on one chip. The Microcontroller 110(Microcontroller Unit, MCU) can be classified in different ways: the data bus can be divided into 8 bits, 16 bits and 32 bits according to the width of the data bus; the structure can be divided into a Harvard structure and a Von Neumann structure according to the memory structure; according to the category of the embedded program memory, the embedded program memory can be divided into OTP, mask, EPROM/EEPROM and Flash; according to the Instruction structure, the microcontroller 110 may be further divided into a CISC (Complex Instruction Set computer) and a RISC (reduced Instruction Set computer).
MIDI (Musical Instrument Digital Interface) is the most widely used music standard format in the composer world and may be referred to as "computer-understandable score". It records music with digital control signals of the notes. A complete MIDI music is only a few tens of KB large and can contain dozens of music tracks. Almost all modern music is synthesized using MIDI plus a library of tones. Rather than a sound signal, the MIDI transmits instructions, such as notes, control parameters, which instruct the MIDI device what to do, such as which note to play, how much volume, etc. They are collectively represented as MIDI messages (MIDI messages).
The hand-worn electronic musical instrument 100 is worn on the hand of the user through a wearing structure on the housing, when the user plays through the hand-worn electronic musical instrument, the distance between the distance sensor 120 and the reference plane is controlled by facing the distance sensor 120 to the reference plane, the microcontroller 110 obtains a note corresponding to the distance information according to the distance information fed back by the distance sensor 120, then generates a MIDI message in a standard format, and sends the MIDI message to a corresponding terminal through the first communication module 130 for playing. Can play at the hand through wearing hand-worn electronic musical instrument, occupation space is little, makes things convenient for the player to carry, can play the note of different pitches through the fluctuation action of hand through wearing hand-worn electronic musical instrument in the hand simultaneously, utilizes the change of spatial distance to generate corresponding performance music with the direct expression of the melody line of music, improves player's experience and feels. Wherein, when the reference plane is the ground or the table, the distance detected by the distance sensor 120 represents the height of the distance sensor 120 from the reference plane, and notes of different pitches are played by the up and down movement of the hand.
In certain embodiments, the distance sensor 120 is a laser ranging sensor, an ultrasonic ranging sensor, or a microwave ranging sensor. The basic principle of laser range sensors using laser transit time to measure distance is to determine the target distance by measuring the time required for the laser to travel to and from the target. The principle of the laser ranging of the transmission time is simple, and the structure is simple; the ultrasonic ranging sensor adopts an ultrasonic echo ranging principle, applies an accurate time difference measuring technology, detects the distance between the sensor and a target object, adopts a small-angle and small-blind-area ultrasonic sensor, and has the advantages of accurate measurement, no contact, water resistance, corrosion resistance, low cost and the like. The microwave ranging sensor measures distance by utilizing electromagnetic waves with the wavelength of 0.8-10 cm as carriers, the microwave ranging sensor sends out microwave signals directionally by a microwave emitter, and when the microwave signals meet an object to be measured, the microwave signals are partially absorbed by the object to be measured and partially reflected. The receiving antenna is used for receiving the microwave signal reflected by the measured object, detecting the electromagnetic parameter of the microwave signal, and processing the microwave signal by the measuring circuit, so that the microwave detection is realized. The microwave distance measurement has the advantages of high measurement precision, high reaction speed, good directionality and non-contact
Referring to fig. 2, in some embodiments, the first communication module 130 is a bluetooth module 131. After the hand-worn electronic musical instrument generates the MIDI message, the microcontroller 110 sends the generated MIDI message to the APP with MIDI function on the mobile terminal through the bluetooth module 131 for playing.
Referring to fig. 2, in some embodiments, the electronic device further includes a trigger module disposed at a side of the housing, and the trigger module is electrically connected to the microcontroller 110;
the trigger module is used to trigger the microcontroller 110 to generate musical notes and MIDI messages.
By providing the trigger module on the hand-worn electronic musical instrument, the microcontroller 110 generates corresponding musical notes and MIDI messages according to the distance information detected by the distance sensor 120 only after detecting that the trigger module is triggered. The occurrence of the situation that the hand-wearing electronic musical instrument produces sound due to the unconscious operation of the player is avoided. Wherein the triggering module is a touch sensor 151. The touch sensor 151 is a touch switch, which is classified into a resistive touch switch and a capacitive touch switch according to a switching principle, and is classified into a single-wire touch switch and a double-wire touch switch (a live wire and a neutral wire) according to a connection manner. In other embodiments, the triggering module may also employ a key sensor.
Referring to fig. 1-2, in some embodiments, the power module 140 is further included, and the power module 140 is connected to the first communication module 130, the distance sensor 120 and the microcontroller 110. The power module 140 includes a lithium battery 141 and a power management unit 142, and the lithium battery 141 is connected to the first communication module 130, the distance sensor 120 and the microcontroller 110 through the power management unit 142.
The microcontroller 110, the first communication module 130 and the distance sensor 120 are powered by the power module 140, wherein the power module 140 includes a lithium battery 141 and a power management unit 142, the microcontroller 110 is powered by the power management unit 142 after the output voltage of the lithium battery 141 is subjected to voltage stabilization, and the power management module is also used for charging the lithium battery 141 by an external power supply.
In some embodiments, a MIDI sound source product is also included;
the MIDI sound source product comprises a second communication module, a MIDI hard sound source and a loudspeaker; the second communication module and the loudspeaker are connected to a MIDI hard sound source;
the second communication module 0 establishes communication connection with the first communication module 130;
the MIDI hard sound source is used for converting the MIDI message received by the second communication module into a corresponding sound source and playing the sound source on the loudspeaker.
The MIDI sound source product is a device for playing a sound source carrier, and when the MIDI sound source product receives the MIDI message sent by the first communication module 130, the MIDI hard sound source controls the speaker to play corresponding playing music according to the received MIDI message.
In some embodiments, the microcontroller 110 is further configured to calibrate the height of the C-tune when the hand-worn electronic musical instrument is started. Referring to fig. 3, in order to make the musical note played by the hand-worn electronic musical instrument more accurate, when the hand-worn electronic musical instrument is started, the microcontroller 110 calibrates the height corresponding to the C key, wherein the microcontroller 110 sends calibration information to an external device through the first communication module 130, for example, the mobile phone or MIDI sound source product sends the calibration information, and when the user receives the calibration information, the microcontroller calibrates the current distance information to the C key by placing the hand-worn electronic musical instrument at a reasonable position from the reference plane. The staff sticker 200 is provided with a plurality of spectral lines arranged at intervals. When the user marks the C tone, the hand is placed at the position corresponding to the C tone on the staff sticker 200, the C tone can be conveniently marked, meanwhile, the user can more accurately determine the height corresponding to each note according to the spectral line on the staff sticker 200, the staff sticker 200 can be pasted on a wall, the interval between the spectral lines on the staff sticker 200 is 10cm, the spectral line of the staff sticker 200 covers 3 octaves, and the covering range is within the range that the hand swings comfortably up and down.
The hand-worn electronic musical instrument has two playing modes, namely, a playing mode I shown in fig. 4, the hand-worn electronic musical instrument is worn at the palm position by controlling the touch sensor 151, the touch sensor 151 faces the thumb, and a note is played after the thumb touches the touch sensor 151 every time, so that the occurrence of the note is better controlled. The specific process is as follows:
firstly, the hand is placed at the central C-position of the staff sticker to calibrate the height, then the micro-controller detects whether the touch sensor 151 is triggered, if so, the height is detected through the distance sensor 120, the note corresponding to the current height is calculated, then the MIDI message corresponding to the note is generated and played, and the MIDI message is sent to the corresponding playing device through the first communication module 130 to be played.
In the second performance mode shown in fig. 5, after the rhythm speed is set by the touch sensor 151, for example, the tempo of 16 minutes of notes is set, when the electronic musical instrument is played by hand, the microcontroller 110 reads the data of the distance sensor 120 at each tempo point of 16 minutes of notes and generates a corresponding note playing. Under the mode, a player can realize continuous playing only by lifting the hand to the position corresponding to the musical note on the staff sticker according to the rhythm on the basis of controlling the speed, and the specific flow is as follows:
firstly, the hand is placed at the central C-tone position of the staff sticker to calibrate the height, after the calibration is completed, the microcontroller 110 performs timing according to the set rhythm speed, for example, 16 minutes of note timing, when the microcontroller 110 finishes the 16 minutes of note timing every time, the height information is detected through the distance sensor 120, the note corresponding to the current height information is calculated according to the height model, then the MIDI message corresponding to the note is generated and played, and the MIDI message is sent to the corresponding playing device through the first communication module 130 to be played.
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.