1. Field of the Invention
The embodiments of the present invention relates to a True Video On Demand (TVOD) song playing method and a player therefor.
2. Description of the Prior Art
With tremendous development of electronics technologies, more and more electronic teaching materials prevail in the market. Especially in the field of music education, electronic teaching materials are gradually replacing traditional paper-made teaching materials for such features as timeliness, shareability, dynamic, repeatability, and interactiveness. In the current electronic teaching materials on music, play progress of a song may be changed only by dragging a progress bar. When a user desires to replay a sentence of lyrics of a song, the progress bar needs to be repeatedly dragged forward or backward. In such cases, the user failed to accurately find the lyrics to be played, and meanwhile a large amount of time was wasted.
To partially at least overcome the defects in the prior art, an embodiment of the present invention provides a TVOD (i.e., point-to-play) song playing method and a player therefor.
According to one aspect of the present disclosure, there is provided a TVOD song playing method, comprising: determining a coordinate of a click position; determining, according to the coordinate of the click position, coordinates of a starting point and an end point of lyrics to be played; and playing the lyrics corresponding to the coordinates of the starting point and the end point.
According to another aspect of the present disclosure, there is provided a TVOD song player, comprising: a lyrics editing module, a coordinate determining module, and a playing module. The lyrics editing module is configured to assign coordinates of a starting point and an end point to each sentence of lyrics; the coordinate determining module is configured to determine a coordinate of a click position, and determine, according to the coordinate of the click position, coordinates of the starting point and the end point of lyrics to be played; and the playing module is configured to play the lyrics corresponding to the coordinates of the starting point and the end point.
As described above, by using the TVOD song playing method and the player therefor according to the present disclosure, the playing process of a song is more visualized such that a user is capable of quickly and accurately selecting lyrics to be played, which brings great convenience to the user as a result.
For a better understanding of the present invention, the present invention is described in detail with reference to the accompanying drawings. It should be understood that the drawings and detailed description serve to illustrate the exemplary embodiments of the present invention, but are not intended to limit the scope of the present invention.
The lyrics editing module 100 may be configured to assign coordinates of a starting point and an end point to each sentence of lyrics. In an embodiment of the present invention, the lyrics editing module 100 may identify multiple languages, comprising: Chinese, English, Japanese, Korean and so on, and may also divide the lyrics into sentences according to settings made by a user when inputting the lyrics.
The coordinate determining module 200 may be configured to determine a coordinate of a click position, and determine, according to the coordinate of the click position, the coordinates of the starting point and the end point of lyrics to be played. In an embodiment of the present invention, the click position may be any play position on a playing page. After a user clicks on a playing page, the coordinates determining module 200 may firstly determine the coordinate of the click position, and then determine, according to the coordinate of the click position, the coordinates of the starting point and the end point of the lyrics to be played. For example, according to an embodiment of the present invention, the lyrics editing module 100 may assign a starting coordinate 1 and an end coordinate 10 to the first sentence of lyrics; and if the coordinates determining module 200 determines that the coordinate of the click position is 8, it may be determined that the click position is located in the first sentence of lyrics, and the coordinates of the starting point and the end point of the sentence of lyrics are respectively 1 and 10, and so on.
The playing module 300 may be configured to play the lyrics corresponding to the coordinates of the starting point and the end point. In an embodiment of the present invention, the play mode may be Once, Loop, and the like.
In addition, as illustrated in
The recording module 500 may be configured to record ambient sounds to compare the same with a song being played. In an embodiment of the present invention, during song playing, the song playing may be paused, and the recording module 500 is used for recording sounds. After the recording, the recorded sounds may be played for comparison with the song playing.
The text editing module 110 may be configured to display text of each sentence of lyrics in the form of a list. The coordinate editing module 120 may be configured to assign corresponding coordinates of the starting point and the end point to the text of each sentence of lyrics. The exporting module 130 may be configured to export the lyrics that are assigned the coordinates of the starting point and the end point.
Referring to
In step S301, the lyrics editing module 100 assigns coordinates of a starting point and an end point to each sentence of lyrics. In an embodiment of the present invention, the lyrics editing module 100 may, for example, divide the lyrics into sentences according to settings made by a user when inputting the lyrics, and then assign the coordinates of the starting point and the end point to each sentence of the lyrics. Specifically, the lyrics editing module 100 firstly display each sentence of the lyrics in the form of a list. Subsequently, the lyrics editing module 100 assigns corresponding coordinates of the starting point and the end point to the text of each sentence of lyrics. Afterwards, the lyrics editing module 100 exports the lyrics that are assigned the coordinates of the starting point and the end point.
In step S302, the coordinate determining module 200 determines a coordinate of a click position.
Subsequently, in step S303, the coordinate determining module 200 determines, according to the coordinate of the click position, the coordinates of the starting point and the end point of lyrics to be played. In an embodiment of the present invention, the click position may be any play position on a play page. After a user clicks on the play page, the coordinate determining module 200 may firstly determine the coordinate of the click position, and then determine, according to the coordinate of the click position, the coordinates of the starting point and the end point of the lyrics to be played.
In step S304, the playing module 300 plays the lyrics corresponding to the coordinates of the starting point and the end point. According to an embodiment of the present invention, the play mode may be Once, Loop, and the like.
Detailed above are exemplary embodiments for illustrating the present invention. It should be noted that these exemplary embodiments are not intended to limit the present invention. A person skilled in the art may derive various modifications and variations to the embodiments without departing from the spirit and scope of the present invention. The protection scope of the present invention is subject to the claims.
Number | Date | Country | Kind |
---|---|---|---|
201310339774.2 | Aug 2013 | CN | national |