Implement a basic full flow

This commit is contained in:
2024-12-15 11:11:38 +01:00
parent b505103e0a
commit 5d221f09b7
8 changed files with 91 additions and 26 deletions

View File

@@ -4,7 +4,7 @@ import subprocess
def encode_lc3(file):
file = file.replace('.wav', '')
ret = subprocess.run(['elc3', '-b', '48000', f'{file}.wav', f'{file}.lc3'])
ret = subprocess.run(['elc3', '-b', '48000', f'{file}.wav', f'{file}.lc3'], check=True)
return ret.returncode, ret.stdout, ret.stderr