Lines Matching defs:BLEN

6 var abc2svg={};abc2svg.C={BLEN:1536,BAR:0,CLEF:1,CUSTOS:2,GRACE:4,KEY:5,METER:6,MREST:7,NOTE:8,PART:9,REST:10,SPACE:11,STAVES:12,STBRK:13,TEMPO:14,BLOCK:16,REMARK:17,FULL:0,EMPTY:1,OVAL:2,OVALBARS:3,SQUARE:4,SL_ABOVE:0x01,SL_BELOW:0x02,SL_AUTO:0x03,SL_HIDDEN:0x04,SL_DOTTED:0x08};abc2svg.sym_name=['bar','clef','custos','','grace','key','meter','Zrest','note','part','rest','yspace','staves','Break','tempo','','block','remark']
932 if(s.trem2&&n>nflags){if(s.dur>=C.BLEN/2){x1=s.x+6;x2=bm.s2.x-6}else if(s.dur<C.BLEN/4){x1+=5;x2-=6}}
959 if(s.trem1&&i>s.nflags-s.ntrem){x1=(s.dur>=C.BLEN/2)?s.x:s.xs;draw_beam(x1-5,x1+5,(shift+2.5)*beam_dir,bh,bm,i)
1142 if(s.dur_orig==s.p_v.meter.wmeasure||(s.rep_nb&&s.rep_nb>=0)){if(s.dur<C.BLEN*2)
1144 else if(s.dur<C.BLEN*4)
3797 if(smallest_duration>=C.BLEN/2){if(smallest_duration>=C.BLEN)
3800 len/=2}else if(!s.next&&len>=C.BLEN){len/=2}
3801 if(len>=C.BLEN/4){if(len<C.BLEN/2)
3803 else if(len<C.BLEN)
3805 else if(len<C.BLEN*2)
3807 else if(len<C.BLEN*4)
3810 i=9}else{if(len>=C.BLEN/8)
3812 else if(len>=C.BLEN/16)
3814 else if(len>=C.BLEN/32)
3816 else if(len>=C.BLEN/64)
3820 l=len-((C.BLEN/16/8)<<i)
3822 if(l){if(l<0){space=space_tb[0]*len/(C.BLEN/16/8)}else{if(i>=9)
3824 space+=(space_tb[i+1]-space_tb[i])*l/((C.BLEN/16/8)<<i)}}
3840 if(s.dur&&len<=C.BLEN/4){s2=s
4028 for(i=0;i<s.notes.length;i++){new_s.notes[i]={pit:s2.notes[i].pit,shhd:0,dur:C.BLEN/4}}
4208 if((s.time-bar_time)%(C.BLEN/4)==0){s3=s
4537 Abc.prototype.set_pitch=function(last_s){var s,s2,g,st,delta,pitch,note,dur=C.BLEN,m=nstaff+1,staff_delta=new Int16Array(new Array(m*2)),sy=cur_sy
4982 if((l1=s1.dur)>=C.BLEN)
4984 if((l2=s2.dur)>=C.BLEN)
5018 if(l1<C.BLEN/2){if(s2.dots)
5021 head=1}else if(l2<C.BLEN/4){if(s1.shiftunison&&(s1.shiftunison&2))
5023 head=s2.dur>=C.BLEN/2?2:1}else{return false}}
5896 m2=parseInt(meter.bot);wmeasure+=m1*C.BLEN/m2}
5904 wmeasure=C.BLEN*val[1]/val[2]}
5909 if(parse.state>=1){if(!glovar.ulen){if(wmeasure<=1||wmeasure>=C.BLEN*3/4)
5910 glovar.ulen=C.BLEN/8
5912 glovar.ulen=C.BLEN/16}
5920 return C.BLEN*n/d}}
5971 d1=C.BLEN/d1
5973 d2=d2?Number(a[3])/d2*C.BLEN:0}else{d2=d1}}else if(text=="auto"){d1=d2=-1}
6358 case'z':s.type=C.REST;line.index++;nd=parse_dur(line);s.dur_orig=((curvoice.ulen<0)?C.BLEN:curvoice.ulen)*nd[0]/nd[1];s.dur=s.dur_orig*curvoice.dur_fact;s.notes=[{pit:18,dur:s.dur_orig}]
6384 note=parse_basic_note(line,s.grace?C.BLEN/4:curvoice.ulen<0?C.BLEN:curvoice.ulen)
8352 glovar.ulen=C.BLEN/8;parse.state=2;return