Lines Matching defs:acc

132 if(s.type==C.NOTE){for(m=0;m<=s.nhd;m++){if(s.notes[m].acc){dx=5+s.notes[m].shac}else{dx=6-s.notes[m].shhd
199 for(m=0;m<=s.nhd;m++){if(s.notes[m].acc){dx=4+s.notes[m].shac}else{dx=5-s.notes[m].shhd
381 case 42:if(!s.notes[0].acc)
383 dcn="sacc"+s.notes[0].acc.toString()
388 delete s.notes[0].acc
389 curvoice.acc[s.notes[0].pit+19]=0
391 case 43:j=curvoice.acc[s.notes[0].pit+19]
392 if(s.notes[0].acc||!j)
1053 xygl(x,y,"acc"+a)}
1120 for(i=0;i>s.k_sf;i--){xygl(x,staffb+shift,"acc-1");shift+=p_seq[-i];x+=5.5}
1122 for(;i>old_sf;i--){xygl(x,staffb+shift,"acc3");shift+=p_seq[-i];x+=5.5}}}}else if(s.k_a_acc.length){var acc,last_acc=s.k_a_acc[0].acc,last_shift=100,s2={st:st,nhd:0,notes:[{}]}
1123 for(i=0;i<s.k_a_acc.length;i++){acc=s.k_a_acc[i];shift=(s.k_y_clef
1124 +acc.pit-18)*3
1127 else if(acc.acc!=last_acc)
1128 x+=3;last_acc=acc.acc;s2.x=x
1130 last_shift=shift;draw_acc(x,staffb+shift,acc.acc)
1289 if(note.acc){x-=note.shac*stv_g.scale
1290 if(!s.grace){draw_acc(x,y+staffb,note.acc)}else{g_open(x,y+staffb,0,.75);draw_acc(0,0,note.acc)
1906 if(s.notes[0].acc&&ymn>3*(s.notes[0].pit-18)-9)
1910 if(s.notes[s.nhd].acc){y=s.y+8
1913 if(s.notes[0].acc){y=s.y
1914 if(s.notes[0].acc==1||s.notes[0].acc==3)
3421 function acc_shift(notes,dx_head){var i,i1,i2,dx,dx1,dx2,ps,p1,acc,n=notes.length
3426 for(i1=n;--i1>=0;){if(!notes[i1].acc)
3435 for(i1=n;--i1>=0;){if(notes[i1].acc){p1=notes[i1].pit
3445 for(i2=0;i2<i1;i2++){if(notes[i2].acc){ps=notes[i2].pit
3460 for(i=i1;--i>i2;){acc=notes[i].acc
3461 if(!acc)
3467 for(i1=n;--i1>i;){if(!notes[i1].acc)
3470 if(p1>=ps+4){if(p1>ps+4||acc<0||notes[i1].acc<0)
3476 function set_acc_shft(){var s,s2,st,i,acc,st,t,dx_head,notes
3480 st=s.st;t=s.time;acc=false
3483 if(acc)
3485 for(i=0;i<=s2.nhd;i++){if(s2.notes[i].acc){acc=true
3487 if(!acc){s=s2
3639 Abc.prototype.set_width=function(s){var s2,i,m,xx,w,wlnote,wlw,acc,bar_type,meter,last_acc,n1,n2,esp,tmp
3651 acc=s.notes[m].acc
3652 if(acc){tmp=s.notes[m].shac+
3653 (typeof acc!="number"?5.5:3.5)
3749 last_acc=s.k_a_acc[0].acc
3750 for(i=1;i<n2;i++){acc=s.k_a_acc[i]
3751 if(acc.pit>s.k_a_acc[i-1].pit+6||acc.pit<s.k_a_acc[i-1].pit-6)
3753 else if(acc.acc!=last_acc)
3754 esp+=3;last_acc=acc.acc}}
5000 if(s2.notes[i2].acc!=s1.notes[i1].acc)
5005 if(s2.notes[i2].acc!=s1.notes[i1].acc)
5027 delete s2.notes[i2].acc}
5030 delete s1.notes[i1].acc}
5034 function unison_acc(s1,s2,i1,i2){var m,d,acc
5035 acc=s2.notes[i2].acc
5036 if(!acc){d=w_note[s2.head]*2+s2.xmx+s1.notes[i1].shac+2
5037 acc=s1.notes[i1].acc
5038 if(typeof acc!="number")
5044 if(typeof acc!="number")
5175 case 0:if(s1.notes[i1].acc!=s2.notes[i2].acc&&!s1.notes[i1].acc&&!s2.notes[i2].acc){t=-1
5177 if(s2.notes[i2].acc){if(!s1.notes[i1].acc)
5178 s1.notes[i1].acc=s2.notes[i2].acc
5179 s2.notes[i2].acc=0}
5588 pit[i]=242}else{pit[i]=abc2svg.pab40(note.pit,note.acc)}}
5785 for(j=0;j<nacc;j++){if(pits[j]==p_acc.pit){accs[j]=p_acc.acc
5787 if(j==nacc){accs[j]=p_acc.acc;pits[j]=p_acc.pit
5792 p_acc.acc=accs[i];p_acc.pit=pits[i]}}
5845 s.k_map[(note.pit+19)%7]=note.acc}}else{s.k_map=abc2svg.keys[sf+7]}
6139 curvoice.acc=[]}
6208 function parse_acc_pit(line){var note,acc,pit,d,nd,c=line.char()
6210 if(c=='^'){acc=2;c=line.next_char()}else{acc=1}
6212 case'=':acc=3;c=line.next_char()
6215 if(c=='_'){acc=-2;c=line.next_char()}else{acc=-1}
6217 if(acc==1||acc==-1){if((c>='1'&&c<='9')||c=='/'){nd=parse_dur(line);if(acc<0)
6221 acc=nd
6229 if(acc)
6230 note.acc=acc
6232 function set_map(note,acc){var pit=note.pit,nn=not2abc(pit,acc),map=maps[curvoice.map]
6241 note.acc=map[1].acc
6242 if(!note.acc&&curvoice.acc[pit+19])
6243 note.acc=3
6244 curvoice.acc[pit+19]=note.acc==3?0:note.acc}
6249 note.midi=pit2mid(nn.pit+19,nn.acc)}
6291 function pit2mid(pit,acc){var p=[0,2,4,5,7,9,11][pit%7],o=((pit/7)|0)*12,p0,p1,s,b40
6294 if(acc==3)
6295 acc=0
6296 if(acc){if(typeof acc!="number"){s=acc[0]/acc[1]
6297 if(acc[1]==100)
6298 return p+o+s}else{s=acc}}else{if(cfmt.temper)
6302 return p}}else{if(typeof acc=="number"){b40=abc2svg.p_b40[pit%7]+acc
6304 if(acc[1]==cfmt.nedo){b40=abc2svg.p_b40[pit%7]
6390 i=note.acc
6391 if(i){curvoice.acc[apit]=i}else{i=curvoice.acc[apit]
6419 if(curvoice.acc[apit]||(acc_tie&&acc_tie[apit])){if(!curvoice.acc_tie)
6421 curvoice.acc_tie[apit]=curvoice.acc[apit]||acc_tie[apit]}
6475 if(curvoice.acc[apit]||(acc_tie&&acc_tie[apit])){if(!curvoice.acc_tie)
6477 curvoice.acc_tie[apit]=curvoice.acc[apit]||acc_tie[apit]}}
7168 var tgls={"mtr ":{x:0,y:0,c:"\u0020"},brace:{x:0,y:0,c:"\ue000"},lphr:{x:0,y:24,c:"\ue030"},mphr:{x:0,y:24,c:"\ue038"},sphr:{x:0,y:27,c:"\ue039"},rdots:{x:-1,y:0,c:"\ue043"},dsgn:{x:-4,y:-4,c:"\ue045"},dcap:{x:-4,y:-4,c:"\ue046"},sgno:{x:-6,y:0,c:"\ue047"},coda:{x:-12,y:-6,c:"\ue048"},tclef:{x:-8,y:0,c:"\ue050"},cclef:{x:-8,y:0,c:"\ue05c"},bclef:{x:-8,y:0,c:"\ue062"},pclef:{x:-6,y:0,c:"\ue069"},spclef:{x:-6,y:0,c:"\ue069"},stclef:{x:-8,y:0,c:"\ue07a"},scclef:{x:-8,y:0,c:"\ue07b"},sbclef:{x:-7,y:0,c:"\ue07c"},oct:{x:0,y:2,c:"\ue07d"},mtr0:{x:0,y:0,c:"\ue080"},mtr1:{x:0,y:0,c:"\ue081"},mtr2:{x:0,y:0,c:"\ue082"},mtr3:{x:0,y:0,c:"\ue083"},mtr4:{x:0,y:0,c:"\ue084"},mtr5:{x:0,y:0,c:"\ue085"},mtr6:{x:0,y:0,c:"\ue086"},mtr7:{x:0,y:0,c:"\ue087"},mtr8:{x:0,y:0,c:"\ue088"},mtr9:{x:0,y:0,c:"\ue089"},mtrC:{x:0,y:0,c:"\ue08a"},"mtr+":{x:0,y:0,c:"\ue08c"},"mtr(":{x:0,y:0,c:"\ue094"},"mtr)":{x:0,y:0,c:"\ue095"},HDD:{x:-7,y:0,c:"\ue0a0"},breve:{x:-7,y:0,c:"\ue0a1"},HD:{x:-5.2,y:0,c:"\ue0a2"},Hd:{x:-3.8,y:0,c:"\ue0a3"},hd:{x:-3.7,y:0,c:"\ue0a4"},ghd:{x:2,y:0,c:"\ue0a4",sc:.66},pshhd:{x:-3.7,y:0,c:"\ue0a9"},pfthd:{x:-3.7,y:0,c:"\ue0b3"},x:{x:-3.7,y:0,c:"\ue0a9"},"circle-x":{x:-3.7,y:0,c:"\ue0b3"},srep:{x:-5,y:0,c:"\ue101"},"dot+":{x:-5,y:0,sc:.7,c:"\ue101"},diamond:{x:-4,y:0,c:"\ue1b9"},triangle:{x:-4,y:0,c:"\ue1bb"},dot:{x:-1,y:0,c:"\ue1e7"},flu1:{x:-.3,y:0,c:"\ue240"},fld1:{x:-.3,y:0,c:"\ue241"},flu2:{x:-.3,y:0,c:"\ue242"},fld2:{x:-.3,y:0,c:"\ue243"},flu3:{x:-.3,y:3.5,c:"\ue244"},fld3:{x:-.3,y:-4,c:"\ue245"},flu4:{x:-.3,y:8,c:"\ue246"},fld4:{x:-.3,y:-9,c:"\ue247"},flu5:{x:-.3,y:12.5,c:"\ue248"},fld5:{x:-.3,y:-14,c:"\ue249"},"acc-1":{x:-1,y:0,c:"\ue260"},"cacc-1":{x:-18,y:0,c:"\ue26a\ue260\ue26b"},"sacc-1":{x:-1,y:0,sc:.7,c:"\ue260"},acc3:{x:-1,y:0,c:"\ue261"},"cacc3":{x:-18,y:0,c:"\ue26a\ue261\ue26b"},sacc3:{x:-1,y:0,sc:.7,c:"\ue261"},acc1:{x:-2,y:0,c:"\ue262"},"cacc1":{x:-18,y:0,c:"\ue26a\ue262\ue26b"},sacc1:{x:-2,y:0,sc:.7,c:"\ue262"},acc2:{x:-3,y:0,c:"\ue263"},"acc-2":{x:-3,y:0,c:"\ue264"},"acc-1_2":{x:-2,y:0,c:"\ue280"},"acc-3_2":{x:-3,y:0,c:"\ue281"},acc1_2:{x:-1,y:0,c:"\ue282"},acc3_2:{x:-3,y:0,c:"\ue283"},accent:{x:-3,y:0,c:"\ue4a0"},stc:{x:-1,y:-2,c:"\ue4a2"},emb:{x:-4,y:-2,c:"\ue4a4"},wedge:{x:-1,y:0,c:"\ue4a8"},marcato:{x:-3,y:0,c:"\ue4ac"},hld:{x:-7,y:0,c:"\ue4c0"},brth:{x:0,y:0,c:"\ue4ce"},r00:{x:-1.5,y:0,c:"\ue4e1"},r0:{x:-1.5,y:0,c:"\ue4e2"},r1:{x:-3.5,y:-6,c:"\ue4e3"},r2:{x:-3.2,y:0,c:"\ue4e4"},r4:{x:-3,y:0,c:"\ue4e5"},r8:{x:-3,y:0,c:"\ue4e6"},r16:{x:-4,y:0,c:"\ue4e7"},r32:{x:-4,y:0,c:"\ue4e8"},r64:{x:-4,y:0,c:"\ue4e9"},r128:{x:-4,y:0,c:"\ue4ea"},mrest:{x:-10,y:0,c:"\ue4ee"},mrep:{x:-6,y:0,c:"\ue500"},mrep2:{x:-9,y:0,c:"\ue501"},p:{x:-4,y:-6,c:"\ue520"},f:{x:-4,y:-6,c:"\ue522"},pppp:{x:-4,y:-6,c:"\ue529"},ppp:{x:-4,y:-6,c:"\ue52a"},pp:{x:-4,y:-6,c:"\ue52b"},mp:{x:-4,y:-6,c:"\ue52c"},mf:{x:-4,y:-6,c:"\ue52d"},ff:{x:-4,y:-6,c:"\ue52f"},fff:{x:-4,y:-6,c:"\ue530"},ffff:{x:-4,y:-6,c:"\ue531"},sfz:{x:-4,y:-6,c:"\ue539"},trl:{x:-4,y:-4,c:"\ue566"},turn:{x:-5,y:-4,c:"\ue567"},turnx:{x:-5,y:-4,c:"\ue569"},umrd:{x:-7,y:-2,c:"\ue56c"},lmrd:{x:-7,y:-2,c:"\ue56d"},dplus:{x:-4,y:10,c:"\ue582"},sld:{x:-8,y:12,c:"\ue5d0"},grm:{x:-2,y:0,c:"\ue5e2"},dnb:{x:-4,y:0,c:"\ue610"},upb:{x:-3,y:0,c:"\ue612"},opend:{x:-2,y:0,c:"\ue614"},roll:{x:0,y:0,c:"\ue618"},thumb:{x:0,y:0,c:"\ue624"},snap:{x:-2,y:0,c:"\ue630"},ped:{x:-10,y:0,c:"\ue650"},pedoff:{x:-5,y:0,c:"\ue655"},mtro:{x:0,y:0,c:"\ue911"},mtrc:{x:0,y:0,c:"\ue915"},"mtr.":{x:0,y:0,c:"\ue920"},"mtr|":{x:0,y:0,c:"\ue925"},longa:{x:-4.7,y:0,c:"\ue95d"},custos:{x:-4,y:3,c:"\uea02"},ltr:{x:2,y:6,c:"\ueaa4"}}
7784 function not2abc(pit,acc){var i,nn=''
7785 if(acc&&acc!=3){if(typeof acc=="number"){nn=['__','_','','^','^^'][acc+2]}else{i=acc[0]
7788 nn+=i+'/'+acc[1]}}
7811 ns=ty+not2abc(note.pit,note.acc)}
7872 function note_transp(s,sk,note){var ak,an,d,b40,n=note.pit,a=note.acc
7890 note.acc=an}
8196 return s.notes[i].acc}
8199 return s.notes[i].acc}
8297 curvoice.acc=[]
8314 p_voice2.acc=[]
8386 p_voice={v:v,id:id,time:0,new:true,pos:{dyn:0,gch:0,gst:0,orn:0,stm:0,voc:0,vol:0},scale:1,ulen:glovar.ulen,dur_fact:1,key:clone(parse.ckey),ckey:clone(parse.ckey),okey:clone(parse.ckey),meter:clone(glovar.meter),wmeasure:glovar.meter.wmeasure,staffnonote:1,clef:{type:C.CLEF,clef_auto:true,clef_type:"a",time:0},acc:[],sls:[],hy_st:0}
8836 case'<':case'>':if(an.type=='<'){if(s.notes[0].acc)