Change sound generation for nightly to linux based

This commit is contained in:
3djc
2016-09-02 09:46:38 +02:00
parent 76def1195f
commit 6ea6c2c8f1
4 changed files with 178 additions and 19 deletions
+19
View File
@@ -0,0 +1,19 @@
NO_ALTERNATE = 1024
PROMPT_CUSTOM_BASE = 256
PROMPT_SYSTEM_BASE = 0
board = "taranis"
import sys
def filename(idx, alternate=0):
ext = ".wav"
if isinstance(idx, int):
result = "%04d%s" % (idx, ext)
elif board in ('sky9x', 'taranis'):
result = idx + ext
return result