source: tests/src/utils/test-scale.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: 409 bytes
Line 
1#define AUBIO_UNSTABLE 1
2
3#include <aubio.h>
4
5int main (void)
6{
7  aubio_init();
8
9  uint_t n = 0;
10  uint_t win_s = 1024; // window size
11  fvec_t * in = new_fvec (win_s); // input buffer
12  aubio_scale_t * o = new_aubio_scale(0,1,2,3);
13  aubio_scale_set_limits (o,0,1,2,3);
14
15  while (n < 1000) {
16    aubio_scale_do(o,in);
17    n++;
18  };
19
20  del_aubio_scale(o);
21  del_fvec(in);
22
23  aubio_cleanup();
24 
25  return 0;
26}
Note: See TracBrowser for help on using the repository browser.