Audacity 3.2.0
DummyFormantShifterLogger.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*!********************************************************************
3
4 Audacity: A Digital Audio Editor
5
6 DummyFormantShifterLogger.h
7
8 A class for shifting the formants of a voice signal.
9
10 Matthieu Hodgkinson
11
12**********************************************************************/
13#pragma once
14
16
18{
19public:
21 void NewSamplesComing(int sampleCount) override;
22 void Log(int value, const char* name) const override;
23 void Log(const float* samples, size_t size, const char* name) const override;
24 void Log(
25 const std::complex<float>* samples, size_t size, const char* name,
26 const std::function<float(const std::complex<float>&)>& transform)
27 const override;
28 void ProcessFinished(std::complex<float>* spectrum, size_t fftSize) override;
29};
const TranslatableString name
Definition: Distortion.cpp:76
void ProcessFinished(std::complex< float > *spectrum, size_t fftSize) override
If not already, disables the logging and marks the spectrum with an audible event to make clear where...
void Log(int value, const char *name) const override
void NewSamplesComing(int sampleCount) override
Positions or offsets within audio files need a wide type.
Definition: SampleCount.h:19