Mercurial > hg > libxtract
comparison examples/puredata/simple-example.pd @ 98:ca40a0dc29d6
Removed fftw_plan from xtraction functions. Created new init function xtract_init_fft() for creating plans, which have global scope. Updated examples to reflect the change. New configure option: --with-fft_optimisation (0 = FFTW_ESTIMATE, 1 = FFTW_MEASURE, 2 = FFTW_PATIENT).
author | Jamie Bullock <jamie@postlude.co.uk> |
---|---|
date | Sat, 06 Oct 2007 16:36:00 +0000 |
parents | 89b516adb5df |
children |
comparison
equal
deleted
inserted
replaced
97:a159098a759e | 98:ca40a0dc29d6 |
---|---|
1 #N canvas 0 0 450 300 10; | 1 #N canvas 5 48 450 300 10; |
2 #X obj 154 42 osc~ 440; | |
3 #X floatatom 154 180 8 0 0 0 - - -; | |
4 #N canvas 619 86 450 300 spectral_mean 1; | |
2 #X obj 144 80 xtract~ spectrum; | 5 #X obj 144 80 xtract~ spectrum; |
3 #X obj 154 26 osc~ 440; | 6 #X obj 346 21 block~ 1024; |
4 #X obj 145 129 xtract~ spectral_mean; | 7 #X obj 145 47 inlet~; |
5 #X floatatom 146 184 5 0 0 0 - - -; | 8 #X obj 145 190 outlet; |
9 #X obj 145 129 xtract~ spectral_centroid; | |
10 #X msg 269 57 list \$1; | |
11 #X msg 270 11 44100; | |
12 #X obj 270 33 / 1024; | |
13 #X obj 67 130 print~; | |
14 #X obj 73 104 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 | |
15 -1; | |
16 #X connect 0 0 4 0; | |
17 #X connect 0 0 8 0; | |
18 #X connect 2 0 0 0; | |
19 #X connect 4 0 3 0; | |
20 #X connect 5 0 0 1; | |
21 #X connect 6 0 7 0; | |
22 #X connect 7 0 5 0; | |
23 #X connect 9 0 8 0; | |
24 #X restore 154 115 pd spectral_mean; | |
6 #X connect 0 0 2 0; | 25 #X connect 0 0 2 0; |
7 #X connect 1 0 0 0; | 26 #X connect 2 0 1 0; |
8 #X connect 2 0 3 0; |