Schnellere Antwort
This commit is contained in:
@@ -37,9 +37,9 @@ BYTES_PER_SEC = SAMPLE_RATE * BYTES_PER_SAMPLE # 48 000
|
||||
SEND_CHUNK = 960 # 20 ms at 48 kHz
|
||||
FRAME_SECS = SEND_CHUNK / BYTES_PER_SEC # 0.020 s
|
||||
|
||||
LEADING_MS = 300
|
||||
LEADING_MS = 100
|
||||
LEADING_FRAMES = math.ceil(LEADING_MS / 1000 / FRAME_SECS)
|
||||
TRAILING_MS = 2_000
|
||||
TRAILING_MS = 200
|
||||
TRAILING_FRAMES = math.ceil(TRAILING_MS / 1000 / FRAME_SECS)
|
||||
|
||||
# Per-sentence synthesis timeout. A healthy sentence renders in <2 s.
|
||||
|
||||
Reference in New Issue
Block a user