mirror of
https://github.com/opentx/opentx.git
synced 2025-07-24 00:35:18 +03:00
Current consumption may depend on 3 different sources
Flash saving in FrSky code SD card wav player (still read as raw 12000Hz 16bit samples)
This commit is contained in:
parent
61bbfd6e7c
commit
5dd7c105b6
29 changed files with 1285 additions and 905 deletions
|
@ -5,7 +5,8 @@ import os, sys, shutil, platform, subprocess
|
|||
def generate(str, idx):
|
||||
if platform.system() == "Windows":
|
||||
subprocess.Popen(["C:\Program Files\eSpeak\command_line\espeak.exe", "-w", "%04d.wav" % idx, str], stdout=subprocess.PIPE, stderr=subprocess.PIPE).wait()
|
||||
subprocess.Popen(["D:\Perso\workspace\companion9x\AD4CONVERTER.EXE", "-E4", "%04d.WAV" % idx], stdout=subprocess.PIPE, stderr=subprocess.PIPE).wait()
|
||||
if 'ad4' in sys.argv:
|
||||
subprocess.Popen(["D:\Perso\workspace\companion9x\AD4CONVERTER.EXE", "-E4", "%04d.WAV" % idx], stdout=subprocess.PIPE, stderr=subprocess.PIPE).wait()
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue