| /plugin/abc2/abc-libraries/abc2svg/ |
| D | page-1.js | 11 …e,ty){var a,i,j,k,x,y,y0,s,font=page.abc.get_font(ty),str=page[ty],cfmt=page.abc.cfmt(),fh=font.si… 42 if(cfmt.dateformat[0]=='"') 43 cfmt.dateformat=cfmt.dateformat.slice(1,-1) 44 r[j]+=strftime(cfmt.dateformat,t) 86 return'f'+font.fid+cfmt.fullsvg+' '+font.class 87 return'f'+font.fid+cfmt.fullsvg} 97 x=cfmt.leftmargin 99 x=cfmt.pagewidth/2 101 x=cfmt.pagewidth-cfmt.rightmargin 118 return fh*a[4]},open_page:function(page,ht){var h,l,abc=page.abc,cfmt=abc.cfmt(),sty='<div style="l… [all …]
|
| D | chordnames-1.js | 5 abc2svg.chordnames={gch_build:function(of,s){var gch,i,ix,t,cfmt=this.cfmt() 6 if(s.a_gch&&cfmt.chordnames){for(ix=0;ix<s.a_gch.length;ix++){gch=s.a_gch[ix] 11 gch.text=cfmt.chordnames.Z 13 gch.text=t.replace(/[A-GZ]/g,function(c){return cfmt.chordnames[c]}) 14 if(cfmt.chordnames.B=='H') 16 of(s)},set_fmt:function(of,cmd,parm){var i,cfmt=this.cfmt() 18 cfmt.chordnames={Z:"N.C."} 20 cfmt.chordnames['CDEFGABZ'[i]]=parm[i]
|
| D | break-1.js | 5 …2svg.break={get_break:function(parm){var C=abc2svg.C,b,c,d,sq,a=parm.split(/[ ,]/),cfmt=this.cfmt() 6 if(!cfmt.break) 7 cfmt.break=[] 13 if(!c[3]){cfmt.break.push({m:c[1],t:0,sq:sq}) 18 cfmt.break.push({m:c[1],t:d[1]*C.BLEN/d[2],sq:sq})}},do_break:function(){var i,m,t,brk,seq,voice_tb… 19 v=this.get_cur_sy().top_voice,s1=voice_tb[v].sym,cfmt=this.cfmt() 20 for(i=0;i<cfmt.break.length;i++){brk=cfmt.break[i];m=brk.m 39 if(this.cfmt().break)
|
| D | MIDI-1.js | 33 var n,v,s,maps,o,q,n,qs,a=parm.split(/\s+/),abc=this,cfmt=abc.cfmt(),curvoice=abc.get_curvoice() 38 switch(a[1]){case"chordname":if(!cfmt.chord) 39 cfmt.chord={} 40 if(!cfmt.chord.names) 41 cfmt.chord.names={} 42 cfmt.chord.names[a[2]]=a.slice(3) 44 case"chordprog":if(!cfmt.chord) 45 cfmt.chord={} 46 cfmt.chord.prog=a[2] 48 cfmt.chord.trans=Number(a[3].slice(7)) [all …]
|
| D | chord-1.js | 8 abc2svg.chord=function(first,voice_tb,cfmt){var chnm,i,k,vch,s,gchon,C=abc2svg.C,trans=48+(cfmt.cho… argument 52 if(cfmt.chord.names){chnm=Object.create(abc2svg.chordnames) 53 for(k in cfmt.chord.names){vch="" 54 for(i=0;i<cfmt.chord.names[k].length;i++){s=cfmt.chord.names[k][i] 58 …ce_tb.length,id:"_chord",time:0,sym:{type:C.REST,time:0},instr:cfmt.chord.prog||0,vol:cfmt.chord.v… 67 gchon=cfmt.chord.gchon
|
| D | clip-1.js | 26 this.cfmt().clip=[b,c]},do_clip:function(){var C=abc2svg.C property 27 voice_tb=this.get_voice_tb(),cfmt=this.cfmt() 50 if(cfmt.clip[0].m>0||cfmt.clip[0].t>0){s=go_global_time(s,cfmt.clip[0]) 68 s=go_global_time(s,cfmt.clip[1]) 83 if(this.cfmt().clip)
|
| D | gamelan-1.js | 8 if(!abc.cfmt().gamelan){of() 95 if(!abc.cfmt().gamelan){of(p_voice) 144 break}}},set_fmt:function(of,cmd,param){if(cmd=="gamelan"){var cfmt=this.cfmt() 145 cfmt.gamelan=true 146 cfmt.staffsep=20 147 cfmt.sysstaffsep=14 149 cfmt.tuplets=[0,1,0,1] 152 if(!last_s||!this.cfmt().gamelan) 160 if(!this.cfmt().gamelan)
|
| D | jianpu-1.js | 8 if(!abc.cfmt().jianpu){of() 94 if(!abc.cfmt().jianpu){of(p_voice) 146 break}}},set_fmt:function(of,cmd,param){if(cmd=="jianpu"){var cfmt=this.cfmt() 147 cfmt.jianpu=true 148 cfmt.staffsep=20 149 cfmt.sysstaffsep=14 151 cfmt.tuplets=[0,1,0,1] 154 if(!last_s||!this.cfmt().jianpu) 165 if(!this.cfmt().jianpu)
|
| D | mdnn-1.js | 8 …,ss:"0 nss 0 0 0"},output_music:function(of){var C=abc2svg.C,abc=this,cfmt=abc.cfmt(),cur_sy=abc.g… 10 if(!cfmt.mdnn){of() 61 this.cfmt().mdnn=true 64 if(!last_s||!this.cfmt().mdnn)
|
| D | pedline-1.js | 8 if(this.cfmt().pedline){for(i=0;i<a_de.length;i++){de=a_de[i] 18 of()},out_lped:function(of,x,y,val,defl){if(!this.cfmt().pedline){of(x,y,val,defl) 25 this.cfmt().pedline=param
|
| D | grid-1.js | 7 var abc=this,img,cls,cfmt=abc.cfmt(),grid=cfmt.grid 68 x0=(x0/cfmt.scale-w)/2 107 if(!cfmt.gridfont) 116 f2=cfmt.gsfont 125 …var C=abc2svg.C,abc=this,tsfirst=abc.get_tsfirst(),voice_tb=abc.get_voice_tb(),grid=abc.cfmt().grid 204 this.cfmt().grid=grid
|
| D | abc2svg-1.js | 73 if(!sev&&cfmt.quiet) 282 if(!text){if(cfmt.decoerr) 423 if(!cfmt.dynalign){st=nstaff;y=staff_tb[st].y 446 x+=note.shhd*stv_g.scale}else if(f_staff[dd.func]&&!cfmt.dynalign&&((de.up&&st>0)||(!de.up&&st<nsta… 599 if(cfmt.measurenb>0&s.bar_num&&s.bar_num%cfmt.measurenb) 630 if(cfmt.dynalign){if(de.up){if(de.y>minmax[de.st].ymax) 638 if(cfmt.dynalign){if(de.up) 658 if(bar_num>1){if(cfmt.measurenb==0){any_nb=true;y=y_get(st,true,0,20) 660 …num.toString());y_set(st,true,0,20,y+gene.curfont.size+2)}else if(bar_num%cfmt.measurenb==0){for(;… 685 if(cfmt.measurenb==0||(bar_num%cfmt.measurenb)!=0||!s.next||s.bar_mrep) [all …]
|
| D | soloffs-1.js | 5 …set_fmt:function(of,cmd,parm){if(cmd=="soloffs"){var i,v,C=abc2svg.C,soloffs=this.cfmt().soloffs={} 18 …nction(of,width){var s,C=abc2svg.C,tsfirst=this.get_tsfirst(),soloffs=this.cfmt().soloffs;of(width)
|
| D | grid3-1.js | 7 var abc=this,cfmt=abc.cfmt(),img=abc.get_img(),txt=s.text,font,font_cl,cls,w,ln,i,lines=[],cl=[],ba… 36 x0=(img.width/cfmt.scale-w)/2 77 if(!cfmt.gridfont) 127 this.cfmt().csdef=txt 129 …tim,p_vc,s3,C=abc2svg.C,abc=this,s=abc.get_tsfirst(),vt=abc.get_voice_tb(),t=abc.cfmt().csdef,cs=[]
|
| D | jazzchord-1.js | 6 if(!this.cfmt().jazzchord){of(s) 42 if(cmd=="jazzchord"){this.cfmt().jazzchord=this.get_bool(parm)
|
| D | diag-1.js | 370 this.deco_cnv([ch_cnv(gch.otext)],s,null)}}},output_music:function(of){if(this.cfmt().diag) 372 of()},set_fmt:function(of,cmd,param){if(cmd=="diagram"){this.cfmt().diag=param
|
| D | ambitus-1.js | 24 if(!last_s&&this.cfmt().ambitus) 25 abc2svg.ambitus.do_ambitus.call(this)},set_fmt:function(of,cmd,param){if(cmd=="ambitus"){this.cfmt(…
|
| D | equalbars-1.js | 6 this.cfmt().equalbars=this.get_bool(param) 9 if(!this.cfmt().equalbars)
|
| D | temper-1.js | 15 this.cfmt().temper=tb40
|
| D | clair-1.js | 32 break}},output_music:function(of){var s,m,mp,p_v,v,cfmt=this.cfmt(),tsfirst=this.get_tsfirst(),voic…
|
| D | capo-1.js | 18 gch2.font=abc.get_font(abc.cfmt().capofont?"capo":"annotation")
|
| D | snd-1.js | 62 function ToAudio(){return{add:function(first,voice_tb,cfmt){var toaud=this,C=abc2svg.C,p_time=0,abc… argument 156 if(cfmt.chord){if(!abc2svg.chord){abc2svg.pwait=true 157 abc2svg.loadjs("chord-1.js",function(){toaud.add(first,voice_tb,cfmt)},function(){cfmt.chord=null 158 toaud.add(first,voice_tb,cfmt)}) 160 abc2svg.chord(first,voice_tb,cfmt)}
|
| D | strtab-1.js | 8 m=abc.cfmt().bgcolor||"white"
|
| /plugin/abc2/abc-libraries/abc-ui/ |
| D | abc-ui-1.0.0.min.js | 8 …cfmt.decoerr&&error(1,null,"Unknown decoration '$1'",e);return}t=f.match(/(\d+)\s+(.+?)\s+([0-9.]+… property
|