23 #ifndef _SpectralShapeShift_
24 #define _SpectralShapeShift_
48 const char *GetClassName()
const {
return "SpectralShapeShift";}
58 mIn(
"InSpectrum", this),
59 mOut(
"OutSpectrum", this),
60 mSteps(
"Shift Steps", this)
64 mSpectralPeaks.AddAll();
67 mSpectralEnvelope.AddAll();
71 cfg.SetMagThreshold(-80.f);
73 cfg.SetMaxFreq(15000.f);
77 envCfg.SetMaxPeaks(1000);
78 mSpectralEnvelopeExtract.
Configure(envCfg);
85 return Do(in.GetSpectrum(),
106 TSize mSpectralRange;
110 #endif // _SpectralShapeShift_