查看: 1991|回复: 8

求助歌词与音乐配合代码

[复制链接]

该用户从未签到

鲜花(0) 鸡蛋(0)
发表于 2009-4-26 15:53 | 显示全部楼层 |阅读模式
请问专家,音画帖的歌词与音乐完美的配合代码是……

该用户从未签到

鲜花(0) 鸡蛋(0)
发表于 2009-4-26 17:29 | 显示全部楼层
没有懂你的意思,是指歌词同步吗?

该用户从未签到

鲜花(105) 鸡蛋(0)
发表于 2009-4-26 17:34 | 显示全部楼层
估计就是

该用户从未签到

鲜花(0) 鸡蛋(0)
 楼主| 发表于 2009-5-9 03:44 | 显示全部楼层

回复 2# 的帖子

是啊,请教一下怎么做出来啊,代码是什么啊?

该用户从未签到

鲜花(0) 鸡蛋(0)
发表于 2009-5-9 03:53 | 显示全部楼层
俺不懂~帮楼主顶下

该用户从未签到

鲜花(0) 鸡蛋(0)
发表于 2009-5-24 21:44 | 显示全部楼层
<>&lt;HTML xmlns:v&gt;&lt;HEAD&gt;<BR>&lt;META http-equiv=Content-Type content=\"text/html; charset=gb2312\"&gt;<BR>&lt;META content=\"MSHTML 6.00.2900.2668\" name=GENERATOR&gt;&lt;/HEAD&gt;<BR>&lt;body bgcolor=\"#000000\" link=\"#0000FF\" vlink=\"#0000FF\" alink=\"#0000FF\" background=\"81.jpg\"&gt;</P>
<>&lt;STYLE&gt;<BR>v\\:*{behavior:url(#default#VML)}<BR>v\\:textpath{font-family:楷体_gb2312;font-size:26px;v-text-align:left}<BR>&lt;/STYLE&gt;<BR>&lt;XMP id=xLyric style=\"DISPLAY: none\"&gt;<BR>[ti:爱走了心碎了] <BR>[ar:雷龙] <BR>[al:] <BR>[by:] <BR>[00:02.02]以此歌献给吴明爱<BR>[00:07.12]也献给我的爱<BR>[00:11.18]<BR>[00:11.32]歌曲:爱走了心碎了 <BR>[00:15.77]演唱:雷龙 <BR>[00:19.14]你的爱走了我的心碎了 <BR>[00:22.73]我彻底被你伤透了 <BR>[00:26.73]如果你爱我 就别伤害我 <BR>[00:30.47]难道我们的缘分已散了 <BR>[00:34.38]你的爱走了我的心碎了 <BR>[00:38.35]没有我你是不是很快乐 <BR>[00:42.06]如果是这样 我会让你走 <BR>[00:45.97]感谢老天爷让我们相爱过<BR>[00:52.97]<BR>[01:02.69]有些故事总是难忘 <BR>[01:09.27]有些人却总是难放 <BR>[01:16.83]我一直把你放在我心上 <BR>[01:24.74]可是你却忍心让我受伤 <BR>[01:31.50] <BR>[01:33.44]走在有你的老地方 <BR>[01:40.10]想着你我泪流满眶 <BR>[01:48.24]这阵阵的春风啊 有点凉 <BR>[01:55.79]如今没有你陪在我身旁 <BR>[02:03.57]你的爱走了我的心碎了 <BR>[02:07.25]我彻底被你伤透了 <BR>[02:11.04]如果你爱我 就别伤害我 <BR>[02:14.94]难道我们的缘分已散了 <BR>[02:18.86]你的爱走了我的心碎了 <BR>[02:23.08]没有我你是不是很快乐 <BR>[02:26.59]如果是这样 我会让你走 <BR>[02:30.59]感谢老天爷让我们相爱过 <BR>[02:37.64] <BR>[02:37.93] <BR>[02:38.53] <BR>[02:56.02] <BR>[03:14.18]走在有你的老地方 <BR>[03:20.84]想着你我泪流满眶 <BR>[03:28.86]这阵阵的春风啊 有点凉 <BR>[03:36.26]如今没有你陪在我身旁 <BR>[03:43.98]你的爱走了我的心碎了 <BR>[03:48.22]我彻底被你伤透了 <BR>[03:51.71]如果你爱我 就别伤害我 <BR>[03:55.56]难道我们的缘分已散了 <BR>[03:59.44]你的爱走了我的心碎了 <BR>[04:03.38]情到深处我还是放不下 <BR>[04:07.13]你说过的话 难道忘了吗 <BR>[04:11.21]要我怎么才能忘记你啊 <BR>[04:15.02]你的爱走了我的心碎了 <BR>[04:19.01]我彻底被你伤透了 <BR>[04:22.57]如果你爱我 就别伤害我 <BR>[04:26.55]难道我们的缘分已散了 <BR>[04:30.43]你的爱走了我的心碎了 <BR>[04:34.67]没有我你是不是很快乐 <BR>[04:38.11]如果是这样 我会让你走 <BR>[04:42.05]感谢老天爷让我们相爱过 <BR>[04:46.17] <BR>[04:49.84]感谢老天爷让我们相爱过 <BR>[05:02.30] <BR>[05:03.76]吴明爱,不知道为什么<BR>[05:19.75]我会爱你<BR>[05:13.43]我会心疼<BR>[05:23.43]<BR>&lt;/XMP&gt;<BR>&lt;SCRIPT&gt;<BR>window.onerror=function(){return false}<BR>start()<BR>function start(){<BR> browser_ini()<BR> timer_ini()<BR> emv_ini()<BR> lrc.setData(oo(\"xLyric\").innerHTML)<BR> lrc.write(\"歌曲载入中,请耐心等待...\",\"l\")<BR> emv.play(\"<A href=\"http://mp38.com.cn/mp3/%E7%88%B1%E8%B5%B0%E4%BA%86%E5%BF%83%E7%A2%8E%E4%BA%86.wma\">http://mp38.com.cn/mp3/%E7%88%B1%E8%B5%B0%E4%BA%86%E5%BF%83%E7%A2%8E%E4%BA%86.wma</A>\")<BR>}<BR>function emv_ini(){<BR> var l<BR> window.emv={}<BR> lrc_ini()<BR> l=\"&lt;div id=bxEmv style=position:absolute;left:200;top:50;width:600;height:460&gt;\"<BR> l+=\"&lt;div style=position:absolute;left:0;top:0;width:600;height:460;&gt;&lt;/div&gt;\"<BR> l+=\"&lt;div id=bxEmvScreen style=position:absolute;overflow:hidden;left:29;top:122;width:560;height:360;&gt;\"<BR> l+=\"&lt;/div&gt;\"<BR> l+=\"&lt;/div&gt;\"<BR> l+=\"&lt;object classid=clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95 id=mplayer width=50 height=200 style=display:none&gt;&lt;/object&gt;\"<BR> insHtm(document.body,l)<BR> emv.play=function(url){oo(\"mplayer\").FileName=url;oo(\"mplayer\").Play()}<BR> emv.time=function(){<BR>  var mPos=mplayer.CurrentPosition,n=lrc.i<BR>  var n1,o,len,w,per,n0,n1<BR>  n1=n&lt;lrc.arr.length-1?lrc.arr[n+1].slice(0,\"|\")*1:9999<BR>  if(n1&lt;mPos){<BR>   lrc.i++<BR>   n++<BR>   if(n==0)<BR>    lrc.write(lrc.arr[n].slice(\"|\"),\"l\")<BR>   if(n&lt;lrc.arr.length-1)<BR>    lrc.write(lrc.arr[n+1].slice(\"|\"),n%2==1?\"l\":\"r\")<BR>  }<BR>  if(n&gt;=0){<BR>   n0=lrc.arr[n].slice(0,\"|\")<BR>   n1=lrc.arr.length&gt;n+1?lrc.arr[n+1].slice(0,\"|\"):4<BR>   o=oo(\"bxCaption_\"+(n%2==0?\"l\":\"r\")+\"_cover\")<BR>   len=o.time!=\"\"?o.time*1:n1-n0<BR>   per=(mPos-n0)/len<BR>   for(i=0.001;i&lt;1;i+=0.001){<BR>    per1=lrc.getRealPos(o,i)<BR>    if(per1&gt;=per)<BR>     break<BR>   }<BR>   o.style.width=o.width*i<BR>  }<BR> }<BR> timer.add(\"emv.time()\")<BR>}<BR>function lrc_ini(){<BR> window.lrc={}<BR> lrc.wordPer=function(str,pos){<BR>  return str.slice(0,pos).replace(/[^\\x00-\\xff]/g,\"  \").length/str.replace(/[^\\x00-\\xff]/g,\"  \").length<BR> }<BR> lrc.setData=function(str){<BR>  var l,a,i,ad,n,j<BR>  str=str.replace(/\\|/g,\"\").replace(/\\r\\n/g,\"\\n\")<BR>  str=str.replace(/\\[(\\d\\d)\\\\d\\d)\\.(\\d\\d)\\]/g,function($0,$1,$2,$3){return ($1*60+$2*1+$3/100)+\"|\"})<BR>  a=str.split(\"\\n\")<BR>  lrc.arr=new Array()<BR>  for(i=0;i&lt;a.length;i++){<BR>   ad=a.split(\"|\")<BR>   for(j=1;j&lt;ad.length;j++){<BR>    lrc.arr.add(ad[j-1]+\"|\"+ad[ad.length-1])<BR>   }<BR>  }<BR>  lrc.i=-1<BR>  sortIndex=0<BR>  sortDir=1<BR>  lrc.arr.sort(sortFoo)<BR> }<BR> lrc.getRealPos=function(obj,pos){<BR>  var a=obj.path,zoom=obj.zoom,pos1=pos*zoom<BR>  var a,i,ad<BR>  for(i=0;i&lt;a.length;i++){<BR>   ad=a<BR>   if(pos&lt;=ad[0])<BR>    continue<BR>   if(pos&gt;ad[0]&amp;&amp;pos&lt;=ad[1])<BR>    pos1+=(zoom*ad[2]-zoom)*(pos-ad[0])<BR>   else{<BR>    pos1+=(zoom*ad[2]-zoom)*(ad[1]-ad[0])<BR>   }<BR>    <BR>  }<BR>  return pos1<BR> }<BR> lrc.write=function(str,pos){<BR>  var word=str,style=\"\"<BR>  var x,y,l,w,w1,o,a,i,ad<BR>  if(/^\\&lt;.+\\&gt;/.test(str)){<BR>   word=str.slice(\"&gt;\")<BR>   style=str.slice(1).slice(0,\"&gt;\")<BR>  }<BR>  w=word.replace(/[^\\x00-\\xff]/g,\"  \").length*13+2<BR>  if(pos==\"l\"){<BR>   x=40<BR>   y=285<BR>  }<BR>  else{<BR>   x=520-w<BR>   y=315<BR>  }<BR>  l=\"&lt;div id=bxCaption_\"+pos+\" style=\'position:absolute;left:\"+x+\";top:\"+y+\";width:\"+w+\";height:32;overflow:hidden\'&gt;\"<BR>  l+=\"&lt;v:curve to=800,1 strokecolor=black strokeweight=3 style=position:absolute;top:14&gt;\"<BR>  l+=\"&lt;v:path textpathok=t /&gt;&lt;v:textpath on=t string=\'\"+word+\"\' /&gt;&lt;/v:curve&gt;\"<BR>  l+=\"&lt;v:curve to=800,1 strokecolor=white fillcolor=white strokeweight=1 style=position:absolute;top:14&gt;\"<BR>  l+=\"&lt;v:path textpathok=t /&gt;&lt;v:textpath on=t string=\'\"+word+\"\' /&gt;&lt;/v:curve&gt;\"<BR>  l+=\"&lt;/div&gt;\"<BR>  l+=\"&lt;div id=bxCaption_\"+pos+\"_cover width=\"+w+\" style=position:absolute;left:\"+x+\";top:\"+y+\";width:0;height:32;overflow:hidden&gt;\"<BR>  l+=\"&lt;v:curve to=800,1 strokecolor=white strokeweight=3 style=position:absolute;top:14&gt;\"<BR>  l+=\"&lt;v:path textpathok=t /&gt;&lt;v:textpath on=t string=\'\"+word+\"\' /&gt;&lt;/v:curve&gt;\"<BR>  l+=\"&lt;v:curve to=800,1 strokecolor=blue fillcolor=blue strokeweight=1 style=position:absolute;top:14&gt;\"<BR>  l+=\"&lt;v:path textpathok=t /&gt;&lt;v:textpath on=t string=\'\"+word+\"\' /&gt;&lt;/v:curve&gt;\"<BR>  l+=\"&lt;/div&gt;\"<BR>  odel(\"bxCaption_\"+pos)<BR>  odel(\"bxCaption_\"+pos+\"_cover\")<BR>  insHtm(\"bxEmvScreen\",l)<BR>  o=oo(\"bxCaption_\"+pos+\"_cover\")<BR>  o.time=style.get(\"time\")<BR>  o.path=new Array()<BR>  len1=1<BR>  a=style.split(\";\")<BR>  for(i=0;i&lt;a.length;i++){<BR>   if(!/(\\d+)\\d+)/.test(a))<BR>    continue<BR>   if(/(\\d+)-(\\d+)\\d+)/.test(a)){<BR>    ad=/(\\d+)-(\\d+):(\\d+)/.exec(a)<BR>    ad[0]=lrc.wordPer(word,ad[1]-1)<BR>    ad[1]=lrc.wordPer(word,ad[2]*1)<BR>    ad[2]=ad[3]<BR>   }<BR>   else{<BR>    ad=/(\\d+):(.+)/.exec(a)<BR>    ad[0]=lrc.wordPer(word,ad[1]-1)<BR>    ad[1]=lrc.wordPer(word,ad[1]*1)<BR>   }<BR>   len1+=(ad[1]-ad[0])*(ad[2]-1)<BR>   o.path.add(ad)<BR>  }<BR>  o.zoom=1/len1<BR> } <BR>}<BR>function browser_ini(){<BR> window.isIE=navigator.userAgent.indexOf(\"IE\")&gt;0<BR> window.isIE5=navigator.userAgent.indexOf(\"IE 5.0\")&gt;0<BR> String.prototype.trim=function(){return this.replace(/(^[\\s]*)|([\\s]*$)/g,\"\")}<BR> String.prototype.inc=function(s1,s2){if(s2==null){s2=\",\"};return (s2+this+s2).indexOf(s2+s1+s2)&gt;-1?true:false}<BR> String.prototype._slice=\"\".slice<BR> String.prototype.slice=function(n1,n2){var v,b1=typeof(n1)==\"number\",b2=typeof(n2)==\"number\";if(!b1||typeof(n2)==\"string\"){v=eval(\"this._slice(\"+(b1?n1:this.indexOf(n1)+(n2==null?1:0)+(this.indexOf(n1)==-1?this.length:0))+(n2==null?\"\":(b2?n2:(this.indexOf(n2)==-1?\"\":\",\"+this.indexOf(n2))))+\")\")}else{v=isIE5&amp;&amp;n1&lt;0&amp;&amp;n2==null?this._slice(this.length-1):eval(\"this._slice(n1\"+(n2==null?\"\":\",\"+n2)+\")\")}return v}<BR> String.prototype.get=function(str,def){if(this.inc(str,\";\"))return 1;var a=this.match(new RegExp(\"(^|;)\"+str+\":[^;]*\"));return a==null||str==\"\"?(def==null?\"\":def):a[0].replace(\";\",\"\").slice(str.length+1)}<BR> Array.prototype.add=function(key){this[this.length]=key}<BR> window.oo=function(obj){return typeof(obj)==\"string\"?document.getElementById(obj)bj}<BR> window.insHtm=function(op,html,inEnd){op=oo(op);if(isIE){op.insertAdjacentHTML(inEnd==null?\"beforeend\":\"afterbegin\",html)}else{var r=op.ownerDocument.createRange();r.setStartBefore(op);eval(\"op.\"+(inEnd==null?\"appendChild\":\"insertBefore\")+\"(r.createContextualFragment(html),op.firstChild)\");}}<BR> window.odel=function(obj){if(oo(obj)!=null){oo(obj).parentNode.removeChild(oo(obj))}}<BR> if(!isIE){<BR>     HTMLElement.prototype.contains=function(node){if(!node)return false;do if(node==this){return true}while(node=node.parentNode){return false}}<BR>  Event.prototype.__defineGetter__(\"srcElement\",function(){var node=this.target;while(node.nodeType!=1){node=node.parentNode}return node})<BR>  Event.prototype.__defineGetter__(\"toElement\",function(){return this.relatedTarget})<BR> }<BR>}<BR>function timer_ini(){<BR> window.timer={}<BR> timer.handle=null<BR> timer.queue=\"\"<BR> timer.i=0<BR> timer.add=function(key){if(!timer.queue.inc(key,\";\")){timer.queue+=key+\";\"}}<BR> timer.del=function(key){timer.queue=move.queue.replace(key+\";\",\"\")}<BR> timer.inv=function(){<BR>  window.clearTimeout(timer.handle)<BR>  eval(timer.queue)<BR>  timer.i++<BR>  timer.handle=window.setTimeout(\"timer.inv()\",10)<BR> }<BR> timer.inv()<BR>}<BR>function sortFoo(v1,v2){<BR>    var s1=v1.split(\"|\")[sortIndex],s2=v2.split(\"|\")[sortIndex]<BR>    if(!isNaN(s1)&amp;&amp;!isNaN(s2)){<BR>  s1*=1<BR>  s2*=1<BR>    }<BR> return (s1==s2?0:(s1&gt;s2?1:-1))*sortDir<BR>}<BR>&lt;/SCRIPT&gt;<BR>&lt;EMBED style=\"LEFT: 62; WIDTH: 800px; POSITION: absolute; TOP: -71; HEIGHT:730px\" align=right src= <A href=\"http://www.toto369.net/sucai/flash/138.swf\">http://www.toto369.net/sucai/flash/138.swf</A> type=application/octet-stream wmode=\"transparent\" quality=\"high\" ;;&gt;&lt;/EMBED&gt;<BR></P>

该用户从未签到

鲜花(0) 鸡蛋(0)
发表于 2009-5-24 22:33 | 显示全部楼层
感谢AAA的热心回复

该用户从未签到

鲜花(0) 鸡蛋(0)
发表于 2009-6-29 17:35 | 显示全部楼层
这么长???

该用户从未签到

鲜花(0) 鸡蛋(0)
发表于 2009-8-3 18:41 | 显示全部楼层
好象不行啊好象不行也
您需要登录后才可以回帖 登录 | 中文注册

本版积分规则

网站地图|小黑屋|Archiver|中画网 ( 蜀ICP备11021737号-2 )|网站地图

GMT+8, 2024-5-7 12:27 , Processed in 0.052696 second(s), 23 queries , MemCached On.

上网要文明 发言要理性

Powered by Discuz! © 2008-2023 YinHuaBBS.CN

快速回复 返回顶部 返回列表