|
|
1 month ago | |
|---|---|---|
| build | 1 month ago | |
| build_tools | 1 month ago | |
| dist | 1 month ago | |
| src | 1 month ago | |
| AudioRecorder.spec | 1 month ago | |
| BUILD.bat | 1 month ago | |
| CLAUDE.md | 1 month ago | |
| README_BUILD.md | 1 month ago | |
| VERSION.md | 1 month ago | |
| audio_recorder_server.py | 1 month ago | |
| debug_test.py | 1 month ago |
| File | Purpose |
|---|---|
src/launcher.py |
GUI launcher — the entry point for the EXE |
audio_recorder_server.py |
Flask recorder server (bundled into EXE) |
AudioRecorder.spec |
PyInstaller build config |
BUILD.bat |
One-click build script |
build_tools/version_info.txt |
Windows EXE metadata |
Put these files together in one folder:
📁 AudioRecorder_Build\
├── audio_recorder_server.py ← from previous step
├── AudioRecorder.spec
├── BUILD.bat
├── build_tools\
│ └── version_info.txt
└── src\
└── launcher.py
Double-click BUILD.bat
Wait ~2 minutes — PyInstaller bundles Python + all libraries
Find your EXE at: dist\AudioRecorder.exe
That's it! The EXE is completely self-contained (~50–80 MB).
When you double-click AudioRecorder.exe:
http://localhost:5000Taskbar window stays open showing:
Closing the window gracefully saves any active recording before shutting down
The AudioRecorder.exe is fully standalone — no Python installation needed on the target PC.
Just copy the single EXE file. On first run it will:
recordings\ folder next to itselfrecorder_config.json for saved settings"UPX is not available" → Open AudioRecorder.spec, change upx=True to upx=False
Antivirus flags the EXE → This is a false positive common with PyInstaller. Add an exclusion or rebuild with --key option for obfuscation.
"Failed to execute script launcher" → Run BUILD.bat again with the console visible to see the error, or test with python src/launcher.py first.
Missing sounddevice DLLs → Make sure sounddevice is installed: pip install sounddevice --upgrade