Provide option to shift formant independently of pitch
This commit is contained in:
@@ -75,6 +75,12 @@ RubberBandStretcher::setPitchScale(double scale)
|
||||
else m_r3d->setPitchScale(scale);
|
||||
}
|
||||
|
||||
void
|
||||
RubberBandStretcher::setFormantScale(double scale)
|
||||
{
|
||||
if (m_r3d) m_r3d->setFormantScale(scale);
|
||||
}
|
||||
|
||||
double
|
||||
RubberBandStretcher::getTimeRatio() const
|
||||
{
|
||||
@@ -89,6 +95,13 @@ RubberBandStretcher::getPitchScale() const
|
||||
else return m_r3d->getPitchScale();
|
||||
}
|
||||
|
||||
double
|
||||
RubberBandStretcher::getFormantScale() const
|
||||
{
|
||||
if (m_d) return 0.0;
|
||||
else return m_r3d->getFormantScale();
|
||||
}
|
||||
|
||||
size_t
|
||||
RubberBandStretcher::getLatency() const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user