Lines Matching defs:p
5 abc2svg.MIDI={do_midi:function(parm){function abc_b40(p){var pit,acc=0,i=0
6 switch(p[0]){case'^':if(p[++i]=='^'){acc=2
11 case'_':if(p[++i]=='_'){acc=-2
14 pit='CDEFGABcdefgab'.indexOf(p[i++])+16
17 while(p[i]=="'"){pit+=7
19 while(p[i]==","){pit-=7
22 function mid_pit(p){var b40,pit=p
23 p=(pit/12)|0
24 pit=pit%12;b40=p*40+abc2svg.isb40[pit]+2