15 using namespace Nsound;
float64 getDuration() const
Returns the number of seconds of audio data in the stream.
float64 getSampleRate() const
Returns the sample rate of the stream.
Buffer silence(const float64 &duration) const
This method generates silence.
void normalize()
Multiplies the Buffer by a constant gain so the peak sample has magnitude 1.0.
A Buffer for storing audio samples.
Buffer delay(const Buffer &x, const Buffer &delay_time)
static void setDefaultSampleRate(const int32 rate)
Buffer drawLine(const float64 &duration, const float64 &litude_start, const float64 &litude_finish) const
This method draws a linear line beteween 2 points.
A class the provides draw utilities and a wavetable oscillator.