Lines Matching defs:shhd

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
180 de.x+=s.notes[s.stem>=0?0:s.nhd].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
248 x+=s.notes[s.stem>=0?0:s.nhd].shhd;up=-1
445 if(de.m!=undefined){note=s.notes[de.m];if(note.shhd)
446 x+=note.shhd*stv_g.scale}else if(f_staff[dd.func]&&!cfmt.dynalign&&((de.up&&st>0)||(!de.up&&st<nstaff))){if(de.up)
813 if(s.stem>=0){x=stem_xoff+s.notes[0].shhd
814 if(s.notes[s.nhd].pit>p_max){p_max=s.notes[s.nhd].pit;s_closest=s}}else{x=-stem_xoff+s.notes[s.nhd].shhd
905 if(s.ts_prev&&s.ts_prev.stem>0&&s.ts_prev.st==s.st&&s.ts_prev.ymn<s.ymx&&s.ts_prev.x==s.x&&s.notes[0].shhd==0){s.ts_prev.x-=3;s.ts_prev.xs-=3}}else{s.ymn=s.ys-2.5}
1071 hla.push([note.pit-18,note.shhd*stv_g.scale])}
1075 var dx1,dx2,hl,shhd,hlp,stafflines=p_staff.stafflines,top=stafflines.length-1,yu=top,bot=p_staff.botline/6,yl=bot,dx=s.grace?4:hw_tb[s.head]*1.3
1077 shhd=note.shhd
1079 dx1=(hla[i][1]<shhd?hla[i][1]:shhd)-dx
1080 dx2=(hla[i][1]>shhd?hla[i][1]:shhd)+dx
1086 dx1=shhd-dx
1087 dx2=shhd+dx
1156 if(s.notes[0].shhd)
1157 x+=s.notes[0].shhd*stv_g.scale}
1249 function x_head(s,note){return s.x+note.shhd*stv_g.scale}
1251 function draw_basic_note(x,s,m,y_tb){var i,p,yy,dotx,doty,inv,old_color=false,note=s.notes[m],staffb=staff_tb[s.st].y,y=3*(note.pit-18),shhd=note.shhd*stv_g.scale,x_note=x+shhd,y_note=y+staffb
1395 if(k1.notes&&k1.notes[0].shhd)
1396 x1+=k1.notes[0].shhd;x2=k2.x
1398 x2+=k2.notes[0].shhd
1657 if(s2.notes[r].shhd>0)
1658 x2+=s2.notes[r].shhd
1732 function draw_note_ties(not1,job){var m,x1,x2,s,y,h,time,not2=not1.tie_n,p=job==2?not1.pit:not2.pit,dir=(not1.tie_ty&0x07)==C.SL_ABOVE?1:-1,s1=not1.s,st=s1.st,s2=not2.s,x2=s2.x,sh=not1.shhd
1737 if(s1.notes[m+1].shhd>sh)
1738 sh=s1.notes[m+1].shhd}else{if(m>0&&p==s1.notes[m-1].pit+1)
1739 if(s1.notes[m-1].shhd>sh)
1740 sh=s1.notes[m-1].shhd}
1745 sh=s2.notes[m].shhd
1747 if(s2.notes[m+1].shhd<sh)
1748 sh=s2.notes[m+1].shhd}else{if(m>0&&p==s2.notes[m-1].pit+1)
1749 if(s2.notes[m-1].shhd<sh)
1750 sh=s2.notes[m-1].shhd}
1909 dx+=s.notes[0].shhd;y_set(s.st,false,s.x+dx,w,s.ymn)}
3406 if(!d){if(shift){var new_dx=s.notes[i].shhd=s.notes[i-dir].shhd+dx
3410 if(i+dir!=i2&&ps+dir==s.notes[i+dir].pit){s.notes[i].shhd=-dx
3417 if(shift){s.notes[i].shhd=dx
3422 for(i=n-1;--i>=0;){dx=notes[i].shhd
3437 if(!dx1){dx1=notes[i1].shhd
3447 if(!dx2){dx2=notes[i2].shhd
3648 for(m=0;m<=s.nhd;m++){xx=s.notes[m].shhd
4028 for(i=0;i<s.notes.length;i++){new_s.notes[i]={pit:s2.notes[i].pit,shhd:0,dur:C.BLEN/4}}
4698 dx=dots?15:10;s.notes[0].shhd=dx;s.xmx=dx
4704 dx=dots?15:10;s.notes[0].shhd=dx;s.xmx=dx
5001 return false;i11=i1;i21=i2;sh1=s1.notes[i1].shhd;sh2=s2.notes[i2].shhd
5007 if(sh1<s1.notes[i1].shhd)
5008 sh1=s1.notes[i1].shhd
5009 if(sh2<s2.notes[i2].shhd)
5010 sh2=s2.notes[i2].shhd}while(s2.notes[i2].pit==s1.notes[i1].pit)
5029 s2.notes[i2].shhd+=sh1}else{for(i1=i11;i1<i12;i1++){s1.notes[i1].invis=true
5032 s1.notes[i1].shhd+=sh2}
5042 for(m=0;m<=s1.nhd;m++){s1.notes[m].shhd+=d;s1.notes[m].shac-=d}
5048 for(m=0;m<=s2.nhd;m++){s2.notes[m].shhd+=d;s2.notes[m].shac-=d}
5061 shift=s.notes[s.stem>0?0:s.nhd].shhd;for(m=0;m<=s.nhd;m++){w=-s.notes[m].shhd+w_base+shift;i=s.notes[m].pit*2
5097 shift=s.notes[s.stem>0?0:s.nhd].shhd
5098 for(m=0;m<=s.nhd;m++){w=s.notes[m].shhd+w_base-shift;i=s.notes[m].pit*2
5117 if(s.xstem&&s.ts_prev.stem<0){for(m=0;m<=s.nhd;m++){s.notes[m].shhd-=7;s.notes[m].shac+=16}}
5139 d=s1.notes[0].shhd+7
5141 s2.notes[m].shhd+=d
5207 d=0;m=s1.stem>=0?0:s1.nhd;d+=s1.notes[m].shhd;m=s2.stem>=0?0:s2.nhd;d-=s2.notes[m].shhd
5246 for(m=s2.nhd;m>=0;m--){s2.notes[m].shhd+=d}
6228 note={pit:pit,shhd:0,shac:0}