diff options
author | Jamie Bullock <jamie@jamiebullock.com> | 2013-06-19 15:54:52 -0700 |
---|---|---|
committer | Jamie Bullock <jamie@jamiebullock.com> | 2013-06-19 16:23:50 -0700 |
commit | 5f76abb520203a69a328cebe851f03e41c0ac3ea (patch) | |
tree | cb78a1fcbd5d5957d33a2efef118e2587a5dbfa4 /examples | |
parent | 58eae8137000f5f8c319a376fd5362004e6d5adf (diff) | |
download | LibXtract-5f76abb520203a69a328cebe851f03e41c0ac3ea.tar.gz LibXtract-5f76abb520203a69a328cebe851f03e41c0ac3ea.tar.bz2 LibXtract-5f76abb520203a69a328cebe851f03e41c0ac3ea.zip |
Remove extraneous print statement
Diffstat (limited to 'examples')
-rw-r--r-- | examples/simpletest/simpletest.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/simpletest/simpletest.c b/examples/simpletest/simpletest.c index fae0090..9eba0fe 100644 --- a/examples/simpletest/simpletest.c +++ b/examples/simpletest/simpletest.c @@ -104,7 +104,7 @@ int main(void) xtract_mel_filter mel_filters; fill_wavetable(344.53125f, SINE); // 344.53125f = 128 samples @ 44100 Hz - print_wavetable(); +// print_wavetable(); /* get the F0 */ xtract[XTRACT_WAVELET_F0](wavetable, BLOCKSIZE, &samplerate, &f0); @@ -122,11 +122,10 @@ int main(void) /* get the spectrum */ argd[0] = SAMPLERATE / (double)BLOCKSIZE; argd[1] = XTRACT_MAGNITUDE_SPECTRUM; - argd[2] = 1.f; /* DC component - we expect this to zero for square wave */ + argd[2] = 0.f; /* DC component - we expect this to zero for square wave */ argd[3] = 0.f; /* No Normalisation */ xtract_init_fft(BLOCKSIZE, XTRACT_SPECTRUM); - printf("windowed: %p, spectrum: %p\n", (void *)windowed, (void *)spectrum); xtract[XTRACT_SPECTRUM](windowed, BLOCKSIZE, &argd[0], spectrum); xtract[XTRACT_SPECTRAL_CENTROID](spectrum, BLOCKSIZE, NULL, ¢roid); |