CN1773473A - Method for realizing electronic music signal inputting equipment utilizing software virtual technique combined with hardware - Google Patents

Method for realizing electronic music signal inputting equipment utilizing software virtual technique combined with hardware Download PDF

Info

Publication number
CN1773473A
CN1773473A CN 200410090771 CN200410090771A CN1773473A CN 1773473 A CN1773473 A CN 1773473A CN 200410090771 CN200410090771 CN 200410090771 CN 200410090771 A CN200410090771 A CN 200410090771A CN 1773473 A CN1773473 A CN 1773473A
Authority
CN
China
Prior art keywords
hardware
software
midi
electronic music
music signal
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 200410090771
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 200410090771 priority Critical patent/CN1773473A/en
Publication of CN1773473A publication Critical patent/CN1773473A/en
Pending legal-status Critical Current

Links

Images

Abstract

A method for realizing electronic music signal input device by utilizing software virtual technology integrating with hardware includes using nonstandard MIDI hardware device and software virtual technology to realize function of partial MIDI keyboard, utilizing MIDI processing software to realize purpose of outputting sound.

Description

Utilize software virtual technique combined with hardware to realize the method for electronic music signal inputting equipment
Technical field
The present invention relates to realize a kind of method of electronic music signal inputting equipment, it can utilize the software virtual hardware mode to simplify the structure of electronic music signal inputting equipment.Specifically, the present invention relates to computer software virtual technology and hardware technology, proposed a kind of method of utilizing software virtual technique combined with hardware to realize electronic music signal inputting equipment.
Background technology
As everyone knows, musical instrument is the indispensable important tool of act of music, traditional instrument such as piano, violin, organ etc. by its different separately characteristic tone color performing art the artistic work of different-style, but traditional instrument exists complex manufacturing technology, shortcoming that can not performing art inhomogeneity instrument tamber.
Along with the continuous development of electronic technology, the analog electrical acoustic musical instrument of simulation electronic qin and so on has appearred, and their manufacture craft is simplified relatively, the diversified advantage of the tone color of performance, but exist tone color stiff, the shortcoming of the real instrument that can't match in excellence or beauty.
Along with digital technology fast development of computer technology particularly, the simulation electronic musical instrument is replaced by the digital and electronic musical instrument gradually, be not in conjunction with the powerful digital processing ability of computing machine, brought earth-shaking variation for the creation mode of music.At the well-known equipment of popularizing the most of digital and electronic music field is the MIDI keyboard, it links to each other with computing machine by midi interface, be used for meeting the music information of midi standard, can finish the function that most of traditional instrument can be finished in such a way to the computing machine input.This kind equipment is powerful, but because if equipment satisfies the input and output requirement of midi standard, need on hardware, use a large amount of hardware encodings and control circuit, cause the hardware configuration complexity, cost of manufacture and selling price are high, can't satisfy common music-lover's requirement.Have some inventors to realize the partial function of MIDI keyboard by singlechip technology and is connected with computing machine by the standard midi interface, high owing to the singlechip technology cost still still can not the first mate reduces the cost of music input equipment.
Meanwhile, can simulate the partial function of MIDI keyboard to a certain extent by software engineering, as the virtual piano in the Cakewalk software (Virtual Piano) software is exactly fingerboard of form simulation by software, makes as Keyboard Music software in addition and can import music information by common PC keyboard by personal computer user.This class software greatly reduces the hardware result and the cost of music input equipment, but because it does not generally possess the dynamics sensing apparatus, can not show the music dynamics, does not meet the use habit of traditional melody.And the expressive force of tone color depends on the establishment level of software to a great extent, lacks unified input and output standard between the software, can't accomplish compatible the use, so often can not be fully up to expectations on the expressive ability of tone color.
The present invention is intended to propose a kind of method of utilizing software virtual technique combined with hardware to realize electronic music signal inputting equipment, has both possessed the powerful music signal input function of MIDI keyboard, has the cheap advantage of virtual music musical instrument software cost again concurrently.
The present invention also is intended to propose to utilize software virtual technique to realize the method for the electronic music signal inputting equipment that a kind of cross-platform software compatibility is good.
Summary of the invention
The technical problem to be solved in the present invention is, a kind of method of utilizing software virtual technique combined with hardware to realize electronic music signal inputting equipment has been proposed, utilize software virtual technique that the hardware configuration of electronic music signal inputting equipment is significantly reduced, and make this method have the software compatibility and cross-platform transplantability by software virtual technique.
In order to solve present technical matters, the present invention adopts following technical proposals to be achieved.
The mode of utilizing the method to utilize software virtual technique combined with hardware to realize designs whole electronic music signal inputting equipment, comprises two main design part of software and hardware.
The function of hardware components is to import the signal of having represented key position information and dynamics information, and sort signal can be that digital signal also can be a simulating signal, can be the also parallel of serial.It is characterized in that the signal form of input is simple, does not pass through specific coding, does not meet midi standard.In addition, the function of hardware components of the present invention can only be used for the numerical information of enter key position, and can calculate the information of representative dynamics or the information of other implications by the combination of different keys position information.Those skilled in the art understands: link between hardware components of the present invention and software section and processing unit, processor can be digital signal processor or application specific processor or embedded chip, link can be inner, also can be based on MIC IN analog input interface such as PS2, serial ports COM, USB (universal serial bus) (USB) or sound card, hardware components of the present invention can also have Radio Link, than infrared or radio frequency.
Software section comprises hardware drive program module and software virtual technique program module.Particularly point out, software section of the present invention does not comprise MIDI information processing function, and the present invention can utilize the MIDI process software (as Cakewalk) of existing or following establishment to carry out the MIDI information processing.For the MIDI process software that the support MIDI keyboard of variant platform is imported, the present invention can both provide support.It is transparent for each MIDI process software in logic that the present invention makes the simple electronic music signal inputting equipment of hardware, and each MIDI process software can only see that a physically also non-existent MIDI keyboard is communicating with it.
The hardware drive program module is the general designation according to the software program of the requirement establishment of the hardware configuration of different electronic music signal inputting equipments and operating system, its function is that the operate as normal for electronic music signal inputting equipment hardware provides the software support, and is consistent as the driver notion that those skilled in the art understands.
The structure of software virtual program module comprises with the hardware drive program module carries out the interface module, data processing modular converter, program controling module of exchanges data and carries out the interface module of exchanges data with the MIDI process software.When the user knocks hardware, hardware can pass to hardware drive program by hardware link with corresponding data, hardware drive program is given the data processing modular converter by the interface module of carrying out exchanges data with the hardware drive program module with data transfer, the data processing modular converter becomes data-switching to meet midi standard and meet the data message that the MIDI process software requires under the control of program controling module, and the data processing modular converter will change the data message of getting well and pass to the MIDI process software by the interface module of carrying out exchanges data with the MIDI process software and handle then.
Above-mentioned hardware drive program module and software virtual program module can be to combine, the unified driver that becomes hardware device, make that the hardware device of non-midi standard is transparent for operating system, operating system will be used as a standard MIDI input equipment to it and handle.
The program controling module of software virtual program module can respond the control and the Query Information of MIDI process software, makes MIDI equipment can finish corresponding initialization and configuration effort.
The present invention has realized the function of part MIDI keyboard by the hardware device and the software virtual technique that use non-midi standard, and utilizes the MIDI process software to reach the purpose of output sound.
Description of drawings
Below in conjunction with drawings and Examples the present invention is further described.
Fig. 1 is the method for standard MIDI keyboard as electronic music signal inputting equipment.
Fig. 2 utilizes software virtual technique to realize the method for electronic music signal inputting equipment in conjunction with the digital hardware equipment of serial outgoing position scan code.
Fig. 3 embeds hardware drive program is realized electronic music signal inputting equipment in conjunction with the simulation electronic hardware device of input square wave method with software virtual technique.
Embodiment
Fig. 2 is one embodiment of the present of invention.The design feature of present embodiment is, hardware module adopts the digital hardware equipment of serial outgoing position scan code, divide into two analyzing spots for each button, when key is depressed by the user, two analyzing spots conducting successively and by the digital hardware recognition of devices, hardware device passes to the hardware drive program module with the position scan code of two analyzing spots by link.Carry out the interface communication of exchanges data with the hardware drive program module in hardware drive program module and the software virtual program module, scan code is passed to the data processing modular converter.The data processing modular converter carries out data-switching, at first at first determine unique key coding according to the position scan code of two analyzing spots, secondly the time interval that arrives according to the position scan code of two analyzing spots calculates the dynamics value corresponding to key coding, key coding and dynamics value is combined according to midi standard to convert standard MIDI coding at last.The standard MIDI coding that the interface module of carrying out exchanges data with the MIDI process software forms the data processing modular converter passes to MIDI process software (being Cakewalk in the present embodiment), by the MIDI process software according to the midi standard decoding processing.Program controling module is used for the Control work of data processing modular converter, and can add the function that hardware can't be supported, as the software control of volume, change the skin technology, by functions such as network dynamic updates.
The foregoing description has cross-platform transplantability.For digital processing devices such as individual palm PC (PDA), MP3 players, utilization ripe MIDI process software on these digital processing devices, the interface module of only need the hardware drive program module, carry out the interface of exchanges data with the hardware drive program module, carrying out exchanges data with the MIDI process software is carried out the purpose that corresponding modification just can reach cross-platform transplanting.
The interface module of carrying out exchanges data with the MIDI process software in the foregoing description is because the international midi standard of the data fit of output, so the present invention will have back compatible, provides support equally to the MIDI process software of establishment in the future.
Fig. 3 is another embodiment of the present invention.Hardware device adopts the simulation electronic hardware device of input square wave in the present embodiment, and electronic hardware equipment is to the continuous square wave of processing unit output, and different frequencies is represented the key position, and different amplitudes are represented dynamics, link by analog interface and processing unit.The software virtual program module is integrated as in the hardware drive program module, forms an integral body with the hardware drive program module, finishes driving hardware and data converting function, and the MIDI information after the conversion is passed to the MIDI process software.

Claims (6)

1. method of utilizing software virtual technique combined with hardware to realize electronic music signal inputting equipment, comprise two main design part of software and hardware, software section comprises hardware drive program module and software virtual technique program module composition, it is characterized in that: hardware drive program module drive hardware design part sends the non-MIDI coded message that comprises key position information and dynamics information in logic to the software virtual technique program module, convert thereof into the MIDI information that meets midi standard by the software virtual technique program module, and the MIDI information after will changing sends third party MIDI process software to.
2. the method for utilizing software virtual technique combined with hardware to realize electronic music signal inputting equipment according to claim 1, it is characterized in that: the software virtual program module is integrated as in the hardware drive program module, form an integral body with the hardware drive program module, finish driving hardware and data converting function, the MIDI information after the conversion is passed to the MIDI process software.
3. according to claim 1, the 2 described methods of utilizing software virtual technique combined with hardware to realize electronic music signal inputting equipment, it is characterized in that: described hardware components is a digital signal to processor unit output.
4. according to claim 1, the 2 described methods of utilizing software virtual technique combined with hardware to realize electronic music signal inputting equipment, it is characterized in that: described hardware components is a simulating signal to processor unit output.
5. according to claim 1,2,3, the 4 described methods of utilizing software virtual technique combined with hardware to realize electronic music signal inputting equipment, it is characterized in that: so the software and hardware design is that logic is transparent for third party MIDI process software, for third party MIDI process software, utilize software virtual technique combined with hardware to realize that the method for electronic music signal inputting equipment makes it think that a physics MIDI keyboard is communicating with.
6. according to claim 1,2,3, the 4 described methods of utilizing software virtual technique combined with hardware to realize electronic music signal inputting equipment, it is characterized in that: so the software and hardware design is that logic is transparent for operating system, for operating system, utilize software virtual technique combined with hardware to realize that the method for electronic music signal inputting equipment makes it think that a physics MIDI keyboard is communicating with.
CN 200410090771 2004-11-10 2004-11-10 Method for realizing electronic music signal inputting equipment utilizing software virtual technique combined with hardware Pending CN1773473A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200410090771 CN1773473A (en) 2004-11-10 2004-11-10 Method for realizing electronic music signal inputting equipment utilizing software virtual technique combined with hardware

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200410090771 CN1773473A (en) 2004-11-10 2004-11-10 Method for realizing electronic music signal inputting equipment utilizing software virtual technique combined with hardware

Publications (1)

Publication Number Publication Date
CN1773473A true CN1773473A (en) 2006-05-17

Family

ID=36760458

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200410090771 Pending CN1773473A (en) 2004-11-10 2004-11-10 Method for realizing electronic music signal inputting equipment utilizing software virtual technique combined with hardware

Country Status (1)

Country Link
CN (1) CN1773473A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101673540A (en) * 2009-08-13 2010-03-17 上海酷吧信息技术有限公司 Method and device for realizing playing music of mobile terminal
CN101436165B (en) * 2007-11-15 2012-06-27 国际商业机器公司 System and method for management of an IOV adapter
CN111352790A (en) * 2020-02-20 2020-06-30 Oppo(重庆)智能科技有限公司 Test method and device for reporting input event, mobile terminal and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101436165B (en) * 2007-11-15 2012-06-27 国际商业机器公司 System and method for management of an IOV adapter
CN101673540A (en) * 2009-08-13 2010-03-17 上海酷吧信息技术有限公司 Method and device for realizing playing music of mobile terminal
CN111352790A (en) * 2020-02-20 2020-06-30 Oppo(重庆)智能科技有限公司 Test method and device for reporting input event, mobile terminal and storage medium

Similar Documents

Publication Publication Date Title
CN109785820A (en) A kind of processing method, device and equipment
US20120167747A1 (en) Method and Device for Playing of Musical Melodies
JP2003528385A (en) Multimedia keyboard with stringed instrument module
CN107705776A (en) The System and method for that a kind of intelligent piano or so keyboard subregion uses
CN112203114A (en) Collaborative playing method, system, terminal device and storage medium
Pope Machine tongues XV: Three packages for software sound synthesis
KR20160112202A (en) Apparatus for Integrated Control of Musical Instrument Play Robots
CN1773473A (en) Method for realizing electronic music signal inputting equipment utilizing software virtual technique combined with hardware
Tanev et al. Virtual studio technology inside music production
CN1570826A (en) Music input system, input signal processing method and keyboard device
Correya et al. Essentia TensorFlow models for audio and music processing on the web
CN105739995A (en) Playing simulating method and playing simulating module
Välimäki Physics-based modeling of musical instruments
Schiemer et al. Pocket gamelan: developing the instrumentarium for an extended harmonic universe
CN1389850A (en) Computer-aided method of playing music like that of common music instrument in electronic keyboard
Nash The'E'in QWERTY: Musical Expression with Old Computer Interfaces.
Nitheezkant et al. Guitar-For-All-A Programmable Single Touch Synthetic Guitar
CN1719406A (en) Method of proceeding visible allocation against interface in terminal equipment using personal computer
JP4144307B2 (en) Character input device using musical instrument keyboard
GB2443450A (en) System for allowing modulation of individual keys on an electronic keyboard
Rumsey Modular synths and embedded computing
KR200281848Y1 (en) Electronic keyboard instrument compatible with computer keyboard
CN1366293A (en) Numeral keypad method for inputting numbered musical notations
CN116612788A (en) Emotion recognition method, device, equipment and medium for audio data
Bezzi et al. Sound authoring tools for future multimedia systems

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