Files
voiceScript/pc-voice/build.bat
T
HenryandClaude Code c10f271d87 feat: 初始化变声器项目仓库(逆向分析 + 实时变声 + PC 变声麦)
包含三大模块:
- 逆向分析报告与实时变声方案设计文档
- realtime-voice:Android 实时变声(PSOLA 变调 + VTLP 共振峰 DSP 管线、Xposed 注入模块)
- pc-voice:PC 变声麦工具(miniaudio 引擎、可配置 DSP 参数)

已通过 .gitignore 排除构建产物、本机工具链与本机路径配置。

Co-Authored-By: Claude Code <[email protected]>
2026-11-06 16:51:06 +08:00

21 lines
507 B
Batchfile
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
@echo off
rem PC 变声麦构建脚本(w64devkit 便携 GCC,产物 pc-voice.exe)
setlocal
set GCC=D:\voiceScript\.toolchain\w64devkit\bin\g++.exe
set SHARED=D:\voiceScript\realtime-voice\app\src\main\cpp
"%GCC%" -O2 -std=c++17 -Wall ^
-I"%SHARED%" -Ilib ^
main.cpp ^
"%SHARED%\psola.cpp" ^
"%SHARED%\dsp_pipeline.cpp" ^
-o pc-voice.exe ^
-lole32 -lwinmm -luuid -ladvapi32
if %errorlevel% neq 0 (
echo 构建失败
exit /b 1
)
echo 构建成功: pc-voice.exe
endlocal