# # ## ### ##### ######## ############# ##################### # Praat Script # Calculate continuum steps # # Matthew Winn # August 2014 ################################## ##################### ############# ######## ##### ### ## # # form continuum comment low value real low 0 comment high value real high 100 comment number of steps real steps 5 endform clearinfo call makeContinuum steps low high step_ 1 procedure makeContinuum .steps .low .high .prefix$ printvalues for .thisStep from 1 to .steps temp = (('.thisStep'-1)*('.high'-'.low')/('.steps'-1))+'.low' '.prefix$''.thisStep' = temp check = '.prefix$''.thisStep' if printvalues = 1 print '.prefix$''.thisStep''tab$''check:2' 'newline$' endif endfor endproc