SNDFILE-RESAMPLE(1)
π SNDFILE-RESAMPLE π
okay so bestie, this is sndfile-resample from the General Commands Manual β it's a sample rate converter and it literally eats sample rates for breakfast. let's get into it π
β¨ NAME β¨
sndfile-resample β sample rate converter π¦
πΈ SYNOPSIS πΈ
sndfile-resample [-c number] -to rate input output
sndfile-resample [-c number] -by ratio input output
like, that's the whole vibe. you give it an input, you give it an output, you tell it how to change the rate, and it goes π
π DESCRIPTION π
so sndfile-resample is a sample rate converter that uses libsndfile for all the file I/O (reading and writing, the boring-but-essential part) and Secret Rabbit Code (aka libsamplerate) to actually do the conversion. no cap. π°
it works on any file format supported by libsndfile with any number of channels β the only limit is your host memory, which is honestly so iconic of it. πβ¨
π the options, bestie π
The options are as follows:
-c numberβ pick your converter type from this list, fr fr:0β Best Sinc Interpolator1β Medium Sinc Interpolator (default)2β Fastest Sinc Interpolator3β ZOH Interpolator4β Linear Interpolator
-to rateβ convert to the specified sample rate. just say the rate you want, periodt.-by ratioβ change the sample rate by the given ratio. the ratio can be any positive real, and the resulting rate gets floored to an integer. for instance: changing the rate of44100by a factor of1.3333results in a sample rate of58798. math ate that. π₯--no-normalizeβ disable clipping check and normalization. that's it, that's the whole thing. π
heads up bestie: that last one turns off the clipping check and the normalization, so it's giving "i know what i'm doing" energy. proceed accordingly π
π«Ά SEE ALSO π«Ά
π AUTHORS π
Erik de Castro Lopo <erikd@mega-nerd.com> π
and that's the page!! this one came from Debian, dated October 9, 2016, and it's page SNDFILE-RESAMPLE(1) of the manual. mwah, go convert some sample rates bestie π§ππ
π¦ where this page comes from
- debian bookworm: sndfile-tools 1.5-2 Β· GPL-2.0-only OR GPL-3.0-only
- debian trixie: sndfile-tools 1.5-4 Β· GPL-2.0-only OR GPL-3.0-only
- fedora 43: sndfile-tools 1.5-13.fc43 Β· (GPL-2.0-only OR GPL-3.0-only) AND GPL-2.0-or-later AND LicenseRef-Callaway-BSD
- fedora 44: sndfile-tools 1.5-14.fc44 Β· (GPL-2.0-only OR GPL-3.0-only) AND GPL-2.0-or-later AND LicenseRef-Callaway-BSD
- ubuntu jammy: sndfile-tools 1.5-1 Β· GPL-2.0-only OR GPL-3.0-only
- ubuntu noble: sndfile-tools 1.5-3 Β· GPL-2.0-only OR GPL-3.0-only
- ubuntu questing: sndfile-tools 1.5-4
- ubuntu resolute: sndfile-tools 1.5-4build1 Β· GPL-2.0-only OR GPL-3.0-only
- ubuntu stonking: sndfile-tools 1.5-5 Β· GPL-2.0-only OR GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms