Sound generation change now ready to run
This commit is contained in:
@@ -30,7 +30,8 @@ mv /tmp/SOUNDS ${workdir}/sdcard/horus/
|
||||
# Duplicate for Taranis and create sdcards.zip
|
||||
mkdir ${workdir}/sdcard/taranis/SOUNDS
|
||||
cp -r ${workdir}/sdcard/horus/SOUNDS ${workdir}/sdcard/taranis/
|
||||
rm -f ${workdir}/sdcard/*.zip
|
||||
rm -f ${output}/sdcard/*.zip
|
||||
cd ${workdir}/sdcard/taranis && zip -r ${output}/sdcard/sdcard-taranis.zip *
|
||||
cd ${workdir}/sdcard/horus && zip -r ${output}/sdcard/sdcard-horus.zip *
|
||||
rm -Rf ${workdir}/sdcard
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ import zipfile
|
||||
from tts_common import *
|
||||
board = "taranis"
|
||||
|
||||
lib_path = os.path.abspath(os.path.join('..', '..', 'radio', 'util'))
|
||||
lib_path = os.path.abspath(os.path.join('code', 'radio', 'util'))
|
||||
sys.path.append(lib_path)
|
||||
|
||||
def generate(str, filename):
|
||||
@@ -102,3 +102,4 @@ if __name__ == "__main__":
|
||||
for s, f in sounds:
|
||||
if s and f:
|
||||
generate(s, f)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user