Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var songtitle = "You Gon' Learn";
- var artist = "Eminem, Royce Da 5'9\", White Gold";
- var songDuration = 235;
- var animations = [
- {
- "index": "wavesurfer_culmcbbdp28",
- "type": "lyric",
- "start": 1,
- "end": 14.43,
- "text": "Pray you see tomorrow little boy, you gon' learn\nAll them pretty (...) leave yo' ass in the urn\nYou ain't sold your last rock, you just better earn\nBut I pray you see tomorrow little boy, you gon' learn"
- },
- {
- "index": "wavesurfer_id2n5qdib3g",
- "type": "lyric",
- "start": 14.5,
- "end": 28.23,
- "text": "Pray you see tomorrow little boy, you gon' learn\nAll them pretty (...) leave yo' ass in the urn\nYou ain't sold your last rock, you just better earn\nBut I pray you see tomorrow little boy, you gon' learn"
- },
- {
- "index": "wavesurfer_dfcaqfjdgt8",
- "type": "lyric",
- "start": 28.83,
- "end": 35.07,
- "text": "I'm a product of properly hoppin' \nup out of that poverty\nProfitin' all for coppin' and swappin' \nthat property out for a possible monopoly"
- },
- {
- "index": "wavesurfer_fcvfi1q6mk",
- "type": "lyric",
- "start": 35.3,
- "end": 44.23,
- "text": "Try not to adopt my father's old philosophies\nSame time I'm prayin' to God that everything \nworks out at his colonoscopy\nI'm walkin' across a suicidal tightrope intentionally"
- },
- {
- "index": "wavesurfer_klbcuqr14po",
- "type": "lyric",
- "start": 44.33,
- "end": 51.13,
- "text": "While the demons comin' out of me\nWifey's on the side of me talkin' sense into me\nWithout she, \nI feel incomplete mentally, she's been sent to me"
- },
- {
- "index": "wavesurfer_cok9as41j",
- "type": "lyric",
- "start": 51.2,
- "end": 61.8,
- "text": "Right there since '9-6, worse nightmare to side chicks, \nsome things are just meant to be\nThis it for me, give my daughters a kiss for me\nY'all call this fame, I call this shit alcoholistic infamy"
- },
- {
- "index": "wavesurfer_fcflis62om8",
- "type": "lyric",
- "start": 61.86,
- "end": 68.4,
- "text": "Targettin' my kids and babies through \npopulation and gun control\nShit make me wanna make a hunnid more\nMake a bigot racist uncomfortable"
- },
- {
- "index": "wavesurfer_082mcfj595o",
- "type": "lyric",
- "start": 68.5,
- "end": 73.53,
- "text": "If y'all against talk and reparation then I'm not \nagainst the thought of separation\nWhile the politicians that are white and privileged "
- },
- {
- "index": "wavesurfer_kj9tjesjmjo",
- "type": "lyric",
- "start": 73.6,
- "end": 82.13,
- "text": "ask how is this different from segregation, \nthat's funny bro\nThe segregation is bein' told where I'm gonna go\nSeparation is bein' woke and goin' wherever I wanna go"
- },
- {
- "index": "wavesurfer_p7hdhnj8d0o",
- "type": "lyric",
- "start": 82.96,
- "end": 96.66,
- "text": "Pray you see tomorrow little boy, you gon' learn\nAll them pretty (...) leave yo' ass in the urn\nYou ain't sold your last rock, you just better earn\nBut I pray you see tomorrow little boy, you gon' learn"
- },
- {
- "index": "wavesurfer_qjv32ssu1lo",
- "type": "lyric",
- "start": 96.73,
- "end": 109.76,
- "text": "Pray you see tomorrow little boy, you gon' learn\nAll them pretty (...) leave yo' ass in the urn\nYou ain't sold your last rock, you just better earn\nBut I pray you see tomorrow little boy, you gon' learn"
- },
- {
- "index": "wavesurfer_0ichccobs9",
- "type": "lyric",
- "start": 109.83,
- "end": 116.63,
- "text": "Never sold dope, from the gold rope\nWanted one though, they were so dope (Yeah)\nWas a have-not (Yeah) 'cause my pockets (Uh)\nDidn't have knots, I was so broke"
- },
- {
- "index": "wavesurfer_gh20da26ieo",
- "type": "lyric",
- "start": 116.73,
- "end": 123.6,
- "text": "On my last rock, for my slingshot\nBetter haul ass, don't be no slow poke (Nope)\nThrough the tall grass, run your ass off (Yeah)\nOh no, got your pants caught on the fence post"
- },
- {
- "index": "wavesurfer_c58trgop38g",
- "type": "lyric",
- "start": 123.7,
- "end": 127.63,
- "text": "Getting chased, by them Jackboys, \nthink it's 'bout to fuzz\nLike a lint roller they wait 'til it's late, \nthey will tiptoe"
- },
- {
- "index": "wavesurfer_j3q2huu308",
- "type": "lyric",
- "start": 127.7,
- "end": 133.5,
- "text": "Through your living room window\nTake your Nintendo and then skate\nMaking you feel like you got bent over and (...)\nLittle boy, you're never gonna get no rope chain"
- },
- {
- "index": "wavesurfer_3q777jinug",
- "type": "lyric",
- "start": 133.6,
- "end": 136.96,
- "text": "Get your shit stole, and your lip swole, \nI became bitter\nAs I got a little bit older, my hate"
- },
- {
- "index": "wavesurfer_r9dmte22tlg",
- "type": "lyric",
- "start": 137.16,
- "end": 141.6,
- "text": "Was making me get cold, \nand began to get a chipped shoulder\nStarted to spit vulgar, \nmy ZIP code had been skid row"
- },
- {
- "index": "wavesurfer_kt1l9hpcav8",
- "type": "lyric",
- "start": 141.66,
- "end": 148.46,
- "text": "But I ate every single beat that I spit over, \nthe shithole I escaped\nThen I began to explode, detonate, \nnow the Eastside went schizo"
- },
- {
- "index": "wavesurfer_kq04bdpggb8",
- "type": "lyric",
- "start": 148.53,
- "end": 154.16,
- "text": "Thought my name was B-side \n'cause they flipped over my tape\nAnd I won't hesitate\nTo get 'em all bent so outta shape"
- },
- {
- "index": "wavesurfer_o1jlr0q8j1o",
- "type": "lyric",
- "start": 154.5,
- "end": 160.33,
- "text": "Oh shit, bro, hold up, wait\nI just tripped over my cape (Superman)\nAnd I'm not gonna let up, \ntreat the paper like I'm chopping a letter"
- },
- {
- "index": "wavesurfer_a3fl0r3guoo",
- "type": "lyric",
- "start": 160.4,
- "end": 165.83,
- "text": "Dre'll tell you how I shred\nSo when you refer to the guy next to the doc, \nyou meant shredder\nNow the cops wanna set up roadblocks on my head, I"
- },
- {
- "index": "wavesurfer_60sf2g81d7",
- "type": "lyric",
- "start": 165.89,
- "end": 173.19,
- "text": "Got several bounties from feds in every county\nI'm with a gal at a Checkers wiling\nBumping \"(...) Da Police\" while I fed her Rally's\nThis shit is like Romper Room"
- },
- {
- "index": "wavesurfer_emch8ant1bo",
- "type": "lyric",
- "start": 173.26,
- "end": 179.79,
- "text": "Why do I feel responsible for these kids?\nAll of whom I'm a father to\nI'm a God to you, y'all better worship the water I walk on\nOr y'all gonna meet your Waterloo"
- },
- {
- "index": "wavesurfer_qgvnq8ptek",
- "type": "lyric",
- "start": 179.86,
- "end": 184.76,
- "text": "I get to flippin' the mic' as a murder weapon\nI'm poppin' an extra clip, then cock and shoot, \nthen I'm popping\nDo not let me catch you slippin'"
- },
- {
- "index": "wavesurfer_g28t4gjfqt8",
- "type": "lyric",
- "start": 184.83,
- "end": 190.83,
- "text": "I will pop up and I'll take a spot from you\nI'll get to doing what a leaky faucet do\nBut I ain't talkin' drip when I say that I'll \nget the drop on you"
- },
- {
- "index": "wavesurfer_l5iunusmrn8",
- "type": "lyric",
- "start": 191.06,
- "end": 197.86,
- "text": "Singin' (...) all of you in Autotune\nI am too volatile and too grizzly to bear\nYeah, shit is gettin' \nto where I can barely even sit in a chair"
- },
- {
- "index": "wavesurfer_mh0ouerb8ig",
- "type": "lyric",
- "start": 197.93,
- "end": 206.29,
- "text": "I bust my ass for this shit and I swear\nIt ain't even worth dissing someone so offbeat\nThat they can't even figure out where their words\nShould hit the kick and the snare"
- },
- {
- "index": "wavesurfer_encohkfrol8",
- "type": "lyric",
- "start": 206.39,
- "end": 220.09,
- "text": "Pray you see tomorrow little boy, you gon' learn\nAll them pretty (...) leave yo' ass in the urn\nYou ain't sold your last rock, you just better earn\nBut I pray you see tomorrow little boy, you gon' learn"
- },
- {
- "index": "wavesurfer_qmutga2bfog",
- "type": "lyric",
- "start": 220.16,
- "end": 233.96,
- "text": "Pray you see tomorrow little boy, you gon' learn\nAll them pretty (...) leave yo' ass in the urn\nYou ain't sold your last rock, you just better earn\nBut I pray you see tomorrow little boy, you gon' learn"
- }
- ];
- function getMarker(time){
- var i=0;
- var minDiff=1000;
- var marker;
- for(i in animations){
- var start = Math.abs(time-animations[i].start);
- var end = Math.abs(time-animations[i].end);
- var m = start > end ? end : start;
- if(m<minDiff){
- minDiff=m;
- marker = animations[i];
- }
- }
- return marker;
- }
- function getAnimationMarker(animationList, time){
- var i=0;
- var minDiff=1000;
- var marker;
- for(i in animationList){
- var start = Math.abs(time-animationList[i].start);
- var end = Math.abs(time-animationList[i].end);
- var m = start > end ? end : start;
- if(m<minDiff){
- minDiff=m;
- marker = animationList[i];
- }
- }
- return marker;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement