chore: 环境迁移至本机(/home/ubuntu→/home/xsl 共28文件55处)+ tools/node、tools/bin 符号链接接入 + setup.md 补 torch cu128 钉版本踩坑(cu130 轮子驱动不兼容)+ tts_smoke_test 自建输出目录 + .gitignore 补 .venv-asr/tools-chrome

This commit is contained in:
xsl
2026-09-02 18:52:17 +08:00
parent 06d86d04e9
commit 3537610130
29 changed files with 77 additions and 57 deletions
+4 -4
View File
@@ -2,9 +2,9 @@
# R4 RPG《剑与声》SA3 音效批量生成(29 件,SYN 的 5 件不在此列)。
# 用法: bash tools/gen_rpg_sfx.sh (内部 flock 串行 GPU;输出 tools/gen_rpg_sfx_wav/)
set -u
source /home/ubuntu/SoundGame/env.d/sfx.sh
cd /home/ubuntu/SoundGame/tools/stable-audio-3
OUT=/home/ubuntu/SoundGame/tools/gen_rpg_sfx_wav
source /home/xsl/SoundGame/env.d/sfx.sh
cd /home/xsl/SoundGame/tools/stable-audio-3
OUT=/home/xsl/SoundGame/tools/gen_rpg_sfx_wav
mkdir -p "$OUT"
declare -A P D
@@ -45,7 +45,7 @@ P[amb_peak]="mountain peak ambience, strong cold wind, thin air, howling gusts,
ORDER="tel_wolf tel_bandit tel_spider tel_elite tel_boss1 tel_croc tel_shaman tel_puppet tel_boss2 atk_swing atk_hit parry skill_slash enemy_die potion chest drink_water rest door_heavy amb_village amb_path amb_fork amb_chest amb_stream amb_hunter amb_deepwood amb_gate amb_hall amb_swamp amb_peak"
flock /home/ubuntu/SoundGame/.gpu.lock bash -c '
flock /home/xsl/SoundGame/.gpu.lock bash -c '
'"$(declare -p P D OUT)"'
for k in '"$ORDER"'; do
if [ -s "$OUT/$k.wav" ]; then echo "skip $k"; continue; fi