CN103956156B - MIDI data processing method in Intelligent electronic musical instrumens - Google Patents

MIDI data processing method in Intelligent electronic musical instrumens Download PDF

Info

Publication number
CN103956156B
CN103956156B CN201410101197.8A CN201410101197A CN103956156B CN 103956156 B CN103956156 B CN 103956156B CN 201410101197 A CN201410101197 A CN 201410101197A CN 103956156 B CN103956156 B CN 103956156B
Authority
CN
China
Prior art keywords
midi
event
note
events
expansion
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.)
Active
Application number
CN201410101197.8A
Other languages
Chinese (zh)
Other versions
CN103956156A (en
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.)
Anhui Huasha Technology Co Ltd
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 CN201410101197.8A priority Critical patent/CN103956156B/en
Publication of CN103956156A publication Critical patent/CN103956156A/en
Application granted granted Critical
Publication of CN103956156B publication Critical patent/CN103956156B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)
  • Auxiliary Devices For Music (AREA)

Abstract

The invention discloses MIDI data processing method in a kind of Intelligent electronic musical instrumens, the complexity adopting the expansion event of MIDI agreement to mark in the music score of Chinese operas composes face format information, when running into the complex symbol across two notes, splitting into of this complex symbol is started and terminate two expansion events, mark is to corresponding note respectively, go association expansion event by setting up corresponding relation in groups between two expansion events simultaneously, with record symbol information, when certain spectrum face format information of a deletion MIDI note, all events of its correspondence are deleted by inquiring about its corresponding relation, add, revise and store when adopting standard MIDI file SMF form the music score of Chinese operas containing music score of Chinese operas format information, by adopting the data structure with MIDI protocol compatible, carry out transmission package containing format information at interior midi event, when carrying out the transmission of MIDI, equally the midi event comprising these format informations is transmitted.

Description

MIDI data processing method in Intelligent electronic musical instrumens
Technical field
The present invention relates to MIDI data processing method field, be specially MIDI data processing method in a kind of Intelligent electronic musical instrumens.
Background technology
Current, the music score of Chinese operas taking staff as representative, as the music mark mode be widely used, achieves electronization at publishing area.The software of setting the chessman on the chessboard according to the chess manual of different price and location, difference in functionality degree of perfection, has enriched the selection of music-lover and publisher.Software of setting the chessman on the chessboard according to the chess manual on conventional PC has Lilypond, Overture, Sibelius, Finale etc., these specialties usual function of software of setting the chessman on the chessboard according to the chess manual is complicated, bulky, to derive manuscript for forms such as the PDF that prints for target, typesetting instruction is carried out storing for reading, amendment with privately owned text or binary format and derives.Meanwhile, these software derivation to music score of setting the chessman on the chessboard according to the chess manual support midi format mostly.
With the electronic musical instrument that mellotron, fender are representative, have except greater advantage except comparing traditional instrument in cost, portability with in effect, also by the midi interface of industrywide standard, by the data stream of cable transmission midi format, achieve interconnecting and module cutting of the functional modules such as MIDI controller, sequencer and compositor, electronic musical instrument is made namely to can be used for direct performance, also the input equipment as digital music workstation (DAW) be can be used for, musical composition, record and editor facilitated.
But the output device of traditional electronic musical instrument not except sound and midi signal, music score can not be shown, more can not carry out interaction based on music score display with player, cannot reach do not rely on the papery music score of Chinese operas this, the external elements such as teacher or the head of a family carry out imparting knowledge to students and the effect of amusement.Along with the development of electronic technology, the New Generation of Intelligent electronic musical instrument being representative with Intelligent electric piano arises at the historic moment.They adopt embedded technology, LCD display screen is combined with conditional electronic musical instrument, be aided with powerful multi-media processing core, novel input-output device (as touch-screen, LED etc.) and custom-designed system software and interface, electronic score display, performance hint and progress can be realized follow, play the multiple interactive behavioral functions such as evaluation, instructional video and game, also by the input and output of midi signal, with other tradition or novel intelligent electronic musical instrument, and other electronic equipments such as PC, DAW realize interconnected with interaction.
Qu Ku and music score of Chinese operas display, as two comprising modules of Intelligent electronic musical instrumens, in order to keep interconnected and synchronous with other modules, also need the agreement that the form taking MIDI compatible inputs or outputs as it.But the MIDI agreement of standard cannot represent all multispectral format informations, such as liaison line information, arpeggio information etc., carry out display according to the event of standard MIDI and can only show basic note information, the spectrum face form of these complexity cannot be realized, and midi event cannot be mapped with display element and positions by specialty set the chessman on the chessboard according to the chess manual mode that software takes on the one hand, the operations such as prompting, cannot combine with the function of Intelligent electronic musical instrumens itself, privately owned form complicated on the other hand and mandate also make that it is transplanted to embedded platform from PC and have very high threshold, and runnability and efficiency can not be guaranteed.
Summary of the invention
The object of this invention is to provide MIDI data processing method in a kind of Intelligent electronic musical instrumens, to solve MIDI data processing Problems existing in prior art Intelligent electronic musical instrumens.
In order to achieve the above object, the technical solution adopted in the present invention is:
MIDI data processing method in Intelligent electronic musical instrumens, it is characterized in that: adopt the expansion event of MIDI agreement to mark the complexity spectrum face format information in the music score of Chinese operas, described expansion event is logically subordinated to a nearest before it MIDI note events, and the time difference of the expansion event of MID note events and subordinate is 0;
When running into the complex symbol across two notes, terminate to another note from a note, initial the splitting into of this complex symbol is started and terminate two expansion events, mark is to corresponding note respectively, simultaneously by mark group information respectively in these two expansion events, the corresponding relation in groups set up between event goes association expansion event, with record symbol information, when complex symbol works to more multitone symbol, by this analogize split into more events and in these events mark group information;
When certain spectrum face format information of a deletion MIDI note, and when the event on MIDI note is an event across note, delete all events of its correspondence by inquiring about its corresponding relation;
Add, revise and store when adopting standard MIDI file SMF form the music score of Chinese operas containing music score of Chinese operas format information, by adopting the data structure with MIDI protocol compatible, carry out transmission package containing format information at interior midi event, when carrying out the transmission of MIDI, equally the midi event comprising these format informations is transmitted.
The present invention is by expanding midi format, define a kind of rule expanding event for representing many music score spectrum faces format information that can not represent in MIDI agreement, achieve the compatibility with existing Intelligent electronic musical instrumens architectural framework and interconnected host-host protocol, also be convenient to implement on embedded device, the display of music score spectrum face form in staff score can be completed when resource-constrained, the blank that Intelligent electronic musical instrumens is supported the face display of complex format spectrum can be filled up, make to carry out the operations such as teaching based on Intelligent electronic musical instrumens more professional, practical.
Accompanying drawing explanation
Fig. 1 deletes in the specific embodiment of the invention across composing format information operating result display figure in face before note.
Fig. 2 deletes in the specific embodiment of the invention across composing format information operating result display figure in face after note.
Fig. 3 is MIDI data processor system module figure.
Embodiment
MIDI data processing method in Intelligent electronic musical instrumens, the complexity adopting the expansion event of MIDI agreement to mark in the music score of Chinese operas composes face format information, described expansion event is logically subordinated to a nearest before it MIDI note events, and the time difference of the expansion event of MIDI note events and subordinate is 0;
When running into the complex symbol across two notes, terminate to another note from a note, initial the splitting into of this complex symbol is started and terminate two expansion events, mark is to corresponding note respectively, simultaneously by mark group information respectively in these two expansion events, the corresponding relation in groups set up between event goes association expansion event, with record symbol information, when complex symbol works to more multitone symbol, by this analogize split into more events and in these events mark group information;
When certain spectrum face format information of a deletion MIDI note, and when the event on MIDI note is an event across note, delete all events of its correspondence by inquiring about its corresponding relation;
Add, revise and store when adopting standard MIDI file SMF form the music score of Chinese operas containing music score of Chinese operas format information, by adopting the data structure with MIDI protocol compatible, carry out transmission package containing format information at interior midi event, when carrying out the transmission of MIDI, equally the midi event comprising these format informations is transmitted.
Specific embodiment:
Being used for the expansion event of the MIDI agreement marking spectrum face format information can be metaevent (Meta Event, be designated as Meta) in the peculiar event of sequencer (Sequencer Specific Event, be designated as SeqSpec), also can be the exclusive event of system (System Exclusive Event, is designated as SysEx).The data of this event, with manufacturer's prefix beginning, remember that this prefix is MP, and mark spectrum face format information is designated as CE.The mistiming (Delta Time) of midi event is designated as xx, and the byte total length of MP and thereafter followed data is designated as yy, and other data represent with the hexadecimal sequence separated by byte.If except there being expansion necessary, can the format information of serializing after CE again outside plus, be designated as zz.The above expansion event format is as shown in table 1.Ensuing explanation is as the criterion in SeqSpec mode and illustrates.
Table 1 is used for the record sheet of the expansion event marking spectrum face format information
Method Record form MIDI protocol data
SeqSpec method xx SeqSpec MP CE zz xx FF7F yy MP CE zz
SysEx method one xx SysEx F0MP CE zz xx F0MP CE zz F7
SysEx method two xx SysEx MP CE zz xx F7MP CE zz F7
Expansion event is logically subordinated to a nearest before it MIDI note events, and the time difference of these two events is 0.The MIDI note events be associated with expansion event can be note onset events (Note On Event, be designated as NoteOn, wherein dynamics be 0 NoteOn express the implication identical with NoteOff), also can be note end event (Note Off Event, is designated as NoteOff).The passage of note note events is c, and pitch is pp, and dynamics is vv, then the recording mode that can adopt is as shown in table 2.Ensuing explanation one is illustrated for standard in method.Note the lowercase decimally numerals such as xx, pp, vv that " record form " is inner, " MIDI protocol data " is inner to be represented (the more than one byte of variable length integer possibility) with hexadecimal byte sequence; C is in " record form " any one that can be in tens digit 1 to 16 inner, and in " MIDI protocol data ", corresponding hexadecimal digit 0 is to F.
Table 2 is used for marking the record sheet of the expansion event of spectrum face format information and the note events of its subordinate
If run into the complex symbol across two notes, from a note, terminate to another note, then initial the splitting into of this symbol is started and terminate two expansion events, mark is to corresponding note respectively, goes association expansion event with record symbol information by setting up certain corresponding relation between these two events simultaneously.The passage of note note events is c, and pitch is pp, and dynamics is vv, and the expansion event marshalling after format symbol being split, group name is designated as gg, can be as shown in table 3 below by special format information record according to the mode of method in table 2 one.
Table 3 is across the record sheet of the complexity spectrum face format symbol of two notes
When certain spectrum face format information of a deletion MIDI note, when this event on note is an event across note, delete all events of its correspondence by inquiring about its corresponding relation.As shown in Figure 1 and Figure 2, when liaison line information on deletion the 5th brief summary note time, system will be searched for by incidence relation automatically, after finding the corresponding informance of coupling, deletes the liaison line information on that note of the 6th brief summary associated by it simultaneously.
Standard MIDI file (SMF) form is adopted to add, amendment and the music score of Chinese operas stored containing music score of Chinese operas format information, in internal system, adopt and carry out transmission package containing format information at interior midi event with the data structure of MIDI protocol compatible, when the smart electronics music system relevant to system carries out the transmission of MIDI, equally the midi event comprising these format informations is transmitted, as shown in Figure 3.

Claims (1)

1. MIDI data processing method in Intelligent electronic musical instrumens, it is characterized in that: adopt the expansion event of MIDI agreement to mark the complexity spectrum face format information in the music score of Chinese operas, described expansion event is logically subordinated to a nearest before it MIDI note events, and the time difference of the expansion event of MIDI note events and subordinate is 0;
When running into the complex symbol across two notes, terminate to another note from a note, initial the splitting into of this complex symbol is started and terminate two expansion events, mark is to corresponding note respectively, simultaneously by mark group information respectively in these two expansion events, the corresponding relation in groups set up between event goes association expansion event, with record symbol information, when complex symbol works to more multitone symbol, by this analogize split into more events and in these events mark group information;
When certain spectrum face format information of a deletion MIDI note, and when the event on MIDI note is an event across note, delete all events of its correspondence by inquiring about its corresponding relation;
Add, revise and store when adopting standard MIDI file SMF form the music score of Chinese operas containing music score of Chinese operas format information, by adopting the data structure with MIDI protocol compatible, carry out transmission package containing format information at interior midi event, when carrying out the transmission of MIDI file, equally the midi event comprising these format informations is transmitted.
CN201410101197.8A 2014-03-17 2014-03-17 MIDI data processing method in Intelligent electronic musical instrumens Active CN103956156B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410101197.8A CN103956156B (en) 2014-03-17 2014-03-17 MIDI data processing method in Intelligent electronic musical instrumens

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410101197.8A CN103956156B (en) 2014-03-17 2014-03-17 MIDI data processing method in Intelligent electronic musical instrumens

Publications (2)

Publication Number Publication Date
CN103956156A CN103956156A (en) 2014-07-30
CN103956156B true CN103956156B (en) 2015-09-23

Family

ID=51333422

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410101197.8A Active CN103956156B (en) 2014-03-17 2014-03-17 MIDI data processing method in Intelligent electronic musical instrumens

Country Status (1)

Country Link
CN (1) CN103956156B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104036760A (en) * 2014-05-24 2014-09-10 熊世林 Marking method for cross-track expression of electronic music score
CN104409071B (en) * 2014-09-22 2019-04-02 安徽华熊科技有限公司 Different two note display methods for according with dry direction that the same time starts
CN104966510B (en) * 2015-05-29 2020-12-22 熊世林 Method for representing cross-track and virtual track realization polyphonic parts in electronic music score
CN108417190A (en) * 2018-03-06 2018-08-17 安徽华熊科技有限公司 A kind of reliable generation method and device
CN108389567A (en) * 2018-03-06 2018-08-10 安徽华熊科技有限公司 A kind of music score method for splitting and device
CN113727122A (en) * 2020-12-28 2021-11-30 广州市裕达电子有限公司 Control method, system and equipment for live broadcast software

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5231239A (en) * 1992-04-28 1993-07-27 Ricos Co., Ltd. Music reproduction device for restarting a song at selected positions
CN1306435C (en) * 2003-11-28 2007-03-21 北京中星微电子有限公司 A MIDI music file
US20090254206A1 (en) * 2008-04-02 2009-10-08 David Snowdon System and method for composing individualized music

Also Published As

Publication number Publication date
CN103956156A (en) 2014-07-30

Similar Documents

Publication Publication Date Title
CN103956156B (en) MIDI data processing method in Intelligent electronic musical instrumens
CN101079301B (en) Time sequence mapping method for text to audio realized by computer
WO2017054588A1 (en) Music instrument score file playing method, conversion method and apparatus, and electronic device
CN102568261A (en) Auxiliary musical instrument learning machine
CN104134380A (en) Electronic musical instrument simulation learning tool
US9646585B2 (en) Information processing apparatus, information processing method, and program
CN108231066A (en) Speech recognition system and method thereof and vocabulary establishing method
CN108665764A (en) A kind of method and apparatus read by arrangement for reading
Dannenberg et al. Arrangements: flexibly adapting music data for live performance.
CN104036760A (en) Marking method for cross-track expression of electronic music score
CN104036765B (en) A kind of incomplete trifle shown for electronic score and half terminated line representation method
Einbond et al. Introducing CatOracle: Corpus-based concatenative improvisation with the Audio Oracle algorithm
CN104409071B (en) Different two note display methods for according with dry direction that the same time starts
CN104966510A (en) Expressive method for achieving multi-voice parts in striding rail and virtual rail in electronic score
CN104850580B (en) A kind of method of mark and retrieval teaching resource on the internet
CN103177621A (en) Multimedia teaching technology for musical instrument teaching
de Oliveira et al. Understanding MIDI: A Painless Tutorial on Midi Format
JP2006276550A (en) Karaoke playing apparatus
CN106599219A (en) Digital book interaction sharing system and realization method therefor
CN205281851U (en) Electronic reading equipment
JP2007156286A (en) Information recognition device and information recognizing program
CN105719626B (en) Based on the braille music score automatic composing method and device to section musical notation
CN1378197A (en) Multifunctional automatic music score forming device
CN110728874A (en) Industrial equipment interactive virtual assembly customization and training method and system
Wu et al. Information Hiding in Standard MIDI Files Based on Velocity Reference Values.

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20161129

Address after: 230001 Hefei City, Anhui province high tech Zone, No. 599 Mount Huangshan Road, Cyberport, the era of the 3

Patentee after: ANHUI CROSSWAY INTELLIGENT INSTRUMENT TECHNOLOGY CO., LTD.

Address before: 230088 Mount Huangshan Road, Anhui city of Hefei province Shushan District Jing Gang Town 588 Tahiti modern city room 1 B701

Patentee before: Xiong Shilin

C56 Change in the name or address of the patentee
CP02 Change in the address of a patent holder

Address after: 230001 Hefei City, Anhui province high tech Zone, No. 599 Mount Huangshan Road, Cyberport, the era of the 3

Patentee after: ANHUI CROSSWAY INTELLIGENT INSTRUMENT TECHNOLOGY CO., LTD.

Address before: High tech Zone, Mount Huangshan Road, No. 599, Cyberport, layer 3

Patentee before: ANHUI CROSSWAY INTELLIGENT INSTRUMENT TECHNOLOGY CO., LTD.

CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 230001 Hefei City, Anhui province high tech Zone, No. 599 Mount Huangshan Road, Cyberport, the era of the 3

Patentee after: Anhui Huasha Technology Co., Ltd.

Address before: 230001 Hefei City, Anhui province high tech Zone, No. 599 Mount Huangshan Road, Cyberport, the era of the 3

Patentee before: ANHUI CROSSWAY INTELLIGENT INSTRUMENT TECHNOLOGY CO., LTD.