Synchronise frequency channel cutoffs across channels. Not the most elegant way to do this I think

This commit is contained in:
Chris Cannam
2022-06-09 14:56:20 +01:00
parent ab284f0047
commit 4457247749
3 changed files with 37 additions and 5 deletions

View File

@@ -259,6 +259,7 @@ protected:
Guide m_guide;
Guide::Configuration m_guideConfiguration;
ChannelAssembly m_channelAssembly;
FixedVector<double> m_mixedClassifyMags;
std::unique_ptr<StretchCalculator> m_calculator;
std::unique_ptr<Resampler> m_resampler;
std::atomic<int> m_inhop;
@@ -268,7 +269,8 @@ protected:
void consume();
void calculateHop();
void analyseChannel(int channel, int inhop, int prevInhop, int prevOuthop);
void analyseChannel(int channel, int inhop, int prevInhop);
void guideChannel(int channel, int prevInhop, int prevOuthop);
void analyseFormant(int channel);
void adjustFormant(int channel);
void synthesiseChannel(int channel, int outhop);