Update the resampler logic to follow that of R2 more - ignore the pitch hq/hs setting in offline mode entirely. The alternative is too tricky to handle elegantly in the command line tool, which I think means too complicated

This commit is contained in:
Chris Cannam
2022-09-29 11:19:21 +01:00
parent 4599b1afd7
commit de56cd114a
3 changed files with 46 additions and 20 deletions

View File

@@ -328,10 +328,10 @@ public:
* perceived pitch profile of the voice or instrument.
*
* 10. Flags prefixed \c OptionPitch control the method used for
* pitch shifting. In the R2 engine they may be changed at any
* time but affect only realtime mode (in offline mode the method
* cannot be changed). In the R3 engine they affect both realtime
* and offline modes but are fixed on construction.
* pitch shifting. These options affect only realtime mode. In
* offline mode the method is not adjustable. In the R2 engine
* these options may be changed at any time; in the R3 engine they
* may be set only on construction.
*
* \li \c OptionPitchHighSpeed - Favour CPU cost over sound
* quality. This is the default. Use this when time-stretching