15 using namespace Nsound;
56 aout << lpf.
filter(temp, f_cut);
63 freqs = gen.
drawLine(2.0, 49, 600.0);
74 aout << lpf.
filter(temp, 8000);
81 freqs = gen.
drawLine(2.0, 600, 600.0);
94 aout << lpf.
filter(temp, f_cut);
101 freqs = gen.
drawLine(2.0, 600, 49.0);
104 f_cut = gen.
drawLine(2, 1000, 1000);
114 aout << lpf.
filter(temp, f_cut);
AudioStream filter(const AudioStream &x)
A class tha generates decay curves.
void addSlaveSync(Generator &slave)
Adds a generator as a slave to this instance for syncing.
Buffer silence(const float64 &duration) const
This method generates silence.
virtual float64 generate(const float64 &frequency)
This is a real-time method for the wavetable oscillator.
A class for filtering audio in the frequecy domain.
void normalize()
Multiplies the Buffer by a constant gain so the peak sample has magnitude 1.0.
A Buffer for storing audio samples.
float64 getMin() const
Returns the minimum sample value in the Buffer.
Buffer drawLine(const float64 &duration, const float64 &litude_start, const float64 &litude_finish) const
This method draws a linear line beteween 2 points.
virtual float64 generate2(const float64 &frequency, const float64 &alpha)
This is a real-time method for the wavetable oscillator.