- Timestamp:
- Jul 27, 2006, 1:34:25 AM (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:
- e41af98
- Parents:
- da5edf3
- Location:
- examples/tests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/tests/Makefile.am
rda5edf3 r8659f2c 2 2 AM_LDFLAGS = -L$(top_builddir)/src -laubio @FFTWLIB_LIBS@ 3 3 4 test_phasevoc_jack_CFLAGS = -I$(top_builddir)/ext @JACK_CFLAGS@5 test_phasevoc_jack_LDADD = -laubioext -L$(top_builddir)/ext @JACK_LIBS@4 test_phasevoc_jack_CFLAGS = $(AM_CFLAGS) -I$(top_srcdir)/ext @JACK_CFLAGS@ 5 test_phasevoc_jack_LDADD = $(AM_LDFLAGS) -laubioext -L$(top_builddir)/ext @JACK_LIBS@ 6 6 7 7 bin_PROGRAMS = \ -
examples/tests/test-phasevoc-jack.c
rda5edf3 r8659f2c 14 14 uint_t channels = 4; /* number of channels */ 15 15 uint_t pos = 0; /* frames%dspblocksize for jack loop */ 16 uint_t usejack = 1;17 16 18 17 fvec_t * in; … … 22 21 aubio_pvoc_t * pv; 23 22 23 #ifdef JACK_SUPPORT 24 24 aubio_jack_t * jack_setup; 25 #endif 25 26 26 27 int aubio_process(float **input, float **output, int nframes); … … 42 43 printf("computed backard\n"); 43 44 44 if (usejack) { 45 46 47 48 49 50 } 45 #ifdef JACK_SUPPORT 46 jack_setup = new_aubio_jack(channels, channels, 47 (aubio_process_func_t)aubio_process); 48 aubio_jack_activate(jack_setup); 49 sleep(10); //pause(); /* enter main jack loop */ 50 aubio_jack_close(jack_setup); 51 #endif 51 52 52 53 del_aubio_pvoc(pv);
Note: See TracChangeset
for help on using the changeset viewer.