Lines Matching refs:map

41 var errs={bad_char:"Bad character '$1'",bad_grace:"Bad character in grace note sequence",bad_transp:"Bad transpose value",bad_val:"Bad value in $1",bar_grace:"Cannot have a bar in grace notes",ignored:"$1: inside tune - ignored",misplaced:"Misplaced '$1' in %%score",must_note:"!$1! must be on a note",must_note_rest:"!$1! must be on a note or a rest",nonote_vo:"No note in voice overlay",not_ascii:"Not an ASCII character",not_enough_n:'Not enough notes/rests for %%repeat',not_enough_m:'Not enough measures for %%repeat',not_enough_p:"Not enough parameters in %%map",not_in_tune:"Cannot have '$1' inside a tune",notransp:"Cannot transpose with a temperament"}
1253 if(note.invis){}else if(s.grace){p="ghd";x_note-=4.5*stv_g.scale}else if(note.map&&note.map[0]){i=s.head;p=note.map[0][i]
1255 p=note.map[0][note.map[0].length-1]
2974 case"voicemap":set_v_param("map",param)
5680 case"map=":curvoice.map=a.shift()
6232 function set_map(note,acc){var pit=note.pit,nn=not2abc(pit,acc),map=maps[curvoice.map]
6233 if(!map[nn]){nn='o'+nn.replace(/[',]+/,'')
6234 if(!map[nn]){nn='k'+ntb[(pit+75-
6236 if(!map[nn]){nn='all'
6237 if(!map[nn])
6239 note.map=map=map[nn]
6240 if(map[1]){note.pit=pit=map[1].pit
6241 note.acc=map[1].acc
6245 if(map[2])
6246 note.color=map[2]
6247 nn=map[3]
6400 if(curvoice.map&&maps[curvoice.map])
7797 var i,note,notes,map,tmp,ns,ty='',a=text.split(/\s+/)
7809 if(!note){syntax(1,"Bad note in %%map")
7815 map=notes[ns]
7816 if(!map)
7817 notes[ns]=map=[]
7824 if(a[0].indexOf('=')<0){if(a[0][0]!='*'){tmp=new scanBuf;tmp.buffer=a[0];map[1]=parse_acc_pit(tmp)}
7828 if(a[1].indexOf('=')<0){map[0]=a[1].split(',')
7832 map[0]=a[i].split(',')
7838 map[1]=note
7840 map[3]=note
7844 map[2]=a[i]
7949 case"map":get_map(param)