Lines Matching defs:y_tb
1234 function setdoty(s,y_tb){var m,m1,y
1240 y_tb[m]=y}
1241 for(m=0;m<s.nhd;m++){if(y_tb[m+1]>y_tb[m])
1244 while(m1>0){if(y_tb[m1]>y_tb[m1-1]+6)
1247 if(3*(s.notes[m1].pit-18)-y_tb[m1]<y_tb[m+1]-3*(s.notes[m+1].pit-18)){while(m1<=m)
1248 y_tb[m1++]-=6}else{y_tb[m+1]=y_tb[m]+6}}}
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
1282 if(y_tb[m]==undefined){y_tb[m]=3*(s.notes[m].pit-18)
1284 y_tb[m]+=3}
1285 doty=y_tb[m]+staffb
1294 function draw_note(s,fl){var s2,i,m,y,staffb,slen,c,nflags,x,y,note,y_tb=new Array(s.nhd+1)
1296 setdoty(s,y_tb)
1321 draw_basic_note(x,s,m,y_tb)}