preparations for using the bumble auracaster
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
import os
|
||||
|
||||
ANNOUNCEMENT_DIR = os.path.join(os.path.dirname(__file__), 'announcements')
|
||||
VENV_DIR = os.path.join(os.path.dirname(__file__), '../venv')
|
||||
PIPER_EXE_PATH = f'{VENV_DIR}/bin/piper'
|
||||
SAMPLING_RATE_HZ = int(16e3)
|
||||
FRAME_DUR_MS = 10
|
||||
BITRATE_BPS = int(32e3) # TODO: test 16khz 16kbps
|
||||
BITRATE_BPS = int(32e3)
|
||||
LANG_CONFIG = {
|
||||
"de": {
|
||||
"file": f"{ANNOUNCEMENT_DIR}/announcement_{SAMPLING_RATE_HZ//1000}_{FRAME_DUR_MS}_{BITRATE_BPS//1000}_de",
|
||||
|
||||
Reference in New Issue
Block a user