Handle non-ideal sample rates in R3; document sample rate parameter

This commit is contained in:
Chris Cannam
2022-09-26 16:02:13 +01:00
parent f586fe601a
commit 9e423cdd8c
9 changed files with 88 additions and 44 deletions

View File

@@ -464,6 +464,13 @@ public:
* Construct a time and pitch stretcher object to run at the given
* sample rate, with the given number of channels.
*
* Both of the stretcher engines provide their best balance of
* quality with efficiency at sample rates of 44100 or 48000 Hz.
* Other rates may be used, and the stretcher should produce
* sensible output with any rate from 8000 to 192000 Hz, but you
* are advised to use 44100 or 48000 where practical. Do not use
* rates below 8000 or above 192000 Hz.
*
* Initial time and pitch scaling ratios and other processing
* options may be provided. In particular, the behaviour of the
* stretcher depends strongly on whether offline or real-time mode