10 using namespace Nsound;
27 input.
plot(
"noisy input");
33 output.
plot(
"filtered output");
static void show()
Acutally draw the plots to the screen.
void plot(const std::string &title="Buffer") const
Requires matplotlib. Creates a plot of this Buffer.
Buffer silence(const float64 &duration) const
This method generates silence.
AudioStream filter(const AudioStream &x)
A Buffer for storing audio samples.
Buffer whiteNoise(const float64 &duration) const
This method generates noise from a uniform distribution.
Buffer drawLine(const float64 &duration, const float64 &litude_start, const float64 &litude_finish) const
This method draws a linear line beteween 2 points.