This commit is contained in:
Doug Le Tough 2019-08-26 22:52:49 +11:00
parent ad56b5f118
commit 27c8bf1609

View File

@ -34,7 +34,7 @@ def notes_table(oord):
return (freq, duration) return (freq, duration)
def convert2ogg(wav_file, ogg_file): def convert2ogg(wav_file, ogg_file):
result = subprocess.call(['oggenc', wav_file, '-o {}'.format(ogg_file), '--utf8', '-t {}'.format(args.log)]) result = subprocess.call(['oggenc', wav_file, '-o', '{}'.format(ogg_file)])
return result return result
def push_ogg(ogg_file): def push_ogg(ogg_file):