Changeset 7e20db8b
- Timestamp:
- Jul 21, 2006, 8:14:00 PM (18 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
- Children:
- 45c0f16
- Parents:
- 40536fa
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/tests/test-phasevoc-jack.c
r40536fa r7e20db8b 6 6 */ 7 7 8 #include <unistd.h> /* pause() */9 #include "aubio.h"10 #include "aubioext.h"8 #include <unistd.h> /* pause() or sleep() */ 9 #include <aubio.h> 10 #include <aubioext.h> 11 11 12 12 uint_t win_s = 32; /* window size */ 13 13 uint_t hop_s = 8; /* hop size */ 14 uint_t channels = 4; 15 uint_t pos = 0; 16 uint_t usejack 14 uint_t channels = 4; /* number of channels */ 15 uint_t pos = 0; /* frames%dspblocksize for jack loop */ 16 uint_t usejack = 1; 17 17 18 18 fvec_t * in; … … 46 46 (aubio_process_func_t)aubio_process); 47 47 aubio_jack_activate(jack_setup); 48 pause(); /* enter main jack loop */48 sleep(10); //pause(); /* enter main jack loop */ 49 49 aubio_jack_close(jack_setup); 50 50 } 51 51 52 52 del_aubio_pvoc(pv); 53 del_cvec(fftgrain); 54 del_fvec(in); 55 del_fvec(out); 56 aubio_cleanup(); 53 57 printf("memory freed\n"); 54 58 return 0;
Note: See TracChangeset
for help on using the changeset viewer.