CN1664918A - Intelligent electronic musical instrument - Google Patents

Intelligent electronic musical instrument Download PDF

Info

Publication number
CN1664918A
CN1664918A CN 200410012814 CN200410012814A CN1664918A CN 1664918 A CN1664918 A CN 1664918A CN 200410012814 CN200410012814 CN 200410012814 CN 200410012814 A CN200410012814 A CN 200410012814A CN 1664918 A CN1664918 A CN 1664918A
Authority
CN
China
Prior art keywords
musical instrument
key
flip flop
microprocessor
flop equipment
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
Application number
CN 200410012814
Other languages
Chinese (zh)
Inventor
李志扬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN 200410012814 priority Critical patent/CN1664918A/en
Publication of CN1664918A publication Critical patent/CN1664918A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

This invention discloses one intelligent electronic musical instrument, which comprises trigger device, electronic sound integration device, central controller and the keyboard bulb or laser diode or luminous diode integrated on the trigger device, wherein, the central controller controls the laser diode or luminous diode according to play chart and generates clue spots for plays to put relative keys for relative trigger signals; the central controller sends out relative characters according to the electronic integration device.

Description

The smart electronics musical instrument
Technical field
The present invention relates to a kind of smart electronics musical instrument, belong to the electronic musical instrument field, be specially adapted to be unfamiliar with people's playing music of music, can be made into various indoor, outdoor, large-scale and small-sized child music toys, also can be used for professional performer's exercise, play various complicated melodies, auxiliary composer sets a song to music.
Background technology
Music is the symbol of human civilization, to moulding a person's temperament, enrich people's life very large help is arranged.But music also is a complicated art, except music theory study, on top of various playings skill of instruments also need long exercise, and this is very arduous, a uninteresting process, and this makes many people forbidding to musical instrument study.To move back and forth a kind of musical instrument for the people of identification of spectrogram not, extremely difficult especially.Musical instrument such as piano is also quite expensive in addition, and these factors have limited extensively popularizing of music to a great extent.
Along with integrated circuit and development of computer, electronics is more and more wider in the application of music field.It is very general that electronic guitar, mellotron etc. are equipped with the musical instrument of electronic installation, MIDI (the Musical Instrument Digital Interface) standard of setting up the eighties particularly, brought great changes for especially creation, record, the performance of music, electronic music has developed into higher level now.MIDI is the standard that music signal transmits between electronic musical instrument, comprises hardware interface standard and the electronic music signal asynchronous serial host-host protocol between different hardware.The music file of midi format is different with the audio files of extended formatting, and what its write down is not sound signal, but the whole music score of music and the overall process of performance.Utilize computer technology, by soft source of sound and timing sequencer, the music file of midi format can play back on computers again with the synthetic simulated mode of software.It has been a very common thing that existing active computer produces music, and particularly along with the appearance of the real-time soft source of sound that adopts physical modeling technology, wave table synthetic technology, FM frequency modulation technology etc., the quality of the music that produces with computing machine is very high.Advantage with the computer software composite music is greatly to reduce the musical instrument cost, because play with computing machine, only need to add the simple flip flop equipment of a cover, this device sends electric signal continuously under the personnel's of performance manipulation, tell what note when computing machine play, and computing machine is synthesized with software thereupon.Because flip flop equipment is directly pronunciation not, many complex technologys, technology all can be saved during traditional instrument was made, and also needn't adopt some special materials to strengthen tone color.
But also should see simultaneously, although existing at present a lot of electronic musical instruments, these musical instruments, its playing mode and traditional instrument do not have substantial differences, have just added some subsidiary functions, as automatic accompaniment, produce harmony etc. automatically.For the player, he still needs to learn by heart music score, and expertly handles musical instrument with brain according to each note control finger.If being unfamiliar with music score just can't play.Do not train for a long time in advance simultaneously, musical instrument is unfamiliar with, point just dumbly, do not know this,, play and just do not become accent yet by how long by which key.Chinese patent application number is to have proposed a kind of instrument playing prompting device in 200410012708.5 the patent of invention, and it is made up of luminous point shifter and electronic controller.Electronic controller controls luminous point shifter is according to required musical notes corresponding local prompting luminous point that produces on musical instrument, the duration of this prompting luminous point is consistent with the note duration, its brightness or shape size or color are consistent with the note power, and the prompting player operates musical instrument with certain dynamics in the indicated place of prompting luminous point.Data such as the note of melody, note duration and note power are extracted from the midi format file or are imported from input keyboard.Electronic controller makes like this and also can correctly not play complete complicated song through any instrument playing people who trains and the people who is unfamiliar with music score according to continuous in proper order the moving of prompting luminous point that music data produces the luminous point shifter.The instrument playing prompting device that this invention proposed can be placed on the existing musical instrument simply, also can become one with existing musical instrument, but from ease of use, preferably integrated as a whole instrument playing prompting device and existing musical instrument.This combination is not that machinery is pieced together simply, and should be organically to merge.But concrete amalgamation mode does not intactly provide in foregoing invention, and it is a kind of new when having the musical instrument of prompt facility in design, how to absorb fully that electronics, computing machine are soft, the recent development of hardware technology, make new musical instrument intelligent stronger, function is more complete, use more conveniently, and cost is cheaper, and this also above-mentioned prior art not comprehensively, provide in detail.
Summary of the invention
The objective of the invention is to propose a kind of smart electronics musical instrument, it has made full use of, and modern computer is soft, the hardware technology resource, the tonequality grace, simple in structure, easy to use, with low cost, multiple functional, playing effect is good, particularly has prompt facility, promptly can help correctly not play complete melody through any instrument playing people who trains and the people who is unfamiliar with music score.
For achieving the above object, technical scheme of the present invention provides a kind of smart electronics musical instrument, it by bulb or laser diode or light emitting diode 4, trigger adorn 2, electro-acoustic synthesizer 15 and central controller 6 form; Bulb or laser diode or light emitting diode 4 are integrated on the flip flop equipment 2, and flip flop equipment 2 links to each other with central controller 6 by lead.
Described smart electronics musical instrument, flip flop equipment 2 is made up of one group of key 3, and each key 3 is opened the light by machinery or optoelectronic switch and bulb or laser diode or light emitting diode 4 are formed; Each machinery open the light or the wherein end of optoelectronic switch directly or the electronic chip by having buffering, latch function or the resistance I/O pin that is connected to microprocessor, an other end is directly or pass through resistance eutral grounding or power supply.
Described smart electronics musical instrument, flip flop equipment is made up of one group of key 3, and each key 3 is opened the light by simulated optical and bulb or laser diode or light emitting diode 4 are formed; Simulated optical is opened the light and is made up of light source 21, photo-detector 22, baffle plate 23 or reflecting surface, light source 21 and photo-detector 22 are fixed on the base 17 of flip flop equipment, photo-detector 22 directly or by multicircuit switch is connected to D/A converter, baffle plate 23 or reflecting surface are installed in the draw key body of key, and their position makes them to modulate the light intensity that light source 21 projects on the photo-detector 22.
Described smart electronics musical instrument, flip flop equipment 2 adopts modularization modular construction, each module comprises one or be no less than two each and every one keys 3, on the locus, independently or by locking, locating device be linked to be an integral body mutually between the module, and pass through plug 14 and socket 13 or lead and realize being electrically connected.
Described smart electronics musical instrument, central controller 6 is made up of computing machine 1 and microprocessor 7, and microprocessor 7 is connected to computing machine 1 by the serial or parallel mode.
Described smart electronics musical instrument, central controller 6 is made up of microprocessor 7, inside and/or external memory storage 9, and inside and/or external memory storage 9 are wired to microprocessor 7.
Described smart electronics musical instrument, flip flop equipment 2 is got in touch by optical fiber or radio communication reception, dispensing device or microwave communication reception, dispensing device or infrared communication reception, dispensing device and central controller 6.
Described smart electronics musical instrument, the smart electronics musical instrument that is no less than two is connected to same computing machine 1, or by cable or optical fiber or wirelessly connect sending and receiving and send that device or microwave communication reception, dispensing device or infrared communication receive, dispensing device is got in touch each other, realize that synchronous coordination is played or independent the performance.
Ultimate principle of the present invention is: produce trigger pip by flip flop equipment, sounded according to this signal controlling electro-acoustic synthesizer by central controller, constitute an electronic musical instrument cheaply like this; Integrated one or more bulbs or laser diode or light emitting diode on while each key in flip flop equipment, light in due course by these bulbs of central controller controls or laser diode or light emitting diode and to produce the prompting luminous point, the prompting player presses this key, and the moment of lighting, the residence time, brightness or shape size or change color be fully according to music data, and reflect music playing information fully.The player can recite or know music score like this, needs only the key of in time pressing on the flip flop equipment according to the variation of luminous point with eyes and can correctly play out complicated complete song.
According to above principle, the smart electronics musical instrument is the product that the instrument playing prompting device combines with existing electronic musical instrument.Organically merge, become one in order to make both, cardinal rule is that luminous point shifter in the instrument playing prompting device and electronic controller are combined to respectively in the flip flop equipment and electronic controller of electronic musical instrument, promptly the luminous point shifter in the instrument playing prompting device and the flip flop equipment of electronic musical instrument are become one, the electronic controller of electronic controller in the instrument playing prompting device and electronic musical instrument is combined as a new central controller.Complete structure to the smart electronics musical instrument goes through from flip flop equipment and two aspects of central controller below.
At first in above-mentioned smart electronics musical instrument, adopt miniature bulb or light emitting diode or laser diode to produce the prompting luminous point, because the general volume of these illuminators is very little, can integratedly easily be fabricated in each key on the flip flop equipment, therefore the design to flip flop equipment can not propose extra harsh requirement.The outward appearance of flip flop equipment and inner structure can design as shape, size and performance requirement and cost of manufacture according to actual needs like this.Be designed to example with outward appearance, small and exquisite if desired, be easy to carry, can select modularization modular construction, the key of numbers such as 16 or 24 or 32 is formed a module, and two or more modules are sliceable as a whole, and for example the module of three 24 keys can be spliced into the electronic musical instrument of one 72 key.In order to realize modular construction, the convenient splicing, the physical construction of flip flop equipment and electricity structure need be done specialized designs.In addition, a module also can only comprise a key, and through being worn over after the miniaturized design on the finger, press...with one's finger during performance pressure, knock desktop or other any surfaces that certain degree of hardness is arranged, the flip flop equipment that is worn on the finger will produce trigger pip, like this player can be at any time, perform music everywhere.For convenience, also can be directly on each button of computer keyboard integrated miniature bulb or laser diode or light emitting diode produce the lifting luminous point, and set up the correspondence table of a button and note, thereby computer keyboard be transformed into flip flop equipment.If make outdoor large music entertainment device, flip flop equipment can be done greatlyyer, can be made into foot-operatedly, or is embedded in other activity moulding inside etc., and at open-air atmosphere, carries out the protection design of aspects such as humidity, water smoke, sunlight.Further flip flop equipment can or be loaded onto receiver and transmitter by optical fiber, communicates by mode such as radio communication or microwave communication or infrared communication and central controller 7 and gets in touch, and saves the connection lead between them like this, is convenient to move.
In the design of the inner structure of flip flop equipment, can according to whether factor such as needs force feedback determine organization plan.If do not need force feedback, can select simple mechanical switch or optoelectronic switch, a wherein end of each switch directly or the chip by having buffering, latch function or the resistance I/O pin that connects microprocessor, an other end is direct or pass through resistance eutral grounding or power supply, certainly optoelectronic switch is also needed power to luminotron.When switch conduction, the I/O pin level step-down that is attached thereto or increase.Microprocessor carries out periodic polls to each I/O pin, check the height of I/O pin level, for example each millisecond poll once, like this, microprocessor is just known in each certain open the light conducting or off-state of the moment, and tell central controller, central controller just can send Note On corresponding with midi standard and Note Off signal and other control commands in view of the above.Force feedback if desired can select simulated optical to open the light, and wherein each simulated optical is opened the light and can be made up of light source, photo-detector, baffle plate or reflecting surface and D/A converter.Wherein baffle plate or reflecting surface move with key, light source projects is modulated to the light intensity on the photo-detector, the photosignal that makes photo-detector produce changes, after converting digital signal to by 8 D/A, this signal is connected to the I/O port of microprocessor by parallel line or string line.By a multicircuit switch, as No. 16 common multicircuit switches, 16 simulated optical are opened the light can a shared A/D converter, to reduce cost of manufacture.Read the I/O port data microprocessor cycle, and in time tell central controller the size variation of data, central controller just can send Note On, the NoteOff corresponding with midi standard and After Touch signal in view of the above.For example signal at a time surpasses a certain threshold value, represents that then switch presses, and at this moment central controller produces a Note On signal; Subsequently along with the variation of player's keystroke dynamics, the switch dipping and heaving, at this moment signal magnitude can be used After Touch signal indication; Be lower than a certain threshold value if signal at a time is reduced to, represent that then key discharges, at this moment central controller produces a Note Off signal.Because be provided with spring in the switch, the amplitude that key is pressed is big more, the power that needs is also big more, therefore with the simulated optical dynamics feel of simulation reconstruction piano key well of opening the light.
In above-mentioned smart electronics musical instrument, central controller can be made of jointly computing machine and microprocessor, and microprocessor is by the serial or parallel mode, as linking to each other with computing machine by interfaces such as USB, RS-232, IEEE-488, IEEE-1394, PS-485.During performance, computing machine extracts data from the midi format file, pass to microprocessor, microprocessor control bulb or laser diode or light emitting diode 4 are lighted and are produced the prompting luminous point, microprocessor is responsible for its I/O port is carried out periodic polls simultaneously, the triggered digital signal that collection and buffer memory flip flop equipment produce is given computing machine then; Computing machine produces the MIDI order according to the triggered digital signal received, and control electro-acoustic compositor is sounded, and simultaneously these command record is stored, and is used for playback and the correctness that the player plays is assessed.Certainly central controller also can only be made up of microprocessor, and this moment, all functions were all taken by microprocessor, therefore at this moment also should increase necessary accessory such as inside or external memory storage, display screen and button.The benefit that only adopts microprocessor is can not rely on computing machine and work, and structure is independent, is easy to carry.
Further specify the operational process of smart electronics musical instrument below with an object lesson.Midi standard has been stipulated 16 passages, and in corresponding a kind of musical instrument of certain moment passage or tone color, concrete corresponding musical instrument of each passage and tone color can be ordered with Program Change at any time and be provided with, change.The detailed content of midi standard can be referring to relevant document.When playing a first HZQ, the player is chosen in and instrumental ensembles the performance of taking on which kind of musical instrument in the melody at first by the Control Software on the computing machine.Suppose to have in the midi format music data file 62 93 4C, 46 such one group of hexadecimal data to need to play, these group data are illustrated in a last midi event is separated by moment of the individual MIDI clock of 62 (sexadecimals), the 4C key of the 3rd passage is pressed with the relative velocity of 46 (sexadecimals), and 9 promptly represent Note On.If the player just in time selects to play the musical instrument corresponding with the 3rd passage, then computing machine sends to microprocessor to data 4C 46, microprocessor control and the corresponding bulb of 4C key or laser diode or light emitting diode are lighted, brightness that bulb or laser diode or light emitting diode are lighted or number can be determined according to relative velocity 46 on the one hand, because general speed is fast more, keystroke dynamics is often also big more; Also can determine on the other hand according to the parameter in the After Touch order, because after the parameter among the After Touch reflected that key is pressed, the size of the follow-up dynamics that applies.The player is according to the prompting of prompting luminous point, press the pairing key of prompting luminous point with certain speed or dynamics, at this moment the switch connection in the key, the level of the corresponding I/O pin of microprocessor is changed, because the level size that microprocessor is ceaselessly periodically inquired about its I/O pin, therefore just know this change in a short period of time, and horse back is reported computing machine, computing machine has been known the note of the actual performance of player thus, and it is converted to and the corresponding Note On of midi standard, orders such as NoteOff and After Touch, control electro-acoustic synthesizer is sounded.Meanwhile, computing machine directly send the electro-acoustic synthesizer other passages with the corresponding MIDI performance of other musical instruments instruction, and the performance of other musical instruments is synthetic as a whole naturally in player's actual performance and the midi format file like this.Certainly the player also can close the performance of other musical instruments, only listens the solo of oneself.If the common first melody of playing of several people, each player should have a flip flop equipment, i.e. keyboard, but all keyboards should be connected to same computing machine, play so that coordinate.If there is not computing machine, can communicate contact each other by cable or optical fiber or radio communication or microwave communication or infrared communication technique, realize that synchronous coordination is played or independent the performance.
Except hardware, Control Software also is to influence the performance of smart electronics musical instrument and a key of ease of use.Because only just can additionally increase many functions by software.For example, performance speed can be set, when the player plays a first unfamiliar melody first, can be provided with to practise than jogging speed; Can on display screen, list all midi events in the first melody for player's reference, revise for another example, can also on display screen, list the midi event corresponding of recorded and stored simultaneously with the actual performance of player, this will be very useful to composer, because the actual playing procedure of composer is exactly a music score input process, if he is dissatisfied to some part, can on screen, revise at once, allow the amended melody of computing machine automatic playing again, the audition effect, if it is also dissatisfied, continue to revise, till satisfaction.To the HZQ of a plurality of musical instruments, tab can be set, allow the player select to want the musical instrument of playing.Some shortcuts such as playing startup, time-out, F.F., rewind down, loop play start-stop location definition, broadcasting speed control, recording, playback also should be provided certainly.If there is not computing machine,, should provide above-mentioned operating key and options button by hardware on the cabinet of central controller or on the panel of flip flop equipment because the alternating interface between man and computer function of common microprocessor is limited.
The present invention compared with prior art has the following advantages and effect:
Smart electronics musical instrument involved in the present invention is compared with existing electronic musical instrument, and maximum characteristics are to have increased prompt facility, makes also can correctly not play complete complicated song through any instrument playing people who trains and the people who is unfamiliar with music score.Simultaneously it is simple in structure, and complete function has made full use of the abundant software and hardware resource of modern computer, has realized high-quality musical instrument so that cost is low.
Description of drawings
Fig. 1 is that a kind of structure of smart electronics musical instrument is formed synoptic diagram.
When Fig. 2 adopts computing machine and microprocessor for central controller, the electrical block diagram of smart electronics musical instrument.
Fig. 3 is that central controller adopts microprocessor, and flip flop equipment is when being made up of two modules, the electrical block diagram of smart electronics musical instrument.
Fig. 4 is the performance Control Software schematic flow sheet of central controller.
Fig. 5 is when adopting mechanical switch, the key structural representation of smart electronics musical instrument.
When Fig. 6 blocks modulation system simulated optical switch for adopting, the key structural representation of smart electronics musical instrument.
Fig. 7 is when adopting reflection modulation formula simulated optical switch, the key structural representation of smart electronics musical instrument.
Fig. 8 when adopting miniature push type optoelectronic switch, the key structural representation of smart electronics musical instrument.
Fig. 9 is that the structure of smart electronics musical instrument is formed synoptic diagram when adopting two flip flop equipments.
Figure 10 is that the structure of smart electronics musical instrument is formed synoptic diagram when adopting computer keyboard as flip flop equipment.
Embodiment
Below in conjunction with accompanying drawing the present invention is further described:
According to Fig. 1, the smart electronics musical instrument is made up of light emitting diode 4, flip flop equipment 2, electro-acoustic synthesizer and central controller, and the electro-acoustic synthesizer adopts the sound synthesizer of computing machine 1 inside here, does not draw.Central controller is made up of computing machine 1 and microprocessor, and microprocessor is positioned at flip flop equipment 2 inside, does not also draw.Flip flop equipment 2 is made up of 12 keys 3, is integrated with an optoelectronic switch (not shown) in each key 3, is integrated with 3 light emitting diodes 4 on each key 3, and flip flop equipment 2 is connected to the USB mouth of computing machine 1 by cable 5.During performance, computing machine 1 reading of data from the midi format file at first, the setting of selecting in advance according to the player that plays an instrument, the data that wherein need to play are sent to microprocessor, the microprocessor control light emitting diode 4 corresponding with the note that needs to play lighted, produce the prompting luminous point, the prompting player presses this key with certain dynamics, if 3 light emitting diodes 4 on the key 3 are bright entirely, then expression needs to press this key more energetically, if have only a light emitting diode 4 to light, then represent to press this key with less power.After key 3 is pressed, its switch inside is connected, the level of the corresponding I/O pin of microprocessor is changed, the level state of its each I/O pin of the continuous poll of microprocessor, in case the level of certain I/O pin changes, report to computing machine 1 through USB interface at once, computing machine 1 knows thus when which key is pressed, produce the Note On order corresponding with midi standard immediately, control electro-acoustic synthesizer sends corresponding note.When this key is released, then produce Note Off order, control electro-acoustic synthesizer finishes the pronunciation of corresponding note.Computing machine 1 is ceaselessly lighted light emitting diode 4 on each key 3 according to music data, and the indication player handles, and so just can play out complete melody.Simultaneous computer 1 can also with good grounds player operate orders such as the moving Note On that produces, Note Off and all get off with the MIDI stored in file format, be used for playback, editor and compare the correctness that assessment is played with the music score correct data.In a first HZQ, which kind of musical instrument the player selects to play by the function software on the computing machine 1, be chosen in he oneself when playing simultaneously, the performance of other musical instruments is to close, still by computing machine 1 orders such as Note On, Note Off of corresponding other musical instruments in the midi format file are directly sent, control electro-acoustic compositor sounding, thus combine together with player's actual performance.
According to Fig. 2 as can be known, central controller 6 is made up of PC computing machine 1 and 80C51 microprocessor 7, and microprocessor 7 is connected to PC computing machine 1 by cable.Microprocessor 7 is positioned at flip flop equipment 2 on the locus, the circuit block diagram that draws here.Flip flop equipment 2 is made up of key 3, comprise a light emitting diode 4 and a switch 8 in each key 3,4 keys that only drawn among the figure, they are connected on first port in four I/O ports of 80C51 microprocessor 7, i.e. and pin numbering is on 8 pins of PAD0 to PAD7.More key is represented with suspension points in the drawings.In the performance, when needs are pressed certain key when playing certain note, in the time of for example need be by the key 3 gone up most in figure below, computing machine 1 is at first notified microprocessor 7, makes its PAD0 pin level become high level, and light emitting diode 4 is lighted like this, the player is under the prompting of this prompting luminous point, press key, connect switch 8, make the level on the PAD1 pin of microprocessor 7 become low level.Because microprocessor 7 is constantly periodically, for example once every 1 millisecond, the state of its I/O pin of poll, like this after switch 8 is pressed by the player, in maximum 1 millisecond, microprocessor 7 changes by the level on the PAD1 pin just can be known at once, notify PC computing machine 1 then immediately, explanation be when, which key is pressed, after PC computing machine 1 is received this trigger data signal, produce Note On order, the electro-acoustic synthesizer of control computer 1 inside sends corresponding note at once.Press key from the player and sound to the electro-acoustic compositor, the time interval in the middle of this generally is no more than 2 milliseconds, and player's fundamental sensation is less than time delay like this.
In Fig. 3, different with Fig. 2 is, central controller 6 is made up of microprocessor 7, storer 9, and storer 9 and electro-acoustic synthesizer 15 are wired to microprocessor 7 respectively.Flip flop equipment 2 is made up of module 10 and 11 two modules of module, these two modules respectively comprise 4 keys 3, a light emitting diode 4 and a switch 8 are arranged in each key, diode 4 and switch 8 are connected to microprocessor 7 by the chip PCF8574 with buffering, latch function, have adopted I2C (Inter-Integrated Circuit) technology when connecting.I2C links up a kind of bus architecture that connects between the IC chip.In chip,, therefore only need SDA and two leads of SCL because its address is built in the chip in I2C bus functionality.In Fig. 3, chip PCF8574 has used 4 leads to the connection of microprocessor 7, except SDA and SCL, also has power vd D and two leads of ground Vss.VDD, Vss, SDA and SCL at first are connected to the chip PCF8574 in the module 10, further are connected to chip PCF8574 in the module 11 by the socket 13 on plug on the module 10 14 and the module 11 again.When two modules were stitched together, they not only mechanically were linked to be an integral body like this, also were linked to be an integral body simultaneously on electricity.The midi format music file is direct or treated, after the compression, be stored in the storer 9, during performance, microprocessor 7 takes out data from storer 9, light emitting diode 4 in the control key 3 is lighted, the prompting player presses corresponding key, after key is pressed, switch 8 drags down the level of chip PCF8574 respective pin, because microprocessor 7 is by the level of the PCF8574 chip respective pin in SDA and continuous periodically two modules of poll of SCL, microprocessor 7 knows very soon when which button is pressed like this, produces Note On order then at once, and control electro-acoustic compositor 15 sends corresponding note.Same microprocessor 7 can also be operated the moving orders such as Note On, NoteOff that produce to the with good grounds player of institute and all store in the storer 9, is used for playback and compares the correctness of assessment performance performance with the music score correct data.
In Fig. 4, the performance Control Software flow process of central controller is divided into 11 steps such as a-k, describes one by one below.A step, prepare: comprise system is carried out the initialization setting, for example the file pointer that reads storer is made as midi event sum that file begins to locate, determine in the file and comprised etc.; Whether b step, read and play the parameter setting: read the performance parameter that the player sets, for example play speed, which kind of musical instrument the player prepares to play in a first HZQ, and whether the performance of other musical instruments closes, recording performance process etc.; In the c step, read next midi event: the data that read a midi event from the current file pointer position; The d step, judge that c goes on foot whether the midi event that reads is the note that needs the player to play, if, then enter the e step, if not, then enter the h step (if the performance synchronous playing of other musical instruments is set),, execute the back and enter the f step at once no matter enter the e step or enter the h step; E step, light light emitting diode: expose in the moment point of midi event regulation at present and answer light emitting diode in the key, the prompting player presses this key; In the f step, poll I/O port: constantly poll reads the state of I/O port, enters the g step then; The g step, have key to press: the state that goes on foot the I/O port that reads according to f judges whether that the state of which button changes, as be pressed, or the pressure on the button changes, or the button of having pressed is released etc., if then enter h step and/or i step, executing h step and/or i after the step, enter the j step at once; H step, control electro-acoustic synthesizer sounding: according to the instruction in d step and g step, control electro-acoustic compositor sounding, as start or stop the pronunciation of a certain note, or the power of the note that pronouncing of change etc.; If the player selects writing function when the performance parameter is set, then enter i and go on foot at once in h step back; I step: preserve the midi event data: recorded and stored d in the step directly from the MIDI file with g in the midi event data that trigger by player's button; In the j step, all midi events have been handled:, judge whether all midi events in the file read, are finished according to the initialization information of a in the step, if not, then the file pointer that reads storer is pointed to next midi event, and get back to the c step, if then enter the k step; The k step: play and finish.More than be when playing a first melody, the main flow process of central Control Software, the demonstration of other flow processs such as midi event, editor etc. do not comprise here.
In Fig. 5, key 3 is formed by light emitting diode 4 with by the mechanical switch that electroconductive elastic sheet 16, lead 18, copper sheet 20 constitute, lead 18 is connected on the electroconductive elastic sheet 16, and electroconductive elastic sheet 16 is fixed in the key draw key body 19, and copper sheet 20 is installed on the base 17 of flip flop equipment.When key 3 was in the release free state, electroconductive elastic sheet 16 did not contact with copper sheet 20.When key 3 is pressed, electroconductive elastic sheet 16 contact copper sheets 20, lead 18 is also connected with copper sheet 20 thereupon, if lead 18 connects a certain I/O pin of microprocessor, copper sheet 20 ground connection, then the level of this I/O pin is dragged down, and microprocessor knows that by poll key 3 has been pressed.
In Fig. 6, key 3 is formed by light emitting diode 4 with by the optical analogy switch that laser diode 21, baffle plate 23, silicon photocell 22 constitute, laser diode 21 and silicon photocell 22 are fixed on the base 17 of flip flop equipment, and baffle plate 23 is fixed in the key draw key body 19.When key 3 was in the release free state, the light that laser diode 21 sends can directly arrive silicon photocell 22, and silicon photocell 22 produces big photovoltaic voltage.When key 3 is pressed, drive baffle plate 23 and move downward, progressively cut off the light of the directive silicon photocell 22 that sends by laser diode 21, the photovoltaic voltage that silicon photocell 22 produces progressively reduces.Therefore the size of the photovoltaic voltage that produces of silicon photocell has just been reacted the size that the player is applied to the power on the key 3, because key also has a spring (not shown) 3 times, the compressed degree of this spring is big more, and needed pressure is also big more.The photovoltaic voltage that silicon photocell 22 produces is given A/D converter and is converted digital signal to, delivers to the I/O port of microprocessor then, its I/O port of the continuous poll of microprocessor, thus when know how much pressure that acts on what key is.If being increased to, pressure surpasses zero or a certain threshold value, then central controller produces a Note On order, if pressure is reduced to zero or below a certain threshold value, then produce a Note Off order, if key is pressed, Note On order is also sent, but be applied to pressure on the key 3 still in continuous variation, for example the player expresses certain emotion with this, then produces After Touch order, the also corresponding change of intensity of sound that control electro-acoustic compositor sends.Therefore by adopting the optical analogy switch, key 3 has the force feedback characteristic, can express player's emotion finer and smoothlyer, also more near the piano performance effect.Because pressure is divided into 128 grades in MIDI, therefore adopt 8 A/D converters can obtain enough accuracy.The photovoltaic voltage that general silicon photocell 22 produces can be strict not linear with the pressure that is applied on the key 3, but this can be compensated, revise by software by central controller.
In Fig. 7, key 3 is formed by light emitting diode 4 with by the reflection modulation formula photoswitc that laser diode 21, photodiode 24 constitute, and laser diode 21 and photodiode 24 are fixed on the base of flip flop equipment.The light that laser diode 21 sends arrives photodiode 24 by the reflection of the lower surface of key draw key body 19.When key 3 was pressed, the light that reflexes to photodiode 24 changed, and the photocurrent that it produces also changes thereupon.Therefore the variation of the photocurrent that produces from photodiode 24 can be known the state that key 3 is pressed equally.
In Fig. 8, key 3 opens the light by light emitting diode 4 with by the simulated optical that infrarede emitting diode 26, photodiode 24, catch 23, spring 28, overcoat 27, interior cover 29, cable 30 and 25 constitute and forms, overcoat 27 can slide with respect to interior cover 29, catch 23 is fixed on the overcoat 27, overlap on 29 in infrarede emitting diode 26 and photodiode 24 are fixed on, cable 25 is connected on the infrarede emitting diode 26, be used for to infrarede emitting diode 26 power supplies, cable 25 is connected on the photodiode 24, is used to draw the photocurrent that photodiode 24 produces.When overcoat 27 moved upward with respect to interior cover 29, catch 23 progressively cut off the infrared light of the directive photodiode 24 that infrarede emitting diode 26 sends, and the photocurrent that photodiode 24 produces also progressively reduces.Meanwhile overcoat 27 is big more with respect to the amount of movement that interior cover 29 moves upward, and spring 28 compressions are severe more, and the pressure that needs is also big more.Therefore the variation of the photocurrent that produces from photodiode 24 can be known the state that key 3 is pressed.Although overcoat 27 and interior cover 29 are painted as squarely among the figure, in fact they can be made into annular and are enclosed within on the finger.With respect to fingerboard, this microminiaturized flip flop equipment that is worn on the finger brings very large degree of freedom to the player, because needn't resembling, he plays the key of appointment in the place of appointment the playing piano, anything that this moment, the player knocked certain degree of hardness anywhere makes overcoat 27 with respect to interior cover 29 motions, can both send correct note, as long as he is with specific finger tapping, because switch is contained on the finger now, each points corresponding particular note.Certainly by switch key, but each points also real time altering of pairing note, the note interval scope that further expansion can be played. Cable 30,25 can directly be received the I/O port of microprocessor, or by wireless receiver and transmitter or infrared receiver and transmitter etc. the state of key 3 is sent to microprocessor.
In Fig. 9, two flip flop equipments 32,33 are received two USB mouths of computing machine 1 respectively by cable 31,34, and by computing machine 1 unified control, this has saved a computing machine on the one hand, is convenient to the player on the other hand and utilizes two flip flop equipments to instrumental ensemble same melody.A computing machine can connect 127 USB device in theory, will increase some USB HUB certainly so that more USB interface to be provided, and each flip flop equipment is preferably power autonomous.
In Figure 10, flip flop equipment 2 directly adopts computer keyboard 35, and it comprises keyboard button 3 and light emitting diode 4, is integrated with a light emitting diode 4 on each button 3 at least.Flip flop equipment 2 is connected to main frame 36 by cable 5, and display 37 is connected to main frame 36 by cable 38.Adopting the benefit of present design is to avoid adding extra flip flop equipment, because each computing machine all has a keyboard.

Claims (8)

1. smart electronics musical instrument is characterized in that it is made up of bulb or laser diode or light emitting diode (4), flip flop equipment (2), electro-acoustic synthesizer (15) and central controller (6); (40 are integrated on the flip flop equipment (2), and flip flop equipment (2) links to each other with central controller (6) by lead for bulb or laser diode or light emitting diode.
2. a kind of smart electronics musical instrument according to claim 1 is characterized in that flip flop equipment (2) is made up of one group of key (3), and each key (3) is opened the light by machinery or optoelectronic switch and bulb or laser diode or light emitting diode (4) are formed; Each machinery open the light or the wherein end of optoelectronic switch directly or the electronic chip by having buffering, latch function or the resistance I/O pin that is connected to microprocessor, an other end is directly or pass through resistance eutral grounding or power supply.
3. a kind of smart electronics musical instrument according to claim 1 is characterized in that flip flop equipment is made up of one group of key (3), and each key (3) is opened the light by simulated optical and bulb or laser diode or light emitting diode (4) are formed; Simulated optical is opened the light and is made up of light source (21), photo-detector (22), baffle plate (23) or reflecting surface, light source (21) and photo-detector (22) are fixed on the base (17) of flip flop equipment, photo-detector (22) directly or by multicircuit switch is connected to D/A converter, baffle plate (23) or reflecting surface are installed in the draw key body (19) of key, and their position makes them to modulate the light intensity that light source (21) project on the photo-detector (22).
4. a kind of smart electronics musical instrument according to claim 1, it is characterized in that flip flop equipment (2) adopts modularization modular construction, each module comprises one or be no less than two each and every one keys (3), on the locus, independently or by locking, locating device be linked to be an integral body mutually between the module, and pass through plug (14) and socket (13) or lead and realize being electrically connected.
5. a kind of smart electronics musical instrument according to claim 1 is characterized in that central controller (6) is made up of computing machine (1) and microprocessor (7), and microprocessor (7) is connected to computing machine (1) by the serial or parallel mode.
6. a kind of smart electronics musical instrument according to claim 1 is characterized in that central controller (6) is made up of microprocessor (7), inside and/or external memory storage (9), and inside and/or external memory storage (9) are wired to microprocessor (7).
7. a kind of smart electronics musical instrument according to claim 1 is characterized in that flip flop equipment (2) gets in touch by optical fiber or radio communication reception, dispensing device or microwave communication reception, dispensing device or infrared communication reception, dispensing device and central controller (6).
8. a kind of smart electronics musical instrument according to claim 1, the smart electronics musical instrument that it is characterized in that being no less than two is connected to same computing machine (1), or by cable or optical fiber or wirelessly connect sending and receiving and send that device or microwave communication reception, dispensing device or infrared communication receive, dispensing device is got in touch each other, realize that synchronous coordination is played or independent the performance.
CN 200410012814 2004-03-04 2004-03-04 Intelligent electronic musical instrument Pending CN1664918A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200410012814 CN1664918A (en) 2004-03-04 2004-03-04 Intelligent electronic musical instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200410012814 CN1664918A (en) 2004-03-04 2004-03-04 Intelligent electronic musical instrument

Publications (1)

Publication Number Publication Date
CN1664918A true CN1664918A (en) 2005-09-07

Family

ID=35035963

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200410012814 Pending CN1664918A (en) 2004-03-04 2004-03-04 Intelligent electronic musical instrument

Country Status (1)

Country Link
CN (1) CN1664918A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107578765A (en) * 2017-08-24 2018-01-12 得理电子(上海)有限公司 Applied to musical instrument or the controller of musical instruments
CN108538275A (en) * 2018-03-27 2018-09-14 扬州海宝教育科技有限公司 A kind of playing method for music robot of clapping hands
CN110167650A (en) * 2018-09-05 2019-08-23 尤中乾 Photosensitive mould group, electronic toy and its control method
CN110570835A (en) * 2018-06-05 2019-12-13 李曼圆 Portable electronic laser piano capable of being externally connected with intelligent terminal
CN111223355A (en) * 2020-01-16 2020-06-02 深圳大学 Musical instrument fingering correction device, system and method and musical instrument

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107578765A (en) * 2017-08-24 2018-01-12 得理电子(上海)有限公司 Applied to musical instrument or the controller of musical instruments
CN108538275A (en) * 2018-03-27 2018-09-14 扬州海宝教育科技有限公司 A kind of playing method for music robot of clapping hands
CN110570835A (en) * 2018-06-05 2019-12-13 李曼圆 Portable electronic laser piano capable of being externally connected with intelligent terminal
CN110167650A (en) * 2018-09-05 2019-08-23 尤中乾 Photosensitive mould group, electronic toy and its control method
WO2020047772A1 (en) * 2018-09-05 2020-03-12 尤中乾 Photosensitive module, and electric toy and control method therefor
CN111223355A (en) * 2020-01-16 2020-06-02 深圳大学 Musical instrument fingering correction device, system and method and musical instrument

Similar Documents

Publication Publication Date Title
US11853513B2 (en) Toys with capacitive touch features
US10895914B2 (en) Methods, devices, and methods for creating control signals
US9558727B2 (en) Performance method of electronic musical instrument and music
Marrin Toward an understanding of musical gesture: Mapping expressive intention with the digital baton
US8022288B2 (en) Musical instrument
JP2002049301A (en) Key display device, electronic musical instrument system, key display method and memory medium
CN203102847U (en) Intelligent piano
CN1652203A (en) Prompting device for playing musical instrument
CN201927336U (en) Musical instrument digital interface (MIDI) electronic drum
CN200969209Y (en) Multifunctional digital violin
US20220283655A1 (en) Toys with connected play
US10621963B2 (en) Electronic musical instrument with device
CN109427222A (en) A kind of intelligent Piano Teaching system and method based on cloud platform
CN1961349A (en) Musical instrument
US20170278496A1 (en) Interactive stringed musical instrument and system comprising the same
CN2715292Y (en) Intelligent electronic musical instrumens
CN1664918A (en) Intelligent electronic musical instrument
CN2735473Y (en) Musical performance prompter
CN2655363Y (en) Digital music teaching device
CN208655232U (en) A kind of intelligent piano being provided with weight Dynamics keyboard
CN1570826A (en) Music input system, input signal processing method and keyboard device
CN201984803U (en) Microcomputer controlled digital stringed instrument
EP3986585B1 (en) Toys with capacitive touch features
EP2084701A2 (en) Musical instrument
McGlynn Interaction design for digital musical instruments

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20050907