CN114898727A - MIDI controller based on peripheral equipment, MIDI message generating system and method - Google Patents
MIDI controller based on peripheral equipment, MIDI message generating system and method Download PDFInfo
- Publication number
- CN114898727A CN114898727A CN202210657398.0A CN202210657398A CN114898727A CN 114898727 A CN114898727 A CN 114898727A CN 202210657398 A CN202210657398 A CN 202210657398A CN 114898727 A CN114898727 A CN 114898727A
- Authority
- CN
- China
- Prior art keywords
- midi
- microcontroller
- human
- hid
- interface
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10H—ELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
- G10H1/00—Details of electrophonic musical instruments
- G10H1/0008—Associated control or indicating means
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/40—Bus structure
- G06F13/4063—Device-to-bus coupling
- G06F13/4068—Electrical coupling
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4282—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10H—ELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
- G10H1/00—Details of electrophonic musical instruments
- G10H1/0033—Recording/reproducing or transmission of music for electrophonic musical instruments
- G10H1/0083—Recording/reproducing or transmission of music for electrophonic musical instruments using wireless transmission, e.g. radio, light, infrared
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10H—ELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
- G10H2240/00—Data organisation or data communication aspects, specifically adapted for electrophonic musical tools or instruments
- G10H2240/171—Transmission of musical instrument data, control or status information; Transmission, remote access or control of music data for electrophonic musical instruments
- G10H2240/201—Physical layer or hardware aspects of transmission to or from an electrophonic musical instrument, e.g. voltage levels, bit streams, code words or symbols over a physical link connecting network nodes or instruments
- G10H2240/211—Wireless transmission, e.g. of music parameters or control data by radio, infrared or ultrasound
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Acoustics & Sound (AREA)
- Multimedia (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Computer Networks & Wireless Communication (AREA)
- Electrophonic Musical Instruments (AREA)
Abstract
The invention relates to a MIDI controller, a MIDI message generating system and a method based on human-computer interface peripheral equipment, wherein the MIDI controller comprises an HID protocol analysis chip, a first microcontroller, an output interface module and a power module; the HID protocol analysis chip is provided with a USB interface; the HID protocol analysis chip is connected to the first microcontroller and used for receiving HID data input of the human-computer interface peripheral equipment through the USB interface, analyzing the received HID data into serial data and sending the serial data to the first microcontroller; the output interface module is connected with the first microcontroller; the first microcontroller is used for converting serial data input by the HID protocol analysis chip into MIDI information and outputting the MIDI information to the output interface module. The performance action acquisition is carried out through the human-computer interface peripheral equipment, the cost of the MIDI controller can be reduced, the operation is convenient, the function is simple, the entrance difficulty is greatly reduced, and the experience feeling of a user is improved.
Description
Technical Field
The application relates to the technical field of music, in particular to a MIDI controller, a MIDI message generating system and a MIDI message generating method based on a man-machine interface peripheral device.
Background
A MIDI controller is a device commonly used today for playing and editing electronic musical instruments. MIDI controllers typically contain several human-computer interaction devices, including buttons, knobs, sliders, and pads. When the user operates any man-machine interaction device, the MIDI controller converts the result of the user operation into corresponding MIDI information according to the mapping method set by the user, and sends the MIDI information out through the communication mode set by the user. Meanwhile, the MIDI controller also receives MIDI information sent from a communication port set by a user, filters, modifies or combines the received MIDI information according to rules set by the user, and sends the MIDI information out through the communication port appointed by the user according to the rules set by the user. However, the conventional MIDI controller is generally a device used by professional composers, and is often high in cost, complex in function and difficult to enter a door. With the rise of mobile phones or flat music production APP, convenience is provided for beginners to enter the field at low cost. But touch screen operation is touched to the musical instrument easy mistake on the APP and is touched, and dynamics position etc. is not well controlled, leads to user experience relatively poor.
Disclosure of Invention
In view of the above problems, the present application provides a MIDI controller, a MIDI message generating system and method based on a human-machine interface peripheral device, which solve the problems of high cost, complex function and high access difficulty of the existing MIDI controller.
In order to achieve the above object, the inventor provides a MIDI controller based on a human interface peripheral device, comprising an HID protocol parsing chip, a first microcontroller, an output interface module and a power supply module;
the HID protocol analysis chip is provided with a USB interface, and the USB interface is used for enabling a human-computer interface peripheral device to be connected into the HID protocol analysis chip; the HID protocol analysis chip is connected to the first microcontroller and used for receiving HID data input of the human-computer interface peripheral equipment through the USB interface, analyzing the received HID data into serial data and sending the serial data to the first microcontroller;
the output interface module is connected to the first microcontroller and is used for being in communication connection with terminal equipment;
the first microcontroller is used for converting serial data input by the HID protocol analysis chip into MIDI information and outputting the MIDI information to the output interface module;
the power module is connected with the HID protocol analysis chip, the first microcontroller and the output interface module, and is used for supplying power to the HID protocol analysis chip, the first microcontroller and the output interface module.
In some embodiments, the HID protocol parsing chip USB interface is an HID dedicated chip or a second microcontroller with a USB interface and a built-in HID protocol.
In some embodiments, the output interface module comprises a bluetooth wireless communication module.
In some embodiments the output interface module comprises a MIDI wired interface.
In some embodiments, the USB interface is multiple.
In some embodiments, the power module includes a power management module and a lithium battery, and the lithium battery is connected to the HID protocol analysis chip, the first microcontroller, and the output interface module through the power management module.
In some embodiments, the first microcontroller is further configured to obtain a device type of the connected external device, and convert a device action input by the connected external device into a corresponding MIDI message according to a MIDI message table corresponding to a device action of the obtained device type.
Still provide another technical scheme: a MIDI message generating system comprises a man-machine interface peripheral device, a MIDI controller and a user terminal, wherein the MIDI controller is the MIDI controller;
the man-machine interface peripheral equipment is connected with a USB interface of the MIDI controller;
the user terminal can be an intelligent terminal such as a mobile phone and a computer provided with MIDI playing or editing software, and is in communication connection with an output interface module of the MIDI controller.
In some embodiments, the human interface peripheral device is one or more of a mouse, a keyboard, and a gamepad.
Still provide another technical scheme: a MIDI message generating method, which is applied to the MIDI message generating system, the method comprising the steps of:
acquiring the equipment action of the human-computer interface peripheral equipment through the USB interface;
the HID analyzes the device action of the human-computer interface peripheral equipment into serial data and sends the serial data to the first microcontroller;
the first microcontroller converts the serial data analyzed by the HID protocol analysis chip into corresponding MIDI information;
and the first microcontroller sends the generated MIDI information to the user terminal through the output interface module.
The method is characterized in that an external HID protocol analysis chip is arranged on a MIDI controller, a USB interface is arranged on a human-computer interface peripheral device through the HID protocol analysis chip to be connected to the HID protocol analysis chip, a player can play music through the human-computer interface peripheral device, when the player plays music through the human-computer interface peripheral device, the HID protocol analysis chip obtains HID data input of the human-computer interface peripheral device through the USB interface, converts the HID data input of the human-computer interface peripheral device into serial data and then sends the serial data to a first microcontroller, the first microcontroller converts device actions of the human-computer interface peripheral device into corresponding MIDI information through the serial data input by the HID protocol analysis chip and sends the corresponding MIDI information to a user terminal, and the music corresponding to the MIDI information is played through the user terminal. The performance action acquisition is carried out through the human-computer interface peripheral equipment, the cost of the MIDI controller can be reduced, the performance action acquisition is carried out through the human-computer interface peripheral equipment, the operation is convenient, the function is simple, the entrance difficulty is greatly reduced, and the experience feeling of a user is improved.
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, the present invention may be further implemented according to the content 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, the following description is made in conjunction with the detailed description of the present application and the drawings.
Drawings
The drawings are only for purposes of illustrating the principles, implementations, applications, features, and effects of particular embodiments of the present application, as well as others related thereto, and are not to be construed as limiting the application.
In the drawings of the specification:
FIG. 1 is a schematic diagram of a MIDI controller based on a human interface peripheral device according to an embodiment;
FIG. 2 is a diagram illustrating a keyboard key and corresponding table of performance functions in accordance with an exemplary embodiment;
FIG. 3 is a diagram illustrating a mouse and a corresponding table of performance functions according to an embodiment;
FIG. 4 is a schematic diagram of a MIDI message generation system according to an embodiment
FIG. 5 is a flowchart illustrating a MIDI message generation method according to an embodiment
The reference numerals referred to in the above figures are explained below:
100. a MIDI controller for controlling the operation of the mobile terminal,
110. HID agreement analyzes the chip, 111, USB interface;
120. a first microcontroller;
130. an output interface module;
140. a power supply module 141, a lithium battery 142 and a power supply management module;
200. the human-computer interface peripheral equipment comprises 210, a keyboard, 220, a mouse, 230 and a game handle;
300. user terminal, 310, computer, 320, intelligent terminal.
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, the present embodiment provides a MIDI controller based on a human interface peripheral device, which includes an HID protocol parsing chip 110, a first microcontroller 120, an output interface module 130 and a power module 140;
the HID protocol analysis chip 110 is provided with a USB interface 111, and the USB interface 111 is used for enabling the human-computer interface peripheral equipment 200 to be connected to the HID protocol analysis chip 110; the HID protocol parsing chip 110 is connected to the first microcontroller 120, and the HID protocol parsing chip 110 is configured to receive HID data input of the human interface peripheral device 200 through the USB interface 111, parse the received HID data into serial data, and send the serial data to the first microcontroller 120; the HID protocol parser chip 110 has a USB input interface, and receives a standard HID data input from the human interface peripheral 200, and parses the data into low-speed serial data. The HID protocol parsing chip 110 may be implemented by a commercially available HID dedicated chip or a second microcontroller with a USB interface and a built-in HID parsing software. The HID (human Interface device) human Interface device class is the first USB class supported by Windows. By its name, an HID device is understood to be a device where a computer interacts directly with a person, such as a keyboard, mouse, joystick, etc. However, the HID device does not necessarily need to be human interface, and is an HID device as long as the HID class specification is met.
The output interface module 130 is connected to the first microcontroller 120, and the output interface module 130 is used for being in communication connection with a terminal device;
the first microcontroller 120 is configured to convert serial data input by the HID protocol parsing chip 110 into MIDI information and output the MIDI information to the output interface module 130;
the power module 140 is connected to the HID protocol parsing chip 110, the first microcontroller 120 and the output interface module 130, and the power module 140 is configured to supply power to the HID protocol parsing chip 110, the first microcontroller 120 and the output interface module 130.
The external HID protocol analysis chip 110 is arranged on the MIDI controller, the human interface peripheral equipment 200 is connected to the HID protocol analysis chip 110 through the USB interface 111 arranged on the HID protocol analysis chip 110, a player can play music through the human interface peripheral equipment 200, when the player plays through the human interface peripheral equipment 200, the HID protocol analysis chip 110 obtains HID data input of the human interface peripheral equipment 200 through the USB interface 111, converts the HID data input of the human interface peripheral equipment 200 into serial data and sends the serial data to the first microcontroller 120, the serial data input by the HID protocol analysis chip 110 converts equipment actions of the human interface peripheral equipment 200 into corresponding MIDI information and sends the MIDI information to the user terminal, and the music corresponding to the MIDI information is played through the user terminal. The performance action acquisition is carried out through the human-computer interface peripheral equipment 200, the cost of the MIDI controller can be reduced, the performance action acquisition is carried out through the human-computer interface peripheral equipment 200, the operation is convenient, the function is simple, the entrance difficulty is greatly reduced, and the experience feeling of a user is improved. The human-computer interface peripheral equipment 200 is computer human-computer interface peripheral equipment 200 such as a keyboard, a mouse, a game handle and the like, and computer peripheral equipment such as the keyboard, the mouse and the like are input equipment familiar to most people, can be operated by hands to accurately realize the input of a lot of information, and is an ideal method for realizing music input or playing with low cost and easy operation.
In some embodiments, the USB interface 111 is a USB interface. A USB interface, i.e. a Universal Serial Bus (abbreviated as USB), is a Serial Bus standard and a technical specification of an input/output interface, and is widely applied to information communication products such as personal computers and mobile devices, and is extended to other related fields such as camera equipment, digital televisions (set top boxes), game machines, and the like. The latest generation is USB4, the transmission speed is 40Gbit/s, the three-stage voltage is 5V/12V/20V, the maximum power supply is 100W, and the novel Type C interface allows positive and negative blind plugging. The existing human interface peripheral device 200 generally adopts a USB interface, and the USB interface 111 can be applied to most human interface peripheral devices 200 by adopting the USB interface.
In certain embodiments, the output interface module 130 comprises a bluetooth wireless communication module. The MIDI information input by the first microcontroller 120 can be sent to the user terminal only for bluetooth communication through the bluetooth wireless communication module based on the bluetooth MIDI standard protocol, so that the MIDI information can be played on the user terminal.
In some embodiments, the output interface module 130 is a MIDI wired interface. The MIDI cable Interface (musical Instrument Digital Interface) is the product of music in conjunction with a computer. It is a hardware for connecting computer and MIDI equipment, and is also a standard for digital music.
In some embodiments, the output interface module 130 can adopt two modes of wired or bluetooth wireless communication, i.e. MIDI wired interface and bluetooth wireless communication module, and both output the received serial MIDI message data inputted by the microcontroller to the user terminal, such as a computer or an intelligent terminal, through the standard MIDI wired interface or the bluetooth wireless communication module with bluetooth MIDI protocol. The intelligent terminal comprises a mobile phone, a tablet and the like; common music production software such as Cubase and FL Studio at a computer end, Kulepo of an apple mobile phone/apple tablet, fluidSynth of an android mobile phone/android tablet and the like support the input of standard wired MIDI or Bluetooth MIDI signals.
In some embodiments, the USB interface 111 is multiple. Multiple USB interfaces 111 may be employed to enable multiple human interface peripheral devices 200 to access the MIDI controller, and multiple human interface peripheral devices 200 may be used to perform performance actions, such as simultaneous access to a keyboard and mouse.
In some embodiments, the power module 140 includes a power management module 142 and a lithium battery 141, and the lithium battery 141 is connected to the HID protocol parsing chip 110, the first microcontroller 120 and the output interface module 130 through the power management module 142. The power management module 142 is used for charging management of the lithium battery 141, and loads the voltage boosting and reducing chip to provide 5V and 3.3V regulated power supply for the HID protocol parsing chip 110, the first microcontroller 120 and the output interface module 130. The lithium battery 141 installation increases the portability and ease of use of the present invention.
In some embodiments, the first microcontroller 120 is further configured to obtain a device type of the connected external device, and convert a device action input by the connected external device into a corresponding MIDI message according to a MIDI message table corresponding to a device action of the obtained device type. The first microcontroller 120 functions to convert the device motion data received from the serial port and input by the HID protocol parser chip 110 into MIDI messages, and output the MIDI messages to the MIDI signal output interface module 130. The first microcontroller 120 is internally preset with a MIDI message table corresponding to each device action, for example, when the keyboard is connected to the MIDI controller, the MIDI message corresponding to the playing note "C3" is pressed down by the key "Z" on the keyboard, and the MIDI message corresponding to the stopping note "C3" is released by the key "Z". A chord that one key triggers a plurality of notes to play simultaneously may also be provided, for example, a C chord that the "F1" key is pressed to play simultaneously (or play sequentially at certain time intervals) three notes "C3", "E3" and "G3". If a mouse is used, the mouse can be set to move back and forth corresponding to continuously outputting continuously rising or falling notes, and move left and right corresponding to the height of the volume to reduce, so that various sound effects can be produced by matching with different timbres of music production software of the user terminal.
Specifically, when the MIDI controller is connected to the keyboard, most of the playing functions of the keyboard-type musical instrument can be realized by using the keys of the keyboard, and even simplified playing can be realized by presetting some functional keys, so that beginners can enter the instrument more easily. The library of tones in conjunction with the music production software can simulate the performance of most instruments, even drum sets, through the keyboard. The keyboard key and performance function correspondence table shown in fig. 2 may be established by the arrangement of embedded software inside the first microcontroller 120. The method includes the steps that esc keys correspond to upward bending sounds, F1-F12 keys correspond to chord regions, letter keys A-Z correspond to piano key panels, space keys correspond to bottom drums, function keys corresponding to deleting keys are deleted, Home keys correspond to high-pass keys, PageUp keys correspond to low-pass keys, PageDown keys correspond to bottom-pass keys, the ═ keys correspond to hang-crash keys, the ↓keyscorrespond to military drums, the ← keys correspond to step-crash keys, the → keys correspond to sting-cymbal keys and the like, and different forms of playing of melodies, chords, drums and the like can be achieved through a standard keyboard.
A mouse and performance function correspondence table as shown in fig. 3; the first microcontroller 120 embedded software is preset with an initial volume and a note, when a message of pressing a left mouse button is received, the set volume and note are pressed to play, when a message of moving the mouse forward is received, the note is changed into a higher note according to the distance of moving the mouse forward to play, when a message of moving the mouse backward is received, the note is changed into a lower note according to the distance of moving the mouse backward to play, when a message of moving the mouse leftward is received, the corresponding volume is reduced according to the distance of moving the mouse leftward to play, and when a message of moving the mouse rightward is received, the corresponding volume is increased according to the distance of moving the mouse rightward to play.
Referring to fig. 4, in another embodiment, a MIDI message generating system includes a human interface peripheral 200, a MIDI controller 100 and a user terminal 300, wherein the MIDI controller 100 is the MIDI controller 100 in the above embodiments;
the MIDI controller 100 includes an HID protocol parsing chip 110, a first microcontroller 120, an output interface module 130, and a power module 140;
the HID protocol analysis chip 110 is provided with a USB interface 111, and the USB interface 111 is used for accessing external equipment to the HID protocol analysis chip 110; the HID protocol parsing chip 110 is connected to the first microcontroller 120, and the HID protocol parsing chip 110 is configured to receive HID data input of the human interface peripheral device 200 through the USB interface 111, parse the received HID data into serial data, and send the serial data to the first microcontroller 120; the HID protocol parser chip 110 has a USB input interface, and is configured to receive a standard HID data input from the human interface peripheral device 200 and parse the data into low-speed serial data. The chip can be implemented using a commercially available HID proprietary chip or with the first microcontroller 120 with a USB interface and built in HID parsing software.
The output interface module 130 is connected to the first microcontroller 120, and the output interface module 130 is used for being in communication connection with a terminal device;
the first microcontroller 120 is configured to convert serial data input by the HID protocol parsing chip 110 into MIDI information and output the MIDI information to the output interface module 130;
the power module 140 is connected to the HID protocol analysis chip 110, the first microcontroller 120 and the output interface module 130, and the power module 140 is configured to supply power to the HID protocol analysis chip 110, the first microcontroller 120 and the output interface module 130;
the human interface peripheral device 200 is connected to the USB interface 111 of the MIDI controller 100;
the user terminal 300 is communicatively connected to the output interface module 130 of the MIDI controller 100.
The external HID protocol analysis chip 110 is arranged on the MIDI controller 100, the human interface peripheral equipment 200 is connected to the HID protocol analysis chip 110 through the USB interface 111 arranged on the HID protocol analysis chip 110, a player can play music through the human interface peripheral equipment 200, when the player plays through the human interface peripheral equipment 200, the HID protocol analysis chip 110 obtains HID data input of the human interface peripheral equipment 200 through the USB interface 111, converts the HID data input of the human interface peripheral equipment 200 into serial data and sends the serial data to the first microcontroller 120, the first microcontroller 120 converts the serial data input by the HID protocol analysis chip 110 into corresponding MIDI information, and sends the corresponding MIDI information to the user terminal 300, and the music corresponding to the MIDI information is played through the user terminal 300. The performance action collection is carried out through the human-computer interface peripheral equipment 200, the cost of the MIDI controller 100 can be reduced, the performance action collection is carried out through the human-computer interface peripheral equipment 200, the operation is convenient, the function is simple, the entrance difficulty is greatly reduced, and the experience feeling of a user is improved. The human-computer interface peripheral device 200, such as a keyboard 210, a mouse 220, a game handle 230 and other computer human-computer interface peripheral devices, and the keyboard, the mouse and other computer peripheral devices are input devices familiar to most people, can be operated by hands to accurately realize input of a lot of information, and is an ideal method for realizing music input or playing with low cost and easy operation. The user terminal 300 includes a computer 310 and an intelligent terminal 320, the intelligent terminal 320 includes a mobile phone and a tablet, and the like, and the input of standard wired MIDI or bluetooth MIDI signals is supported by commonly used music production software such as computer-side Cubase, FL Studio, apple phone/apple tablet coula, android phone/android tablet FluidSynth, and the like.
In some embodiments, the human interface peripheral device 200 is one or more of a mouse 220, a keyboard 210, and a gamepad 230.
Referring to fig. 5, in another embodiment, a method for generating a MIDI message is applied to the MIDI message generating system in the above embodiments, the method includes the following steps:
step S510: acquiring the equipment action of the human-computer interface peripheral equipment through the USB interface;
step S520: the HID analyzes the device action of the human-computer interface peripheral equipment into serial data and sends the serial data to the first microcontroller;
step S530: the first microcontroller converts the serial data analyzed by the HID protocol analysis chip into corresponding MIDI information;
step S540: and the first microcontroller sends the generated MIDI information to the user terminal through the output interface module.
The external HID protocol analysis chip is arranged on the MIDI controller, the human-computer interface peripheral equipment is connected with the HID protocol analysis chip through the USB interface arranged on the HID protocol analysis chip, a player can play music through the human-computer interface peripheral equipment, when the player plays through the human-computer interface peripheral equipment, the HID protocol analysis chip obtains HID data input of the human-computer interface peripheral equipment through the USB interface, converts the HID data input of the human-computer interface peripheral equipment into serial data and then sends the serial data to the first microcontroller, the serial data input by the HID protocol analysis chip is converted into corresponding MIDI information through the first microcontroller, the corresponding music of the MIDI information is played through the user terminal. The performance action acquisition is carried out through the human-computer interface peripheral equipment, the cost of the MIDI controller can be reduced, the performance action acquisition is carried out through the human-computer interface peripheral equipment, the operation is convenient, the function is simple, the entrance difficulty is greatly reduced, and the experience feeling of a user is improved. The human-computer interface peripheral equipment such as a keyboard, a mouse, a game handle and the like are computer human-computer interface peripheral equipment, and the computer peripheral equipment such as the keyboard, the mouse and the like are input equipment familiar to most people, can be operated by hands to accurately realize the input of a lot of information, and is an ideal method for realizing music input or playing with low cost and easy operation.
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.
Claims (10)
1. A MIDI controller based on human-computer interface peripheral equipment is characterized by comprising an HID protocol analysis chip, a first microcontroller, an output interface module and a power module;
the HID protocol analysis chip is provided with a USB interface, and the USB interface is used for enabling a human-computer interface peripheral device to be connected into the HID protocol analysis chip; the HID protocol analysis chip is connected to the first microcontroller and used for receiving HID data input of the human-computer interface peripheral equipment through the USB interface, analyzing the received HID data into serial data and sending the serial data to the first microcontroller;
the output interface module is connected to the first microcontroller and is used for being in communication connection with terminal equipment;
the first microcontroller is used for converting serial data input by the HID protocol analysis chip into MIDI information and outputting the MIDI information to the output interface module;
the power module is connected with the HID protocol analysis chip, the first microcontroller and the output interface module, and is used for supplying power to the HID protocol analysis chip, the first microcontroller and the output interface module.
2. The MIDI controller based on human interface peripheral device as claimed in claim 1, wherein the HID protocol resolution chip USB interface is HID specific chip or a second microcontroller with USB interface and built-in HID protocol.
3. The MIDI controller based on human interface peripheral device as claimed in claim 1, wherein said output interface module comprises a bluetooth wireless communication module.
4. The MIDI controller based on human interface peripheral device of claim 1 wherein the output interface module comprises a MIDI wired interface.
5. The MIDI controller based on human interface peripheral device as claimed in claim 1, wherein said USB interface is plural.
6. The MIDI controller based on human-computer interface peripheral equipment as claimed in claim 1, wherein the power module comprises a power management module and a lithium battery, and the lithium battery is connected to the HID protocol analysis chip, the first microcontroller and the output interface module through the power management module.
7. The MIDI controller based on human interface peripheral device as claimed in claim 1, wherein said first microcontroller is further configured to obtain the device type of the connected external device, and convert the device action inputted by the connected external device into the corresponding MIDI message according to the MIDI message table corresponding to the device action of the obtained device type.
8. A MIDI message generation system comprising a human interface peripheral device, a MIDI controller and a user terminal, the MIDI controller being the MIDI controller of any one of claims 1 to 7;
the man-machine interface peripheral equipment is connected with a USB interface of the MIDI controller;
the user terminal is connected with the output interface module of the MIDI controller in a communication way.
9. The MIDI message generation system of claim 8 wherein the human interface peripheral device is one or more of a mouse, a keyboard, and a gamepad.
10. A MIDI message generating method applied to the MIDI message generating system of any one of claims 8 to 9, the method comprising the steps of:
acquiring the equipment action of the human-computer interface peripheral equipment through the USB interface;
the HID analyzes the device action of the human-computer interface peripheral equipment into serial data and sends the serial data to the first microcontroller;
the first microcontroller converts the serial data analyzed by the HID protocol analysis chip into corresponding MIDI information;
and the first microcontroller sends the generated MIDI information to the user terminal through the output interface module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210657398.0A CN114898727A (en) | 2022-06-10 | 2022-06-10 | MIDI controller based on peripheral equipment, MIDI message generating system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210657398.0A CN114898727A (en) | 2022-06-10 | 2022-06-10 | MIDI controller based on peripheral equipment, MIDI message generating system and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114898727A true CN114898727A (en) | 2022-08-12 |
Family
ID=82728916
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210657398.0A Pending CN114898727A (en) | 2022-06-10 | 2022-06-10 | MIDI controller based on peripheral equipment, MIDI message generating system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114898727A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117170220A (en) * | 2023-09-12 | 2023-12-05 | 珠海笙科智能科技有限公司 | Method and system for realizing instruction control of BLE MIDI controller based on virtual MIDI port |
-
2022
- 2022-06-10 CN CN202210657398.0A patent/CN114898727A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117170220A (en) * | 2023-09-12 | 2023-12-05 | 珠海笙科智能科技有限公司 | Method and system for realizing instruction control of BLE MIDI controller based on virtual MIDI port |
CN117170220B (en) * | 2023-09-12 | 2024-05-03 | 珠海笙科智能科技有限公司 | Method and system for realizing instruction control of BLE MIDI controller based on virtual MIDI port |
US12131724B1 (en) | 2023-09-12 | 2024-10-29 | Zhuhai Sinco Intelligent Technology Co., Ltd. | Method and system for achieving BLE MIDI controller instruction control based on virtual MIDI port |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9558727B2 (en) | Performance method of electronic musical instrument and music | |
US20090301289A1 (en) | Modular MIDI controller | |
CN104408992A (en) | Method for stimulating playing of music instrument and recording music score by use of computer | |
CA2999882A1 (en) | Tactilated electronic music systems for sound generation | |
Alty et al. | Exploring the use of structured musical stimuli to communicate simple diagrams: the role of context | |
CN203102847U (en) | Intelligent piano | |
CN105206123B (en) | A kind of deaf and dumb patient's ac equipment | |
CN103218049A (en) | Keyboard with digital audio | |
CN114898727A (en) | MIDI controller based on peripheral equipment, MIDI message generating system and method | |
CN111198613B (en) | Music control device and method using bioelectric current | |
CN100397838C (en) | Digital type infrared-bluetooth two-bridge universal remote control device | |
Ward et al. | Music technology and alternate controllers for clients with complex needs | |
CN102063282A (en) | Chinese speech input system and method | |
CN217740168U (en) | MIDI controller based on peripheral equipment and MIDI message generating system | |
CN1570826A (en) | Music input system, input signal processing method and keyboard device | |
CN110010109B (en) | Intelligent piano system of thing networking | |
Aigner et al. | FLipMouse: A flexible alternative input solution for people with severe motor restrictions | |
US20210279028A1 (en) | Computer input from music devices | |
CN203102846U (en) | Conversion plate for intelligent piano | |
CN210156109U (en) | Thing networking wisdom piano system | |
CN207946726U (en) | A kind of all-in-one machine based on speech recognition | |
Suh et al. | Spearcons improve navigation performance and perceived speediness in Korean auditory menus | |
CN203192255U (en) | Musical instrument education device | |
CN107767851B (en) | Song playing method and mobile terminal | |
CN112860608A (en) | Input device based on mobile phone or tablet personal computer USB and implementation method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |