v1.0
This commit is contained in:
parent
ad56b5f118
commit
27c8bf1609
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user