FreqEnforcer is a small desktop tool for pitch-correcting monophonic samples to a target note, tailored towards sample editing for Sparta Remixers aswell as YTPMVs.
- Load audio files:(
.wav,.mp3,.flac,.oggsupported) - Detect predominant pitch
- Pitch-correct to a selected target note
- Optional time-stretch and normalization
- Cleanliness (harmonic isolation)
- Amount slider removes non-harmonic content between harmonic lines
- Advanced Mode exposes manual cleanup controls (Low Cut + High Shelf)
- When Advanced Mode is off, Low Cut / High Shelf are auto-driven by Amount
- Export processed audio to WAV
- Exported WAVs are tagged with sampler metadata (
smpl+instRIFF chunks) so many DAWs/samplers can auto-detect the root note
- Exported WAVs are tagged with sampler metadata (
- Windows 10/11
- Python 3.11+
From the repo root:
python -m venv .venv
.\.venv\Scripts\python.exe -m pip install --upgrade pip
.\.venv\Scripts\pip.exe install -r spartan_tuner\requirements.txt
.\.venv\Scripts\python.exe spartan_tuner\main.pyFrom the repo root:
py -3 tools\make_ico.pypy -3.14 -m PyInstaller --clean -y FreqEnforcer.specThe output EXE is under dist\FreqEnforcer\FreqEnforcer.exe.
- Launch the app.
- Drag & drop one of the files from
spartan_tuner\test\into the window. - Toggle between original/processed where applicable and export.
- (Optional) Drag the exported WAV into your DAW sampler.
- The export includes WAV sampler metadata (
smpl+inst) so many samplers can auto-set the root note.
- The export includes WAV sampler metadata (
This repo contains local/test audio files under spartan_tuner\ (WAVs generated during development). Most audio is ignored by .gitignore to keep the repo small, but the curated examples in spartan_tuner\test\ are intended to be kept for the public beta.