feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change
on this file since 5525507 was
332487b,
checked in by Paul Brossier <piem@piem.org>, 11 years ago
|
tests/src: clean up includes
|
-
Property mode set to
100644
|
File size:
364 bytes
|
Line | |
---|
1 | #include "aubio.h" |
---|
2 | #include "utils_tests.h" |
---|
3 | |
---|
4 | int main (void) |
---|
5 | { |
---|
6 | uint_t win_s = 32; // window size |
---|
7 | lvec_t * sp = new_lvec (win_s); // input buffer |
---|
8 | lvec_set_sample (sp, 2./3., 0); |
---|
9 | PRINT_MSG("%lf\n", lvec_get_sample (sp, 0)); |
---|
10 | lvec_print (sp); |
---|
11 | lvec_ones (sp); |
---|
12 | lvec_print (sp); |
---|
13 | lvec_set_all (sp, 3./5.); |
---|
14 | lvec_print (sp); |
---|
15 | del_lvec(sp); |
---|
16 | return 0; |
---|
17 | } |
---|
18 | |
---|
Note: See
TracBrowser
for help on using the repository browser.