php - Lyrics following a song in the same time as It listened -


i want maybe special. have song, , have it's lyrics, want method provide opportunity lyrics follow song, example listen song in same time read lyrics show have heard.

try splitting lyrics when appear in song. e.g.:

$lyrics['when_im_gone'] = array(   12.5 => 'there\'s world inside of me may never see',   19.5 => 'there\'re secrets in life can\'t hide',   26.0 => 'somewhere in darkness there\'s light can\'t find',   31.5 => 'maybe it\'s far away...',   37.5 => 'or maybe i\'m blind...' ); 

in above array, first lyric should displayed @ 12.5 seconds in, second @ 19.5, etc.

in flash audio player, request array server (or use php inject array page markup when loads), , display each lyric @ appointed time in song.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -