35 using namespace Nsound;
41 #define CERR_HEADER __FILE__ << ":" << __LINE__ << ": "
48 const float64 & frequency_octave)
64 f += frequency_octave;
71 f -= frequency_octave;
84 while(f >= frequency_octave)
87 f -= frequency_octave;
90 if(f_high == frequency_octave)
118 FilterVector::iterator end =
filters_.end();
144 for(
uint32 channel = 0; channel < n_channels; ++channel)
167 for(
uint32 n = 0; n < n_samples; ++n)
189 FilterVector::iterator end =
filters_.end();
196 y += (*filter)->filter(x);
202 y += (*delay)->filter((*filter)->filter(x));
223 FilterVector::iterator end =
filters_.end();
FilterSlinky(const float64 &sample_rate, const float64 &delay_time, const float64 &frequency_window)
float64 getSampleRate() const
Returns the sample rate of the stream.
uint32 getLength() const
Returns the number of samples in the Buffer.
Base class for IIR Filters, defines the interface.
uint32 getNChannels(void) const
Returns the number of audio channels in the stream.
A Buffer for storing audio samples.
A class for filtering audio in the frequecy domain.
AudioStream filter(const AudioStream &x)