Wire up formant option; some tidying

This commit is contained in:
Chris Cannam
2022-05-27 15:16:10 +01:00
parent 7febc09dbc
commit ce64122ffe
3 changed files with 20 additions and 11 deletions

View File

@@ -96,6 +96,8 @@ RubberBandStretcher::getLatency() const
else return m_r3d->getLatency();
}
//!!! review all these
void
RubberBandStretcher::setTransientsOption(Options options)
{
@@ -118,12 +120,14 @@ void
RubberBandStretcher::setFormantOption(Options options)
{
if (m_d) m_d->setFormantOption(options);
else if (m_r3d) m_r3d->setFormantOption(options);
}
void
RubberBandStretcher::setPitchOption(Options options)
{
if (m_d) m_d->setPitchOption(options);
else if (m_r3d) m_r3d->setPitchOption(options);
}
void