kreisler. - Liebesleid(爱'S悲伤)来自3岁的古老的维也纳舞蹈
喇叭的乐谱



'); docprint.document.write(''); if (ref==1){ docprint.document.write( document.getElementById(printpage).innerHTML +' '); } else{ var img=document.getElementById(printpage), style=img.currentStyle||window.getComputedStyle(img, false), bi=style.backgroundImage.slice(4, -1);docprint.document.write(' '); } docprint.document.close(); docprint.focus(); } function printdivold2(printpage,ref){ if (ref==1){ var headstr = " "; var footstr = " "; var newstr = document.getElementById(printpage).innerHTML; var oldstr = document.body.innerHTML; document.body.innerHTML = headstr+newstr+footstr; window.print(); setTimeout(function () { window.location.reload() }, 1000); return false; } else{ var headstr = " "; var footstr = " "; var img=document.getElementById(printpage), style=img.currentStyle||window.getComputedStyle(img, false), bi=style.backgroundImage.slice(4, -1); console.log(bi); var newstr = ''; var oldstr = document.body.innerHTML; document.body.innerHTML = headstr+newstr+footstr; window.print(); } } function printdiv(printpage,ref) { if (ref==1){ var headstr = " "; var footstr = " "; var newstr = document.getElementById(printpage).innerHTML; var oldstr = document.body.innerHTML; document.body.innerHTML = headstr+newstr+footstr; window.print(); setTimeout(function () { window.location.reload() }, 1000); return false; } else{ const html = []; html.push(''); html.push('
'); html.push('',); html.push('
'); //console.log(html) var a = window.open('', '', 'width=700,height=960'); a.document.open("text/html"); a.document.write(html.join("")); a.document.close(); } } var tempo = 99.0,changedpage=0,lb,rb,sco,sco2,pb,pi,bg1,bg2,ic1,ic0,ic2,ic3,aic0,aic1,aic2,aic3,l1,l2,pdfadd,ss,styp,sic,pauseon=0,meton=0,speedval=1.0,currpage=1,currpagearryno=1,introbars=1; //no intro 5=4 var introdelay=2000,iipage=1,no_pages=7; ss='/school/png/'; var images = new Array(); var blankImage = new Image(); blankImage.src = "data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAABngAAAkjAQMAAAAYztM1AAAAA1BMVEX///+nxBvIAAAACXBIWXMAAB7CAAAewgFu0HU+AAAB7klEQVR42u3BAQ0AAADCoPdPbQ43oAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHg0bNkAAUrnO4MAAAAASUVORK5CYII=" var imageCache = {"": blankImage}; window.onload = function(){ document.onkeyup = function(event){ var e = (!event) ? window.event : event; var kcode=e.keyCode evenwhen(kcode); }; }; window.onkeydown = function(event) { var e = (!event) ? window.event : event; var kcode=e.keyCode if (kcode==32){ var elem if (e.srcElement) elem = e.srcElement; else if (e.target) elem = e.target; if (elem.tagName.toLowerCase()=='input' || elem.tagName.toLowerCase()=='textarea') {} else{ if(lb==null){ initiatestuff();playmain(kcode); } else{ callpause2(); } return false; } } }; var meton=0,everyplayed2=0,everyplayed=0,carryon=true,play_status=0,totdone,toty,score='trumpet/liebesleid_loves_sorrow_TPT'; function callpause2(){ var num_listened=readCookie('num_listened') if (num_listened=='undefined'||num_listened=='NaN'){num_listened=0;} if (num_listened>3){ overlay();return ; } else{ callpause();} } styp="main"; var page_printed=0; const newPButton = document.querySelector(".icon_printer"); newPButton.addEventListener("click", async () => { if (!showTwoPages){var src=document.getElementById('score').src; printdiv(src,0);return;} if (page_printed==0){ alert('This will print the left hand page. Press print again to print the right hand page. \n\nTo print entire pieces in one go, and for higher quality printing from our PDF files, please subscribe.'); var src=document.getElementById('score').src; page_printed=1; printdiv(src,0); } else {page_printed=0; alert('This will now print the right hand page. Press print again to print the left hand page, or for longer pieces, navigate to next pages and press print again.'); var src=document.getElementById('score2').src; printdiv(src,0) } }); function openPDF(){ } function doprint() { if(lb==null){initiatestuff()} alert('N.B. This will print only the current page.\n\nIf this piece has more than one page, you will need to print each page individually. Navigate to other pages using the << and >> buttons.\n\nTo print entire pieces in one go, and for higher quality printing from our PDF files, please subscribe.') var ssrc=sco.src; var src=document.getElementById('score').src; printdiv(src,0) } class ConfirmDialog { constructor({ questionText, trueButtonText, falseButtonText, parent }) { this.questionText = questionText || "Are you sure?"; this.trueButtonText = trueButtonText || "Yes"; this.falseButtonText = falseButtonText || "No"; this.parent = parent || document.body; this.dialog = undefined; this.trueButton = undefined; this.falseButton = undefined; this._createDialog(); this._appendDialog(); } confirm() { return new Promise((resolve, reject) => { const somethingWentWrongUponCreation = !this.dialog || !this.trueButton || !this.falseButton; if (somethingWentWrongUponCreation) { reject('Someting went wrong when creating the modal'); return; } this.dialog.showModal(); this.trueButton.focus(); this.trueButton.addEventListener("click", () => { resolve(true); this._destroy(); }); this.falseButton.addEventListener("click", () => { resolve(false); this._destroy(); }); }); } _createDialog() { this.dialog = document.createElement("dialog"); this.dialog.classList.add("confirm-dialog"); const question = document.createElement("div"); question.textContent = this.questionText; question.classList.add("confirm-dialog-question"); this.dialog.appendChild(question); const buttonGroup = document.createElement("div"); buttonGroup.classList.add("confirm-dialog-button-group"); this.dialog.appendChild(buttonGroup); this.falseButton = document.createElement("button"); this.falseButton.classList.add( "confirm-dialog-button", "confirm-dialog-button--false" ); this.falseButton.type = "button"; this.falseButton.textContent = this.falseButtonText; buttonGroup.appendChild(this.falseButton); this.trueButton = document.createElement("button"); this.trueButton.classList.add( "confirm-dialog-button", "confirm-dialog-button--true" ); this.trueButton.type = "button"; this.trueButton.textContent = this.trueButtonText; buttonGroup.appendChild(this.trueButton); } _appendDialog() { this.parent.appendChild(this.dialog); } _destroy() { this.parent.removeChild(this.dialog); delete this; } } function getCachedImageFromMap (path, map) { let image = map[path]; if (image) return image; image = new Image(); image.src = path; map[path] = image; return image; } var scfile=ss+score+'001.png'; var scfile2=ss+score+'002.png'; function playalongacc(pltype) { if(ison0) { hideLoopGuide(); } if(lb==null){initiatestuff()} switch (pltype){ case 1: if (ison1==0&&document.getElementById('pausebefore').checked==true){ pauseamount=5;updatecountin(); pppa=pauseamount+1; } else{ pauseamount=0;pppa=0;stopplayalongreturntostandardview() } break; case 2: if (ison2==00&&document.getElementById('pausebefore').checked==true){ pauseamount=5;updatecountin(); pppa=pauseamount+1; } else{ pauseamount=0;pppa=0;stopplayalongreturntostandardview() } break; case 3: if (ison3==00&&document.getElementById('pausebefore').checked==true){ pauseamount=5;updatecountin(); pppa=pauseamount+1; } else{ pauseamount=0;pppa=0;stopplayalongreturntostandardview() } break; } stimer = window.setTimeout( "playalongacc2("+pltype+")", (pppa*1000)); checkIfShouldShowTwoPages(); } var baseUrl = ''; function playalongacc2(pltype, keepPlayState, wasOn){ let wasStoped = pauseon || !wasOn; if(typeof bpp !== 'undefined' && typeof ppt !== 'undefined') { temp_IS_HIGHLIGHT_ON=IS_HIGHLIGHT_ON; } else{ temp_IS_HIGHLIGHT_ON=false;l1.style.visibility='hidden'; } var bon=0; stopplayalongreturntostandardview() if (ison1) { playalongstop() btn_transpose.style.visibility='visible'; } else { if (!keepPlayState || !wasStoped) { startTimeframe(DESIRED_FPS); } l1.style.visibility='visible'; btn_transpose.style.visibility='hidden'; } var num_listened=readCookie('num_listened') if(num_listened=='undefined'||num_listened=='NaN'){num_listened=0;} if(everyplayed==0){num_listened=p(num_listened)+1;eraseCookie('num_listened');createCookie('num_listened',num_listened,1);everyplayed=1;} if(num_listened>3){overlay();return } var aisp=document.getElementById('aispacer'); switch (pltype){ case 1: if (ison1==0){ bon=1;ison1=1;ison2=0;ison3=0;ison0=0;ic1.src=sic;aud=document.getElementById('demo1'); pico.style.display='inline-block!important';ic2.style.display='none';aic0.style.display='none';aic2.style.display='none'; aisp.style.display='inline-flex';aisp.style.visibiliy='visible'; if(ic3){aic3.style.display='none';ic3.style.display='none';} } break; case 2: if(ison2==0){bon=1;ison1=0;ison2=1;ison3=0;ison0=0;ic2.src=sic;aud=document.getElementById('demo2'); pico.style.display='inline-block!important';ic1.style.display='none';aic0.style.display='none';aic1.style.display='none';aisp.style.display='inline-flex';aisp.style.visibiliy='visible'; if(ic3){aic3.style.display='none';ic3.style.display='none';}} break; case 3: if(ison3==0){bon=1;ison1=0;ison2=0;ison3=1;ison0=0;ic3.src=sic;aud=document.getElementById('demo3'); pico.style.display='inline-block!important';ic1.style.display='none';aic0.style.display='none';aic1.style.display='none';aisp.style.display='inline-flex';aisp.style.visibiliy='visible' aic2.style.display='none';ic2.style.display='none'; } break; } isTwoPagesOn=false; resizeStage() aud.addEventListener('timeframe',checktimeupdateparts); rb.classList.remove("pagenav_disabled"); aud.addEventListener('timeframe',function(){ if (aud.currentTime< 61) { if(currpage!=1&&changedpage==0){ currpage=1 lb.classList.remove("pagenav_disabled");rb.classList.remove("pagenav_disabled"); } if (currpage==max_playalong_page||showTwoPages&&(currpage+1 == max_playalong_page)){rb.classList.add("pagenav_disabled");} lb.classList.add("pagenav_disabled"); } },false); if (bon==1) { pb.style.display='flex';pico.style.display='inline-block';document.getElementById('metandtemp').style.visibility='visible'; aud.addEventListener('timeframe', updateProgress, false); aud.addEventListener('ended', audioend); updateplaybackrate(document.getElementById('speed').value) speedval=document.getElementById('speed').value aud.play();aud.currentTime = 0; baseUrl=ss+'trumpet/liebesleid_loves_sorrow_tpt_tp'; switchScore("score", `${baseUrl}001.png`); switchScore("score2", `${baseUrl}002.png`); checkIfShouldShowTwoPages(); } else { pb.style.display='none';document.getElementById('metandtemp').style.visibiliy='hidden';pico.style.display='none'; ison1=0;ison2=0;ison3=0; stopplayalongreturntostandardview();stopLoop(); checkIfShouldShowTwoPages(); } if(keepPlayState) { if (wasStoped) { pauseon=0; callpause(); setTimeout(() => { checkbartimeupdate(); updateProgress(); }, 100) } } } var no_part_pages=3; function stopplayalongreturntostandardview() { if(lb==null){initiatestuff()} l1.style.visibility = 'hidden'; ic1.style.display='block'; ic2.style.display='block'; if(ic3){ic3.style.display='block';} ic0.style.display='block'; aic1.style.display='inline-block'; aic2.style.display='inline-block'; if(aic3){aic3.style.display='inline-block';} aic0.style.display='inline-block'; aisp=document.getElementById('aispacer'); aisp.style.display='none';aisp.style.visibility='hidden'; pico.src='/im/pause.svg'; document.getElementById('icon0').src = '/im/play.svg'; document.getElementById('progress').style.width = "0%"; ic1.src = '/im/playalong.svg';ic2.src = '/im/band.svg';if(ic3){ic3.src = '/im/slow.svg';} currpage=1; document.getElementById('demo0').pause(); document.getElementById('demo1').pause();document.getElementById('demo2').pause();document.getElementById('demo3').pause(); if(curtransp<0){ switchScore('score', thissc+'_d'+negtransp+'001.gif'); switchScore('score2', thissc+'_d'+negtransp+'002.gif'); } else if(curtransp>0){ switchScore('score', thissc+'_u'+curtransp+'001.gif'); switchScore('score2', thissc+'_u'+curtransp+'002.gif'); } else{ sco.style = {}; sco2.style ={}; } if (!ext_traditional){ lb.classList.add("pagenav_disabled"); if (no_pages>2||!showTwoPages&&no_pages>1){rb.classList.remove("pagenav_disabled");} } } function playalongstop() { resizeStage(); stop=true; l1.style.visibility = 'hidden'; sco.style.top='0'; document.getElementById('mainscore').style.height='100%'; document.getElementById('icon0').src = '/im/play.svg';ic1.src = '/im/playalong.svg';ic2.src = '/im/band.svg';if(ic3){ic3.src = '/im/slow.svg';} document.getElementById('demo0').pause(); document.getElementById('demo1').pause();document.getElementById('demo2').pause();if(ic3){document.getElementById('demo3').pause();} } function createCookie(name,value,days) { if (days) { var expires="",date=new Date(),midnight=new Date(date.getFullYear(),date.getMonth(),date.getDate(),23,59,59); expires = "; expires=" + midnight.toGMTString(); date.setTime(date.getTime()+(days*24*60*60*1000)); var expires = "; expires="+date.toGMTString(); } else var expires = ""; document.cookie = name+"="+value+expires+"; path=/"; var gtxt='' if(3-value>1){gtxt=(3-value)+' free plays';} else if (3-value==1){gtxt=(3-value)+' free play';} else if (3-value<1){gtxt='0 free plays';} else{gtxt='3 free plays';} var pleft=document.getElementById('playleft'); pleft.innerHTML=gtxt+' left today. 订阅 for unlimited plays.'; pleft.style.dispaly='block';pleft.style.visibility='visible'; } var pt = []; pt[1] = { e:23, p:1 }; pt[2] = { e:51, p:2 }; pt[3] = { e:79, p:3 }; pt[4] = { e:107, p:4 }; pt[5] = { e:136, p:5 }; pt[6] = { e:165, p:6 }; pt[7] = { e:192, p:7 }; var ppt = []; ppt[1] = { e:61, p:1 };ppt[2] = { e:135, p:2 };ppt[3] = { e:192, p:3 }; var bt = []; bt[1]={e:4,b:1};bt[2]={e:15,b:2};bt[3]={e:26,b:3};bt[4]={e:38,b:4};bt[5]={e:49,b:5};bt[6]={e:60,b:6};bt[7]={e:71,b:7};bt[8]={e:82,b:8};bt[9]={e:94,b:9};bt[10]={e:105,b:10};bt[11]={e:116,b:11};bt[12]={e:128,b:12};bt[13]={e:139,b:13};bt[14]={e:150,b:14};bt[15]={e:161,b:15};bt[16]={e:172,b:16};bt[17]={e:184,b:17};bt[18]={e:195,b:18};bt[19]={e:206,b:19};bt[20]={e:218,b:20};bt[21]={e:229,b:21};bt[22]={e:240,b:22};bt[23]={e:251,b:23};bt[24]={e:262,b:24};bt[25]={e:274,b:25};bt[26]={e:285,b:26};bt[27]={e:296,b:27};bt[28]={e:308,b:28};bt[29]={e:319,b:29};bt[30]={e:330,b:30};bt[31]={e:341,b:31};bt[32]={e:352,b:32};bt[33]={e:364,b:33};bt[34]={e:375,b:34};bt[35]={e:386,b:35};bt[36]={e:398,b:36};bt[37]={e:409,b:37};bt[38]={e:420,b:38};bt[39]={e:431,b:39};bt[40]={e:442,b:40};bt[41]={e:454,b:41};bt[42]={e:465,b:42};bt[43]={e:476,b:43};bt[44]={e:488,b:44};bt[45]={e:499,b:45};bt[46]={e:510,b:46};bt[47]={e:521,b:47};bt[48]={e:532,b:48};bt[49]={e:544,b:49};bt[50]={e:555,b:50};bt[51]={e:566,b:51};bt[52]={e:578,b:52};bt[53]={e:589,b:53};bt[54]={e:600,b:54};bt[55]={e:611,b:55};bt[56]={e:622,b:56};bt[57]={e:635,b:57};bt[58]={e:647,b:58};bt[59]={e:658,b:59};bt[60]={e:669,b:60};bt[61]={e:680,b:61};bt[62]={e:692,b:62};bt[63]={e:703,b:63};bt[64]={e:714,b:64};bt[65]={e:725,b:65};bt[66]={e:738,b:66};bt[67]={e:750,b:67};bt[68]={e:761,b:68};bt[69]={e:772,b:69};bt[70]={e:783,b:70};bt[71]={e:795,b:71};bt[72]={e:806,b:72};bt[73]={e:817,b:73};bt[74]={e:828,b:74};bt[75]={e:840,b:75};bt[76]={e:851,b:76};bt[77]={e:862,b:77};bt[78]={e:873,b:78};bt[79]={e:885,b:79};bt[80]={e:896,b:80};bt[81]={e:907,b:81};bt[82]={e:918,b:82};bt[83]={e:930,b:83};bt[84]={e:941,b:84};bt[85]={e:952,b:85};bt[86]={e:963,b:86};bt[87]={e:975,b:87};bt[88]={e:986,b:88};bt[89]={e:997,b:89};bt[90]={e:1008,b:90};bt[91]={e:1020,b:91};bt[92]={e:1031,b:92};bt[93]={e:1042,b:93};bt[94]={e:1053,b:94};bt[95]={e:1065,b:95};bt[96]={e:1078,b:96};bt[97]={e:1092,b:97};bt[98]={e:1103,b:98};bt[99]={e:1114,b:99};bt[100]={e:1126,b:100};bt[101]={e:1137,b:101};bt[102]={e:1148,b:102};bt[103]={e:1159,b:103};bt[104]={e:1171,b:104};bt[105]={e:1182,b:105};bt[106]={e:1193,b:106};bt[107]={e:1204,b:107};bt[108]={e:1216,b:108};bt[109]={e:1227,b:109};bt[110]={e:1238,b:110};bt[111]={e:1249,b:111};bt[112]={e:1261,b:112};bt[113]={e:1272,b:113};bt[114]={e:1283,b:114};bt[115]={e:1294,b:115};bt[116]={e:1306,b:116};bt[117]={e:1317,b:117};bt[118]={e:1328,b:118};bt[119]={e:1339,b:119};bt[120]={e:1352,b:120};bt[121]={e:1364,b:121};bt[122]={e:1375,b:122};bt[123]={e:1386,b:123};bt[124]={e:1397,b:124};bt[125]={e:1409,b:125};bt[126]={e:1420,b:126};bt[127]={e:1431,b:127};bt[128]={e:1442,b:128};bt[129]={e:1454,b:129};bt[130]={e:1467,b:130};bt[131]={e:1479,b:131};bt[132]={e:1491,b:132};bt[133]={e:1503,b:133};bt[134]={e:1515,b:134};bt[135]={e:1527,b:135};bt[136]={e:1539,b:136};bt[137]={e:1551,b:137};bt[138]={e:1563,b:138};bt[139]={e:1575,b:139};bt[140]={e:1587,b:140};bt[141]={e:1599,b:141};bt[142]={e:1611,b:142};bt[143]={e:1623,b:143};bt[144]={e:1635,b:144};bt[145]={e:1647,b:145};bt[146]={e:1659,b:146};bt[147]={e:1671,b:147};bt[148]={e:1683,b:148};bt[149]={e:1695,b:149};bt[150]={e:1707,b:150};bt[151]={e:1719,b:151};bt[152]={e:1731,b:152};bt[153]={e:1743,b:153};bt[154]={e:1755,b:154};bt[155]={e:1767,b:155};bt[156]={e:1779,b:156};bt[157]={e:1791,b:157};bt[158]={e:1803,b:158};bt[159]={e:1815,b:159};bt[160]={e:1827,b:160};bt[161]={e:1839,b:161};bt[162]={e:1851,b:162};bt[163]={e:1863,b:163};bt[164]={e:1875,b:164};bt[165]={e:1887,b:165};bt[166]={e:1899,b:166};bt[167]={e:1911,b:167};bt[168]={e:1923,b:168}; var bp = []; bp[1]={t:154,l:121,w:79,h:140 };bp[2]={t:154,l:199,w:62,h:140 };bp[3]={t:154,l:261,w:66,h:140 };bp[4]={t:154,l:327,w:91,h:140 };bp[5]={t:154,l:418,w:62,h:140 };bp[6]={t:154,l:480,w:62,h:140 };bp[7]={t:154,l:542,w:66,h:140 };bp[8]={t:402,l:51,w:135,h:140 };bp[9]={t:402,l:186,w:62,h:140 };bp[10]={t:402,l:249,w:62,h:140 };bp[11]={t:402,l:311,w:66,h:140 };bp[12]={t:402,l:378,w:92,h:140 };bp[13]={t:402,l:470,w:62,h:140 };bp[14]={t:402,l:532,w:75,h:140 };bp[15]={t:649,l:51,w:117,h:136 };bp[16]={t:649,l:168,w:62,h:136 };bp[17]={t:649,l:230,w:62,h:136 };bp[18]={t:649,l:292,w:79,h:136 };bp[19]={t:649,l:371,w:74,h:136 };bp[20]={t:649,l:445,w:92,h:136 };bp[21]={t:649,l:537,w:70,h:136 };bp[22]={t:92,l:51,w:128,h:135 };bp[23]={t:92,l:179,w:85,h:135 };bp[24]={t:92,l:264,w:98,h:135 };bp[25]={t:92,l:362,w:76,h:135 };bp[26]={t:92,l:438,w:85,h:135 };bp[27]={t:92,l:523,w:85,h:135 };bp[28]={t:281,l:51,w:140,h:128 };bp[29]={t:281,l:191,w:75,h:128 };bp[30]={t:281,l:266,w:89,h:128 };bp[31]={t:281,l:354,w:95,h:128 };bp[32]={t:281,l:450,w:75,h:128 };bp[33]={t:281,l:524,w:83,h:128 };bp[34]={t:463,l:51,w:114,h:141 };bp[35]={t:463,l:165,w:74,h:141 };bp[36]={t:463,l:239,w:69,h:141 };bp[37]={t:463,l:308,w:87,h:141 };bp[38]={t:463,l:395,w:70,h:141 };bp[39]={t:463,l:465,w:74,h:141 };bp[40]={t:463,l:539,w:69,h:141 };bp[41]={t:657,l:51,w:112,h:128 };bp[42]={t:657,l:163,w:85,h:128 };bp[43]={t:657,l:248,w:95,h:128 };bp[44]={t:657,l:343,w:85,h:128 };bp[45]={t:657,l:428,w:95,h:128 };bp[46]={t:657,l:523,w:85,h:128 };bp[47]={t:92,l:51,w:140,h:130 };bp[48]={t:92,l:191,w:67,h:130 };bp[49]={t:92,l:259,w:67,h:130 };bp[50]={t:92,l:326,w:68,h:130 };bp[51]={t:92,l:394,w:80,h:130 };bp[52]={t:92,l:473,w:67,h:130 };bp[53]={t:92,l:540,w:67,h:130 };bp[54]={t:279,l:51,w:128,h:135 };bp[55]={t:279,l:179,w:95,h:135 };bp[56]={t:279,l:274,w:79,h:135 };bp[57]={t:279,l:353,w:80,h:135 };bp[58]={t:279,l:432,w:80,h:135 };bp[59]={t:279,l:512,w:96,h:135 };bp[60]={t:470,l:51,w:117,h:131 };bp[61]={t:470,l:167,w:87,h:131 };bp[62]={t:470,l:254,w:78,h:131 };bp[63]={t:470,l:332,w:83,h:131 };bp[64]={t:470,l:415,w:73,h:131 };bp[65]={t:470,l:488,w:93,h:131 };bp[66]={t:658,l:51,w:108,h:127 };bp[67]={t:658,l:159,w:92,h:127 };bp[68]={t:658,l:251,w:81,h:127 };bp[69]={t:658,l:332,w:96,h:127 };bp[70]={t:658,l:428,w:82,h:127 };bp[71]={t:658,l:510,w:98,h:127 };bp[72]={t:92,l:51,w:107,h:139 };bp[73]={t:92,l:158,w:90,h:139 };bp[74]={t:92,l:248,w:81,h:139 };bp[75]={t:92,l:329,w:99,h:139 };bp[76]={t:92,l:428,w:87,h:139 };bp[77]={t:92,l:515,w:93,h:139 };bp[78]={t:285,l:51,w:117,h:128 };bp[79]={t:285,l:168,w:97,h:128 };bp[80]={t:285,l:265,w:90,h:128 };bp[81]={t:285,l:356,w:90,h:128 };bp[82]={t:285,l:445,w:77,h:128 };bp[83]={t:285,l:522,w:86,h:128 };bp[84]={t:468,l:51,w:111,h:135 };bp[85]={t:468,l:162,w:68,h:135 };bp[86]={t:468,l:230,w:71,h:135 };bp[87]={t:468,l:301,w:85,h:135 };bp[88]={t:468,l:386,w:84,h:135 };bp[89]={t:468,l:470,w:67,h:135 };bp[90]={t:468,l:537,w:70,h:135 };bp[91]={t:658,l:51,w:134,h:127 };bp[92]={t:658,l:185,w:103,h:127 };bp[93]={t:658,l:288,w:109,h:127 };bp[94]={t:658,l:397,w:105,h:127 };bp[95]={t:658,l:502,w:105,h:127 };bp[96]={t:92,l:51,w:118,h:125 };bp[97]={t:92,l:169,w:77,h:125 };bp[98]={t:92,l:246,w:98,h:125 };bp[99]={t:92,l:344,w:84,h:125 };bp[100]={t:92,l:428,w:106,h:125 };bp[101]={t:92,l:535,w:73,h:125 };bp[102]={t:274,l:51,w:123,h:125 };bp[103]={t:274,l:174,w:82,h:125 };bp[104]={t:274,l:256,w:111,h:125 };bp[105]={t:274,l:367,w:77,h:125 };bp[106]={t:274,l:444,w:77,h:125 };bp[107]={t:274,l:521,w:87,h:125 };bp[108]={t:454,l:51,w:143,h:141 };bp[109]={t:454,l:194,w:68,h:141 };bp[110]={t:454,l:262,w:78,h:141 };bp[111]={t:454,l:340,w:76,h:141 };bp[112]={t:454,l:416,w:64,h:141 };bp[113]={t:454,l:480,w:64,h:141 };bp[114]={t:454,l:544,w:64,h:141 };bp[115]={t:652,l:51,w:128,h:133 };bp[116]={t:652,l:179,w:69,h:133 };bp[117]={t:652,l:248,w:69,h:133 };bp[118]={t:652,l:317,w:70,h:133 };bp[119]={t:652,l:388,w:82,h:133 };bp[120]={t:652,l:470,w:69,h:133 };bp[121]={t:652,l:538,w:69,h:133 };bp[122]={t:92,l:51,w:121,h:137 };bp[123]={t:92,l:172,w:94,h:137 };bp[124]={t:92,l:266,w:78,h:137 };bp[125]={t:92,l:344,w:92,h:137 };bp[126]={t:92,l:436,w:82,h:137 };bp[127]={t:92,l:518,w:89,h:137 };bp[128]={t:283,l:51,w:120,h:135 };bp[129]={t:283,l:171,w:80,h:135 };bp[130]={t:283,l:250,w:95,h:135 };bp[131]={t:283,l:345,w:90,h:135 };bp[132]={t:283,l:435,w:95,h:135 };bp[133]={t:283,l:530,w:77,h:135 };bp[134]={t:471,l:51,w:111,h:133 };bp[135]={t:471,l:162,w:96,h:133 };bp[136]={t:471,l:258,w:95,h:133 };bp[137]={t:471,l:353,w:77,h:133 };bp[138]={t:471,l:431,w:82,h:133 };bp[139]={t:471,l:513,w:95,h:133 };bp[140]={t:658,l:51,w:116,h:127 };bp[141]={t:658,l:167,w:94,h:127 };bp[142]={t:658,l:261,w:87,h:127 };bp[143]={t:658,l:348,w:95,h:127 };bp[144]={t:658,l:443,w:77,h:127 };bp[145]={t:658,l:520,w:88,h:127 };bp[146]={t:92,l:51,w:109,h:127 };bp[147]={t:92,l:160,w:91,h:127 };bp[148]={t:92,l:252,w:84,h:127 };bp[149]={t:92,l:336,w:98,h:127 };bp[150]={t:92,l:434,w:82,h:127 };bp[151]={t:92,l:516,w:91,h:127 };bp[152]={t:275,l:51,w:109,h:126 };bp[153]={t:275,l:160,w:91,h:126 };bp[154]={t:275,l:251,w:80,h:126 };bp[155]={t:275,l:330,w:89,h:126 };bp[156]={t:275,l:419,w:100,h:126 };bp[157]={t:275,l:519,w:89,h:126 };bp[158]={t:457,l:51,w:130,h:128 };bp[159]={t:457,l:181,w:115,h:128 };bp[160]={t:457,l:297,w:95,h:128 };bp[161]={t:457,l:391,w:95,h:128 };bp[162]={t:457,l:486,w:121,h:128 };bp[163]={t:641,l:51,w:113,h:144 };bp[164]={t:641,l:164,w:87,h:144 };bp[165]={t:641,l:251,w:85,h:144 };bp[166]={t:641,l:335,w:85,h:144 };bp[167]={t:641,l:420,w:95,h:144 };bp[168]={t:641,l:515,w:89,h:144 }; var bpp = []; bpp[1]={t:170,l:58,w:71,h:22 };bpp[2]={t:170,l:129,w:57,h:22 };bpp[3]={t:170,l:186,w:65,h:22 };bpp[4]={t:170,l:250,w:93,h:22 };bpp[5]={t:170,l:343,w:44,h:22 };bpp[6]={t:170,l:388,w:57,h:22 };bpp[7]={t:170,l:444,w:65,h:22 };bpp[8]={t:170,l:509,w:93,h:22 };bpp[9]={t:272,l:58,w:80,h:22 };bpp[10]={t:272,l:138,w:58,h:22 };bpp[11]={t:272,l:196,w:66,h:22 };bpp[12]={t:272,l:262,w:96,h:22 };bpp[13]={t:272,l:358,w:45,h:22 };bpp[14]={t:272,l:403,w:76,h:22 };bpp[15]={t:272,l:479,w:77,h:22 };bpp[16]={t:272,l:556,w:46,h:22 };bpp[17]={t:375,l:58,w:107,h:22 };bpp[18]={t:375,l:165,w:66,h:22 };bpp[19]={t:375,l:231,w:74,h:22 };bpp[20]={t:375,l:305,w:106,h:22 };bpp[21]={t:375,l:411,w:51,h:22 };bpp[22]={t:375,l:462,w:66,h:22 };bpp[23]={t:375,l:528,w:74,h:22 };bpp[24]={t:477,l:58,w:135,h:22 };bpp[25]={t:477,l:193,w:49,h:22 };bpp[26]={t:477,l:242,w:62,h:22 };bpp[27]={t:477,l:305,w:70,h:22 };bpp[28]={t:477,l:375,w:101,h:22 };bpp[29]={t:477,l:477,w:49,h:22 };bpp[30]={t:477,l:525,w:76,h:22 };bpp[31]={t:580,l:58,w:111,h:22 };bpp[32]={t:580,l:169,w:45,h:22 };bpp[33]={t:580,l:214,w:82,h:22 };bpp[34]={t:580,l:297,w:45,h:22 };bpp[35]={t:580,l:342,w:45,h:22 };bpp[36]={t:580,l:387,w:45,h:22 };bpp[37]={t:580,l:432,w:80,h:22 };bpp[38]={t:580,l:512,w:45,h:22 };bpp[39]={t:580,l:557,w:45,h:22 };bpp[40]={t:682,l:58,w:81,h:22 };bpp[41]={t:682,l:139,w:46,h:22 };bpp[42]={t:682,l:185,w:65,h:22 };bpp[43]={t:682,l:250,w:75,h:22 };bpp[44]={t:682,l:324,w:65,h:22 };bpp[45]={t:682,l:389,w:74,h:22 };bpp[46]={t:682,l:464,w:65,h:22 };bpp[47]={t:682,l:529,w:73,h:22 };bpp[48]={t:785,l:58,w:80,h:22 };bpp[49]={t:785,l:138,w:63,h:22 };bpp[50]={t:785,l:201,w:63,h:22 };bpp[51]={t:785,l:264,w:74,h:22 };bpp[52]={t:785,l:338,w:63,h:22 };bpp[53]={t:785,l:402,w:63,h:22 };bpp[54]={t:785,l:465,w:63,h:22 };bpp[55]={t:785,l:529,w:73,h:22 };bpp[56]={t:108,l:58,w:81,h:22 };bpp[57]={t:108,l:139,w:46,h:22 };bpp[58]={t:108,l:185,w:65,h:22 };bpp[59]={t:108,l:250,w:75,h:22 };bpp[60]={t:108,l:324,w:65,h:22 };bpp[61]={t:108,l:389,w:74,h:22 };bpp[62]={t:108,l:464,w:65,h:22 };bpp[63]={t:108,l:529,w:73,h:22 };bpp[64]={t:192,l:58,w:88,h:22 };bpp[65]={t:192,l:146,w:79,h:22 };bpp[66]={t:192,l:225,w:92,h:22 };bpp[67]={t:192,l:317,w:86,h:22 };bpp[68]={t:192,l:403,w:53,h:22 };bpp[69]={t:192,l:456,w:69,h:22 };bpp[70]={t:192,l:525,w:77,h:22 };bpp[71]={t:277,l:58,w:120,h:22 };bpp[72]={t:277,l:178,w:53,h:22 };bpp[73]={t:277,l:230,w:68,h:22 };bpp[74]={t:277,l:298,w:76,h:22 };bpp[75]={t:277,l:374,w:90,h:22 };bpp[76]={t:277,l:464,w:53,h:22 };bpp[77]={t:277,l:517,w:85,h:22 };bpp[78]={t:362,l:58,w:82,h:22 };bpp[79]={t:362,l:140,w:85,h:22 };bpp[80]={t:362,l:224,w:75,h:22 };bpp[81]={t:362,l:300,w:68,h:22 };bpp[82]={t:362,l:367,w:76,h:22 };bpp[83]={t:362,l:443,w:85,h:22 };bpp[84]={t:362,l:528,w:74,h:22 };bpp[85]={t:446,l:58,w:106,h:22 };bpp[86]={t:446,l:164,w:87,h:22 };bpp[87]={t:446,l:252,w:101,h:22 };bpp[88]={t:446,l:352,w:85,h:22 };bpp[89]={t:446,l:438,w:77,h:22 };bpp[90]={t:446,l:515,w:87,h:22 };bpp[91]={t:531,l:58,w:119,h:22 };bpp[92]={t:531,l:177,w:52,h:22 };bpp[93]={t:531,l:230,w:84,h:22 };bpp[94]={t:531,l:314,w:53,h:22 };bpp[95]={t:531,l:367,w:85,h:22 };bpp[96]={t:531,l:451,w:52,h:22 };bpp[97]={t:531,l:504,w:77,h:22 };bpp[98]={t:615,l:58,w:90,h:22 };bpp[99]={t:615,l:148,w:64,h:22 };bpp[100]={t:615,l:212,w:91,h:22 };bpp[101]={t:615,l:304,w:43,h:22 };bpp[102]={t:615,l:347,w:56,h:22 };bpp[103]={t:615,l:403,w:64,h:22 };bpp[104]={t:615,l:467,w:91,h:22 };bpp[105]={t:615,l:558,w:44,h:22 };bpp[106]={t:700,l:58,w:99,h:22 };bpp[107]={t:700,l:157,w:73,h:22 };bpp[108]={t:700,l:230,w:104,h:22 };bpp[109]={t:700,l:335,w:51,h:22 };bpp[110]={t:700,l:385,w:82,h:22 };bpp[111]={t:700,l:467,w:84,h:22 };bpp[112]={t:700,l:551,w:51,h:22 };bpp[113]={t:785,l:58,w:98,h:22 };bpp[114]={t:785,l:156,w:63,h:22 };bpp[115]={t:785,l:219,w:74,h:22 };bpp[116]={t:785,l:293,w:64,h:22 };bpp[117]={t:785,l:357,w:63,h:22 };bpp[118]={t:785,l:420,w:63,h:22 };bpp[119]={t:785,l:483,w:73,h:22 };bpp[120]={t:785,l:556,w:45,h:22 };bpp[121]={t:108,l:58,w:85,h:22 };bpp[122]={t:108,l:143,w:71,h:22 };bpp[123]={t:108,l:214,w:82,h:22 };bpp[124]={t:108,l:297,w:71,h:22 };bpp[125]={t:108,l:368,w:82,h:22 };bpp[126]={t:108,l:450,w:72,h:22 };bpp[127]={t:108,l:521,w:81,h:22 };bpp[128]={t:221,l:58,w:85,h:22 };bpp[129]={t:221,l:143,w:76,h:22 };bpp[130]={t:221,l:219,w:89,h:22 };bpp[131]={t:221,l:308,w:83,h:22 };bpp[132]={t:221,l:391,w:72,h:22 };bpp[133]={t:221,l:463,w:66,h:22 };bpp[134]={t:221,l:528,w:74,h:22 };bpp[135]={t:334,l:58,w:112,h:22 };bpp[136]={t:334,l:170,w:63,h:22 };bpp[137]={t:334,l:233,w:57,h:22 };bpp[138]={t:334,l:290,w:65,h:22 };bpp[139]={t:334,l:355,w:83,h:22 };bpp[140]={t:334,l:439,w:45,h:22 };bpp[141]={t:334,l:484,w:73,h:22 };bpp[142]={t:334,l:557,w:45,h:22 };bpp[143]={t:446,l:58,w:111,h:22 };bpp[144]={t:446,l:169,w:74,h:22 };bpp[145]={t:446,l:243,w:65,h:22 };bpp[146]={t:446,l:308,w:74,h:22 };bpp[147]={t:446,l:382,w:83,h:22 };bpp[148]={t:446,l:464,w:72,h:22 };bpp[149]={t:446,l:537,w:65,h:22 };bpp[150]={t:559,l:58,w:113,h:22 };bpp[151]={t:559,l:171,w:94,h:22 };bpp[152]={t:559,l:266,w:83,h:22 };bpp[153]={t:559,l:348,w:75,h:22 };bpp[154]={t:559,l:423,w:84,h:22 };bpp[155]={t:559,l:507,w:95,h:22 };bpp[156]={t:672,l:58,w:82,h:22 };bpp[157]={t:672,l:140,w:85,h:22 };bpp[158]={t:672,l:226,w:53,h:22 };bpp[159]={t:672,l:279,w:91,h:22 };bpp[160]={t:672,l:370,w:77,h:22 };bpp[161]={t:672,l:447,w:77,h:22 };bpp[162]={t:672,l:524,w:77,h:22 };bpp[163]={t:785,l:58,w:126,h:22 };bpp[164]={t:785,l:184,w:65,h:22 };bpp[165]={t:785,l:249,w:65,h:22 };bpp[166]={t:785,l:314,w:65,h:22 };bpp[167]={t:785,l:379,w:109,h:22 };bpp[168]={t:785,l:488,w:109,h:22 }; var delaytime=parseInt(bt[1].e)*11; var pageBeforeChanging; function changepage1(e) { document.getElementById('layer1').style.visibility = 'hidden'; if (lb == null) { initiatestuff(); } let base; let playTimes; let maxPages; let readytogo; //console.log(readytogo) //console.log(typeof ppt!== 'undefined') if (ison1 ||ison2) { if(typeof bpp !== 'undefined' && typeof ppt !== 'undefined') { playTimes = ppt; } else { playTimes = pt; } base = baseUrl; maxPages = max_playalong_page; } else { playTimes = pt; base = ss+score; maxPages = no_pages; } let mult = showTwoPages ? 2 : 1; if (changedpage==0) { pageBeforeChanging = currpage; changedpage = 1; } if (carryon == 1 && e == 'r' && currpage + mult <= maxPages ) { currpage += mult; var cp; if (currpage < 10) { cp = '00' + currpage; } else if (currpage < 100) { cp = '0' + currpage; } else { cp = currpage; } console.log(base); switchScore("score", base+cp+'.png'); if (showTwoPages) { if (currpage + 1 <= maxPages ) { var currpageplus1 = currpage+1; if (currpageplus1 < 10) { cp2 = '00' + currpageplus1; } else if (currpageplus1 < 100) { cp2 = '0' + currpageplus1; } else { cp2 = currpageplus1; } switchScore("score2", base+cp2+'.png'); } else { switchScore("score2", ''); } } lb.classList.remove("pagenav_disabled") if (currpage >= maxPages ||(showTwoPages&&currpage+1 >= maxPages)) { rb.classList.add("pagenav_disabled") } } else if ('l' == e && currpage > 1 * mult) { currpage -= mult; var cp; if (currpage < 10) { cp = '00' + currpage; } else if (currpage < 100) { cp = '0' + currpage; } else { cp = currpage; } switchScore("score", base+cp+'.png'); if (showTwoPages) { if (currpage + 1 <= maxPages) { var currpageplus1 = currpage+1; if (currpageplus1 < 10) { cp2 = '00' + currpageplus1; } else if (currpageplus1 < 100) { cp2 = '0' + currpageplus1; } else { cp2 = currpageplus1; } switchScore("score2", base+cp2+'.png'); } else { switchScore("score2", ''); } } rb.classList.remove("pagenav_disabled") if (1 == currpage) { lb.classList.add("pagenav_disabled") } } } function changepage2(dir) { hideLoopGuide(); changepage1(dir); } function changepage_playalong(dir) { if(lb==null){ initiatestuff(); } document.getElementById('layer1').style.visibility='hidden'; if( ison3==1||ison2==1){ //changing part var ds=sco.src; if(dir=='r') { switchScore('score', bumpStringInt(ds,dir)); } else { switchScore('score', bumpStringInt(ds,dir)); } } else { if (changedpage==0) { pageBeforeChanging = currpage; changedpage = 1; } var cp2 if(carryon==true){ if(dir=='r'&&(currpage<3)) { currpage=currpage+1; if (currpage<10){cp2='00'+(currpage)} else if (currpage<100){cp2='0'+(currpage)} else {cp2=currpage} switchScore("score", baseUrl+cp2+'.png'); lb.classList.remove("pagenav_disabled"); if (currpage==max_playalong_page||showTwoPages&&(currpage+1 == max_playalong_page)){rb.classList.add("pagenav_disabled");} } else if(dir=='l'&&(currpage>1)) { currpage=currpage-1; if (currpage<10){cp2='00'+(currpage)} else if (currpage<100){cp2='0'+(currpage)} else {cp2=currpage} switchScore("score", baseUrl+cp2+'.png'); rb.classList.remove("pagenav_disabled"); if (currpage==1){lb.classList.add("pagenav_disabled");} } } } } var pauseamount=0; var pppa=0; var stimer; function playmain(stype){ temp_IS_HIGHLIGHT_ON=IS_HIGHLIGHT_ON; if(ison1) { hideLoopGuide(); } if (document.getElementById('pausebefore').checked==true&&ison0 == 0){ pauseamount=5;updatecountin(); pppa=pauseamount+1;} else {pauseamount=0;pppa=0} stimer = window.setTimeout( "playmain2("+stype+")", (pppa*1000)); stopplayalongreturntostandardview() resizeStage(); } getCachedImageFromMap(ss+score+'001.png', imageCache); getCachedImageFromMap(ss+score+'002.png', imageCache); getCachedImageFromMap(ss+score+'003.png', imageCache); getCachedImageFromMap(ss+score+'004.png', imageCache); getCachedImageFromMap(ss+score+'005.png', imageCache); getCachedImageFromMap(ss+score+'006.png', imageCache); getCachedImageFromMap(ss+score+'007.png', imageCache); getCachedImageFromMap(ss+'trumpet/liebesleid_loves_sorrow_tpt_tp001.png', imageCache); getCachedImageFromMap(ss+'trumpet/liebesleid_loves_sorrow_tpt_tp002.png', imageCache); getCachedImageFromMap(ss+'trumpet/liebesleid_loves_sorrow_tpt_tp003.png', imageCache); function playmain2(stype, keepPlayState, wasOn) { let wasStoped = pauseon || !wasOn; if(lb==null){initiatestuff()} if (stype==0){ stopplayalongreturntostandardview() } if (ison0) { playalongstop();changedpage=0; } else { if (!keepPlayState || !wasStoped) { startTimeframe(DESIRED_FPS); } l1.style.visibility='visible'; } var num_listened=readCookie('num_listened') if (num_listened=='undefined'||num_listened=='NaN'){num_listened=0;} if (everyplayed==0){ num_listened=p(num_listened)+1; eraseCookie('num_listened') createCookie('num_listened',num_listened,1) everyplayed=1; } if (num_listened>3){overlay();return ;} if (ison0 == 0) { ison0 = 1;ison1=0 ;ison2=0;ison3=0;ison4=0; document.getElementById('icon0').src = sic; aud=document.getElementById('demo0') pb.style.display='flex'; document.getElementById('metandtemp').style.visibility='visible'; pico.style.display='inline-block'; ic1.style.display='none'; ic2.style.display='none'; aic1.style.display='none'; aic2.style.display='none'; if (ic3){ ic3.style.display='none'; aic3.style.display='none'; } aisp=document.getElementById('aispacer'); aisp.style.display='inline-flex';aisp.style.visibiliy='visible'; checkIfShouldShowTwoPages(); aud.addEventListener('timeframe',function(){ if (aud.currentTime< 23) { if(currpage!=1&&changedpage==0){ currpage=1 switchScore('score', ss+score+'00'+(currpage)+'.png'); lb.classList.remove("pagenav_disabled"); rb.classList.remove("pagenav_disabled"); if (currpage==no_pages||showTwoPages&&(currpage+1 == no_pages)){rb.classList.add("pagenav_disabled");} } } },false); aud.addEventListener('timeframe',checktimeupdate); aud.addEventListener('timeframe',checkbartimeupdate); aud.addEventListener('timeframe', updateProgress, false);aud.addEventListener('ended', audioend); updateplaybackrate(document.getElementById('speed').value) aud.play();aud.currentTime = 0; if (stype==0) { if(curtransp<0){ switchScore('score', thissc+'_d'+negtransp+'001.gif'); switchScore('score2', thissc+'_d'+negtransp+'002.gif'); } else if(curtransp>0){ switchScore('score', thissc+'_u'+curtransp+'001.gif'); switchScore('score2', thissc+'_u'+curtransp+'002.gif'); } else { switchScore('score', scfile); switchScore('score2', scfile2); } currpage=1; if(!ext_traditional){ lb.classList.add("pagenav_disabled"); if(no_pages>1&&!showTwoPages||no_pages>2){rb.classList.remove("pagenav_disabled"); } } } } else { ison0 = 0; pb.style.display='none'; pico.style.display='none'; switchScore('score', scfile); switchScore('score2', scfile2); document.getElementById('metandtemp').style.visibility='hidden'; if (stype==0){ stopplayalongreturntostandardview(); switchScore('score', scfile); switchScore('score2', scfile2); l1.style.visibility='hidden'; stopLoop(); } } if(keepPlayState) { if (wasStoped) { pauseon=0; callpause(); setTimeout(() => { checkbartimeupdate(); updateProgress(); }, 100) } } resizeStage(); } function uptr(nop,currpage){ if(lb==null){initiatestuff();} lb.classList.remove("pagenav_disabled");rb.classList.remove("pagenav_disabled"); if ((currpage==nop)||showTwoPages&&(currpage==nop-1)){rb.classList.add("pagenav_disabled"); } if (currpage==1){lb.classList.add("pagenav_disabled");} } function audioend(){ if(ison0==1){playmain(0)} else if (ison1==1){playalongacc(1)} else if (ison2==1){playalongacc(2)} else if (ison3==1){playalongacc(3)} } var changingpage = false; var oldpage; function checktimeupdate() { let showingPages = 1; if (showTwoPages) { showingPages = 2; if (pt.length % 2 === 0) { pt.push({ e: pt[pt.length - 1].e }); } } let pageI = pt.findIndex((page) => { return (page || {e:0}).e - PAGE_TURNING_TIME>= aud.currentTime; }); if (pageI <= -1) pageI = 1; let curPage = pt[pageI] || {e:0}; if (ison0 == 1 && changedpage == 0) { if (oldpage == null) { oldpage = 0; } else { oldpage = currpage; } // Math to make f(1) -> 1 f(2) -> 1 f(3) -> 3 f(4) -> 3 if showing 2 pages // and f(x) -> x, if showing only 1 page let page = Math.max(1, curPage.p || 1); currpage = Math.ceil(page / showingPages) * showingPages - Math.floor(0.5 * showingPages); if (showingPages === 2) { currpagearryno = pageI - (page % 2 ? 0 : 1); } else { currpagearryno = pageI; } var cp = currpage.toString().padStart(3, "0"); let newSrc; if (curtransp<0) { newSrc = thissc+'_d'+negtransp+cp+'.gif' } else if(curtransp>0){ newSrc = thissc+'_u'+curtransp+cp+'.gif' } else { newSrc = ss+score+cp+'.png'; } switchScore("score", newSrc); if (showTwoPages && currpage + 1 <= no_pages) { var currpageplus1 = currpage + 1; let cp2 = currpageplus1.toString().padStart(3, "0"); if (curtransp < 0) { newSrc = thissc + "_d" + negtransp + cp2 + ".gif"; } else if (curtransp > 0) { newSrc = thissc + "_u" + curtransp + cp2 + ".gif"; } else { newSrc = ss + score + cp2 + ".png"; } } else { newSrc = ""; } if ( sco2.src !== sco.src ) { switchScore("score2", newSrc); } uptr(no_pages, currpage); } } function checktimeupdateparts() { var delaytime=p(bt[1].e)*1100; if (showTwoPages) { if (ppt.length % 2 === 0) { ppt.push({ e: ppt[ppt.length - 1].e }); } } let pageI = ppt.findIndex((page) => { return (page || {e:0}).e + p(delaytime/1000) - PAGE_TURNING_TIME >= aud.currentTime; }); if (pageI <= -1) pageI = 1; let curPage = ppt[pageI] || {e:0}; if (ison1 == 1 && changedpage == 0) { if (oldpage == null) { oldpage = 0; } else { oldpage = currpage; } // f(1) -> 1 f(2) -> 1 f(3) -> 3 f(4) -> 3 if showing 2 pages // and f(x) -> x, if showing only 1 page let page = Math.max(1, curPage.p || 1); if (showTwoPages) { currpage = Math.ceil(page / 2) * 2 - 1; currpagearryno = pageI - (page % 2 ? 0 : 1); } else { currpage = page; currpagearryno = pageI; } var cp = currpage.toString().padStart(3, "0"); let newSrc; if (baseUrl !== '') { newSrc = baseUrl + cp + '.png'; } else { newSrc = ss+score+cp+'.png'; } switchScore("score", newSrc); if (showTwoPages && currpage + 1 <= no_part_pages) { var currpageplus1 = currpage + 1; let cp2 = currpageplus1.toString().padStart(3, "0"); if (baseUrl !== '') { newSrc = baseUrl + cp2 + '.png'; } else { newSrc = ss+score+cp2+'.png'; } } else { newSrc = ''; } if(sco2.src !== sco.src) { switchScore("score2", newSrc); } uptr(max_playalong_page, currpage) } } function isElementInViewport (el) { var rect = el.getBoundingClientRect(); return ( rect.top >= 0 && rect.left >= 0 && rect.bottom <= (window.innerHeight || document.documentElement.clientHeight) && /* or $(window).height() */ rect.right <= (window.innerWidth || document.documentElement.clientWidth) /* or $(window).width() */ ); } function checkbartimeupdate() { var delaytime=p(bt[1].e)*1100; var isChrome = /Chrome/.test(navigator.userAgent) && /Google Inc/.test(navigator.vendor); var chrome_delay if (isChrome){ chrome_delay=aud.currentTime/500 } else{ chrome_delay=0 } if (ison0==1){delaytime=0;} if (((aud.currentTime+chrome_delay)*1000)delaytime||delaytime==0){ for(var aaa=1;aaa 1) { if ( zthisbartiming <= pageEndTime + 6 && zthisbartiming >= pageBeginTime ) { zthispage = true; } } else { zthispage = true; } } let pageOffset = 0; if (showTwoPages && zthisbartiming > firstPageEnd + 6) { pageOffset = document.getElementById('score2').offsetLeft; } else { pageOffset = document.getElementById('score').offsetLeft; } if(changedpage && currpage !== pageBeforeChanging) { l1.style.visibility='hidden'; } else { l1.style.visibility= temp_IS_HIGHLIGHT_ON ? 'visible' : 'hidden'; changedpage=0; if (ison0==1||ison1==1||ison1==2||ison3==1){ } var u,v,toppercwidth,leftpercwidth if (ison0==1 || (ison1 && typeof(bpp) === 'undefined')){ u = p(window.getComputedStyle(sco).getPropertyValue("width")); v = p(window.getComputedStyle(sco).getPropertyValue("height")); toppercwidth=p(window.getComputedStyle(sco).getPropertyValue("width")); toppercwidth=650/p(toppercwidth); leftpercwidth=p(window.getComputedStyle(sco).getPropertyValue("height")); leftpercwidth=918/p(leftpercwidth); if (document.getElementById('scrollview').checked==true) { l1.style.top=(p(bp[cbn].t))/toppercwidth+'px'; l1.style.left=(p((bp[cbn].l /toppercwidth ) +pageOffset))+'px'; l1.style.width=((p(bp[cbn].w))/toppercwidth)+'px'; l1.style.height=((p(bp[cbn].h))/toppercwidth)+'px'; if (cbn= (bt[loopEnd].e - 5 + delaytime / 100) / 10) { if (loopStart === 1) { aud.currentTime = 0 } else { aud.currentTime = ((bt[loopStart - 1] || {e: 0}).e + delaytime / 100) / 10; } } } } var curtransp=0; notransps=0; var thissc='//www.52jinshan.cn/school/transpositions/gif/trumpet/liebesleid_loves_sorrow_tpt',tru=document.getElementById('tranup').style.background,trd=document.getElementById('trandown').style.background; function cleartransps(){ var u0=document.getElementById('u0'); u0.classList.remove("alphselected"); var u1=document.getElementById('u1'); u1.classList.remove("alphselected"); var u2=document.getElementById('u2'); u2.classList.remove("alphselected"); var u3=document.getElementById('u3'); u3.classList.remove("alphselected"); var u4=document.getElementById('u4'); u4.classList.remove("alphselected"); var u5=document.getElementById('u5'); u5.classList.remove("alphselected"); var u6=document.getElementById('u6'); u6.classList.remove("alphselected"); var d1=document.getElementById('d1'); d1.classList.remove("alphselected"); var d2=document.getElementById('d2'); d2.classList.remove("alphselected"); var d3=document.getElementById('d3'); d3.classList.remove("alphselected"); var d4=document.getElementById('d4'); d4.classList.remove("alphselected"); var d5=document.getElementById('d5'); d5.classList.remove("alphselected"); } function transp(dir,numb,typeofaddition,kno){ if(lb==null){ initiatestuff() } rb.classList.remove("pagenav_disabled"); lb.classList.add("pagenav_disabled"); var actime=aud.currentTime; notransps=notransps+1; if(notransps>2) { overlay(); } else { if (typeofaddition==1){ switchScore('score', thissc+'_'+dir+numb+'001.gif'); cleartransps(); document.getElementById(dir+numb).classList.add("alphselected"); curtransp=numb; if (pt.length > 1) { pdfadd=dir+numb; switchScore('score2', thissc+'_'+dir+numb+'002.gif'); } aud.src='//www.52jinshan.cn/school/transpositions/mp3/trumpet/liebesleid_loves_sorrow_TPT_'+dir+numb +'.mp3'; if (ison0==1){ aud.play(); aud.currentTime = actime; } } else { //click the up or down buttons if(dir=='u') { if (curtransp<6) { curtransp=curtransp+numb; if(curtransp<0){ negtransp=-curtransp; pdfadd='d'+negtransp; switchScore('score', thissc+'_d'+negtransp+'001.gif'); cleartransps(); document.getElementById('d'+negtransp).classList.add("alphselected"); if (pt.length > 1) { switchScore('score', thissc+'_d'+negtransp+'002.gif'); } trd=bg2; aud.src='//www.52jinshan.cn/school/transpositions/mp3/trumpet/liebesleid_loves_sorrow_TPT_d'+negtransp +'.mp3'; if (ison0==1){ aud.play(); aud.currentTime = actime; } } else { pdfadd='u'+curtransp; cleartransps(); switchScore('score', thissc+'_u'+curtransp+'001.gif'); document.getElementById('u'+curtransp).classList.add("alphselected"); if (pt.length > 1) { switchScore('score2', thissc+'_u'+curtransp+'002.gif'); } aud.src='//www.52jinshan.cn/school/transpositions/mp3/trumpet/liebesleid_loves_sorrow_TPT_u'+curtransp +'.mp3'; if (ison0==1){ aud.play(); aud.currentTime = actime; } } if(curtransp==6){ tru=bg1; } else { trd=bg2; } } } else if(dir=='d'){ if(curtransp>-5) { curtransp=curtransp-numb; if(curtransp<0) { negtransp=-curtransp; pdfadd='d'+negtransp; cleartransps(); switchScore('score', thissc+'_d'+negtransp+'001.gif'); document.getElementById('d'+negtransp).classList.add("alphselected"); if (pt.length > 1) { switchScore('score2', thissc+'_d'+negtransp+'002.gif'); } aud.src='//www.52jinshan.cn/school/transpositions/mp3/trumpet/liebesleid_loves_sorrow_TPT_d'+negtransp +'.mp3'; //console.log(negtransp); if (ison0==1){ aud.play(); aud.currentTime = actime; } if (curtransp==-6) { trd=bg1; } else { tru=bg2; } } else { pdfadd='u'+curtransp; cleartransps(); switchScore('score', thissc+'_u'+curtransp+'001.gif'); document.getElementById('u'+curtransp).classList.add("alphselected"); if (pt.length > 1) { switchScore('score2', thissc+'_u'+curtransp+'002.gif'); } aud.src='//www.52jinshan.cn/school/transpositions/mp3/trumpet/liebesleid_loves_sorrow_TPT_u'+curtransp +'.mp3'; //console.log(curtransp); if (ison0==1){ aud.play(); aud.currentTime = actime; } tru=bg2; } } } } } transp_modal.style.display = "none"; }




信息

这件作品是我们的一部分 喇叭浪漫音乐 Compilation


信息
Composed:1905
信息:
Alt-Wiener Tanzweisen(德国老Viennese旋律)是一套小提琴和钢琴的三个短片,由Fritz Kreisler写道。通常单独执行或听到三件,并标题为liebesfreud(爱'快乐),Liebesleid(爱'S悲伤),而SchénRosmarin(可爱的迷迭香)。
Score Key:f minor(发声音调)g minor(bb中的小号)(查看更多 F小号音乐 )
速度标记: = 160 Tempo di Landler
期间:3:12
Time Signature:3/4 (查看更多 3/4音乐)
范围:C5-Ab6
页数:7
Difficulty:中级级别:建议中级球员
标签:




信息

你可能还喜欢:

关闭X.

感谢您尝试8notes.com音频和换位功能

你今天达到了极限。
订阅 用于无限播放和换位
个人订阅:

点击此处查看订阅的更多信息


©2000-2021 52jinshan.cn.