This commit is contained in:
Doug Le Tough 2019-08-26 22:49:56 +11:00
parent 30bd09074b
commit ad56b5f118

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 {} --utf8 -t {}'.format(ogg_file, args.log)]) result = subprocess.call(['oggenc', wav_file, '-o {}'.format(ogg_file), '--utf8', '-t {}'.format(args.log)])
return result return result
def push_ogg(ogg_file): def push_ogg(ogg_file):