Skip to content

Commit

Permalink
Some changes to latex_record to hopefully make it work on Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
ajirving committed Aug 18, 2014
1 parent 91f3695 commit d891659
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions latex_record.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ def compileFiles (number):
startRecording = True
if line == '' or line.isspace ():
continue # ignore blank lines which produce no audio
os.system('espeak -s 225 "'+s.translate(line.replace("$","\\$"))+'" -w temp'+str(count))
os.system("espeak -w temp%s -s 225 '%s'" % (str(count),s.translate(line)))
count+=1
os.system ('espeak -s 500 -p 95 "newline" -w temp'+str(count))
os.system ("espeak -s 500 -p 95 'newline' -w temp%s" % str(count))
count+=1

compileFiles (count)

0 comments on commit d891659

Please sign in to comment.