source: tests/src/utils/test-hist.c @ 986131d

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
Line 
1#define AUBIO_UNSTABLE 1
2
3#include <aubio.h>
4
5int main (void)
6{
7  aubio_init();
8
9  uint_t length;
10  for (length = 1; length < 10; length ++ ) {
11    aubio_hist_t *o = new_aubio_hist(0, 1, length);
12    fvec_t *t = new_aubio_window("hanning", length);
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);
20    t = new_aubio_window("hanningz", length);
21    aubio_hist_do(o,t);
22    fvec_print(t);
23    aubio_hist_do_notnull(o,t);
24    fvec_print(t);
25    aubio_hist_dyn_notnull(o,t);
26    fvec_print(t);
27    del_aubio_hist(o);
28    del_fvec(t);
29  }
30
31  aubio_cleanup();
32 
33  return 0;
34}
35
Note: See TracBrowser for help on using the repository browser.