28 long long startSC,
int hopSize,
double threshold,
int targetFreqBin);
31 long long int startSC,
51 ,
mGains(windowSize / 2 + 1)
62 const std::shared_ptr<SpectralData> &sDataPtr);
64 long long int startSC,
int hopSize,
size_t winSize,
65 double threshold,
int targetFreqBin);
67 long long int startSC,
int hopSize,
size_t winSize,
68 double threshold,
int targetFreqBin);
74 std::unique_ptr<Window>
NewWindow(
size_t windowSize)
override;
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Worker(WaveChannel *pChannel, const Setting &setting)
std::vector< int > mOvertonesTargetFreqBin
std::vector< int > ProcessOvertones(const WaveChannel &channel, long long int startSC, int hopSize, size_t winSize, double threshold, int targetFreqBin)
bool ApplyEffectToSelection()
bool DoFinish() override
Called after the last call to ProcessWindow().
bool DoStart() override
Called before any calls to ProcessWindow.
MyWindow & NthWindow(int nn)
std::unique_ptr< Window > NewWindow(size_t windowSize) override
Allocates a window to place in the queue.
int ProcessSnapping(const WaveChannel &channel, long long int startSC, int hopSize, size_t winSize, double threshold, int targetFreqBin)
bool Process(const WaveChannel &channel, const std::shared_ptr< SpectralData > &sDataPtr)
std::shared_ptr< SpectralData > mpSpectralData
static bool OvertonesProcessor(SpectrumTransformer &transformer)
double mOvertonesThreshold
static bool Processor(SpectrumTransformer &transformer)
static bool SnappingProcessor(SpectrumTransformer &transformer)
Performs the calculation for spectral editing.
static std::vector< int > FindHighestFrequencyBins(WaveChannel &wc, long long int startSC, int hopSize, double threshold, int targetFreqBin)
static bool ProcessTracks(AudacityProject &project)
static int FindFrequencySnappingBin(const WaveChannel &channel, long long startSC, int hopSize, double threshold, int targetFreqBin)
MyWindow(size_t windowSize)