CN1821992A - Method for simultaneously playing MP3 audio frequency data and character data and its player - Google Patents
Method for simultaneously playing MP3 audio frequency data and character data and its player Download PDFInfo
- Publication number
- CN1821992A CN1821992A CN 200510096484 CN200510096484A CN1821992A CN 1821992 A CN1821992 A CN 1821992A CN 200510096484 CN200510096484 CN 200510096484 CN 200510096484 A CN200510096484 A CN 200510096484A CN 1821992 A CN1821992 A CN 1821992A
- Authority
- CN
- China
- Prior art keywords
- field
- data
- lyrics
- player
- lteral
- 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
Links
Images
Landscapes
- Indexing, Searching, Synchronizing, And The Amount Of Synchronization Travel Of Record Carriers (AREA)
Abstract
This invention relates to a method for synchronously playing MP3 audio data and character data and its player, in which, said method includes the following steps: 1, pre-setting character data based on the being player ID3 format audio data, 2, said character data include: a lyric line digital section, a character attribute flag section, newline field of the lyrics of each line, a time length field, a segment field and lyric field, 3, said character data are stored in the ID3 character display format, 4, playing audio data and displaying lyrics in the character data when the playing time reaches to a specific time point, which is taken as the time length recorded by the character data.
Description
One, technical field
The present invention relates to the method and the player thereof of a kind of MP3 voice data and lteral data synchronous playing.
Two, background technology
The digital music that with MP3 is digital music specification main flow is at present play product, and its form is diversified fully.And portable MP 3 player is with moulding, the diversified function of the dazzling outward appearance of its fashion, small volume and less weight and meet the characteristics of new life cybertimes fully and enjoy consumers in general's favor.
Development along with the MP3 technology, the software product that the function of a lot of assistance user managing portable formula MP3 players occurred, for a lot of MP3 users, the synchronously displaying lyrics function gives the user suitable convenience, the user can also browse its lyrics content when listening to song, and follow and sing along with the song of playing, this is the function that most of music-lover expects, also is an important development direction of portable MP 3 player.
And for portable MP 3 player, the synchronized lyrics Presentation Function is that contents such as the lyrics and music archive are integrated, and by download once, finishes whole operations.But because the LCD screen size of portable MP 3 player is less, can't show all lyrics simultaneously, therefore the lyrics must be shown line by line with the method for synchronization.
Such problem can be by allowing the user before the lyrics are downloaded to portable MP 3 player at present, using edit tool solves from edlin synchronized lyrics file, yet, its editor and to store lyrics time method often be not to be unit with the absolute time, and usually with the sound frame number (Frame) in the MP3 format, or the time format of other similar MPEG standard is a unit, way like this, can make when synchronous playing, owing to be subject to the MP3 code translator integrated circuit (IC) of hardware, when this integrated circuit must provide decoding, and with the sound frame number (Frame) of MP3, or form is that the mp3 file of unit is compressed or when changing bit rate (Bit Rate) again At All Other Times, this synchronized lyrics often must make again, this may be a sizable engineering.
Three, summary of the invention
The present invention is for solving the above-mentioned technical matters that exists in the background technology, and provide the method and the player thereof of a kind of MP3 voice data and lteral data synchronous playing, it by synchronization indicator, just can reach the purpose of the synchronous playing music and the lyrics under the situation that increases a little storage area.
Technical solution of the present invention is: the method for a kind of MP3 voice data and lteral data synchronous playing, and its special character is: this method may further comprise the steps:
1) builds a lteral data in advance according to ID3 format audio data to be played;
2) this article digital data comprises a lyrics line number field, a word attribute flags field, and is docile and obedient line feed field, time span field, separation field and lyrics field that preface comprises every capable lyrics;
3) the literal display format of this lteral data with the ID3 form stored;
4) playing audio-fequency data, and when reproduction time arrived particular point in time, the lyrics in the display text data, this particular point in time were the time span that lteral data write down.
Above-mentioned steps 4) reproduction time in is that the sample sound in the voice data of basis is counted and converted.
Above-mentioned lyrics line number field is total lyrics line number, the word attribute flags field is the literal code kind, the line feed field is the line feed character in the literal display format, and the separation field is the separating character in the literal display format, and lyrics field is the pairing lyrics of the time span in the time span field.
A kind of player of realizing the method for above-mentioned MP3 voice data and lteral data synchronous playing, its special character is: this player comprises and stores mp3 file, this mp3 file includes the reservoir 1 of corresponding voice data and lteral data, from reservoir 1, obtain lteral data corresponding to the voice data in this mp3 file, and according to time span field in the lteral data and lyrics field, the audio file that shows the synchronization indicator 2 of the lyrics and obtain from reservoir 1 in the mp3 file is made the player 3 that decompresses and play, synchronization indicator 2 is connected with player 3 with reservoir 1 respectively, and player 3 is connected with reservoir 1.
The present invention utilizes every section lyrics time corresponding length to realize the synchronous playing of MP3 voice data and lteral data for unit, when mp3 file is compressed again or changes bit rate, this synchronized lyrics do not need to make again, still can realize synchronous playing, method therefore of the present invention is convenient, simple and synchronous effect is good.
Four, description of drawings
Fig. 1 is the synoptic diagram of ID3 form second edition notebook data;
Fig. 2 is the synoptic diagram of ID3 form third edition notebook data;
Fig. 3 is a method flow diagram of the present invention;
Fig. 4 is the display format synoptic diagram of lteral data of the present invention;
Fig. 5 is the system chart of player of the present invention.
Five, embodiment
At present, the specification main flow that generally is used for the lteral data (such as title of the song, the lyrics, time and version or the like) of portable MP 3 player is ID3, and it can merge voice data with lteral data, to become mp3 file.And common ID3 form mostly is its second version or third edition basis now.
Referring to Fig. 1, the second version ID3 form at first is the foremost of the ID3 character string being listed in this form, and it occupies 3 (Bytes) altogether.Secondly, second version field (V2) is occupied 2, and flags field is occupied 1, and the ID3 size field is then occupied 4, so header occupies 10.And each label field is occupied 3, and the label size field is 3, and thereafter all with the data field position.The section of first volume marking-up just back is the first label size field then, follow the first data field position again, and the second label size field is followed in the second label field back, follow the second data field position again, follow N label size field until N label field back, follow N data field position again, follow MP3 data field position at last.
Referring to Fig. 2, this ID3 of third edition form is the same, and header also is to occupy 10.Be that with the difference of previous described second version its label field and label size field occupy 4 respectively, first revision field is then occupied 2, and thereafter all with the data field position.The section of first volume marking-up just back is the first label size field then, follow first revision field again, and the first data field position, and the second label size field is followed in the second label field back, follows second revision field and the second data field position again, follow N label size field until N label field back, follow the N revision field again, and N data field position, MP3 data field position followed at last.
Referring to Fig. 3, method of the present invention is originally to be main shaft with second version of ID3 form or the third edition, increases a label, wherein is aided with time span field and lyrics field, and makes that voice data and lteral data can synchronous playing.Its concrete grammar is as follows:
1) builds a lteral data in advance according to ID3 format audio data to be played;
2) this article digital data comprises a lyrics line number field, a word attribute flags field, and is docile and obedient line feed field, time span field, separation field and lyrics field that preface comprises every capable lyrics;
3) the literal display format of this lteral data with the ID3 form stored;
4) playing audio-fequency data, and when reproduction time arrived particular point in time, the lyrics in the display text data, this particular point in time were the time span that lteral data write down.
Wherein the reproduction time in the step 4) is that sample sound in the voice data of basis is counted and converted.
Lyrics line number field is total lyrics line number, the word attribute flags field is the literal code kind, the line feed field is the line feed character in the literal display format, and the separation field is the separating character in the literal display format, and lyrics field is the pairing lyrics of the time span in the time span field.
Referring to Fig. 4, method of the present invention mainly is in second version of ID3 form or third edition basis, the field that in lteral data, adds other, just this lteral data is to do storage with the literal display format of ID3 form, and under existing field, more include following other field, be in regular turn: lyrics line number field, the word attribute flags field, the first line feed field, very first time length field, first separates field, first lyrics field, the second line feed field, the second time span field, the second lattice field, second lyrics field, the 3rd line feed field, N time span field, N separates field, N lyrics field and N+1 line feed field.The first line feed field (the second line feed field, the 3rd line feed field, N enter a new line field) is the line feed character in the literal display format; First to separate field (the second line feed field, N enter a new line field) be the separating character in the literal display format.First lyrics field (second lyrics field, N lyrics field) is very first time length (second time span, N time span) pairing first lyrics (second lyrics, the N lyrics) in the very first time length field (the second time span field, N time span field).
Referring to Fig. 5, player of the present invention mainly is that MP3 sound shelves are stored in the reservoir 1, and this mp3 file includes corresponding voice data and lteral data, lteral data stores with the literal display format of ID3 form, and include corresponding time span field and lyrics field, after the synchronization indicator 2 that connects reservoir 1 receives play instruction, in reservoir 1, obtain lteral data corresponding to this mp3 file, and, in synchronization indicator 2, show the lyrics according to time span field in the lteral data and lyrics field; 3 of players that connect reservoir 1 and synchronization indicator 2 are that the voice data of obtaining this mp3 file is done decompression and broadcast, to reach the purpose of synchronously displaying lyrics and broadcast.Synchronization indicator 2 connects reservoir 1 and player 3, be responsible for showing the lyrics at particular point in time, this particular point in time is the time span that lteral data write down, if reproduction time has reached this particular point in time and has then shown its lyrics corresponding, the measurement of reproduction time, the desirable sample sound play of in player 3, the having decompressed conversion of counting.
Claims (4)
1, the method for a kind of MP3 voice data and lteral data synchronous playing, it is characterized in that: this method may further comprise the steps:
1) builds a lteral data in advance according to ID3 format audio data to be played;
2) this article digital data comprises a lyrics line number field, a word attribute flags field, and is docile and obedient line feed field, time span field, separation field and lyrics field that preface comprises every capable lyrics;
3) the literal display format of this lteral data with the ID3 form stored;
4) playing audio-fequency data, and when reproduction time arrived particular point in time, the lyrics in the display text data, this particular point in time were the time span that lteral data write down.
2, the method for MP3 voice data according to claim 1 and lteral data synchronous playing is characterized in that: the reproduction time in the described step 4) is that the sample sound in the voice data of basis is counted and converted.
3, the method for MP3 voice data according to claim 1 and 2 and lteral data synchronous playing, it is characterized in that: described lyrics line number field is total lyrics line number, the word attribute flags field is the literal code kind, the line feed field is the line feed character in the literal display format, the separation field is the separating character in the literal display format, and lyrics field is the pairing lyrics of the time span in the time span field.
4, a kind of player of realizing the method for described MP3 voice data of claim 1 and lteral data synchronous playing, it is characterized in that: this player comprises and stores mp3 file, this mp3 file includes the reservoir (1) of corresponding voice data and lteral data, from reservoir (1), obtain lteral data corresponding to the voice data in this mp3 file, and according to time span field in the lteral data and lyrics field, the audio file that shows the synchronization indicator (2) of the lyrics and obtain from reservoir (1) in the mp3 file is made the player (3) that decompresses and play, described synchronization indicator (2) is connected with player (3) with reservoir (1) respectively, and described player (3) is connected with reservoir (1).
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200510096484 CN1821992A (en) | 2005-12-06 | 2005-12-06 | Method for simultaneously playing MP3 audio frequency data and character data and its player |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200510096484 CN1821992A (en) | 2005-12-06 | 2005-12-06 | Method for simultaneously playing MP3 audio frequency data and character data and its player |
Publications (1)
Publication Number | Publication Date |
---|---|
CN1821992A true CN1821992A (en) | 2006-08-23 |
Family
ID=36923360
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200510096484 Pending CN1821992A (en) | 2005-12-06 | 2005-12-06 | Method for simultaneously playing MP3 audio frequency data and character data and its player |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1821992A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100418095C (en) * | 2006-10-20 | 2008-09-10 | 无敌科技(西安)有限公司 | Word-sound synchronous playing system and method |
CN101867656A (en) * | 2010-06-23 | 2010-10-20 | 深圳市五巨科技有限公司 | Song playing method and device for mobile terminal |
CN102752551A (en) * | 2011-08-26 | 2012-10-24 | 新奥特(北京)视频技术有限公司 | Method and device for editing and managing libretto subtitles in non-editing system |
-
2005
- 2005-12-06 CN CN 200510096484 patent/CN1821992A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100418095C (en) * | 2006-10-20 | 2008-09-10 | 无敌科技(西安)有限公司 | Word-sound synchronous playing system and method |
CN101867656A (en) * | 2010-06-23 | 2010-10-20 | 深圳市五巨科技有限公司 | Song playing method and device for mobile terminal |
CN102752551A (en) * | 2011-08-26 | 2012-10-24 | 新奥特(北京)视频技术有限公司 | Method and device for editing and managing libretto subtitles in non-editing system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP1896933B1 (en) | Playlist structure for large playlists | |
EP2491560B1 (en) | Metadata time marking information for indicating a section of an audio object | |
US7831432B2 (en) | Audio menus describing media contents of media players | |
JP3174819U (en) | Create standardized playlists and maintain unity | |
CN101777369B (en) | The universal container of voice data | |
JP2004187272A (en) | Adaptive type menu system for media player | |
US7739585B2 (en) | Multimedia playing apparatus and method | |
EP1653468A2 (en) | Content using apparatus, content using method, distribution server apparatus, information distribution method, and recording medium | |
US20020129692A1 (en) | Method and system for embedding audio titles | |
KR101459136B1 (en) | Audio system and method for creating playing list | |
WO2003071543A1 (en) | Method and apparatus for incorporating additional audio information into audio data file identifying information | |
CN101042752A (en) | Method and sytem used for email administration | |
US20060087925A1 (en) | Content using apparatus, content using method, distribution server apparatus, infomation distribution method, and recording medium | |
MXPA04002233A (en) | Extension of m3u file format to support user interface and navigation tasks in a digital audio player. | |
KR20080019013A (en) | Retrieving graphics from slow retrieval storage devices | |
JP2014520352A (en) | Enhanced media recording and playback | |
CN1821992A (en) | Method for simultaneously playing MP3 audio frequency data and character data and its player | |
CN101656792A (en) | Method and related apparatus for playing songs on mobile terminal | |
US20040249862A1 (en) | Sync signal insertion/detection method and apparatus for synchronization between audio file and text | |
KR100460229B1 (en) | Method for Inserting Graphic Data to Audio Data File and Replaying the Inserted Graphic Data | |
WO2004084173A3 (en) | System and method for representing playing of musical instruments | |
KR100793023B1 (en) | Method and apparatus for displaying audio data | |
CN1288853C (en) | Music video frequency connection playing method for portable audio frequency machine | |
CN1728131A (en) | Audio and video control device and method | |
CN2638146Y (en) | Digitalized teaching product capable of broadcasting large capacity audiovisual data and foreign language learning function |
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 |