RUBBERBAND(1) | General Commands Manual | RUBBERBAND(1) |
rubberband — an audio time-stretching and pitch-shifting utility program
rubberband [options] [input file] [output file]
This manual page documents briefly the rubberband command.
Rubber Band is a program that permits you to change the tempo and pitch of an audio recording independently of one another.
These programs follow the usual GNU command line syntax, with long options starting with two dashes (`--'). A summary of options is included below.
You must specify at least one of the following time and pitch ratio options.
The following options provide ways of making the time and frequency ratios change during the audio:
A time map (or key-frame map) file contains a series of lines, each with two sample frame numbers separated by a single space. These are source and target frames for fixed time points within the audio data, defining a varying stretch factor through the audio. When supplying a time map you must specify an overall stretch factor using -t, -T, or -D as well, to determine the total output duration.
A pitch map file contains a series of lines, each with two values: the input sample frame number and a pitch offset in semitones, separated by a single space. These specify a varying pitch factor through the audio. The offsets are all relative to an initial offset specified by the pitch or frequency option, or relative to no shift if neither was specified. Offsets are not cumulative. This option implies realtime mode (-R) and also enables a high-consistency pitch shifting mode, appropriate for dynamic pitch changes. Because of the use of realtime mode, the overall duration will not be exact.
A frequency map file is like a pitch map, except that its second column lists frequency multipliers rather than pitch offsets (like the difference between pitch and frequency options above)
The following options affect the sound manipulation and quality
This is the default (for backward compatibility) when this tool is invoked as "rubberband". It was the only engine available in versions prior to v3.0.
This is the default when this tool is invoked as "rubberband-r3". It almost always produces better results than the R2 engine, but with significantly higher CPU load.
This option attempts to keep the formant envelope unchanged when changing the pitch, retaining the original timbre of vocals and instruments in a recognisable way.
This option only has an effect when using the R2 (faster) engine. See below for details of the different levels.
The remaining options fine-tune the processing mode and stretch algorithm. The default is to use none of these options. The options marked (2) currently only have an effect when using the R2 engine (see -2, -3 options above).
The following options are for output control and administration:
"Crispness" levels:
Rubber Band was written by Chris Cannam <cannam@all-day-breakfast.com>.
This manual page was written by Székelyi Szabolcs <cc@mail.3d.hu> and revised in October 2022 by Dennis Braun <snd@y0o.de> for the Debian system (but may be used by others), because the original program does not have a manual page. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later version published by the Free Software Foundation.
On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.