v1.0.3
Review of c24cd1f: with a user-owned parent (Desktop), the user could swap the chosen folder for a junction
to a protected folder after secure-dir Prepare, and the elevated Finish would grant Users modify on the
target's config\ etc. Any elevated path operation on a user-controlled path has this race, so the elevated
installer now only works in Program Files.
- VoiceChanger.iss: {app} is always {commonpf}\VoiceChanger (apo\, scripts\mic-apo.ps1, scripts\deploy.ps1,
uninstall\, payload\). The user's folder comes from a custom page (/DATADIR=, previous DataDir, or the
v1.0.x App Path) and is only read for checks. deploy.ps1 runs with ExecAsOriginalUser: copies payload,
moves data folders of an older install, runs install.ps1. Shortcuts are created after the copy
(CreateShellLink; [Icons] made empty-target links) and the postinstall launch runs as the original user.
Uninstall restores the mic settings and removes Program Files only; the user's folder is left (message).
- legacy.ps1 (replaces secure-dir.ps1): for a v1.0.0/1.0.1 folder (admin-locked, uninstall\ inside) deletes the
old executable parts by name, moves the mic backup to Program Files and renames the folder to <dir>.old,
only if no non-admin principal can delete/rename the folder or any ancestor (owner + ACL check; ACLs can
only be changed by admins, so the check stays valid during the operation). Otherwise refuses (exit 20).
- deploy.ps1 (user level): refuses a junction; a v1.0.2 admin-locked folder under a user-owned parent is
renamed aside by the user and its data folders moved into a fresh folder.
- mic-apo.ps1: back to its pre-c24cd1f logic (no -From); header documents the Program Files root.
Windows 11 VM, Inno 6.7.4, AppVersion 1.0.3:
- J: chosen folder = junction to admin-owned C:\vctarget (config\keep.txt, protected ACL): setup exit 0,
legacy exit 0, deploy exit 31; target files + SDDL unchanged after setup, after limited-token deploy
(exit 31), after limited-token write/icacls/rename attempts (all denied), and after uninstall.
- J2: same target with uninstall\unins000.exe: legacy exit 20, setup aborted (exit 7), target unchanged.
- U1: v1.0.1 at C:\VoiceChanger -> 1.0.3 with the default folder: legacy exit 1, backup moved byte-equal,
models\mine.txt kept, C:\VoiceChanger.old removed, APO from Program Files; uninstall restores FxProperties.
- U2: v1.0.2 on Desktop -> limited-token deploy renamed it aside, moved models, new folder owned by the user;
1.0.3 setup on it exit 0; uninstall restores FxProperties, folder and models kept.
- D: fresh Desktop install with full engine download: deploy exit 0, admin_root = Program Files,
audiodg loads the Program Files DLL, APO 440 Hz + Communications PASS, Start menu/desktop shortcuts point
at <Desktop>\VoiceChanger\VoiceChanger.exe and are removed on uninstall.
- python unittest: 16 run, 2 skipped (tkinter missing).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
voice_copy
참조 음성 몇 초만 있으면 아무 텍스트나 그 목소리로 합성해 주는 zero-shot 음성 클로닝 웹앱입니다. jamiepine/voicebox의 음성 클로닝 기능(Qwen3-TTS Base 엔진)만 떼어내 간단한 UI로 감쌌습니다.
- 엔진: Qwen3-TTS-12Hz Base (
qwen-tts패키지, zero-shot voice clone) - 지원 언어: 한국어 · English · 中文 · 日本語 · 독일어 · 프랑스어 · 러시아어 · 포르투갈어 · 스페인어 · 이탈리아어
- UI: 파일 업로드 또는 마이크 녹음 → 전사 입력 → 합성할 텍스트 입력 → 생성/재생/다운로드
녹음 동의 사이트 + 따라가며 녹음하는 봇
본인이 디스코드로 로그인해 녹음에 동의한 사람만 음성채널에서 따라가며 그 사람 목소리만 녹음합니다 (음성 모델 학습 데이터용). consent-recorder/README.md
실시간 음성 변환기 (Windows 게임PC)
동의받은 녹음으로 RVC 목소리 모델을 학습하고, 마이크 소리를 그 목소리로 실시간으로 바꿔 디스코드 · 게임에 내보내는 exe 앱입니다. 모델 목록 선택, 성별이 다를 때 음높이 자동 보정, 한국어 예시 모델 학습 스크립트 포함. voice-changer/README.md
필요 사항
- Python 3.9+ (3.10~3.12 권장)
- NVIDIA GPU 권장 (CPU도 되지만 매우 느림). VRAM 6GB+ 권장.
- (선택)
ffmpeg— mp3/m4a/webm 업로드를 디코딩할 때 필요. wav/flac와 브라우저 녹음(WAV)은 ffmpeg 없이 동작합니다.
설치
# 1) 자신의 환경에 맞는 torch를 먼저 설치
pip install torch --index-url https://download.pytorch.org/whl/cu128 # NVIDIA(CUDA 12.8)
# CPU만 있으면: pip install torch
# 2) 나머지 의존성
pip install -r requirements.txt
실행
python app.py
# 브라우저에서 http://localhost:8000 접속
첫 생성 요청 때 Qwen3-TTS 가중치(수 GB)가 HuggingFace에서 자동으로 다운로드됩니다. 이후에는 캐시됩니다.
환경 변수
| 변수 | 기본값 | 설명 |
|---|---|---|
VOICE_COPY_MODEL_SIZE |
1.7B |
모델 크기. 1.7B(품질↑) 또는 0.6B(가벼움) |
VOICE_COPY_DEVICE |
자동 | cuda / cpu / mps 강제 지정 |
VOICE_COPY_HOST |
0.0.0.0 |
바인드 호스트 |
VOICE_COPY_PORT |
8000 |
포트 |
예: VOICE_COPY_MODEL_SIZE=0.6B python app.py
사용법
- 참조 음성 — 클로닝할 목소리를 5~15초 정도 업로드하거나 마이크로 녹음합니다.
- 전사 — 그 참조 음성에서 말한 내용을 그대로 텍스트로 적습니다. (클로닝 품질에 중요)
- 합성할 텍스트 — 그 목소리로 말하게 할 문장을 입력하고 "목소리 생성"을 누릅니다.
- 마이크 녹음은 브라우저 보안 정책상
http://localhost또는https://접속에서만 동작합니다. 다른 PC에서http://<서버IP>:8000으로 접속했다면 녹음 대신 파일 업로드를 사용하세요. - 생성 요청은 한 번에 하나씩 순서대로 처리됩니다(동시 요청 시 대기).
- 참고 속도: CPU(8코어)·0.6B 모델 기준 짧은 한 문장에 수십 초~1분대(호스트 부하에 따라 다름). GPU에서는 훨씬 빠릅니다.
API
GET /api/health— 디바이스/모델/언어 상태POST /api/clone— multipart form:ref_audio(파일),ref_text,text,language,seed(선택) →audio/wav반환
curl -X POST http://localhost:8000/api/clone \
-F ref_audio=@sample.wav -F ref_text="안녕하세요" \
-F text="복제된 목소리로 말합니다." -F language=ko \
--output cloned.wav
구조
app.py FastAPI 서버 (UI 제공 + /api/clone)
engine.py Qwen3-TTS 클로닝 래퍼 (voicebox pytorch_backend에서 추출/단순화)
static/index.html 단일 페이지 UI
requirements.txt
라이선스 / 출처
음성 클로닝 로직은 jamiepine/voicebox에서 파생했습니다. 모델 가중치 및 사용은 각 모델(Qwen3-TTS)과 voicebox의 라이선스를 따르며, 목소리 클로닝은 반드시 본인 또는 동의를 받은 사람의 음성에만 사용하세요.
Description