37 using namespace Nsound;
46 int main(
int argc,
char ** argv)
55 <<
"AudioStream::getConvolve(x) ... " << flush;
66 cout << endl <<
"writing convolved2.wav ..." << flush;
68 y >>
"convolved2.wav";
70 cout <<
" done " << delta_t <<
" seconds" << endl;
int main(int argc, char **argv)
static const char * THIS_FILE
void normalize()
Multiplies the AudioStream by a constant gain so the peak sample has magnitude 1.0.
AudioStream getConvolve(const Buffer &b) const
Convolves every channel in the AudioStream with the Buffer.
void resample2(float64 new_sample_rate)
Resample to the specified sample rate.