Lines Matching refs:type
7 if(!s2||(s2.type!=C.NOTE&&s2.type!=C.REST))
11 if(s.combine<=0&&s2.type!=s.type)
15 if(s.type==C.REST){if(s.type==s2.type&&s.invis&&!s2.invis)
25 function combine_notes(s,s2){var nhd,type,m;for(m=0;m<=s2.nhd;m++)
31 s.ymx=3*(s.notes[nhd].pit-18)+4;s.ymn=3*(s.notes[0].pit-18)-4;type=s.notes[0].tie_ty
32 if((type&0x07)==C.SL_AUTO)
33 s.notes[0].tie_ty=C.SL_BELOW|(type&C.SL_DOTTED);type=s.notes[nhd].tie_ty
34 if((type&0x07)==C.SL_AUTO)
35 s.notes[nhd].tie_ty=C.SL_ABOVE|(type&C.SL_DOTTED)}
36 function do_combine(s){var s2,nhd,nhd2,type
38 if(s.type!=s2.type){if(s2.type!=C.REST){s2=s;s=s2.ts_next}}else if(s.type==C.REST){if(s.invis&&!s2.invis)
61 for(s=this.get_tsfirst();s;s=s.ts_next){switch(s.type){case C.REST:if(s.combine==undefined||s.combine<0)
80 do{s2=s2.next}while(s2.type!=C.NOTE&&s2.type!=C.REST)}
87 do{s2=s2.next}while(s2.type!=C.NOTE&&s2.type!=C.REST)}}