Fix doc path
[opentx.git] / tools / nightly22 / tts_common.py
blobb38eb8efacfe695d32baee0ccbb22ca9a9512c38
1 NO_ALTERNATE = 1024
2 PROMPT_CUSTOM_BASE = 256
3 PROMPT_SYSTEM_BASE = 0
4 board = "taranis"
6 import sys
8 def filename(idx, alternate=0):
9 ext = ".wav"
10 if isinstance(idx, int):
11 result = "%04d%s" % (idx, ext)
12 elif board in ('sky9x', 'taranis'):
13 result = idx + ext
14 return result