Lines Matching defs:ch
9 function chcr(b,ch){var i,v,r=[]
11 i=ch.length
12 while(--i>0){if(ch[i][0]==b)
14 ch=ch[i]
15 for(i=0;i<ch.length;i+=2){v=abc2svg.letmid[ch[i]]
16 switch(ch[i+1]){case'+':v+=12;break
20 function gench(sb,gch){var r,ch,b,m,n,not,a=gch.otext.match(/([A-G])([#♯b♭]?)([^/]*)\/?(.*)/),s={v:vch.v,p_v:vch,type:C.NOTE,time:sb.time,notes:[]}
24 ch=[0]
27 if(!a[3]){ch=chnm[""]}else{ch=abc2svg.ch_alias[a[3]]
28 if(ch==undefined)
29 ch=a[3]
30 ch=chnm[ch]
31 if(!ch)
32 ch=a[3][0]=='m'?chnm.m:chnm[""]}
38 ch=chcr(b,ch)
39 n=ch.length
41 for(m=0;m<n;m++){not={midi:r+ch[m]}