CN1547130A - A MIDI music file - Google Patents

A MIDI music file Download PDF

Info

Publication number
CN1547130A
CN1547130A CNA2003101168209A CN200310116820A CN1547130A CN 1547130 A CN1547130 A CN 1547130A CN A2003101168209 A CNA2003101168209 A CN A2003101168209A CN 200310116820 A CN200310116820 A CN 200310116820A CN 1547130 A CN1547130 A CN 1547130A
Authority
CN
China
Prior art keywords
file
music
midi
music file
wave table
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.)
Granted
Application number
CNA2003101168209A
Other languages
Chinese (zh)
Other versions
CN1306435C (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.)
Vimicro Corp
Original Assignee
Vimicro Corp
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 Vimicro Corp filed Critical Vimicro Corp
Priority to CNB2003101168209A priority Critical patent/CN1306435C/en
Publication of CN1547130A publication Critical patent/CN1547130A/en
Application granted granted Critical
Publication of CN1306435C publication Critical patent/CN1306435C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

The invention refers to a kind of music file, and concretely discloses a kind of MIDI music file. The file includes: the file head, music score data area part and the wave table data area. The file head includes some description parameter to the file. The music score data part records the real music information, one fine may contains several music score data area. The sampling data information is memorized in the wave table data area. When the note needed to be synthesized is not in the primary wave table bank of the wave table synthesizing system, it doesn't load the wave table data from the outer extended bank, but sends out these wave table data when sending the MIDI music file. The invention simplifies the process fro sampling from outer input wave table by referencing the MIDI music file in the invention, it is convenient and quick.

Description

A kind of MIDI music file
Technical field
The present invention relates to a kind of music file, specifically, relate to a kind of MIDI music file.
Background technology
Mobile phone is nowadays to develop a very fast field, people can not satisfy mobile phone as just a common communicator, wish that mobile phone can be a hand-hold multimedia platform completely, such as aspect the tinkle of bells, finished of the transition of single the tinkle of bells to many chord rings, now just progressively from the FM synthesis mode to the transition of wave table synthesis mode.Because the processing speed of present mobile phone CPU is also very slow, can't realize the algorithm that wave table is synthetic with software, so can the intension wave table synthetic, number is touched conversion and just become desirable selection with the chip of amplification module.Owing to be applied on the mobile phone, so this type of chip cost and volume have been subjected to strict restriction, this has just caused the wavetable base of chip internal can not do very greatly, can only amplify the sampling of several emphasis tone colors of standard MIDI defined, if put into all 128 kinds of tone colors and 47 kinds of percussion music of standard MIDI regulation, the sampling of each tone color will be very little so, can have a strong impact on synthetic effect like this.
And because the restriction of wavetable base size, chip can only selectively be supported in the tone color of standard MIDI defined, just can not support for the national musical instruments as urheen, Zheng.The so outstanding allusion quotation music score song of our country just can't represent like this, and this can't but be a kind of sorry.
In fact, same problem also is present in other the synthetic field of wave table, and it is particularly outstanding only to seem on handheld devices such as mobile phone.
Like this, a kind of wave table synthesis system of expanding tone color has just appearred, the expanding wavetable base unit has been Duoed than traditional wave table synthesis system in this system, the expanding wavetable base unit is effective replenishing to main wavetable base unit, the wave table of tone color relatively more commonly used just can be put in the main wavetable base unit of system like this, and can be written into other wavetable data from the external world according to the concrete condition of want synthesizing MIDI file in the expanding wavetable base unit, so just make system very flexible.Just can easy to doly show as national musical instruments such as urheen, Zheng.If but the note that the user will synthesize will be written into these wavetable datas earlier from the external world to expanding wavetable base or not main wavetable base, like this, it is somewhat loaded down with trivial details just to seem.People wish to have a kind of can the transmission simultaneously and synthesize the sampled data that needs when sending MIDI message.
Summary of the invention
The present invention is for a kind of form of MIDI file is provided, to solve the deficiency that prior art exists.For achieving the above object, the present invention proposes a plan as follows:
A kind of MIDI music file comprises: file header part, music data district part;
The top of file branch comprises some statement parameters to file;
Music data district part has been noted down real music information, and a music file can contain a plurality of music datas district;
MIDI music file of the present invention also comprises the wavetable data district, deposits sampled data information in the wavetable data district.
MIDI music file of the present invention when being sent out, is the MIDI message that sends the wave table sampled data that comprises in the wavetable data district simultaneously.
MIDI music file of the present invention can be expanded a byte as address mark information, the byte high position of expansion is non-vanishing, represent that this tone color will synthesize with the sampled data of main wavetable base unit, the byte high position of expansion is zero, represent this tone color will with file with the wave table sampled data synthesize.
The wavetable data district of MIDI music file of the present invention can only preserve some representative sampled datas, and other sampling is then by obtaining these representative sampled data frequency modulation.
Compared with prior art, the invention has the advantages that:
When note that the user will synthesize is not in the main wavetable base in the wave table synthesis system, can to expanding wavetable base, not be written into earlier these wavetable datas from the external world, adopt data but when sending these MIDI music files, just send these, simplified like this from the process of external world's input wave table sampled data, seemed convenient and swift.
Purpose, characteristics and the advantage of the invention of this reality will be in conjunction with the embodiments, are further described with reference to accompanying drawing.
Description of drawings
Fig. 1 is the structural drawing of common MIDI music file.
Fig. 2 is the structural drawing of MIDI music file of the present invention.
Fig. 3 is the structural drawing of a wave table synthesis system.
Fig. 4 is the sampling of five sections wave tables of urheen.
Embodiment
With reference to accompanying drawing 1,2, Fig. 1 is the structural drawing of common MIDI music file, and Fig. 2 is the structural drawing of MIDI music file of the present invention.
A kind of MIDI music file comprises: file header part, music data district part;
The top of file branch comprises some statement parameters to file; Music data district part has been noted down real music information, and a music file can contain a plurality of music datas district;
MIDI music file of the present invention also comprises the wavetable data district, deposits sampled data information in the wavetable data district.
MIDI music file of the present invention when being sent out, is the MIDI message that sends the wave table sampled data that comprises in the wavetable data district simultaneously.
MIDI music file of the present invention can be expanded a byte as address mark information, the byte high position of expansion is non-vanishing, represent that this tone color will synthesize with the sampled data of main wavetable base unit, the byte high position of expansion is zero, represent this tone color will with file with the wave table sampled data synthesize.
The wavetable data district of MIDI music file of the present invention can only preserve some representative sampled datas, and other sampling is then by obtaining these representative sampled data frequency modulation.
With reference to Fig. 3, in the wave table synthesis system, synthesize example with a MIDI music file, illustrate how this music file synthesizes.
Here said wave table synthesis system comprises: message-analysis module, wavetable base module, wave table synthesis module.Wherein, the wavetable base module comprises main wavetable base unit and expanding wavetable base unit.
A MIDI music file is arranged, and this document has file header part, music data part and wavetable data part, and we can also add an extended byte in this MIDI music file.At first, receive a MIDI music file by message-analysis module, such as, 0,0C0 00 this MIDI message, what represent this section MIDI data recording is the melody that a Shoudu Iron and Steel Co qin is played, the 3rd byte 00 is exactly the code of piano in standard MIDI, we can give byte of this extension of message now again, obtain 00 C0 00 80, at this moment, this byte high position that increases is 1, with regard to representing that No. 0 this tone color will synthesize with the sampling in the main wavetable base unit, also keeps this tone color of piano so here; If this byte of expansion is 0, that is, obtain message 00 C0 00 02, represent No. 2 these tone colors will to be mapped to file with wavetable base in No. 2 tone colors on go.If what No. 2 tone colors were represented is urheen, so such MIDI file just can synthesize the melody of urheen.After message-analysis module is analyzed the MIDI music file, with this MIDI music file with the content in wavetable data district send to expansion wave table unit.We are according to obtaining sampled data from main wavetable base unit or expanding wavetable base, and in conjunction with other parameter informations that message-analysis module obtains, are synthesized by the wave table synthesis module at last.
With reference to Fig. 4, the sampling of five sections wave tables of expression urheen.
Among the present invention, wavetable data will be formed a file with the melody file and send, so will reduce the size of wavetable data district wave table sampled data as far as possible.
For example: the wavetable base of a urheen has been preserved five sections wave table samplings, is respectively that urheen is playing 40,66,82,96, the sampled data during 110 notes.Stipulate that in the parameter of wavetable base the tone color between the 0-60 is synthetic with sampling 1, the tone color between the 61-60 is synthetic with sampling 2, and the tone color between the 71-90 is synthetic with sampling 3, and the tone color between the 91-100 is synthetic with sampling 4, and the tone color between the 101-127 is synthetic with sampling 5.If synthetic note 73, will 3 carry out frequency modulation to sampling so, frequency is transferred to 73 from note 82.Just can represent whole 128 notes of urheen like this with five samplings.But,, so both can delete the size that other sampled datas reduce the wavetable data district if all notes of urheen melody of issue all between 70-90, only store a sampling 3 so in the wavetable data district just passable.
A kind of MIDI music file of the present invention, be not restricted to listed utilization in instructions and the embodiment, it can be applied to various suitable the present invention's field fully, for those skilled in the art, can easily realize additional advantage and make amendment, therefore under the situation of the spirit and scope of the universal that does not deviate from claim and equivalency range and limited, the examples shown that the present invention is not limited to specific details, representational equipment and illustrates here and describe.

Claims (4)

1, a kind of MIDI music file comprises: file header part, music data district part; The top of file branch comprises some statement parameters to file;
Music data district part has been noted down real music information, and a music file can contain a plurality of music datas district;
It is characterized in that: also comprise the wavetable data district, deposit sampled data information in the wavetable data district.
2, MIDI music file according to claim 1 is characterized in that: when sending described MIDI music file, be to send the MIDI message that comprises wave table sampled data in the wavetable data district simultaneously.
3, MIDI music file according to claim 1, it is characterized in that: described MIDI music file can be expanded a byte as address mark information, the byte high position of expansion is non-vanishing, represent that this tone color will synthesize with the sampled data of main wavetable base unit, the byte high position of expansion is zero, represent this tone color will with file with the wave table sampled data synthesize.
4, according to the described MIDI music file of claim 1, it is characterized in that: the wavetable data district of described MIDI music file can only preserve some representative sampled datas, and other sampling is then by obtaining these representative sampled data frequency modulation.
CNB2003101168209A 2003-11-28 2003-11-28 A MIDI music file Expired - Fee Related CN1306435C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2003101168209A CN1306435C (en) 2003-11-28 2003-11-28 A MIDI music file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2003101168209A CN1306435C (en) 2003-11-28 2003-11-28 A MIDI music file

Publications (2)

Publication Number Publication Date
CN1547130A true CN1547130A (en) 2004-11-17
CN1306435C CN1306435C (en) 2007-03-21

Family

ID=34337625

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2003101168209A Expired - Fee Related CN1306435C (en) 2003-11-28 2003-11-28 A MIDI music file

Country Status (1)

Country Link
CN (1) CN1306435C (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101571869B (en) * 2009-05-31 2011-04-20 北京握奇数据系统有限公司 File memory and read method of smart card and device thereof
CN102169684A (en) * 2011-04-13 2011-08-31 杭州师范大学 A MIDI file structure and a generating apparatus for Gongche notation
CN101770426B (en) * 2008-12-31 2013-01-23 深圳市朗科科技股份有限公司 Storage method and storage equipment
CN103956156A (en) * 2014-03-17 2014-07-30 熊世林 MIDI data processing method in intelligent electronic musical instrument
CN105279284A (en) * 2015-11-23 2016-01-27 吟飞科技(江苏)有限公司 Electronic organ music file and application method thereof
WO2017054588A1 (en) * 2015-09-30 2017-04-06 北京金山安全软件有限公司 Music instrument score file playing method, conversion method and apparatus, and electronic device
WO2017181656A1 (en) * 2016-04-19 2017-10-26 乐视控股(北京)有限公司 Mobile phone and method for mobile phone to intelligently adjust ringtone volume

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5640590A (en) * 1992-11-18 1997-06-17 Canon Information Systems, Inc. Method and apparatus for scripting a text-to-speech-based multimedia presentation
KR100234710B1 (en) * 1996-12-26 1999-12-15 김영환 Sound controller for personal computer
US6355869B1 (en) * 1999-08-19 2002-03-12 Duane Mitton Method and system for creating musical scores from musical recordings

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101770426B (en) * 2008-12-31 2013-01-23 深圳市朗科科技股份有限公司 Storage method and storage equipment
CN101571869B (en) * 2009-05-31 2011-04-20 北京握奇数据系统有限公司 File memory and read method of smart card and device thereof
CN102169684A (en) * 2011-04-13 2011-08-31 杭州师范大学 A MIDI file structure and a generating apparatus for Gongche notation
CN102169684B (en) * 2011-04-13 2013-01-02 杭州师范大学 A MIDI file structure and a generating apparatus for Gongche notation
CN103956156A (en) * 2014-03-17 2014-07-30 熊世林 MIDI data processing method in intelligent electronic musical instrument
WO2017054588A1 (en) * 2015-09-30 2017-04-06 北京金山安全软件有限公司 Music instrument score file playing method, conversion method and apparatus, and electronic device
CN105279284A (en) * 2015-11-23 2016-01-27 吟飞科技(江苏)有限公司 Electronic organ music file and application method thereof
WO2017181656A1 (en) * 2016-04-19 2017-10-26 乐视控股(北京)有限公司 Mobile phone and method for mobile phone to intelligently adjust ringtone volume

Also Published As

Publication number Publication date
CN1306435C (en) 2007-03-21

Similar Documents

Publication Publication Date Title
WO2002091352A3 (en) Music performance system
EP1260964B1 (en) Music sound synthesis with waveform caching by prediction
CN1306435C (en) A MIDI music file
CN1321929A (en) Method for compressing digital interface file of musical instrument instruction
JP3601371B2 (en) Waveform generation method and apparatus
JP3654079B2 (en) Waveform generation method and apparatus
Lazzarini et al. The generation of natural-synthetic spectra by means of adaptive frequency modulation
CN100336413C (en) Music and speech synthetic device and method for mobile communication terminal
Lesbros From images to sounds, a dual representation
CN1205829C (en) Music format conversion method for wireless hand-held device
CN2689391Y (en) Wave synthesizing system for extending tone
CN1750117A (en) Song researching system of accompany machine and its method for constituting melody data base
CN100361195C (en) Wavetable synthesized system capable of expanding tone quality
RU2314502C2 (en) Method and device for processing sound
CN1661670A (en) Apparatus and method for processing bell sound
CN1547187A (en) An audio frequency sequence device
US7805311B1 (en) Embedding and employing metadata in digital music using format specific methods
CN1206603C (en) Music VF producing method and playback system
Estibeiro Composing with microsound: an approach to structure and form when composing for acoustic instruments with electronics
JP3778036B2 (en) Waveform generating apparatus and method
JP3211646B2 (en) Performance information recording method and performance information reproducing apparatus
CN1752965A (en) Searching method of song in vocal accompaniment machine using portable parsonal terminal apparatus and apparatus thereof
Girard Venezuelan Cathedral Music
CN1719513A (en) Audio frequency sequence device and sound document treatment method
CN1290363C (en) Method for processing wavetable in mobile phone and chip

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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20070321

Termination date: 20121128