feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5
Last change
on this file since 4b943729 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:
416 bytes
|
Line | |
---|
1 | #include "aubio.h" |
---|
2 | #include "utils_tests.h" |
---|
3 | |
---|
4 | int main (void) |
---|
5 | { |
---|
6 | aubio_init(); |
---|
7 | |
---|
8 | uint_t win_s = 32; // window size |
---|
9 | lvec_t * sp = new_lvec (win_s); // input buffer |
---|
10 | lvec_set_sample (sp, 2./3., 0); |
---|
11 | PRINT_MSG(AUBIO_LSMP_FMT "\n", lvec_get_sample (sp, 0)); |
---|
12 | lvec_print (sp); |
---|
13 | lvec_ones (sp); |
---|
14 | lvec_print (sp); |
---|
15 | lvec_set_all (sp, 3./5.); |
---|
16 | lvec_print (sp); |
---|
17 | del_lvec(sp); |
---|
18 | |
---|
19 | aubio_cleanup(); |
---|
20 | |
---|
21 | return 0; |
---|
22 | } |
---|
23 | |
---|
Note: See
TracBrowser
for help on using the repository browser.