source: tests/src/utils/test-scale.c @ 7100895

feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5
Last change on this file since 7100895 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
RevLine 
[21f0655]1#define AUBIO_UNSTABLE 1
2
[4e9101e]3#include <aubio.h>
4
[158e031]5int main (void)
[abd326c]6{
[986131d]7  aubio_init();
8
[abd326c]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);
[4e9101e]14
[abd326c]15  while (n < 1000) {
16    aubio_scale_do(o,in);
17    n++;
18  };
[4e9101e]19
[abd326c]20  del_aubio_scale(o);
21  del_fvec(in);
[4e9101e]22
[986131d]23  aubio_cleanup();
24 
[abd326c]25  return 0;
[4e9101e]26}
Note: See TracBrowser for help on using the repository browser.