feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change
on this file since 9d6001cb was
02418f6,
checked in by Paul Brossier <piem@piem.org>, 12 years ago
|
tests/: move file around to match src/
|
-
Property mode set to
100644
|
File size:
662 bytes
|
Rev | Line | |
---|
[21f0655] | 1 | #define AUBIO_UNSTABLE 1 |
---|
| 2 | |
---|
[4e9101e] | 3 | #include <aubio.h> |
---|
| 4 | #include <stdlib.h> |
---|
| 5 | |
---|
[0d434df5] | 6 | int main( ) |
---|
[4e9101e] | 7 | { |
---|
| 8 | uint_t length; |
---|
| 9 | for (length = 1; length < 10; length ++ ) { |
---|
[aea235c] | 10 | aubio_hist_t *o = new_aubio_hist(0, 1, length); |
---|
[407bba9] | 11 | fvec_t *t = new_aubio_window("hanning", length); |
---|
[51ee670] | 12 | aubio_hist_do(o,t); |
---|
| 13 | fvec_print(t); |
---|
| 14 | aubio_hist_do_notnull(o,t); |
---|
| 15 | fvec_print(t); |
---|
| 16 | aubio_hist_dyn_notnull(o,t); |
---|
| 17 | fvec_print(t); |
---|
| 18 | del_fvec(t); |
---|
[407bba9] | 19 | t = new_aubio_window("hanningz", length); |
---|
[4e9101e] | 20 | aubio_hist_do(o,t); |
---|
[51ee670] | 21 | fvec_print(t); |
---|
[4e9101e] | 22 | aubio_hist_do_notnull(o,t); |
---|
[51ee670] | 23 | fvec_print(t); |
---|
[4e9101e] | 24 | aubio_hist_dyn_notnull(o,t); |
---|
[51ee670] | 25 | fvec_print(t); |
---|
[4e9101e] | 26 | del_aubio_hist(o); |
---|
| 27 | del_fvec(t); |
---|
| 28 | } |
---|
| 29 | return 0; |
---|
| 30 | } |
---|
| 31 | |
---|
Note: See
TracBrowser
for help on using the repository browser.