Are there for high quality sample rate conversion (SRC) in terms of best retained audio quality better tools available than FFmpeg or SoX?
Are these functions in Ocenaudio, Audacity, Ardour, Reaper and Waveform any better or equal or worse?
Which tool would you generally recommend or reject for this task if worried about retained audio quality?
Assuming that FFmpeg and SoX might be the hot candidates, any special option flags which I should use when using these tools?
recommended tool for high quality sample rate conversion?
Moderators: MattKingUSA, khz
-
- Established Member
- Posts: 9
- Joined: Tue Aug 22, 2023 6:47 pm
- Has thanked: 22 times
- Been thanked: 2 times
recommended tool for high quality sample rate conversion?
refining my amateur musicianship by reviewing my rehearsals
- d.healey
- Established Member
- Posts: 611
- Joined: Fri Sep 22, 2017 8:33 pm
- Has thanked: 279 times
- Been thanked: 101 times
Re: recommended tool for high quality sample rate conversion?
SoX is the way to go, it will change the sample rate without reencoding the audio.
There's also Signet which can do sample rate conversions - https://github.com/SamWindell/Signet
YouTube - Free HISE scripting and sample library dev tutorials
Libre Wave - Freedom respecting instruments and effects.
- sunrat
- Established Member
- Posts: 926
- Joined: Wed Jul 22, 2020 2:08 pm
- Has thanked: 152 times
- Been thanked: 247 times
Re: recommended tool for high quality sample rate conversion?
SoX is indeed the way to go. I use a for loop to batch convert a directory full of file to different sample rate or bit depth.
Code: Select all
mkdir 24bit
for i in *.flac; do sox -SG "$i" -b 24 -r 48000 24bit/"$i"; done
"-S" shows progress and info, "-G" guards against clipping. Change "*.flac" to ".wav" for wav files.
Another occasional additional option is to normalize. This one converts to 16 bit, normalizes to -1.0dB, and outputs a flac file from wav input:
Code: Select all
mkdir 16bit
for file in *.wav; do sox -SG "$file" -b 16 16bit/"$file".flac norm -1.0; done