Click here to Skip to main content
15,895,370 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello experts,

I have a page divided into 2 sections. First section will the audio file(song) and second section will display the lyrics of the songs. The challenge is to sync the audio and text.
Posted
Comments
shakil0304003 4-Feb-11 1:56am    
Not Clear!!!
OriginalGriff 4-Feb-11 2:32am    
So what have you tried?
Where are you stuck?

1 solution

Have a look at subtitles, these work in somewhat the same way but then with video.

You have a file starting at 1 with the timings when and until the text it must be shown.
MSIL
434
00:48:31.165 --> 00:48:34.920
Some line of text goes here


Subtitle synchronization (as example of reading the format):
Subtitle Synchronization with C#[^]

Good luck!
 
Share this answer
 
Comments
lakdrit 4-Feb-11 4:11am    
i need it with asp.net... like there will be an upload video button... which will upload the video... after uploading the video there user will also upload another file say xml where he can set time and text...
E.F. Nijboer 4-Feb-11 16:47pm    
That would be somewhat the same way but besides asp.net you would need to create that functionality using javascript. Of course you would also need a client Media Player component. You can read the position of the control and use that to time the lyrics. You would of course need to dive into the api of the Media Player. Have a look here for more info:
http://www.beansoftware.com/ASP.NET-Tutorials/Media-Player.aspx

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900