feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5
Last change
on this file since 986131d was
986131d,
checked in by Eduard Müller <mueller.eduard@googlemail.com>, 7 years ago
|
Intel IPP support for aubio
See emuell/aubio/ intel_ipp2 for details please
|
-
Property mode set to
100644
|
File size:
686 bytes
|
Rev | Line | |
---|
[21f0655] | 1 | #define AUBIO_UNSTABLE 1 |
---|
| 2 | |
---|
[4e9101e] | 3 | #include <aubio.h> |
---|
| 4 | |
---|
[158e031] | 5 | int main (void) |
---|
[4e9101e] | 6 | { |
---|
[986131d] | 7 | aubio_init(); |
---|
| 8 | |
---|
[4e9101e] | 9 | uint_t length; |
---|
| 10 | for (length = 1; length < 10; length ++ ) { |
---|
[aea235c] | 11 | aubio_hist_t *o = new_aubio_hist(0, 1, length); |
---|
[407bba9] | 12 | fvec_t *t = new_aubio_window("hanning", length); |
---|
[51ee670] | 13 | aubio_hist_do(o,t); |
---|
| 14 | fvec_print(t); |
---|
| 15 | aubio_hist_do_notnull(o,t); |
---|
| 16 | fvec_print(t); |
---|
| 17 | aubio_hist_dyn_notnull(o,t); |
---|
| 18 | fvec_print(t); |
---|
| 19 | del_fvec(t); |
---|
[407bba9] | 20 | t = new_aubio_window("hanningz", length); |
---|
[4e9101e] | 21 | aubio_hist_do(o,t); |
---|
[51ee670] | 22 | fvec_print(t); |
---|
[4e9101e] | 23 | aubio_hist_do_notnull(o,t); |
---|
[51ee670] | 24 | fvec_print(t); |
---|
[4e9101e] | 25 | aubio_hist_dyn_notnull(o,t); |
---|
[51ee670] | 26 | fvec_print(t); |
---|
[4e9101e] | 27 | del_aubio_hist(o); |
---|
| 28 | del_fvec(t); |
---|
| 29 | } |
---|
[986131d] | 30 | |
---|
| 31 | aubio_cleanup(); |
---|
| 32 | |
---|
[4e9101e] | 33 | return 0; |
---|
| 34 | } |
---|
| 35 | |
---|
Note: See
TracBrowser
for help on using the repository browser.