Audacity 3.2.0
Public Member Functions | List of all members
DummyFormantShifterLogger Class Reference

#include <DummyFormantShifterLogger.h>

Inheritance diagram for DummyFormantShifterLogger:
[legend]
Collaboration diagram for DummyFormantShifterLogger:
[legend]

Public Member Functions

 ~DummyFormantShifterLogger () override
 
void NewSamplesComing (int sampleCount) override
 
void Log (int value, const char *name) const override
 
void Log (const float *samples, size_t size, const char *name) const override
 
void Log (const std::complex< float > *samples, size_t size, const char *name, const std::function< float(const std::complex< float > &)> &transform) const override
 
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 in the signal the logging took place. (Of course not for use in production :D) More...
 
- Public Member Functions inherited from FormantShifterLoggerInterface
virtual ~FormantShifterLoggerInterface ()=default
 
virtual void NewSamplesComing (int sampleCount)=0
 
virtual void Log (int value, const char *name) const =0
 
virtual void Log (const float *samples, size_t size, const char *name) const =0
 
virtual void Log (const std::complex< float > *samples, size_t size, const char *name, const std::function< float(const std::complex< float > &)> &transform) const =0
 
virtual void ProcessFinished (std::complex< float > *spectrum, size_t fftSize)=0
 If not already, disables the logging and marks the spectrum with an audible event to make clear where in the signal the logging took place. (Of course not for use in production :D) More...
 

Detailed Description


Audacity: A Digital Audio Editor

DummyFormantShifterLogger.h

A class for shifting the formants of a voice signal.

Matthieu Hodgkinson

Definition at line 17 of file DummyFormantShifterLogger.h.

Constructor & Destructor Documentation

◆ ~DummyFormantShifterLogger()

DummyFormantShifterLogger::~DummyFormantShifterLogger ( )
override

Audacity: A Digital Audio Editor

DummyFormantShifterLogger.cpp

A class for shifting the formants of a voice signal.

Matthieu Hodgkinson

Definition at line 15 of file DummyFormantShifterLogger.cpp.

16{
17}

Member Function Documentation

◆ Log() [1/3]

void DummyFormantShifterLogger::Log ( const float *  samples,
size_t  size,
const char *  name 
) const
overridevirtual

Implements FormantShifterLoggerInterface.

Definition at line 27 of file DummyFormantShifterLogger.cpp.

29{
30}

◆ Log() [2/3]

void DummyFormantShifterLogger::Log ( const std::complex< float > *  samples,
size_t  size,
const char *  name,
const std::function< float(const std::complex< float > &)> &  transform 
) const
overridevirtual

Implements FormantShifterLoggerInterface.

Definition at line 32 of file DummyFormantShifterLogger.cpp.

35{
36}

◆ Log() [3/3]

void DummyFormantShifterLogger::Log ( int  value,
const char *  name 
) const
overridevirtual

Implements FormantShifterLoggerInterface.

Definition at line 23 of file DummyFormantShifterLogger.cpp.

24{
25}

◆ NewSamplesComing()

void DummyFormantShifterLogger::NewSamplesComing ( int  sampleCount)
overridevirtual

Implements FormantShifterLoggerInterface.

Definition at line 19 of file DummyFormantShifterLogger.cpp.

20{
21}

◆ ProcessFinished()

void DummyFormantShifterLogger::ProcessFinished ( std::complex< float > *  spectrum,
size_t  fftSize 
)
overridevirtual

If not already, disables the logging and marks the spectrum with an audible event to make clear where in the signal the logging took place. (Of course not for use in production :D)

Implements FormantShifterLoggerInterface.

Definition at line 38 of file DummyFormantShifterLogger.cpp.

40{
41}

The documentation for this class was generated from the following files: