Audacity 3.2.0
Public Member Functions | List of all members
FormantShifterLoggerInterface Class Referenceabstract

#include <FormantShifterLoggerInterface.h>

Inheritance diagram for FormantShifterLoggerInterface:
[legend]

Public Member Functions

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

FormantShifterLoggerInterface.h

A visualization helper for the development of the formant shifter.

Matthieu Hodgkinson

Definition at line 18 of file FormantShifterLoggerInterface.h.

Constructor & Destructor Documentation

◆ ~FormantShifterLoggerInterface()

virtual FormantShifterLoggerInterface::~FormantShifterLoggerInterface ( )
virtualdefault

Member Function Documentation

◆ Log() [1/3]

virtual void FormantShifterLoggerInterface::Log ( const float *  samples,
size_t  size,
const char *  name 
) const
pure virtual

◆ Log() [2/3]

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

◆ Log() [3/3]

virtual void FormantShifterLoggerInterface::Log ( int  value,
const char *  name 
) const
pure virtual

Implemented in DummyFormantShifterLogger, and FormantShifterLogger.

Referenced by FormantShifter::Process().

Here is the caller graph for this function:

◆ NewSamplesComing()

virtual void FormantShifterLoggerInterface::NewSamplesComing ( int  sampleCount)
pure virtual

◆ ProcessFinished()

virtual void FormantShifterLoggerInterface::ProcessFinished ( std::complex< float > *  spectrum,
size_t  fftSize 
)
pure virtual

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)

Implemented in DummyFormantShifterLogger, and FormantShifterLogger.

Referenced by FormantShifter::Process().

Here is the caller graph for this function:

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