CN103137167A - Method for playing music and music player - Google Patents

Method for playing music and music player Download PDF

Info

Publication number
CN103137167A
CN103137167A CN2013100207869A CN201310020786A CN103137167A CN 103137167 A CN103137167 A CN 103137167A CN 2013100207869 A CN2013100207869 A CN 2013100207869A CN 201310020786 A CN201310020786 A CN 201310020786A CN 103137167 A CN103137167 A CN 103137167A
Authority
CN
China
Prior art keywords
lyrics
information
music
playing
lyrics file
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
CN2013100207869A
Other languages
Chinese (zh)
Other versions
CN103137167B (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.)
Hisense Broadband Multimedia Technology Co Ltd
Original Assignee
Hisense Broadband Multimedia Technology Co Ltd
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 Hisense Broadband Multimedia Technology Co Ltd filed Critical Hisense Broadband Multimedia Technology Co Ltd
Priority to CN201310020786.9A priority Critical patent/CN103137167B/en
Publication of CN103137167A publication Critical patent/CN103137167A/en
Application granted granted Critical
Publication of CN103137167B publication Critical patent/CN103137167B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Reverberation, Karaoke And Other Acoustics (AREA)
  • Indexing, Searching, Synchronizing, And The Amount Of Synchronization Travel Of Record Carriers (AREA)
  • Electrophonic Musical Instruments (AREA)

Abstract

The invention discloses a method for playing music and a music player. The method for displaying the music includes the steps: obtaining identification information of played music, and according to the identification information being queried in a local disk or an external network, obtaining lyric files corresponding to the identification information; analyzing the obtained lyric files to display lyrics contained in the lyric files, and structuring a mapping relation between a playing rate of progress and a lyric displaying rate of progress, restoring the mapping relation, and according to the structured mapping relation, and identifying lyrics which are synchronous with the playing rate of the progress on the basis of a synchronization strategy arranged in advance. The method for playing the music and the music player are applied so that functions of the music player can be expanded.

Description

Play method and the music player of music
Technical field
The present invention relates to play-back technology, relate in particular to a kind of method and music player of playing music.
Background technology
System adopts the technology of increasing income due to Android (Android), open code, the software of most platforms can migrate to the platform based on the Android system, compatible good, based on the application program on the Android system platform, can conduct interviews by standard application program interface, and can move by parallel mode, effectively promote the processing power of platform, made the intelligent terminal product based on the Android system be widely used and popularize.
Along with the widespread use of intelligent terminal product and enriching constantly of users ' individualized requirement, the audio/video multimedia processing power of intelligent terminal product becomes the important indicator that Android intelligent terminal product user is experienced.But existing music player only has independent music playback function, perhaps, according to the pre-stored music lyrics in music player, when playing music, shows the music lyrics of this broadcast.
By as seen above-mentioned, existing music player, no matter be the music player of playing separately music or the broadcast of the combining music lyrics, function is comparatively single, can not satisfy the demand of user individual, make user's business experience lower, for example, show when playing music in the method for the music lyrics of this broadcast, there be the situation not corresponding with playing the lyrics in the music progress of playing, make the user at the upper information inconsistency that receives of the sense of hearing (broadcast music) and vision (browsing the lyrics of broadcast), thereby reduce user's business experience.
Summary of the invention
Embodiments of the invention provide a kind of method of playing music, the expansion music player functionality.
Embodiments of the invention also provide a kind of music player, the expansion music player functionality.
For achieving the above object, a kind of method of playing music that the embodiment of the present invention provides, the method comprises:
Obtain the identification information of playing music, in local disk or external network inquiry, obtain the lyrics file corresponding with identification information according to identification information;
The lyrics file that parsing is obtained shows the lyrics that comprise in lyrics file, builds the mapping relations of playing progress rate and lyrics progress displaying, and storage, according to the synchronization policy that sets in advance, and according to the mapping relations that build, the lyrics that sign is synchronizeed with playing progress rate.
Wherein, described method further comprises:
Monitor and obtain the frequency spectrum of playing music, according to the acquisition accuracy that sets in advance, generate the spectrum waveform of playing music and show.
Wherein, described method further comprises:
Monitor the user and choose the lyrics, obtain lyrics progress displaying information corresponding to the lyrics of choosing, according to the playing progress rate that builds and the mapping relations of lyrics progress displaying, the triggering music player jumps to playing progress rate position corresponding to lyrics progress displaying information and plays.
Wherein, described identification information comprises: song title information and singer's information.
Wherein, inquire about at local disk according to identification information, obtain lyrics file corresponding to identification information and comprise:
According to song title information and the singer's information of playing music, the inquiry local disk:
If have the lyrics file that is complementary with song title information and singer's information, obtain this lyrics file;
The lyrics file that if there is no is complementary with song title information and singer's information, according to the song title information of playing music, the inquiry local disk, if there is the lyrics file that is complementary with song title information, obtain this lyrics file, the lyrics file that if there is no is complementary with song title information is encapsulated in identification information in the Lyrics downloading request, exports external network to.
Wherein, according to identification information network inquiry externally, obtain lyrics file corresponding to identification information and comprise:
Resolve the Lyrics downloading request, according to song title information and the singer's information that parsing obtains, externally search in network:
If search the lyrics file that is complementary with song title information and singer's information, obtain this lyrics file;
If do not search the lyrics file that is complementary with song title information and singer's information, according to the song title information of playing music, again search for, if search the lyrics file that is complementary with song title information, obtain this lyrics file, export music player to, if do not search the lyrics file that is complementary with song title information, return to the search failure information to music player.
Wherein, the quantity of the lyrics file that described and song title information and singer's information are complementary is a plurality of, and perhaps, the quantity of the lyrics file that is complementary with song title information is a plurality of, and described method further comprises:
Return to the lyrics file information list to music player;
The lyrics file information that the lyrics file information list that the reception user shows by music player is chosen is obtained lyrics file corresponding to this lyrics file information.
Wherein, described lyrics file information comprises: one or its combination in any in song title information, singer's information, songwriter's information, composer's information and singing time information.
Wherein, the mapping relations of described structure playing progress rate and lyrics progress displaying comprise:
Obtain the music score of Chinese operas that comprises in lyrics file;
The T.T. corresponding according to playing progress rate, calculate temporal information corresponding to each spectral line in the music score of Chinese operas;
Obtain the lyrics under spectral line, calculate the duration information of these lyrics in the music score of Chinese operas;
Duration information with the lyrics in the music score of Chinese operas is converted to lyrics progress displaying, sets up the mapping relations of playing progress rate and lyrics progress displaying.
Wherein, the frequency spectrum of playing music is also obtained in described monitoring, according to the acquisition accuracy that sets in advance, generates spectrum waveform and the demonstration of playing music and comprises:
Set in advance the acquisition accuracy of catching frequency spectrum;
According to the audiomonitor that sets in advance, monitor the frequency spectrum of current broadcast music and be stored to local disk;
According to the frequency spectrum of storage, determine to draw coordinate, draw straight line according to the drafting coordinate of determining, generate the spectrum waveform of playing music and show.
A kind of music player, this music player comprises: playing module, identification information acquisition module, lyrics file acquisition module, parsing module and mapping relations build module, wherein,
Playing module is used for playing music;
The identification information acquisition module, the identification information for obtaining current broadcast music exports the lyrics file acquisition module to;
The lyrics file acquisition module is used for according to the identification information that receives, and in local disk or external network inquiry, obtains the lyrics file corresponding with identification information, exports parsing module to;
Parsing module is used for resolving the lyrics file of obtaining, and shows the lyrics that comprise in lyrics file; According to the synchronization policy that sets in advance, build the mapping relations of module construction according to mapping relations, the lyrics that sign is synchronizeed with playing progress rate;
Mapping relations build module, are used for the lyrics according to the parsing module demonstration, build the mapping relations of playing progress rate and lyrics progress displaying, and storage.
Preferably, further comprise:
Monitor module, be used for monitoring and obtaining the frequency spectrum of playing music, according to the acquisition accuracy that sets in advance, generate the spectrum waveform of playing music and show.
Preferably, further comprise:
Play adjustment module, be used for monitoring the user and choose the lyrics, obtain lyrics progress displaying information corresponding to the lyrics of choosing, according to the playing progress rate that builds and the mapping relations of lyrics progress displaying, the triggering music player jumps to playing progress rate position corresponding to lyrics progress displaying information and plays.
Preferably, described lyrics file acquisition module comprises: identification information processing unit, the first query unit, the second query unit, the 3rd inquiry unit and lyrics file output unit, wherein,
The identification information processing unit is used for receiving identification information, if identification information comprises song title information and singer's information, exports identification information to first query unit; If identification information comprises song title information, or receive the search failure information that the first query unit is exported, with song title information output to the second query unit; Receive the search failure information of the second query unit output, the identification information that receives is encapsulated in the Lyrics downloading request, export the 3rd to and inquire about the unit;
The first query unit, be used for according to song title information and the singer's information of playing music, the inquiry local disk, if there is the lyrics file that is complementary with song title information and singer's information, obtain this lyrics file, export the lyrics file output unit to, otherwise, to identification information processing unit output search failure information;
The second query unit, be used for according to the song title information of playing music, the inquiry local disk, if search the lyrics file that is complementary with song title information, obtain this lyrics file, export the lyrics file output unit to, if do not search the lyrics file that is complementary with song title information, return to the search failure information to the identification information processing unit;
The 3rd inquires about the unit, is used for exporting external network to according to the Lyrics downloading request that receives, and obtains lyrics file by external network, exports the lyrics file output unit to;
The lyrics file output unit, the lyrics file that is used for receiving exports parsing module to.
As seen from the above technical solution, a kind of method and music player of playing music that the embodiment of the present invention provides obtains the identification information of playing music, in local disk or external network inquiry, obtains lyrics file corresponding to identification information according to identification information; The lyrics file that parsing is obtained shows the lyrics that comprise in lyrics file, builds the mapping relations of playing progress rate and lyrics progress displaying, and storage, according to the synchronization policy that sets in advance, and according to the mapping relations that build, the lyrics that sign is synchronizeed with playing progress rate.Like this, by building mapping relations, can ensure that the music progress of broadcast is corresponding synchronous with the broadcast lyrics, make the user consistent with the information that visually receives in the sense of hearing, thereby expanded music player functionality, satisfied the demand of user individual, promoted user's business experience.
Description of drawings
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, below will do to introduce simply to the accompanying drawing of required use in embodiment or description of the Prior Art.Apparently, the accompanying drawing in below describing is only some embodiments of the present invention, for those of ordinary skills, can also obtain according to these accompanying drawing illustrated embodiments other embodiment and accompanying drawing thereof.
Fig. 1 is the method flow schematic diagram that the embodiment of the present invention is play music.
Fig. 2 is the structural representation of embodiment of the present invention music player.
Embodiment
Below with reference to accompanying drawing, the technical scheme of various embodiments of the present invention is carried out clear, complete description, obviously, described embodiment is only a part of embodiment of the present invention, rather than whole embodiment.Based on the embodiment in the present invention, those of ordinary skills are resulting all other embodiment under the prerequisite of not making creative work, all belong to the scope that the present invention protects.
Existing music player, show by the storage music lyrics method of playing the corresponding lyrics of music, function is comparatively single, and there be the situation not corresponding with playing the lyrics in the music progress of broadcast, can not satisfy the demand of user individual, make user's business experience lower.
Along with development and the application of Internet technology, the internet provides a large amount of music for the user, and the user is by external network, and namely the music servers on the internet, can download and play music and the lyrics that music servers provides whenever and wherever possible.
In the embodiment of the present invention, when consideration is play music at music player, if local disk is not stored the music lyrics file, inquire about and obtain the lyrics corresponding to broadcast music from music servers and show, and set up the mapping relations of playing music and the music lyrics in music player.Like this, make the music progress of broadcast corresponding with the broadcast lyrics, ensure that the user is consistent with the information that visually receives in the sense of hearing; Further, the lyrics of choosing according to the user are set playing progress rate is positioned, regulate playing progress rate; And, in music player, can synchronously draw and show musical waveform.By above-mentioned music player functionality expansion, thereby based on the business experience that promotes the user, the music player based on the Android system platform of a kind of more intelligent, hommization more, simple and convenient mode of operation is provided for the user, be used for realizing automatic search, Intelligent Matching, simultaneous display, lyrics calibration, play position one key location and the synchronous drafting of wave file and the function of demonstration of music lyrics file, thereby bring experience effect preferably to the user.
Fig. 1 is the method flow schematic diagram that the embodiment of the present invention is play music.Referring to Fig. 1, this flow process comprises:
Step 101 is obtained the identification information of playing music, in local disk or external network inquiry, obtains the lyrics file corresponding with identification information according to identification information;
In this step, identification information comprises: song title information and singer's information.
Wherein, inquire about at local disk according to identification information, obtain lyrics file corresponding to identification information and comprise:
According to song title information and the singer's information of playing music, the inquiry local disk:
If have the lyrics file that is complementary with song title information and singer's information, obtain this lyrics file;
The lyrics file that if there is no is complementary with song title information and singer's information, according to the song title information of playing music, the inquiry local disk, if there is the lyrics file that is complementary with song title information, obtain this lyrics file, the lyrics file that if there is no is complementary with song title information is encapsulated in identification information in the Lyrics downloading request, exports external network to.
In the embodiment of the present invention, lyrics file comprises: the lyrics and the music score of Chinese operas.
Preferably, according to identification information network inquiry externally, obtain lyrics file corresponding to identification information and comprise:
Resolve the Lyrics downloading request, according to song title information and the singer's information that parsing obtains, externally search in network:
If search the lyrics file that is complementary with song title information and singer's information, obtain this lyrics file;
If do not search the lyrics file that is complementary with song title information and singer's information, according to the song title information of playing music, again search for, if search the lyrics file that is complementary with song title information, obtain this lyrics file, export music player to, if do not search the lyrics file that is complementary with song title information, return to the search failure information to music player.
In this step, if music player receives the search failure information, continue to play.
In practical application, if the quantity of the lyrics file that obtains of search is a plurality of, the quantity of the lyrics file that namely is complementary with song title information and singer's information is a plurality of, perhaps, the quantity of the lyrics file that is complementary with song title information is a plurality of, and the method may further include:
Return to the lyrics file information list to music player;
The lyrics file information that the lyrics file information list that the reception user shows by music player is chosen is obtained lyrics file corresponding to this lyrics file information.
In this step, lyrics file information can comprise: one or its combination in any of song title information, singer's information, songwriter's information, composer's information and singing time information etc.
Step 102 is resolved the lyrics file of obtaining, and shows the lyrics that comprise in lyrics file, build the mapping relations of playing progress rate and lyrics progress displaying, and storage, according to the synchronization policy that sets in advance, according to the mapping relations that build, the lyrics that sign is synchronizeed with playing progress rate.
In this step, have playing progress rate when playing music, playing progress rate can or be play percentage by playing progress bar and recently represent.Lyrics progress displaying is used for expression when the playing corresponding lyrics, in the embodiment of the present invention, lyrics progress displaying can identify by the highlighted demonstration lyrics or other modes, namely at time point corresponding to playing progress rate, the lyrics that this time point of highlighted demonstration is corresponding.
The mapping relations that build playing progress rate and lyrics progress displaying comprise:
A11 obtains the music score of Chinese operas that comprises in lyrics file;
A12, calculates temporal information corresponding to each spectral line in the music score of Chinese operas at the T.T. corresponding according to playing progress rate;
In this step, obtain the spectral line that comprises in the beat number that comprises in the music score of Chinese operas and each beat, the T.T. corresponding according to playing progress rate, calculate the temporal information that in the music score of Chinese operas, each spectral line takies.
A13 obtains the lyrics under spectral line, calculates the duration information of these lyrics in the music score of Chinese operas;
In this step, obtain initial position and the final position of the lyrics in the music score of Chinese operas, the spectral line corresponding according to initial position and spectral line corresponding to final position calculate the duration that these lyrics take.
A14, the duration information with the lyrics in the music score of Chinese operas is converted to lyrics progress displaying, sets up the mapping relations of playing progress rate and lyrics progress displaying.
In this step, the duration that the lyrics are taken is converted to lyrics progress displaying, for example, if the temporal information of a certain lyrics in the music score of Chinese operas is 00:01:00~00:01:, 30, the duration that takies is 30 seconds, the T.T. that playing progress rate is corresponding (reproduction time stamp) is 4 minutes, the lyrics progress displaying that these lyrics are corresponding is 25%~37.5%, and the mapping relations of playing progress rate and lyrics progress displaying are: when playing progress rate proceeds to 25%~37.5%, and these lyrics of highlighted demonstration.That is to say, the synchronization policy that sets in advance is highlighted demonstration.
Certainly, in practical application, also can pass through the artificial discriminant approach of user, namely compare by the lyrics of the broadcast music that listens to and the lyrics of demonstration, adjust lyrics progress displaying, judge namely whether the lyrics show synchronous, if asynchronous, enter calibration mode, for example, by adjusting the left and right directions key, until the music lyrics of playing and the highlighted synchronous lyrics of demonstration, thereby realize synchronous calibration, make lyrics progress displaying consistent with playing progress rate, thereby build the mapping relations of playing progress rate and lyrics progress displaying.
Preferably, the method can further include:
Step 103 is monitored and obtains the frequency spectrum of playing music, according to the acquisition accuracy that sets in advance, generates the spectrum waveform of playing music and shows.
In this step, in order to further expand the function of music player, promote user's business experience, can be arranged on and play music or when synchronously displaying lyrics, the spectrum waveform of the music that displays the play.
In the embodiment of the present invention, the frequency spectrum of music represents with the sound intensity, the acquisition accuracy of frequency spectrum is caught in setting, for example, the acquisition accuracy that design is adopted is 1024, the descant and the volume range between double bass that are about to play music are set to 1024 line-transects, and the volume of current broadcast music are converted to the line-transect of corresponding number.
This step specifically comprises:
B11 sets in advance the acquisition accuracy of catching frequency spectrum;
B12 according to the audiomonitor that sets in advance, monitors the frequency spectrum of current broadcast music and is stored to local disk;
In this step, monitor the frequency spectrum of current broadcast music by audiomonitor is set, when playing music, audiomonitor can be realized the frequency spectrum of current broadcast music is caught, and the frequency spectrum data of catching is stored to local disk.Monitor and obtain the flow process of the frequency spectrum of current broadcast music about audiomonitor, specifically can referring to the correlation technique document, not repeat them here.
B13 according to the frequency spectrum of storage, determines to draw coordinate, draws straight line according to the drafting coordinate of determining, generates the spectrum waveform of playing music and shows.
In this step, can be from local disk, read a frequency spectrum data in the frequency spectrum data that captures, and determine to draw coordinate according to this frequency spectrum data, for example, the line-transect number that the temporal information that frequency spectrum is corresponding and frequency spectrum are corresponding, draw straight line according to the coordinate of determining, generate and draw line-transect number corresponding to corresponding temporal information in coordinate, thereby show in real time spectrum waveform corresponding to current broadcast music, until according to the carrying out of playing progress rate, all frequency spectrum datas of completing.
In practical application, the method can further include:
Step 104, monitor the user and choose the lyrics, obtain lyrics progress displaying information corresponding to the lyrics of choosing, according to the playing progress rate that builds and the mapping relations of lyrics progress displaying, the triggering music player jumps to playing progress rate position corresponding to lyrics progress displaying information and plays.
In this step, when the individual demand of music player according to the user, when the lyrics that need to jump to ad-hoc location are play, enter the broadcast station-keeping mode, music player monitors the user select to need the lyrics of location by up and down arrow keys after, according in database when the lyrics progress displaying information of prelocalization, be converted to corresponding playing progress rate by mapping relations, trigger music player, make music player jump to corresponding playing progress rate position and play.
Fig. 2 is the structural representation of embodiment of the present invention music player.Referring to Fig. 2, this music player comprises: playing module, identification information acquisition module, lyrics file acquisition module, parsing module and mapping relations build module, wherein,
Playing module is used for playing music;
The identification information acquisition module, the identification information for obtaining current broadcast music exports the lyrics file acquisition module to;
In the embodiment of the present invention, identification information comprises: song title information and singer's information.
The lyrics file acquisition module is used for according to the identification information that receives, and in local disk or external network inquiry, obtains the lyrics file corresponding with identification information, exports parsing module to;
In the embodiment of the present invention, the lyrics file acquisition module comprises: identification information processing unit, the first query unit, the second query unit, the 3rd inquiry unit and lyrics file output unit (not shown), wherein,
The identification information processing unit is used for receiving identification information, if identification information comprises song title information and singer's information, exports identification information to first query unit; If identification information comprises song title information, or receive the search failure information that the first query unit is exported, with song title information output to the second query unit; Receive the search failure information of the second query unit output, the identification information that receives is encapsulated in the Lyrics downloading request, export the 3rd to and inquire about the unit;
The first query unit, be used for according to song title information and the singer's information of playing music, the inquiry local disk, if there is the lyrics file that is complementary with song title information and singer's information, obtain this lyrics file, export the lyrics file output unit to, otherwise, to identification information processing unit output search failure information;
The second query unit, be used for according to the song title information of playing music, the inquiry local disk, if search the lyrics file that is complementary with song title information, obtain this lyrics file, export the lyrics file output unit to, if do not search the lyrics file that is complementary with song title information, return to the search failure information to the identification information processing unit;
The 3rd inquires about the unit, is used for exporting external network to according to the Lyrics downloading request that receives, and obtains lyrics file by external network, exports the lyrics file output unit to;
In the embodiment of the present invention, external network is resolved the Lyrics downloading request, according to song title information and the singer's information that parsing obtains, searches for: if search the lyrics file that is complementary with song title information and singer's information, obtain this lyrics file, be back to the 3rd and inquire about the unit; If do not search the lyrics file that is complementary with song title information and singer's information, according to the song title information of playing music, again search for, if search the lyrics file that is complementary with song title information, obtain this lyrics file, export the 3rd to and inquire about the unit, if do not search the lyrics file that is complementary with song title information, inquire about the unit to the 3rd and return to the search failure information.
The lyrics file output unit, the lyrics file that is used for receiving exports parsing module to.
Parsing module is used for resolving the lyrics file of obtaining, and shows the lyrics that comprise in lyrics file; According to the synchronization policy that sets in advance, build the mapping relations of module construction according to mapping relations, the lyrics that sign is synchronizeed with playing progress rate;
Mapping relations build module, are used for the lyrics according to the parsing module demonstration, build the mapping relations of playing progress rate and lyrics progress displaying, and storage.
Preferably, this music player further comprises:
Monitor module, be used for monitoring and obtaining the frequency spectrum of playing music, according to the acquisition accuracy that sets in advance, generate the spectrum waveform of playing music and show.
In the embodiment of the present invention, monitor module the music signal of current broadcast is sampled, obtain the sampling frequency spectrum of playing music, and be the line-transect of acquisition accuracy multiple with the spectral conversion of obtaining.
This music player can further include:
Play adjustment module, be used for monitoring the user and choose the lyrics, obtain lyrics progress displaying information corresponding to the lyrics of choosing, according to the playing progress rate that builds and the mapping relations of lyrics progress displaying, the triggering music player jumps to playing progress rate position corresponding to lyrics progress displaying information and plays.
In the embodiment of the present invention, play adjustment module and can be used for controlling playing module.
As seen by above-mentioned, the embodiment of the present invention is based on the music player of Android platform, realized the function such as automatic retrieval, Intelligent Matching, simultaneous display, synchronous calibration of the lyrics.Specifically, playing music, when carrying out the local disk search, by song title and singer, search the corresponding lyrics (LRC, lyric) file at local disk, preferentially mate simultaneously song title and singer, if can not mate, mate separately song title.If lyrics file exists, load lyrics file; If lyrics file does not exist, search for by external network.
When carrying out web search, according to song title and singer, search for corresponding lyrics file, after searching for successfully, show all lyrics file that the match is successful, and point out the user to select, after the user selects, download the lyrics file of selecting and arrive local disk, and load the lyrics file of selecting; If the user is non-selected, carries out downloading lyrics file after optimum matching, and load this lyrics file.
After loading lyrics file, parsing obtains the lyrics in lyrics file, show the current lyrics, and next lyrics is carried out buffer memory, simultaneously, judge whether the lyrics show synchronous, if asynchronous, pass through to adjust the left and right directions key, until play the lyrics of music and the synchronous lyrics of highlighted demonstration, thus build the mapping relations of playing progress rate and lyrics progress displaying, and storage, with when the follow-up play, can be directly according to these mapping relations, make the lyrics of playing music and the synchronous lyrics of highlighted demonstration.
Further, this music player can also realize playing positioning function, namely when needs jump to a certain sentence lyrics and play, enter the broadcast station-keeping mode, need to select the lyrics of location by up and down arrow keys, then according to the playing progress rate that builds and the mapping relations of lyrics progress displaying, the triggering music player jumps to assigned address and plays.
And this music player can also be realized the spectrum waveform Presentation Function, and in music, and the spectrum waveform of current music can be caught and show to music and synchronous lyrics when showing.
Obviously, those skilled in the art can carry out various changes and modification and not break away from the spirit and scope of the present invention the present invention.Like this, if of the present invention these are revised and within modification belongs to the scope of claim of the present invention and equivalent technologies thereof, the present invention also comprises these changes and modification interior.

Claims (10)

1. method of playing music, the method comprises:
Obtain the identification information of playing music, in local disk or external network inquiry, obtain the lyrics file corresponding with described identification information according to identification information;
Resolve the lyrics file of obtaining, show the lyrics that comprise in described lyrics file, build the mapping relations of playing progress rate and lyrics progress displaying, and store this mapping relations; According to the synchronization policy that sets in advance, according to constructed mapping relations, the lyrics that sign is synchronizeed with playing progress rate.
2. method according to claim 1, described method further comprises:
Monitor and obtain the frequency spectrum of playing music, according to the acquisition accuracy that sets in advance, generate the spectrum waveform of playing music and show.
3. method according to claim 2, described method further comprises:
When monitoring the user and choosing the lyrics, obtain lyrics progress displaying information corresponding to the lyrics of choosing, according to the playing progress rate that builds and the mapping relations of lyrics progress displaying, the triggering music player jumps to playing progress rate position corresponding to lyrics progress displaying information and plays.
4. the described method of according to claim 1 to 3 any one, wherein, described identification information comprises: song title information and singer's information.
5. method according to claim 4, wherein, inquire about at local disk according to identification information, obtains lyrics file corresponding to identification information and comprise:
According to song title information and the singer's information of playing music, the inquiry local disk:
If have the lyrics file that is complementary with song title information and singer's information, obtain this lyrics file;
The lyrics file that if there is no is complementary with song title information and singer's information, according to the song title information of playing music, the inquiry local disk, if there is the lyrics file that is complementary with song title information, obtain this lyrics file, the lyrics file that if there is no is complementary with song title information is encapsulated in identification information in the Lyrics downloading request, exports external network to.
6. method according to claim 5, wherein, according to identification information network inquiry externally, obtain lyrics file corresponding to identification information and comprise:
Resolve the Lyrics downloading request, according to song title information and the singer's information that parsing obtains, externally search in network:
If search the lyrics file that is complementary with song title information and singer's information, obtain this lyrics file;
If do not search the lyrics file that is complementary with song title information and singer's information, according to the song title information of playing music, again search for, if search the lyrics file that is complementary with song title information, obtain this lyrics file, export music player to, if do not search the lyrics file that is complementary with song title information, return to the search failure information to music player.
7. method according to claim 6, wherein, the quantity of the lyrics file that described and song title information and singer's information are complementary is a plurality of, and perhaps, the quantity of the lyrics file that is complementary with song title information is a plurality of, and described method further comprises:
Return to the lyrics file information list to music player;
The lyrics file information that the lyrics file information list that the reception user shows by music player is chosen is obtained lyrics file corresponding to this lyrics file information.
8. a music player, is characterized in that, this music player comprises: playing module, identification information acquisition module, lyrics file acquisition module, parsing module and mapping relations build module, wherein,
Playing module is used for playing music;
The identification information acquisition module, the identification information for obtaining current broadcast music exports the lyrics file acquisition module to;
The lyrics file acquisition module is used for according to the identification information that receives, and in local disk or external network inquiry, obtains the lyrics file corresponding with identification information, exports parsing module to;
Parsing module is used for resolving the lyrics file of obtaining, and shows the lyrics that comprise in lyrics file; According to the synchronization policy that sets in advance, build the mapping relations of module construction according to mapping relations, the lyrics that sign is synchronizeed with playing progress rate;
Mapping relations build module, are used for the lyrics according to the parsing module demonstration, build the mapping relations of playing progress rate and lyrics progress displaying, and storage.
9. music player according to claim 8, is characterized in that, further comprises:
Monitor module, be used for monitoring and obtaining the frequency spectrum of playing music, according to the acquisition accuracy that sets in advance, generate the spectrum waveform of playing music and show.
10. music player according to claim 9, is characterized in that, further comprises:
Play adjustment module, be used for monitoring the user and choose the lyrics, obtain lyrics progress displaying information corresponding to the lyrics of choosing, according to the playing progress rate that builds and the mapping relations of lyrics progress displaying, the triggering music player jumps to playing progress rate position corresponding to lyrics progress displaying information and plays.
CN201310020786.9A 2013-01-21 2013-01-21 Play method and the music player of music Active CN103137167B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310020786.9A CN103137167B (en) 2013-01-21 2013-01-21 Play method and the music player of music

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310020786.9A CN103137167B (en) 2013-01-21 2013-01-21 Play method and the music player of music

Publications (2)

Publication Number Publication Date
CN103137167A true CN103137167A (en) 2013-06-05
CN103137167B CN103137167B (en) 2016-04-20

Family

ID=48496889

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310020786.9A Active CN103137167B (en) 2013-01-21 2013-01-21 Play method and the music player of music

Country Status (1)

Country Link
CN (1) CN103137167B (en)

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103475944A (en) * 2013-09-24 2013-12-25 深圳创维-Rgb电子有限公司 Information detection method and system and television side
CN104410876A (en) * 2014-11-27 2015-03-11 华为软件技术有限公司 Electronic program guide localization processing and upgrading method and device
CN104424946A (en) * 2013-08-26 2015-03-18 中国电信股份有限公司 Audio identification method and apparatus
CN105608168A (en) * 2015-12-18 2016-05-25 武汉斗鱼网络科技有限公司 Method and system for obtaining name of music currently played by music player
CN105810223A (en) * 2014-12-30 2016-07-27 联想(北京)有限公司 Content playing method and electronic device
CN106066879A (en) * 2016-05-30 2016-11-02 广州飞傲电子科技有限公司 Player pure tone pattern and the method for Android pattern switching
CN106170759A (en) * 2016-04-05 2016-11-30 张阳 Music control method and system in theater
CN107122493A (en) * 2017-05-19 2017-09-01 北京金山安全软件有限公司 song playing method and device
CN107220048A (en) * 2017-05-19 2017-09-29 北京酷我科技有限公司 A kind of audible spectrum and progress bar superposition algorithm
CN107220047A (en) * 2017-05-19 2017-09-29 北京酷我科技有限公司 A kind of cardon of audible spectrum shows progress bar control implementation method
CN107341158A (en) * 2016-05-03 2017-11-10 斑马网络技术有限公司 Information acquisition method, device and the equipment of multimedia file
CN107545037A (en) * 2017-07-31 2018-01-05 捷开通讯(深圳)有限公司 A kind of search method of local music, intelligent terminal and storage device
CN108174264A (en) * 2018-01-09 2018-06-15 武汉斗鱼网络科技有限公司 Synchronous lyrics display methods, system, device, medium and equipment
CN108228903A (en) * 2018-02-08 2018-06-29 广州酷狗计算机科技有限公司 The method and apparatus for obtaining lyrics data
CN108538309A (en) * 2018-03-01 2018-09-14 杭州趣维科技有限公司 A kind of method of song detecting
CN109117110A (en) * 2018-07-10 2019-01-01 苏州车萝卜汽车电子科技有限公司 Data processing method and device for voice dynamic fusion
CN110302461A (en) * 2019-04-26 2019-10-08 哈尔滨理工大学 A kind of SCM Based light music psychology physical therapeutic system
CN110825482A (en) * 2019-11-07 2020-02-21 网易(杭州)网络有限公司 Method and device for processing illustration, electronic equipment and storage medium
WO2020107626A1 (en) * 2018-11-30 2020-06-04 北京微播视界科技有限公司 Lyrics display processing method and apparatus, electronic device, and computer-readable storage medium
CN113946263A (en) * 2021-10-18 2022-01-18 网易(杭州)网络有限公司 Playing control method and device and electronic terminal
CN114579017A (en) * 2022-02-10 2022-06-03 优视科技(中国)有限公司 Method and device for displaying audio

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1489369A (en) * 2003-08-11 2004-04-14 安凯(广州)软件技术有限公司 Karaoke making method and playing method for wireless network and wireless hand-held device
CN101615418A (en) * 2009-08-11 2009-12-30 深圳市五巨科技有限公司 A kind of mobile terminal music playing method of synchronous rolling display of lyrics and device
CN101631168A (en) * 2009-08-20 2010-01-20 深圳市五巨科技有限公司 Method and device for searching and downloading lyrics by mobile terminal
JP2011215358A (en) * 2010-03-31 2011-10-27 Sony Corp Information processing device, information processing method, and program
CN102737683A (en) * 2011-04-01 2012-10-17 腾讯科技(深圳)有限公司 Method for music player to display lyrics and apparatus thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1489369A (en) * 2003-08-11 2004-04-14 安凯(广州)软件技术有限公司 Karaoke making method and playing method for wireless network and wireless hand-held device
CN101615418A (en) * 2009-08-11 2009-12-30 深圳市五巨科技有限公司 A kind of mobile terminal music playing method of synchronous rolling display of lyrics and device
CN101631168A (en) * 2009-08-20 2010-01-20 深圳市五巨科技有限公司 Method and device for searching and downloading lyrics by mobile terminal
JP2011215358A (en) * 2010-03-31 2011-10-27 Sony Corp Information processing device, information processing method, and program
CN102737683A (en) * 2011-04-01 2012-10-17 腾讯科技(深圳)有限公司 Method for music player to display lyrics and apparatus thereof

Cited By (33)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104424946A (en) * 2013-08-26 2015-03-18 中国电信股份有限公司 Audio identification method and apparatus
CN104424946B (en) * 2013-08-26 2017-10-20 中国电信股份有限公司 Audio identification methods and device
CN103475944B (en) * 2013-09-24 2016-09-07 深圳创维-Rgb电子有限公司 A kind of information detecting method, system and television
CN103475944A (en) * 2013-09-24 2013-12-25 深圳创维-Rgb电子有限公司 Information detection method and system and television side
CN104410876B (en) * 2014-11-27 2018-03-27 华为软件技术有限公司 Electric program menu localization process, the method and device of upgrading
CN104410876A (en) * 2014-11-27 2015-03-11 华为软件技术有限公司 Electronic program guide localization processing and upgrading method and device
CN105810223A (en) * 2014-12-30 2016-07-27 联想(北京)有限公司 Content playing method and electronic device
CN105608168B (en) * 2015-12-18 2018-11-09 武汉斗鱼网络科技有限公司 A kind of method and system obtaining the currently playing song title of music player
CN105608168A (en) * 2015-12-18 2016-05-25 武汉斗鱼网络科技有限公司 Method and system for obtaining name of music currently played by music player
CN106170759A (en) * 2016-04-05 2016-11-30 张阳 Music control method and system in theater
WO2017173571A1 (en) * 2016-04-05 2017-10-12 张阳 Theater music control method and system
CN107341158A (en) * 2016-05-03 2017-11-10 斑马网络技术有限公司 Information acquisition method, device and the equipment of multimedia file
CN106066879A (en) * 2016-05-30 2016-11-02 广州飞傲电子科技有限公司 Player pure tone pattern and the method for Android pattern switching
CN107122493A (en) * 2017-05-19 2017-09-01 北京金山安全软件有限公司 song playing method and device
CN107122493B (en) * 2017-05-19 2020-04-28 北京金山安全软件有限公司 Song playing method and device
CN107220047A (en) * 2017-05-19 2017-09-29 北京酷我科技有限公司 A kind of cardon of audible spectrum shows progress bar control implementation method
CN107220048B (en) * 2017-05-19 2021-04-20 北京酷我科技有限公司 Audio frequency spectrum and progress bar superposition method
CN107220047B (en) * 2017-05-19 2021-01-05 北京酷我科技有限公司 Method for realizing progress bar control piece of dynamic image display of audio frequency spectrum
CN107220048A (en) * 2017-05-19 2017-09-29 北京酷我科技有限公司 A kind of audible spectrum and progress bar superposition algorithm
CN107545037A (en) * 2017-07-31 2018-01-05 捷开通讯(深圳)有限公司 A kind of search method of local music, intelligent terminal and storage device
CN108174264A (en) * 2018-01-09 2018-06-15 武汉斗鱼网络科技有限公司 Synchronous lyrics display methods, system, device, medium and equipment
CN108174264B (en) * 2018-01-09 2020-12-15 武汉斗鱼网络科技有限公司 Synchronous lyric display method, system, device, medium and equipment
CN108228903A (en) * 2018-02-08 2018-06-29 广州酷狗计算机科技有限公司 The method and apparatus for obtaining lyrics data
CN108538309A (en) * 2018-03-01 2018-09-14 杭州趣维科技有限公司 A kind of method of song detecting
CN108538309B (en) * 2018-03-01 2021-09-21 杭州小影创新科技股份有限公司 Singing voice detection method
CN109117110A (en) * 2018-07-10 2019-01-01 苏州车萝卜汽车电子科技有限公司 Data processing method and device for voice dynamic fusion
CN109117110B (en) * 2018-07-10 2022-04-19 北京乐驾科技有限公司 Data processing method and device for dynamic voice fusion
WO2020107626A1 (en) * 2018-11-30 2020-06-04 北京微播视界科技有限公司 Lyrics display processing method and apparatus, electronic device, and computer-readable storage medium
CN110302461A (en) * 2019-04-26 2019-10-08 哈尔滨理工大学 A kind of SCM Based light music psychology physical therapeutic system
CN110825482A (en) * 2019-11-07 2020-02-21 网易(杭州)网络有限公司 Method and device for processing illustration, electronic equipment and storage medium
CN110825482B (en) * 2019-11-07 2023-05-26 网易(杭州)网络有限公司 Method and device for processing illustration, electronic equipment and storage medium
CN113946263A (en) * 2021-10-18 2022-01-18 网易(杭州)网络有限公司 Playing control method and device and electronic terminal
CN114579017A (en) * 2022-02-10 2022-06-03 优视科技(中国)有限公司 Method and device for displaying audio

Also Published As

Publication number Publication date
CN103137167B (en) 2016-04-20

Similar Documents

Publication Publication Date Title
CN103137167B (en) Play method and the music player of music
US10580394B2 (en) Method, client and computer storage medium for processing information
CN106708894B (en) Method and device for configuring background music for electronic book
US8892565B2 (en) Method and apparatus for accessing an audio file from a collection of audio files using tonal matching
CN102308295A (en) Music profiling
CN110335625A (en) The prompt and recognition methods of background music, device, equipment and medium
EP2940644A1 (en) Method, apparatus, device and system for inserting audio advertisement
US20200162769A1 (en) Identifying media content for simultaneous playback
US10468004B2 (en) Information processing method, terminal device and computer storage medium
US8314319B2 (en) Storage system and storage device of music files
CN112989104B (en) Information display method and device, computer readable storage medium and electronic equipment
CN105335414A (en) Music recommendation method, device and terminal
US20200410967A1 (en) Method for displaying triggered by audio, computer apparatus and storage medium
CN104361883B (en) Sing evaluating standard documenting method and apparatus
CN102550021A (en) Method and system for providing preview video, media server and playing terminal
US8681157B2 (en) Information processing apparatus, program, and information processing method
CN104102659A (en) Music searching method and terminal
CN102426842A (en) Lyric display method and terminal based on browser
CN104866477B (en) Information processing method and electronic equipment
KR20200070732A (en) Apparatus for recommending music contents
JPWO2018207936A1 (en) Automatic musical score detection method and device
CN105578297B (en) Method and system for repeatedly playing audio and video files at WEB terminal in fragment mode
JP5986387B2 (en) Information processing program, information processing apparatus, lyrics display method, and communication system
CN110532419B (en) Audio processing method and device
CN106445964B (en) Method and device for processing audio information

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