Corelli, A. - Trio Sonata in G major, Op.2 No.12
Free Sheet music for 2-Violins-Cello

Play (or use space bar on your keyboard) Pause Music Playalong - Player 1 Accompaniment Playalong - Player 3 Accompaniment reset tempo print settings full screen

'); } 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); 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('
'); 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,ic4,aic0,aic1,aic2,aic3,aic4,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=5; ss='/school/svg/'; var images = new Array(); var blankImage = new Image(); blankImage.src ="/school/svg/blank3.svg"; 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='2-violins-cello/trio-sonata-in-g-major-op-2-12'; 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; var cp4p; 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){ cp4p=currpage; if (currpage<10){ cp4p='00'+cp4p; } else if(currpage<100){cp4p='0'+cp4p;} //var printstring=ss+score+cp4p+'.png'; 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; src = src.replace(/(\d{2})\.svg$/, '0$1.svg'); src = src.replace(/svg/g, 'png'); page_printed=1; printdiv(src,0); } else {page_printed=0; //var printstring=ss+score+cp4p+'.png'; 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; src = src.replace(/(\d{2})\.svg$/, '0$1.svg'); src = src.replace(/svg/g, 'png'); printdiv(src,0) } }); function convertToPdfUrl(url) { if (url.includes('/png/')) { url = url.replace('/png/', '/pdf/'); let lastPngIndex = url.lastIndexOf('.png'); if (lastPngIndex !== -1) { url = url.substring(0, lastPngIndex - 3) + url.substring(lastPngIndex); } url = url.replace('.png', '.pdf'); } else if (url.includes('/svg/')) { url = url.replace('/svg/', '/pdf/'); let lastSvgIndex = url.lastIndexOf('.svg'); if (lastSvgIndex !== -1) { url = url.substring(0, lastSvgIndex - 2) + url.substring(lastSvgIndex); } url = url.replace('.svg', '.pdf'); } return url; } function openPDF(){ } function doprint() { var isSafari = window.safari !== undefined; 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+'01.svg'; var scfile2=ss+score+'02.svg'; 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==0&&document.getElementById('pausebefore').checked==true){ pauseamount=5;updatecountin(); pppa=pauseamount+1; } else{ pauseamount=0;pppa=0;stopplayalongreturntostandardview() } break; case 3: if (ison3==0&&document.getElementById('pausebefore').checked==true){ pauseamount=5;updatecountin(); pppa=pauseamount+1; } else{ pauseamount=0;pppa=0;stopplayalongreturntostandardview() } break; case 4: if (ison4==0&&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||ison2||ison3||ison4) { playalongstop() } else { if (!keepPlayState || !wasStoped) { startTimeframe(DESIRED_FPS); } temp_IS_HIGHLIGHT_ON=false;l1.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 } temp_IS_HIGHLIGHT_ON=false;l1.style.visibility='hidden'; var aisp=document.getElementById('aispacer'); switch (pltype){ case 1: if (ison1==0){ bon=1;ison1=1;ison2=0;ison3=0;ison4=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';} if(ic4){aic4.style.display='none';ic4.style.display='none';} } break; case 2: if(ison2==0){bon=1;ison1=0;ison2=1;ison4=0;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';} if(ic4){aic4.style.display='none';ic4.style.display='none';} } break; case 3: if(ison3==0){bon=1;ison1=0;ison2=0;ison4=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'; if(ic4){aic4.style.display='none';ic4.style.display='none';} } break; case 4: if(ison4==0){bon=1;ison1=0;ison2=0;ison3=0;ison4=1;ison0=0;ic4.src=sic;aud=document.getElementById('demo4'); 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'; if(ic3){aic3.style.display='none';ic3.style.display='none';} } break; } 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; if(pltype==1){baseUrl=ss+'2-violins-cello/trio-sonata-in-g-major-op-2-12_vn1'; } if(pltype==2){baseUrl=ss+'2-violins-cello/trio-sonata-in-g-major-op-2-12_vn2'; } if(pltype==3){baseUrl=ss+'2-violins-cello/trio-sonata-in-g-major-op-2-12_vc3'; } if(pltype==4){baseUrl=ss+''; } switchScore("score", `${baseUrl}01.svg`); partopen=1; switchScore("score2", `${baseUrl}02.svg`); if(baseUrl==''){baseUrl=ss+score;} checkIfShouldShowTwoPages(); } else { pb.style.display='none';document.getElementById('metandtemp').style.visibiliy='hidden';pico.style.display='none'; ison1=0;ison2=0;ison3=0;ison4=0; } if(keepPlayState) { if (wasStoped) { pauseon=0; callpause(); setTimeout(() => { checkbartimeupdate(); updateProgress(); }, 100) } } } var no_part_pages=100; function stopplayalongreturntostandardview() { if(lb==null){initiatestuff()} l1.style.visibility = 'hidden'; ic1.style.display='block'; ic2.style.display='block'; if(ic3){ic3.style.display='block';} if(ic4){ic4.style.display='block';} ic0.style.display='block'; aic1.style.display='inline-block'; aic2.style.display='inline-block'; if(aic3){aic3.style.display='inline-block';} if(aic4){aic4.style.display='inline-block';} aic0.style.display='inline-block'; aisp=document.getElementById('aispacer'); aisp.style.display='none';aisp.style.visibility='hidden'; pico.src='/imc/pause.png'; document.getElementById('icon0').src = '/imc/play.png'; document.getElementById('progress').style.width = "0%"; ic1.src = '/imc/player1.png';ic2.src = '/imc/player2.png';if(ic3){ic3.src = '/imc/player3.png';} currpage=1; document.getElementById('demo0').pause(); document.getElementById('demo1').pause();document.getElementById('demo2').pause();document.getElementById('demo3').pause(); if(ison1==1||ison2==1||ison3==1||ison4==1){ switchScore("score", `${baseUrl}01.svg`); partopen=1; switchScore("score2", `${baseUrl}02.svg`); } else{ switchScore('score', ss+score+'01.svg'); if(no_pages>1){ switchScore('score2',ss+score+'02.svg'); } } 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 = '/imc/play.png';ic1.src = '/imc/player1.png';ic2.src = '/imc/player2.png';if(ic3){ic3.src = '/imc/player3.png';} 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. Subscribe for unlimited plays.'; pleft.style.dispaly='block';pleft.style.visibility='visible'; } var pt = []; pt[1] = { e:48, p:1 }; pt[2] = { e:86, p:2 }; pt[3] = { e:123, p:3 }; pt[4] = { e:159, p:4 }; pt[5] = { e:202, p:5 }; pt[6] = { e:237, p:1 }; pt[7] = { e:275, p:2 }; pt[8] = { e:312, p:3 }; pt[9] = { e:348, p:4 }; pt[10] = { e:391, p:5 }; var ppt = []; ppt[1] = { e:0, p:0 };ppt[2] = { e:0, p:0 };ppt[3] = { e:0, p:0 };ppt[4] = { e:0, p:0 }; var bt = []; bt[1]={e:8,b:1};bt[2]={e:22,b:2};bt[3]={e:45,b:3};bt[4]={e:68,b:4};bt[5]={e:90,b:5};bt[6]={e:112,b:6};bt[7]={e:135,b:7};bt[8]={e:158,b:8};bt[9]={e:180,b:9};bt[10]={e:202,b:10};bt[11]={e:225,b:11};bt[12]={e:248,b:12};bt[13]={e:270,b:13};bt[14]={e:292,b:14};bt[15]={e:315,b:15};bt[16]={e:338,b:16};bt[17]={e:360,b:17};bt[18]={e:375,b:18};bt[19]={e:390,b:19};bt[20]={e:405,b:20};bt[21]={e:420,b:21};bt[22]={e:435,b:22};bt[23]={e:450,b:23};bt[24]={e:465,b:24};bt[25]={e:480,b:25};bt[26]={e:495,b:26};bt[27]={e:510,b:27};bt[28]={e:525,b:28};bt[29]={e:540,b:29};bt[30]={e:555,b:30};bt[31]={e:570,b:31};bt[32]={e:585,b:32};bt[33]={e:600,b:33};bt[34]={e:615,b:34};bt[35]={e:630,b:35};bt[36]={e:645,b:36};bt[37]={e:660,b:37};bt[38]={e:675,b:38};bt[39]={e:690,b:39};bt[40]={e:705,b:40};bt[41]={e:720,b:41};bt[42]={e:735,b:42};bt[43]={e:750,b:43};bt[44]={e:765,b:44};bt[45]={e:780,b:45};bt[46]={e:795,b:46};bt[47]={e:810,b:47};bt[48]={e:825,b:48};bt[49]={e:840,b:49};bt[50]={e:855,b:50};bt[51]={e:870,b:51};bt[52]={e:885,b:52};bt[53]={e:900,b:53};bt[54]={e:915,b:54};bt[55]={e:930,b:55};bt[56]={e:945,b:56};bt[57]={e:960,b:57};bt[58]={e:975,b:58};bt[59]={e:990,b:59};bt[60]={e:1005,b:60};bt[61]={e:1020,b:61};bt[62]={e:1035,b:62};bt[63]={e:1050,b:63};bt[64]={e:1065,b:64};bt[65]={e:1080,b:65};bt[66]={e:1095,b:66};bt[67]={e:1110,b:67};bt[68]={e:1125,b:68};bt[69]={e:1140,b:69};bt[70]={e:1155,b:70};bt[71]={e:1170,b:71};bt[72]={e:1185,b:72};bt[73]={e:1200,b:73};bt[74]={e:1215,b:74};bt[75]={e:1230,b:75};bt[76]={e:1245,b:76};bt[77]={e:1260,b:77};bt[78]={e:1275,b:78};bt[79]={e:1290,b:79};bt[80]={e:1305,b:80};bt[81]={e:1320,b:81};bt[82]={e:1335,b:82};bt[83]={e:1350,b:83};bt[84]={e:1365,b:84};bt[85]={e:1380,b:85};bt[86]={e:1395,b:86};bt[87]={e:1410,b:87};bt[88]={e:1425,b:88};bt[89]={e:1440,b:89};bt[90]={e:1455,b:90};bt[91]={e:1470,b:91};bt[92]={e:1485,b:92};bt[93]={e:1500,b:93};bt[94]={e:1515,b:94};bt[95]={e:1530,b:95};bt[96]={e:1545,b:96};bt[97]={e:1560,b:97};bt[98]={e:1575,b:98};bt[99]={e:1590,b:99};bt[100]={e:1605,b:100};bt[101]={e:1620,b:101};bt[102]={e:1635,b:102};bt[103]={e:1650,b:103};bt[104]={e:1665,b:104};bt[105]={e:1680,b:105};bt[106]={e:1695,b:106};bt[107]={e:1710,b:107};bt[108]={e:1725,b:108};bt[109]={e:1740,b:109};bt[110]={e:1755,b:110};bt[111]={e:1770,b:111};bt[112]={e:1785,b:112};bt[113]={e:1800,b:113};bt[114]={e:1815,b:114};bt[115]={e:1830,b:115};bt[116]={e:1845,b:116};bt[117]={e:1860,b:117};bt[118]={e:1875,b:118};bt[119]={e:1890,b:119};bt[120]={e:1905,b:120};bt[121]={e:1920,b:121};bt[122]={e:1935,b:122};bt[123]={e:1950,b:123};bt[124]={e:1965,b:124};bt[125]={e:1980,b:125};bt[126]={e:1995,b:126};bt[127]={e:2010,b:127};bt[128]={e:2015,b:128};bt[129]={e:2025,b:2};bt[130]={e:2040,b:3};bt[131]={e:2055,b:4};bt[132]={e:2070,b:5};bt[133]={e:2085,b:6};bt[134]={e:2100,b:7};bt[135]={e:2115,b:8};bt[136]={e:2130,b:9};bt[137]={e:2145,b:10};bt[138]={e:2160,b:11};bt[139]={e:2175,b:12};bt[140]={e:2190,b:13};bt[141]={e:2205,b:14};bt[142]={e:2220,b:15};bt[143]={e:2235,b:16};bt[144]={e:2250,b:17};bt[145]={e:2265,b:18};bt[146]={e:2280,b:19};bt[147]={e:2295,b:20};bt[148]={e:2310,b:21};bt[149]={e:2325,b:22};bt[150]={e:2340,b:23};bt[151]={e:2355,b:24};bt[152]={e:2370,b:25};bt[153]={e:2385,b:26};bt[154]={e:2400,b:27};bt[155]={e:2415,b:28};bt[156]={e:2430,b:29};bt[157]={e:2445,b:30};bt[158]={e:2460,b:31};bt[159]={e:2475,b:32};bt[160]={e:2490,b:33};bt[161]={e:2505,b:34};bt[162]={e:2520,b:35};bt[163]={e:2535,b:36};bt[164]={e:2550,b:37};bt[165]={e:2565,b:38};bt[166]={e:2580,b:39};bt[167]={e:2595,b:40};bt[168]={e:2610,b:41};bt[169]={e:2625,b:42};bt[170]={e:2640,b:43};bt[171]={e:2655,b:44};bt[172]={e:2670,b:45};bt[173]={e:2685,b:46};bt[174]={e:2700,b:47};bt[175]={e:2715,b:48};bt[176]={e:2730,b:49};bt[177]={e:2745,b:50};bt[178]={e:2760,b:51};bt[179]={e:2775,b:52};bt[180]={e:2790,b:53};bt[181]={e:2805,b:54};bt[182]={e:2820,b:55};bt[183]={e:2835,b:56};bt[184]={e:2850,b:57};bt[185]={e:2865,b:58};bt[186]={e:2880,b:59};bt[187]={e:2895,b:60};bt[188]={e:2910,b:61};bt[189]={e:2925,b:62};bt[190]={e:2940,b:63};bt[191]={e:2955,b:64};bt[192]={e:2970,b:65};bt[193]={e:2985,b:66};bt[194]={e:3000,b:67};bt[195]={e:3015,b:68};bt[196]={e:3030,b:69};bt[197]={e:3045,b:70};bt[198]={e:3060,b:71};bt[199]={e:3075,b:72};bt[200]={e:3090,b:73};bt[201]={e:3105,b:74};bt[202]={e:3120,b:75};bt[203]={e:3135,b:76};bt[204]={e:3150,b:77};bt[205]={e:3165,b:78};bt[206]={e:3180,b:79};bt[207]={e:3195,b:80};bt[208]={e:3210,b:81};bt[209]={e:3225,b:82};bt[210]={e:3240,b:83};bt[211]={e:3255,b:84};bt[212]={e:3270,b:85};bt[213]={e:3285,b:86};bt[214]={e:3300,b:87};bt[215]={e:3315,b:88};bt[216]={e:3330,b:89};bt[217]={e:3345,b:90};bt[218]={e:3360,b:91};bt[219]={e:3375,b:92};bt[220]={e:3390,b:93};bt[221]={e:3405,b:94};bt[222]={e:3420,b:95};bt[223]={e:3435,b:96};bt[224]={e:3450,b:97};bt[225]={e:3465,b:98};bt[226]={e:3480,b:99};bt[227]={e:3495,b:100};bt[228]={e:3510,b:101};bt[229]={e:3525,b:102};bt[230]={e:3540,b:103};bt[231]={e:3555,b:104};bt[232]={e:3570,b:105};bt[233]={e:3585,b:106};bt[234]={e:3600,b:107};bt[235]={e:3615,b:108};bt[236]={e:3630,b:109};bt[237]={e:3645,b:110};bt[238]={e:3660,b:111};bt[239]={e:3675,b:112};bt[240]={e:3690,b:113};bt[241]={e:3705,b:114};bt[242]={e:3720,b:115};bt[243]={e:3735,b:116};bt[244]={e:3750,b:117};bt[245]={e:3765,b:118};bt[246]={e:3780,b:119};bt[247]={e:3795,b:120};bt[248]={e:3810,b:121};bt[249]={e:3825,b:122};bt[250]={e:3840,b:123};bt[251]={e:3855,b:124};bt[252]={e:3870,b:125};bt[253]={e:3885,b:126};bt[254]={e:3900,b:127};bt[255]={e:3905,b:128}; var bp = []; bp[1]={t:143,l:110,w:68,h:123 };bp[2]={t:143,l:178,w:55,h:123 };bp[3]={t:143,l:233,w:58,h:123 };bp[4]={t:143,l:291,w:64,h:123 };bp[5]={t:143,l:355,w:71,h:123 };bp[6]={t:143,l:426,w:60,h:123 };bp[7]={t:143,l:486,w:65,h:123 };bp[8]={t:143,l:551,w:59,h:123 };bp[9]={t:313,l:51,w:115,h:123 };bp[10]={t:313,l:166,w:63,h:123 };bp[11]={t:313,l:229,w:64,h:123 };bp[12]={t:313,l:293,w:64,h:123 };bp[13]={t:313,l:357,w:63,h:123 };bp[14]={t:313,l:420,w:63,h:123 };bp[15]={t:313,l:483,w:64,h:123 };bp[16]={t:313,l:547,w:63,h:123 };bp[17]={t:487,l:51,w:122,h:123 };bp[18]={t:487,l:173,w:106,h:123 };bp[19]={t:487,l:279,w:105,h:123 };bp[20]={t:487,l:384,w:115,h:123 };bp[21]={t:487,l:499,w:111,h:123 };bp[22]={t:659,l:51,w:158,h:123 };bp[23]={t:659,l:209,w:122,h:123 };bp[24]={t:659,l:331,w:142,h:123 };bp[25]={t:659,l:472,w:138,h:123 };bp[26]={t:85,l:51,w:141,h:128 };bp[27]={t:85,l:192,w:108,h:128 };bp[28]={t:85,l:300,w:110,h:128 };bp[29]={t:85,l:410,w:100,h:128 };bp[30]={t:85,l:510,w:100,h:128 };bp[31]={t:275,l:51,w:128,h:128 };bp[32]={t:275,l:178,w:94,h:128 };bp[33]={t:275,l:272,w:81,h:128 };bp[34]={t:275,l:354,w:86,h:128 };bp[35]={t:275,l:440,w:85,h:128 };bp[36]={t:275,l:525,w:85,h:128 };bp[37]={t:464,l:51,w:119,h:128 };bp[38]={t:464,l:169,w:92,h:128 };bp[39]={t:464,l:261,w:95,h:128 };bp[40]={t:464,l:356,w:92,h:128 };bp[41]={t:464,l:448,w:95,h:128 };bp[42]={t:464,l:543,w:67,h:128 };bp[43]={t:654,l:51,w:98,h:128 };bp[44]={t:654,l:148,w:76,h:128 };bp[45]={t:654,l:224,w:74,h:128 };bp[46]={t:654,l:298,w:51,h:128 };bp[47]={t:654,l:349,w:65,h:128 };bp[48]={t:654,l:414,w:70,h:128 };bp[49]={t:654,l:484,w:60,h:128 };bp[50]={t:654,l:544,w:66,h:128 };bp[51]={t:85,l:51,w:97,h:128 };bp[52]={t:85,l:147,w:72,h:128 };bp[53]={t:85,l:220,w:67,h:128 };bp[54]={t:85,l:287,w:64,h:128 };bp[55]={t:85,l:351,w:73,h:128 };bp[56]={t:85,l:424,w:63,h:128 };bp[57]={t:85,l:487,w:63,h:128 };bp[58]={t:85,l:550,w:60,h:128 };bp[59]={t:275,l:51,w:98,h:128 };bp[60]={t:275,l:149,w:66,h:128 };bp[61]={t:275,l:215,w:77,h:128 };bp[62]={t:275,l:292,w:66,h:128 };bp[63]={t:275,l:357,w:76,h:128 };bp[64]={t:275,l:434,w:87,h:128 };bp[65]={t:275,l:521,w:89,h:128 };bp[66]={t:464,l:51,w:145,h:128 };bp[67]={t:464,l:195,w:109,h:128 };bp[68]={t:464,l:305,w:97,h:128 };bp[69]={t:464,l:401,w:96,h:128 };bp[70]={t:464,l:497,w:113,h:128 };bp[71]={t:654,l:51,w:119,h:128 };bp[72]={t:654,l:170,w:100,h:128 };bp[73]={t:654,l:269,w:124,h:128 };bp[74]={t:654,l:394,w:91,h:128 };bp[75]={t:654,l:484,w:126,h:128 };bp[76]={t:85,l:51,w:130,h:125 };bp[77]={t:85,l:181,w:127,h:125 };bp[78]={t:85,l:308,w:92,h:125 };bp[79]={t:85,l:399,w:126,h:125 };bp[80]={t:85,l:525,w:85,h:125 };bp[81]={t:279,l:51,w:123,h:125 };bp[82]={t:279,l:173,w:92,h:125 };bp[83]={t:279,l:266,w:81,h:125 };bp[84]={t:279,l:347,w:91,h:125 };bp[85]={t:279,l:437,w:91,h:125 };bp[86]={t:279,l:528,w:82,h:125 };bp[87]={t:473,l:51,w:105,h:125 };bp[88]={t:473,l:156,w:88,h:125 };bp[89]={t:473,l:244,w:91,h:125 };bp[90]={t:473,l:335,w:82,h:125 };bp[91]={t:473,l:416,w:68,h:125 };bp[92]={t:473,l:485,w:62,h:125 };bp[93]={t:473,l:547,w:63,h:125 };bp[94]={t:648,l:51,w:131,h:134 };bp[95]={t:648,l:182,w:62,h:134 };bp[96]={t:648,l:244,w:98,h:134 };bp[97]={t:648,l:342,w:98,h:134 };bp[98]={t:648,l:440,w:95,h:134 };bp[99]={t:648,l:535,w:76,h:134 };bp[100]={t:85,l:51,w:127,h:136 };bp[101]={t:85,l:178,w:97,h:136 };bp[102]={t:85,l:275,w:91,h:136 };bp[103]={t:85,l:366,w:73,h:136 };bp[104]={t:85,l:439,w:57,h:136 };bp[105]={t:85,l:496,w:60,h:136 };bp[106]={t:85,l:556,w:54,h:136 };bp[107]={t:281,l:51,w:113,h:128 };bp[108]={t:281,l:164,w:70,h:128 };bp[109]={t:281,l:234,w:82,h:128 };bp[110]={t:281,l:316,w:79,h:128 };bp[111]={t:281,l:395,w:74,h:128 };bp[112]={t:281,l:470,w:70,h:128 };bp[113]={t:281,l:540,w:70,h:128 };bp[114]={t:468,l:51,w:94,h:127 };bp[115]={t:468,l:145,w:88,h:127 };bp[116]={t:468,l:234,w:90,h:127 };bp[117]={t:468,l:323,w:90,h:127 };bp[118]={t:468,l:413,w:63,h:127 };bp[119]={t:468,l:475,w:73,h:127 };bp[120]={t:468,l:548,w:62,h:127 };bp[121]={t:654,l:51,w:98,h:128 };bp[122]={t:654,l:148,w:66,h:128 };bp[123]={t:654,l:214,w:79,h:128 };bp[124]={t:654,l:294,w:66,h:128 };bp[125]={t:654,l:359,w:66,h:128 };bp[126]={t:654,l:425,w:66,h:128 };bp[127]={t:654,l:491,w:80,h:128 };bp[128]={t:654,l:571,w:35,h:128 }; var bpp = []; bpp[1]={t:154,l:58,w:73,h:22 };bpp[2]={t:154,l:131,w:60,h:22 };bpp[3]={t:154,l:191,w:79,h:22 };bpp[4]={t:154,l:270,w:63,h:22 };bpp[5]={t:154,l:333,w:79,h:22 };bpp[6]={t:154,l:413,w:49,h:22 };bpp[7]={t:154,l:462,w:71,h:22 };bpp[8]={t:154,l:533,w:70,h:22 };bpp[9]={t:230,l:58,w:108,h:22 };bpp[10]={t:230,l:166,w:58,h:22 };bpp[11]={t:230,l:224,w:64,h:22 };bpp[12]={t:230,l:288,w:64,h:22 };bpp[13]={t:230,l:352,w:58,h:22 };bpp[14]={t:230,l:410,w:64,h:22 };bpp[15]={t:230,l:475,w:64,h:22 };bpp[16]={t:230,l:539,w:64,h:22 };bpp[17]={t:305,l:58,w:100,h:22 };bpp[18]={t:305,l:158,w:93,h:22 };bpp[19]={t:305,l:251,w:45,h:22 };bpp[20]={t:305,l:297,w:101,h:22 };bpp[21]={t:305,l:398,w:45,h:22 };bpp[22]={t:305,l:443,w:115,h:22 };bpp[23]={t:305,l:558,w:45,h:22 };bpp[24]={t:380,l:58,w:174,h:22 };bpp[25]={t:380,l:233,w:50,h:22 };bpp[26]={t:380,l:283,w:107,h:22 };bpp[27]={t:380,l:390,w:106,h:22 };bpp[28]={t:380,l:496,w:107,h:22 };bpp[29]={t:455,l:58,w:124,h:22 };bpp[30]={t:455,l:183,w:93,h:22 };bpp[31]={t:455,l:276,w:94,h:22 };bpp[32]={t:455,l:369,w:93,h:22 };bpp[33]={t:455,l:462,w:80,h:22 };bpp[34]={t:455,l:542,w:61,h:22 };bpp[35]={t:530,l:58,w:91,h:22 };bpp[36]={t:530,l:149,w:59,h:22 };bpp[37]={t:530,l:207,w:66,h:22 };bpp[38]={t:530,l:273,w:66,h:22 };bpp[39]={t:530,l:339,w:64,h:22 };bpp[40]={t:530,l:403,w:66,h:22 };bpp[41]={t:530,l:470,w:67,h:22 };bpp[42]={t:530,l:537,w:66,h:22 };bpp[43]={t:605,l:58,w:98,h:22 };bpp[44]={t:605,l:156,w:59,h:22 };bpp[45]={t:605,l:215,w:70,h:22 };bpp[46]={t:605,l:285,w:59,h:22 };bpp[47]={t:605,l:343,w:59,h:22 };bpp[48]={t:605,l:402,w:69,h:22 };bpp[49]={t:605,l:471,w:66,h:22 };bpp[50]={t:605,l:537,w:66,h:22 };bpp[51]={t:680,l:58,w:96,h:22 };bpp[52]={t:680,l:154,w:45,h:22 };bpp[53]={t:680,l:199,w:65,h:22 };bpp[54]={t:680,l:264,w:64,h:22 };bpp[55]={t:680,l:328,w:65,h:22 };bpp[56]={t:680,l:393,w:57,h:22 };bpp[57]={t:680,l:450,w:64,h:22 };bpp[58]={t:680,l:514,w:45,h:22 };bpp[59]={t:680,l:558,w:45,h:22 };bpp[60]={t:756,l:58,w:97,h:22 };bpp[61]={t:756,l:155,w:74,h:22 };bpp[62]={t:756,l:229,w:59,h:22 };bpp[63]={t:756,l:288,w:68,h:22 };bpp[64]={t:756,l:357,w:73,h:22 };bpp[65]={t:756,l:430,w:70,h:22 };bpp[66]={t:756,l:500,w:103,h:22 };bpp[67]={t:108,l:58,w:86,h:22 };bpp[68]={t:108,l:144,w:87,h:22 };bpp[69]={t:108,l:232,w:80,h:22 };bpp[70]={t:108,l:312,w:120,h:22 };bpp[71]={t:108,l:432,w:55,h:22 };bpp[72]={t:108,l:486,w:117,h:22 };bpp[73]={t:189,l:58,w:166,h:22 };bpp[74]={t:189,l:224,w:103,h:22 };bpp[75]={t:189,l:328,w:135,h:22 };bpp[76]={t:189,l:463,w:70,h:22 };bpp[77]={t:189,l:533,w:70,h:22 };bpp[78]={t:270,l:58,w:96,h:22 };bpp[79]={t:270,l:154,w:65,h:22 };bpp[80]={t:270,l:219,w:63,h:22 };bpp[81]={t:270,l:281,w:63,h:22 };bpp[82]={t:270,l:344,w:63,h:22 };bpp[83]={t:270,l:407,w:77,h:22 };bpp[84]={t:270,l:484,w:63,h:22 };bpp[85]={t:270,l:547,w:56,h:22 };bpp[86]={t:351,l:58,w:81,h:22 };bpp[87]={t:351,l:139,w:71,h:22 };bpp[88]={t:351,l:210,w:70,h:22 };bpp[89]={t:351,l:280,w:63,h:22 };bpp[90]={t:351,l:343,w:63,h:22 };bpp[91]={t:351,l:407,w:64,h:22 };bpp[92]={t:351,l:470,w:70,h:22 };bpp[93]={t:351,l:540,w:63,h:22 };bpp[94]={t:432,l:58,w:134,h:22 };bpp[95]={t:432,l:192,w:47,h:22 };bpp[96]={t:432,l:239,w:100,h:22 };bpp[97]={t:432,l:339,w:98,h:22 };bpp[98]={t:432,l:437,w:98,h:22 };bpp[99]={t:432,l:535,w:68,h:22 };bpp[100]={t:513,l:58,w:93,h:22 };bpp[101]={t:513,l:151,w:102,h:22 };bpp[102]={t:513,l:252,w:101,h:22 };bpp[103]={t:513,l:353,w:80,h:22 };bpp[104]={t:513,l:434,w:61,h:22 };bpp[105]={t:513,l:494,w:48,h:22 };bpp[106]={t:513,l:542,w:61,h:22 };bpp[107]={t:594,l:58,w:105,h:22 };bpp[108]={t:594,l:163,w:56,h:22 };bpp[109]={t:594,l:220,w:71,h:22 };bpp[110]={t:594,l:291,w:71,h:22 };bpp[111]={t:594,l:362,w:67,h:22 };bpp[112]={t:594,l:429,w:56,h:22 };bpp[113]={t:594,l:485,w:62,h:22 };bpp[114]={t:594,l:547,w:56,h:22 };bpp[115]={t:675,l:58,w:128,h:22 };bpp[116]={t:675,l:186,w:96,h:22 };bpp[117]={t:675,l:282,w:97,h:22 };bpp[118]={t:675,l:379,w:69,h:22 };bpp[119]={t:675,l:448,w:79,h:22 };bpp[120]={t:675,l:527,w:76,h:22 };bpp[121]={t:756,l:58,w:94,h:22 };bpp[122]={t:756,l:152,w:68,h:22 };bpp[123]={t:756,l:220,w:73,h:22 };bpp[124]={t:756,l:292,w:68,h:22 };bpp[125]={t:756,l:360,w:62,h:22 };bpp[126]={t:756,l:422,w:68,h:22 };bpp[127]={t:756,l:490,w:72,h:22 };bpp[128]={t:756,l:563,w:36,h:22 }; var delaytime=parseInt(bt[1].e)*2; var pageBeforeChanging; function changepage1(e) { console.log(currpage) let base; let playTimes; let maxPages; let playingpart; let readytogo; document.getElementById('layer1').style.visibility = 'hidden'; if (lb == null) { initiatestuff(); } if (ison1 ||ison2 ||ison3||ison4) { if(typeof bpp !== 'undefined' && typeof ppt !== 'undefined') { playTimes = ppt; } else { playTimes = pt; } base = baseUrl; maxPages = max_playalong_page; playingpart=true; } else { playingpart=false; playTimes = pt; base = ss+score; maxPages = no_pages; } let mult = showTwoPages ? 2 : 1; if (changedpage==0) { pageBeforeChanging = currpage; changedpage = 1; manual_scroll=1; } if (carryon == 1 && e == 'r' && currpage + mult <= maxPages ) { currpage += mult; var cp; cp = formatPageNumber(currpage,playingpart); if (!playingpart&&curtransp!=0) { switchScore("score", thissc+'_'+curtranspdir+curtransp+cp+'.gif'); } else { switchScore("score", base+cp+'.svg'); } if (showTwoPages) { if (currpage + 1 <= maxPages ) { var currpageplus1 = currpage+1; cp2 = formatPageNumber(currpageplus1,playingpart); if (!playingpart&&curtransp!=0){ switchScore("score2", thissc+'_'+curtranspdir+curtransp+cp2+'.gif'); } else { switchScore("score2", base+cp2+'.svg'); } } else { switchScore("score2", ''); score2.style.width='11542px'; } } 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; cp = formatPageNumber(currpage,playingpart); if (!playingpart&&curtransp!=0) { switchScore("score", thissc+'_'+curtranspdir+curtransp+cp+'.gif'); } else { switchScore("score", base+cp+'.svg'); } if (showTwoPages) { if (currpage + 1 <= maxPages) { var currpageplus1 = currpage+1; cp2 = formatPageNumber(currpageplus1,playingpart); if (!playingpart&&curtransp!=0) { switchScore("score2", thissc+'_'+curtranspdir+curtransp+cp2+'.gif'); } else { switchScore("score2", base+cp2+'.svg'); } } else { switchScore("score2", ''); score2.style.width='11542px'; } } rb.classList.remove("pagenav_disabled") if (1 == currpage) { lb.classList.add("pagenav_disabled") } } } function formatPageNumber(page, isPlayingPart=false) { if (isPlayingPart || curtransp == 0) { return page < 10 ? '0' + page : page; } else { return page < 10 ? '00' + page : (page < 100 ? '0' + page : page); } } 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||ison4==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<0)) { currpage=currpage+1; if (currpage<10){cp2='00'+(currpage)} else if (currpage<100){cp2='0'+(currpage)} else {cp2=currpage} switchScore("score", baseUrl+cp2+'.svg'); 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+'.svg'); rb.classList.remove("pagenav_disabled"); if (currpage==1){lb.classList.add("pagenav_disabled");} } } } } var pauseamount=0; var pppa=0; var stimer; function playmain(stype){ baseUrl=''; temp_IS_HIGHLIGHT_ON=IS_HIGHLIGHT_ON; manual_scroll=0; if(g){ clearTimeout(g);} 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+'01.svg', imageCache); getCachedImageFromMap(ss+score+'02.svg', imageCache); getCachedImageFromMap(ss+score+'03.svg', imageCache); getCachedImageFromMap(ss+score+'04.svg', imageCache); getCachedImageFromMap(ss+score+'05.svg', imageCache); function playmain2(stype, keepPlayState, wasOn) { partopen=0; 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'; } if (ic4){ ic4.style.display='none'; aic4.style.display='none'; } aisp=document.getElementById('aispacer'); aisp.style.display='inline-flex';aisp.style.visibiliy='visible'; checkIfShouldShowTwoPages(); aud.addEventListener('timeframe',function(){ if (aud.currentTime< 48) { if(currpage!=1&&changedpage==0){ currpage=1 switchScore('score', ss+score+'0'+(currpage)+'.svg'); 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) { 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(); 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)} else if (ison4==1){playalongacc(4)} } 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(2, "0"); let newSrc; newSrc = ss+score+cp+'.svg'; switchScore("score", newSrc); if (showTwoPages && currpage + 1 <= no_pages) { var currpageplus1 = currpage + 1; let cp2 = currpageplus1.toString().padStart(2, "0"); if (curtransp != 0) { cp2 = currpageplus1.toString().padStart(3, "0"); newSrc = thissc + "_" + curtranspdir+curtransp + cp2 + ".gif"; } else { newSrc = ss + score + cp2 + ".svg"; } } else { newSrc = ""; } if ( sco2.src !== sco.src ) { switchScore("score2", newSrc); if(newSrc.length==0 &&curtransp == 0){ score2.style.width='11542px'; } } uptr(no_pages, currpage); } } function checktimeupdateparts() { var delaytime=p(bt[1].e)*200; 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(2, "0"); let newSrc; if (baseUrl !== '') { newSrc = baseUrl + cp + '.svg'; } else { newSrc = ss+score+cp+'.svg'; } switchScore("score", newSrc); if (showTwoPages && currpage + 1 <= no_part_pages) { var currpageplus1 = currpage + 1; var cp2 = currpageplus1.toString().padStart(2, "0"); if (baseUrl !== '') { newSrc = baseUrl + cp2 + '.svg'; } else { newSrc = ss+score+cp2+'.svg'; } } 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)*200; 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;aaa3){ if (cbn<6){ dcbn=3;} else{ dcbn=cbn-2; } } } cbn=dcbn; let playTimes; if (ison1 && typeof ppt !== 'undefined') { playTimes = ppt; } else { playTimes = pt; } let zthisbartiming = bt[aaa].e; var zthispage = false; let n = showTwoPages ? currpagearryno + 1 : currpagearryno; let pageEndTime = p((playTimes[n] || {e:0}).e * 10); let pageBeginTime = p((playTimes[currpagearryno-1] || {e:0}).e * 10); let firstPageEnd = p((playTimes[currpagearryno] || {e:0}).e * 10); if (zthisbartiming <= pageEndTime + 6) { if (currpagearryno > 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||ison4==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=920/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; var curtranspdir='u';



Download Score PDF
(8notes Premium)
Arrangements of this piece also available for:


Sorry, no other versions of this piece are currently available.

 Request New Version

About 'Trio Sonata in G major, Op.2 No.12'

Born:
1653 , Fusignano, nr Milan
Died:
1713 , Rome
The Artist:
Italian viruoso violinist and composer. Particularly important for his sonatas da camera and concerti grossi which influenced Bach and Handel.
Info:
Time Signature:
3/4 (View more 3/4 Music)
Score Key:
G major (Sounding Pitch) (View more G major Music for 2-Violins-Cello )
Tempo Marking:
~ = 80 Largo
Duration:
7:30
Number of Pages:
5
Difficulty:
Intermediate Level: Recommended for Intermediate Level players
Tags:
Copyright:
© Copyright 2000-2024 Red Balloon Technology Ltd (8notes.com)
 


Your Comment



Close X

Thank you for trying the 8notes.com Audio & Transposition features

You have reached your limit for today.
Join 8notes PREMIUM for unlimited playback & transpositions
Individual Subscriptions:

Click here for more info on 8notes PREMIUM