33 #ifndef _NSOUND_SPECTROGRAM_H_
34 #define _NSOUND_SPECTROGRAM_H_
76 const std::string & title =
"",
77 const boolean & use_dB =
true,
78 const float64 & squash = 0.5)
const;
Buffer computeMagnitude(const Buffer &x)
Buffer getTimeAxis() const
Spectrogram & operator=(const Spectrogram &rhs)
Buffer getFrequencyAxis() const
A Buffer for storing audio samples.
void plot(const std::string &title="", const boolean &use_dB=true, const float64 &squash=0.5) const
Spectrogram(const Buffer &x, const float64 &sample_rate, const float64 &time_window, const float64 &time_step, const WindowType &type)
AudioStream getMagnitude() const