CN1306435C - A MIDI music file - Google Patents

A MIDI music file Download PDF

Info

Publication number
CN1306435C
CN1306435C CNB2003101168209A CN200310116820A CN1306435C CN 1306435 C CN1306435 C CN 1306435C CN B2003101168209 A CNB2003101168209 A CN B2003101168209A CN 200310116820 A CN200310116820 A CN 200310116820A CN 1306435 C CN1306435 C CN 1306435C
Authority
CN
China
Prior art keywords
music file
midi music
file
wave table
wavetable
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.)
Expired - Fee Related
Application number
CNB2003101168209A
Other languages
Chinese (zh)
Other versions
CN1547130A (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

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

The present invention relates to an MIDI music file, particularly to disclose the MIDI music file. The MIDI music file of the present invention comprises a file header part, a music book data area part and a wave table data area, wherein the file header part comprises description parameters for the file; the music book data area part records real music information, and one music file comprises a plurality of music book data areas; sampling data information is stored in the wave table data area. When a synthetic musical notation required by a user is not in a main wave table base of a wave table synthesis system, wave table data is not firstly loaded in an expansion wave table base externally, and the data adopted by the wave table is sent when the MIDI music file is sent. A process of inputting wave table sampling data externally is simplified by referring to the MIDI music file of the present invention, which is convenient and quick.

Description

A kind of using method of MIDI music file
Technical field
The present invention relates to a kind of disposal route of music file, specifically, relate to a kind of using method 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 using method 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 using method of MIDI music file, it is characterized in that, this MIDI music file comprises the file header part that is used for file is described, the wavetable data district that is used for the music data district part of recording musical information and is used to deposit sampled data information, and the using method of described MIDI music file comprises:
Step a: described MIDI music file is analyzed, the sampled data information in the wave table data field in the described MIDI music file is sent to the expanding wavetable base unit;
Step b: according to the analysis of described MIDI music file is judged it is to obtain sampled data from the expanding wavetable base unit or obtain sampled data from main wavetable base unit;
Step c: it is synthetic that the sampled data that obtains is used for music.
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 the MIDI music file that uses among 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.
Described MIDI music file when being sent out, is the MIDI message that sends the wave table sampled data that comprises in the wavetable data district simultaneously.
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.
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.
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 (3)

1, a kind of using method of MIDI music file, it is characterized in that, this MIDI music file comprises the file header part that is used for file is described, the wavetable data district that is used for the music data district part of recording musical information and is used to deposit sampled data information, and the using method of described MIDI music file comprises:
Step a: described MIDI music file is analyzed, the sampled data information in the wave table data field in the described MIDI music file is sent to the expanding wavetable base unit;
Step b: according to the analysis of described MIDI music file is judged it is to obtain sampled data from the expanding wavetable base unit or obtain sampled data from main wavetable base unit;
Step c: it is synthetic that the sampled data that obtains is used for music.
2, the using method of MIDI music file according to claim 1, it is characterized in that: byte of described MIDI music file expansion is as address mark information, if in step a by the analysis of MIDI music file is learnt that an extended byte high position is non-vanishing, then in step b, obtain sampled data from main wavetable base unit, if in step a by the analysis of MIDI music file being learnt an extended byte high position is zero, then obtains sampled data from the expanding wavetable base unit in step b.
3, according to the using method of the described MIDI music file of claim 1, it is characterized in that: the wavetable data district of described MIDI music file only preserves 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 CN1547130A (en) 2004-11-17
CN1306435C true 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)

Families Citing this family (7)

* 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
CN102169684B (en) * 2011-04-13 2013-01-02 杭州师范大学 A MIDI file structure and a generating apparatus for Gongche notation
CN103956156B (en) * 2014-03-17 2015-09-23 熊世林 MIDI data processing method in Intelligent electronic musical instrumens
CN105205047A (en) * 2015-09-30 2015-12-30 北京金山安全软件有限公司 Playing method, converting method and device of musical instrument music score file and electronic equipment
CN105279284A (en) * 2015-11-23 2016-01-27 吟飞科技(江苏)有限公司 Electronic organ music file and application method thereof
CN105847573A (en) * 2016-04-19 2016-08-10 乐视控股(北京)有限公司 Mobile phone and method for adjusting volume of ringtone intelligently

Citations (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
US20010044663A1 (en) * 1996-12-26 2001-11-22 Sang Weon Lee Sound controller
US6355869B1 (en) * 1999-08-19 2002-03-12 Duane Mitton Method and system for creating musical scores from musical recordings

Patent Citations (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
US20010044663A1 (en) * 1996-12-26 2001-11-22 Sang Weon Lee Sound controller
US6355869B1 (en) * 1999-08-19 2002-03-12 Duane Mitton Method and system for creating musical scores from musical recordings

Also Published As

Publication number Publication date
CN1547130A (en) 2004-11-17

Similar Documents

Publication Publication Date Title
CN1510659A (en) Device and method for reproducing speech as music simultaneously
CN1306435C (en) A MIDI music file
US20030075036A1 (en) Electronic music apparatus that enables user to purchase music related product from server
KR101155160B1 (en) Systems and methods for providing multi-region instrument support in an audio player
CN1321929A (en) Method for compressing digital interface file of musical instrument instruction
CN100336413C (en) Music and speech synthetic device and method for mobile communication terminal
WO2001093261A1 (en) Apparatus and method for providing song accompanying/music playing service using wireless terminal
Lesbros From images to sounds, a dual representation
CN1205829C (en) Music format conversion method for wireless hand-held device
TW200527381A (en) Wavetable synthesis system with memory management according to data importance and method of the same
CN2689391Y (en) Wave synthesizing system for extending tone
CN1750117A (en) Song researching system of accompany machine and its method for constituting melody data base
CN1547185A (en) Wavetable synthesized system capable of expanding tone quality
CN101165772B (en) Method for expanding synthesizer tone
CN1549243A (en) Music file wave form regulating system
CN100342424C (en) Rhythm control and sound mixing method for musical synthesis
KR20050087368A (en) Transaction apparatus of bell sound for wireless terminal
US7805311B1 (en) Embedding and employing metadata in digital music using format specific methods
AU2020104383A4 (en) Projection filter based universal framework to match the musical notes of synthesizer and indian classical instruments
CN1752965A (en) Searching method of song in vocal accompaniment machine using portable parsonal terminal apparatus and apparatus thereof
CN1206603C (en) Music VF producing method and playback system
KR100598207B1 (en) MIDI playback equipment and method
CN1719513A (en) Audio frequency sequence device and sound document treatment method
JP3211646B2 (en) Performance information recording method and performance information reproducing apparatus
CN1661672B (en) Wavetable music synthesizing system and method based on importance of data to carry out memory management

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