- 共享引擎(app/src/main):GestureEngine 6 手势识别、AudioEngine 三层音频 (ExoPlayer BGM 交叉淡入 / 对白 ducking / SoundPool 低延迟)、Game/GameEngine 状态机接口、MainActivity 全屏封面 + TalkBack - 《声命线》storyline:末世互动广播剧,3 幕 8 抉择点 4 结局 - 《声东击西》reflex:听声辨位反应,12 波战斗 + BGM 三档 BPM 变速 - 《暗室》escape:3x3 网格密室逃脱,钥匙→铁柜→保险丝→电箱→大门谜题链 - 文档:setup(从零搭建)/ architecture(架构)/ engine-api(引擎 API)/ asset-pipeline(资产流水线)/ games/*(三款游戏设计文档) - 资产管线:Qwen3-TTS 对白 + 程序合成音效/BGM + Mureka BGM 的 gen 脚本与台账, 全部 ogg 资产入库可复现 - env.d 环境脚本:android/tts 入库;sfx/mureka 含密钥不入库,仅提交 .example.sh 模板
39 lines
1.4 KiB
Plaintext
39 lines
1.4 KiB
Plaintext
# TRT engines + everything else under models/ — downloaded from HuggingFace by
|
|
# install.sh based on local GPU arch, never committed here. The blanket models/
|
|
# rule catches *.trt, tokenizer.json, .arch, and any future engine-adjacent
|
|
# artifacts (.calib, .cache, etc.) without per-extension rules.
|
|
models/
|
|
*.trt
|
|
|
|
# ONNX files — built by build/ scripts, published from the HF model repo
|
|
# (stable-audio-3-optimized) not from this github repo. Ignored as a safety net
|
|
# in case a build runs without an HF clone available and falls back to local.
|
|
onnx/
|
|
*.onnx
|
|
*.onnx.data
|
|
|
|
# T5 tokenizer — generally ignored (downloaded under models/<arch>/t5gemma/
|
|
# alongside the engine for legacy fallback), but the canonical copy ships
|
|
# bundled at scripts/tokenizer.json (arch-agnostic, 34 MB) so the build path
|
|
# doesn't need to fetch it. Whitelist that specific file.
|
|
tokenizer.json
|
|
!scripts/tokenizer.json
|
|
|
|
# Generated audio — anywhere on the tree, including output/.
|
|
*.wav
|
|
|
|
# Python virtualenv created by install.sh
|
|
.venv/
|
|
|
|
# Python bytecode caches
|
|
__pycache__/
|
|
*.pyc
|
|
|
|
# Un-ignore our build/ source — the parent repo's .gitignore has a stock
|
|
# Python `build/` rule (setuptools artifacts) that would otherwise hide it.
|
|
!build/
|
|
!build/**
|
|
# But keep __pycache__/ ignored even under build/ (the un-ignore above would
|
|
# accidentally re-include build/__pycache__/ otherwise).
|
|
build/**/__pycache__/
|