Skip to content

Commit

Permalink
This is why I can't have nice things
Browse files Browse the repository at this point in the history
An errant dollar sign broke the output for vowel percent.  Also,
underscored filenames.
  • Loading branch information
stylerw committed Apr 30, 2015
1 parent ec0e953 commit d9ea9cf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions formant_automeasure_v3/FormantMeasureVerifyv3.praat
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ directory$ = "'directory$'" + "/"

#### Set up progress file to hold the names of files it's already done

handfile$ = "'directory$'"+"formanthandmeasurelog.txt"
resultfile$ = "'directory$'"+"formantlog.txt"
handfile$ = "'directory$'"+"_formanthandmeasurelog.txt"
resultfile$ = "'directory$'"+"_formantlog.txt"

Create Strings as file list... list 'directory$'*'file_type$'
number_files = Get number of strings
Expand Down Expand Up @@ -308,7 +308,7 @@ procedure Log_output
meastype$ = "verify"
endif
# save result to text file
result_row$ = "'soundname$'" + tab$ + "'word_label$'" + tab$ + "'vowel_label$'" + tab$ + "'conff1'" + tab$ + "'conff2'"+ tab$ + "'conff3'" + tab$ + "'rndduration'" + tab$ + "'point$'" + tab$ + "'vwlpct$'" + tab$ + "'meastype$'" + newline$
result_row$ = "'soundname$'" + tab$ + "'word_label$'" + tab$ + "'vowel_label$'" + tab$ + "'conff1'" + tab$ + "'conff2'"+ tab$ + "'conff3'" + tab$ + "'rndduration'" + tab$ + "'point$'" + tab$ + "'vwlpct:2'" + tab$ + "'meastype$'" + newline$
fileappend "'resultfile$'" 'result_row$'
# Write down whether if this was hand-measured
if skipstat = 1
Expand Down

0 comments on commit d9ea9cf

Please sign in to comment.