{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/10"},{"label":"Scientific/Engineering","url":"https://skillfed.io/packages/category/scientific-engineering/9"},{"label":"Sound/Audio","url":"https://skillfed.io/packages/category/multimedia-sound-audio"},{"label":"Education","url":"https://skillfed.io/packages/category/education"},{"label":"Analysis","url":"https://skillfed.io/packages/category/multimedia-sound-audio-analysis"},{"label":"Artistic Software","url":"https://skillfed.io/packages/category/artistic-software"}],"enrichment":{"capability":"Shifts the pitch and timbre of audio signals using Short-Time Fourier Transform (STFT) analysis, with optional formant preservation to avoid the Mickey Mouse effect.","skillfed_tags":["audio-processing","dsp","spectral-analysis"],"use_cases":["Shift vocal recordings to different keys without changing playback speed.","Correct pitch issues in recorded audio or apply creative pitch effects.","Preserve vocal formants while shifting pitch to avoid unnatural-sounding results.","Combine multiple pitch shifts simultaneously in a single STFT frame for harmonic synthesis.","Batch-process .wav files from the command line with configurable window sizes and overlap."],"what_it_does":"stftpitchshift is a Python library that shifts the pitch and timbre of audio signals using STFT-based spectral analysis. It implements the instantaneous frequency estimation technique (vocoder) to decompose audio into magnitude and frequency components, then resamples those components according to a pitch shift factor. The library also includes formant preservation via cepstral analysis to reduce the Mickey Mouse effect that occurs when pitch-shifting vocal audio.\n\nThe package comes as both a library for embedding in Python projects and a command-line tool for batch processing .wav files. It depends on click for CLI support, numpy for numerical operations, and matplotlib for visualization. The core algorithm is inspired by Stephan M. Bernsee's smbPitchShift and supports mono pitch shifting, polyphonic pitch shifting (multiple simultaneous pitch shifts in a single frame), and optional RMS normalization.","worth_installing":"Yes, if you need STFT-based pitch shifting with formant preservation. The library is stable, permissively licensed, has low install friction, and no known vulnerabilities. The aging maintenance status (last release December 2023) is a minor concern for long-term support but not a blocker for current use. Install if you're building audio processing tools or need precise spectral pitch control."},"id":"stftpitchshift","links":{"html":"https://skillfed.io/packages/stftpitchshift","md":"https://skillfed.io/packages/stftpitchshift.md","pypi":"https://pypi.org/project/stftpitchshift/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2023-12-12","license_spdx":null,"license_treatment":"permissive","name":"stftpitchshift","python_support":"supports_current","summary":"STFT based pitch and timbre shifting"},"popularity":{"monthly_downloads":80775,"position":14273,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.0"}
