Lines Matching defs:sl
1386 function draw_slur(path,not1,sl){var i,k,g,x1,y1,x2,y2,height,addy,a,y,z,h,dx,dy,ty=sl.ty,dir=(ty&0x07)==C.SL_ABOVE?1:-1,n=path.length,i1=0,i2=n-1,k1=path[0],k2=path[i2]
1404 if(sl.is_note){y2=3*(sl.note.pit-18)+2*dir
1516 function draw_sls(s,sl,snote){var k,v,i,dir,path=[],enote=sl.note,s2=enote.s
1519 if(tsnext&&s2.time>=tsnext.time){s.p_v.sls.push(sl);s2=s.p_v.s_next.prev
1521 s2=s2.next;sl=Object.create(sl);sl.note={s:s2}}
1522 switch(sl.ty&0x07){case C.SL_ABOVE:dir=1;break
1525 sl.ty&=~0x07
1526 sl.ty|=dir>0?C.SL_ABOVE:C.SL_BELOW
1561 draw_slur(path,snote,sl)
6264 function slur_add(enote,e_is_note){var i,s,sl,snote,s_is_note
6265 for(i=curvoice.sls.length;--i>=0;){sl=curvoice.sls[i]
6266 snote=sl.note
6267 s_is_note=sl.is_note
6268 delete sl.is_note
6269 if(snote.s!=enote.s){sl.note=enote
6271 sl.is_note=e_is_note
6274 s.sls=[];s.sls.push(sl)
6278 if(sl.grace)
6279 sl.grace.sl1=true
7682 while(1){var sl=p_voice.sls.shift()
7683 if(!sl)
7685 s=sl.note.s
7690 s.sls.push({ty:sl.ty,note:{s:s2}})}else{syntax(1,"Lack of ending slur(s)")}}}