Lines Matching defs:staves

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']
601 if(s.type!=C.BAR){w=s.rbstop?0:s.x-realwidth+4}else if((s.bar_type.length>1&&s.bar_type!="[]")||s.bar_type=="]"){if(s1.st>0&&!(cur_sy.staves[s1.st-1].flags&STOP_BAR))
995 while(!cur_sy.st_print[st]){if(cur_sy.staves[st].flags&flag)
1001 if(cur_sy.staves[i].flags&flag)
1009 for(i=0;;i++){fl=cur_sy.staves[i].flags
1023 for(i=0;i<=nst;i++){fl=cur_sy.staves[i].flags
1394 if(two_staves)error(2,k1,"*** multi-staves slurs not treated yet");x1=k1.x
1983 if((cur_sy.staves[st].flags&OPEN_BRACE)&&(cur_sy.staves[st+1].flags&CLOSE_BRACE)&&!staff_d[st+1])
2005 var sy_staff_prev=sy.staves[prev_staff]
2022 dy=maxsep;y+=dy;p_staff.y=-y;prev_staff=st;while(1){sy_staff_prev=sy.staves[prev_staff]
2050 dy=staff_tb[st].y+top;bar_bot[st]=staff_tb[st].y+bot;bar_height[st]=dy-bar_bot[st];dy=(cur_sy.staves[st].flags&STOP_BAR)?0:bar_bot[st]}}
2134 if(sy.st_print[st]&&sy.staves[st].stafflines==cur_sy.staves[st].stafflines)
3174 case"score":case"staves":case"tune":case"voice":bol-=2
3186 switch(pc.match(/\S+/)[0]){case"score":case"staves":if(!parse.scores)
4451 if(!sy.voices[v].second){sy.staves[st].staffnonote=p_voice.staffnonote
4453 sy.staves[st].staffscale=p_voice.staffscale
4455 sy.staves[st].sep=sy.voices[v].sep
4457 sy.staves[st].maxsep=sy.voices[v].maxsep;if(!p_voice.clef.clef_auto)
4466 mid[st]=(sy.staves[st].stafflines.length-1)*3
4475 if(!sy.voices[v].second){sy.staves[st].staffnonote=p_voice.staffnonote
4477 sy.staves[st].staffscale=p_voice.staffscale
4479 sy.staves[st].sep=sy.voices[v].sep
4481 sy.staves[st].maxsep=sy.voices[v].maxsep}
4486 mid[st]=(sy.staves[st].stafflines.length-1)*3
4923 for(st=0;st<=cur_sy.nstaff;st++){if(cur_sy.staves[st].flags&(OPEN_BRACE2|OPEN_BRACKET2)){w=12
4925 if(cur_sy.staves[st].flags&(OPEN_BRACE|OPEN_BRACKET))
5352 function reset_staff(st){var p_staff=staff_tb[st],sy_staff=sy.staves[st]
5356 function set_brace(){var st,i,empty_fl,n=sy.staves.length
5357 for(st=0;st<n;st++){if(!(sy.staves[st].flags&(OPEN_BRACE|OPEN_BRACE2)))
5361 if(sy.staves[st].flags&(CLOSE_BRACE|CLOSE_BRACE2))
5411 case C.BAR:if(s.bar_mrep||sy.staves[st].staffnonote>1)
5415 case C.NOTE:case C.REST:case C.SPACE:case C.MREST:if(sy.staves[st].staffnonote>1)
5419 if(sy.staves[st].staffnonote||s.type==C.NOTE)
5726 par_sy.staves[curvoice.st].stafflines=val
6105 if(s2&&s2.time==curvoice.time){if(s2&&s2.type==C.BAR){if(bar_type=="["&&!s2.text&&(curvoice.st==0||(par_sy.staves[curvoice.st-1].flags&STOP_BAR)||s.norepbra)){if(s.text)
6135 if(s.rbstart&&!curvoice.norepbra&&curvoice.st>0&&!(par_sy.staves[curvoice.st-1].flags&STOP_BAR)){s2={type:C.BAR,fname:s.fname,istart:s.istart,iend:s.iend,bar_type:"[",multi:0,invis:true,text:s.text,rbstart:2}
7717 function new_syst(init){var st,v,sy_new={voices:[],staves:[],top_voice:0}
7721 var sy_staff=par_sy.staves[st],p_voice=voice_tb[v]
7725 for(st=0;st<par_sy.staves.length;st++){sy_new.staves[st]=clone(par_sy.staves[st]);sy_new.staves[st].flags=0}
7927 cmd=cmd[0];if(curvoice&&curvoice.ignore){switch(cmd){case"staves":case"score":break
8052 case"staves":case"score":if(parse.state==0)
8212 if(no_sym||(maxtime==0&&staves_found<0)){par_sy.staves=[]
8245 if(flags&FL_VOICE){p_voice.floating=true;p_voice.second=true}else{st++;if(!par_sy.staves[st]){par_sy.staves[st]={stafflines:p_voice.stafflines||"|||||",staffscale:1}}
8246 par_sy.staves[st].flags=0}
8247 v=p_voice.v;p_voice.st=p_voice.cst=par_sy.voices[v].st=st;par_sy.staves[st].flags|=flags
8255 par_sy.staves[st].flags|=a_vf[i][1]}}
8260 par_sy.staves[st].flags^=STOP_BAR}
8269 if(st>0&&!p_voice.norepbra&&!(par_sy.staves[st-1].flags&STOP_BAR))
8429 par_sy.staves[nstaff]={stafflines:curvoice.stafflines||"|||||",staffscale:1}}}
8441 par_sy.staves[v]={stafflines:p_voice.stafflines||"|||||",staffscale:1}}