#include <SpectralFocus.hxx>
In order to preserve timbre, the original spectral shape is extracted and then applied back.
Definition at line 45 of file SpectralFocus.hxx.
Public Member Functions | |
SpectralFocus () | |
~SpectralFocus () | |
virtual bool | InitControls () |
Virtual function to override when needing to give different default values to the controls. | |
bool | Do (const Frame &in, Frame &out) |
bool | Do (const Spectrum &inpeaks, Spectrum &out) |
bool | Do () |
Supervised mode execution method (using ports). |
CLAM::SpectralFocus::SpectralFocus | ( | ) | [inline] |
Definition at line 58 of file SpectralFocus.hxx.
References CLAM::SpecTypeFlags::bMagPhase, CLAM::SpecTypeFlags::bMagPhaseBPF, CLAM::Processing::Configure(), and CLAM::Spectrum::SetType().
CLAM::SpectralFocus::~SpectralFocus | ( | ) | [inline] |
Definition at line 74 of file SpectralFocus.hxx.
virtual bool CLAM::SpectralFocus::InitControls | ( | ) | [inline, virtual] |
Virtual function to override when needing to give different default values to the controls.
Reimplemented from CLAM::FrameTransformation.
Definition at line 76 of file SpectralFocus.hxx.
References CLAM::InControl::DoControl().
Implements CLAM::FrameTransformation.
Definition at line 84 of file SpectralFocus.hxx.
References Do().
Definition at line 39 of file SpectralFocus.cxx.
References CLAM::Array< T >::AddElem(), CLAM::InControl::GetLastValue(), CLAM::Spectrum::GetSize(), CLAM::FrameTransformation::mAmount, CLAM::FrameTransformation::mConfig, Round(), CLAM::Spectrum::SetBPFSize(), CLAM::Array< T >::SetSize(), CLAM::Spectrum::SetSize(), and CLAM::Spectrum::SynchronizeTo().
bool CLAM::SpectralFocus::Do | ( | ) | [inline, virtual] |
Supervised mode execution method (using ports).
Implements CLAM::Processing.
Definition at line 92 of file SpectralFocus.hxx.
Referenced by Do().