Lines Matching defs:bars
8 function build_grid(chords,bars,font,wmx){var i,k,l,nr,bar,w,hr,x0,x,y,yl,lc='',cells=[],nc=grid.n
45 if(!grid.ls){cells=chords}else{bar=bars;bars=[]
53 cells.push(chords[k]);bars.push(bar[k])}}}
69 for(i=0;i<cells.length;i++){if(i==0||(grid.repbrk&&(bars[i].slice(-1)==':'||bars[i][0]==':'))||k>=nc){y-=hr
91 for(i=0;i<bars.length;i++){bar=bars[i]
96 if(i==0||(grid.repbrk&&(bars[i].slice(-1)==':'||bars[i][0]==':'))||k>=nc){y-=hr;x=x0
124 build_grid(s.chords,s.bars,font,s.wmx)
133 function build_chords(sb){var s,i,w,bt,rep,bars=[],chords=[],chord=[],beat=get_beat(voice_tb[0].meter),wm=voice_tb[0].meter.wmeasure,cur_beat=0,beat_i=0,wmx=0
134 bars.push('|')
148 bars.push(bt)}else{bars[0]=bt}}else{if(!s.bar_num)
151 bars.push(bt)}
163 if(chord.length){bars.push('')
169 sb.bars=bars