zretune(1)
β¨ zretune β the pitch-shifting bestie β¨
ok so like. this is zretune(1), a USER COMMAND, and bestie it is so good at one very specific thing: resampling your audio so the pitch changes. that's it. that's the whole vibe. π
π¦ NAME π¦
zretune β resample an audio file in order to change its pitch
πΈ SYNOPSIS πΈ
zretune [options] input-file output-file
π DESCRIPTION π
okay so here's the tea, bestie: zretune resamples an audio file by the inverse of a ratio β and that ratio is either handed to it directly or expressed in cents. and the whole time it does not touch the nominal sample rate. not even a little. π«Ά
the result? you change the musical pitch and the length of the file. both. at once. main character energy fr fr. β¨
your input can be literally any audio file that the libsndfile library can read. iconic. and the output file type is either WAV, WAVEX, CAF, AIFF or FLAC β you get to pick. π
π₯ OPTIONS π₯
--helpβ display a short help text. the classic. the icon. π--ratiopitch ratio β the accepted range is 0.5 to 2.0. the useful range in practice will be smaller, ngl. so don't get too feral with it.--centpitch change in cents β the number of cents by which the pitch is changed. the accepted range is +/- 1200 cents, and the useful range in practice will be something like +/- 100 cents. yes, 1200 is a whole octave, and yes that's a lot. π
π Output file type π
--wavβ produce a WAV file, or for more than 2 channels, a WAVEX file. this is the default. the moment. the standard. π--ambβ produce a WAVEX file with the Ambisonic GUID. such files should have the.ambfilename extension. iykyk. π¦--cafβ produce a Core Audio file.--aiffβ produce an AIFF file.--flacβ produce a FLAC file.
β Output sample format β
--16bitβ output sample format is signed 16-bit. this option also enables the use of dithering, described below. so keep reading bestie, don't skip. π--24bitβ output sample format is 24-bit. this is the default. she's the moment.--floatβ output sample format is 32-bit floating point.
πΈ Dithering πΈ
--recβ add white dithering noise with a rectangular distribution. this is the best option if the output data is going to be processed again β but in that case it would be advisable to use 24-bit or float. bestie please, listen to her. π₯Ί--triβ add filtered noise with a triangular distribution. compared to the rectangular dither, this reduces the noise density in the lower frequency range. lowkey a glow-up for your low end. π--lipsβ this uses the optimal error feedback filter described by Stanley Lipschitz. this is recommended if the output is the final distribution format, e.g. for a CD. periodt. πΏ
π§ Timing π§
--padβ insert zero valued input samples at the start and end so that the output includes the full symmetric filter response even for the first and last samples. no crumbs left behind, we love a thorough queen. β¨
π EXIT STATUS π
zero in case there are no errors, non-zero otherwise. she keeps it simple. π«Ά
π AUTHOR π
Fons Adriaensen β fons (at) linuxaudio.org
okay bestie that's the whole page, go forth and retune πβ¨
version 0.0.1, from Sept 2012 β signed, sealed, slayed. ππ¦π
π¦ where this page comes from
- arch rolling: zita-resampler 1.11.2-3 Β· GPL-3.0-or-later
- fedora 43: zita-resampler 1.11.2-3.fc43 Β· GPL-3.0-or-later
- fedora 43: zita-resampler 1.11.2-3.fc43 Β· GPL-3.0-or-later
- fedora 44: zita-resampler 1.11.2-4.fc44 Β· GPL-3.0-or-later
- fedora 44: zita-resampler 1.11.2-4.fc44 Β· GPL-3.0-or-later
- opensuse-leap 16.0: zita-resampler-tools 1.11.2-bp160.1.9 Β· GPL-3.0-or-later
- opensuse-leap 16.0: zita-resampler-tools 1.11.2-bp160.1.9 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms