* Work around a patent (also producing better results, in many cases)
* Add aligned allocation functions in sysutils
This commit is contained in:
@@ -379,15 +379,15 @@ RubberBandPitchShifter::updateCrispness()
|
||||
s->setTransientsOption(RubberBandStretcher::OptionTransientsSmooth);
|
||||
break;
|
||||
case 1:
|
||||
s->setPhaseOption(RubberBandStretcher::OptionPhaseAdaptive);
|
||||
s->setPhaseOption(RubberBandStretcher::OptionPhaseLaminar);
|
||||
s->setTransientsOption(RubberBandStretcher::OptionTransientsSmooth);
|
||||
break;
|
||||
case 2:
|
||||
s->setPhaseOption(RubberBandStretcher::OptionPhaseAdaptive);
|
||||
s->setPhaseOption(RubberBandStretcher::OptionPhaseLaminar);
|
||||
s->setTransientsOption(RubberBandStretcher::OptionTransientsMixed);
|
||||
break;
|
||||
case 3:
|
||||
s->setPhaseOption(RubberBandStretcher::OptionPhaseAdaptive);
|
||||
s->setPhaseOption(RubberBandStretcher::OptionPhaseLaminar);
|
||||
s->setTransientsOption(RubberBandStretcher::OptionTransientsCrisp);
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user