comparison examples/puredata/xtract/xtract-help.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 1222cd753029
children
comparison
equal deleted inserted replaced
97:a159098a759e 98:ca40a0dc29d6
4 #X text 22 52 [xtract~] provides a wrapper for the feature extraction 4 #X text 22 52 [xtract~] provides a wrapper for the feature extraction
5 library: LibXtract. Please refer to the documentation at libxtract.sourceforge.net 5 library: LibXtract. Please refer to the documentation at libxtract.sourceforge.net
6 \, for a full explanation of the library and the functions it provides. 6 \, for a full explanation of the library and the functions it provides.
7 Only the operation of the PD external will be explained here along 7 Only the operation of the PD external will be explained here along
8 with a few use case scenarios.; 8 with a few use case scenarios.;
9 #X obj 27 299 xtract~;
10 #X msg 27 270 help;
11 #X text 27 328 Other than this help message \, the data sent to the
12 left inlet should always be a 'signal' (i.e. audio rate). This is the
13 data from a which a given feature will be extracted.;
14 #X obj 183 520 xtract~ mean;
15 #X floatatom 133 616 10 0 0 0 - - -;
16 #X floatatom 254 553 5 0 0 0 - - -;
17 #X msg 183 552 list \$1;
18 #X obj 133 586 xtract~ variance;
19 #X obj 182 496 phasor~ 0.1;
20 #X text 40 671 Below are some possible use cases (click to open):;
21 #X text 27 382 The outlet may be a scalar (control rate) \, or a vector
22 (audio rate) \, depending on the nature of the feature that is being
23 extracted.;
24 #X obj 43 695 f0;
25 #X obj 84 695 mfcc;
26 #X text 28 435 Any additional arguments that need to be passed to the
27 feature extraction function must be provided as a list to the right
28 inlet \, e.g.;
29 #X text 24 231 A complete list of features may be obtained by sending
30 the external a |help( message:;
9 #X text 20 148 [xtract~] must always be called with one argument \, 31 #X text 20 148 [xtract~] must always be called with one argument \,
10 in the following form: [xtract~ <feature>] \, where <feature> is a 32 in the following form: [xtract~ <feature>] \, where <feature> is a
11 feature supported by the LibXtract library. A complete list of features 33 feature supported by the LibXtract library.;
12 may be obtained by sending the external a |help( message:; 34 #X text 21 198 An optional second argument can be used to explicitly
13 #X obj 27 262 xtract~; 35 set the blocksize for FFT-based features;
14 #X msg 27 233 help; 36 #X connect 4 0 3 0;
15 #X text 26 298 Other than this help message \, the data sent to the 37 #X connect 6 0 8 0;
16 left inlet should always be a 'signal' (i.e. audio rate). This is the 38 #X connect 6 0 9 0;
17 data from a which a given feature will be extracted.; 39 #X connect 9 0 10 1;
18 #X obj 182 490 xtract~ mean; 40 #X connect 10 0 7 0;
19 #X floatatom 132 586 10 0 0 0 - - -; 41 #X connect 11 0 6 0;
20 #X floatatom 253 523 5 0 0 0 - - -; 42 #X connect 11 0 10 0;
21 #X msg 182 522 list \$1;
22 #X obj 132 556 xtract~ variance;
23 #X obj 181 466 phasor~ 0.1;
24 #X text 39 641 Below are some possible use cases (click to open):;
25 #X text 26 352 The outlet may be a scalar (control rate) \, or a vector
26 (audio rate) \, depending on the nature of the feature that is being
27 extracted.;
28 #X obj 42 665 f0;
29 #X obj 83 665 mfcc;
30 #X text 27 405 Any additional arguments that need to be passed to the
31 feature extraction function must be provided as a list to the right
32 inlet \, e.g.;
33 #X connect 5 0 4 0;
34 #X connect 7 0 9 0;
35 #X connect 7 0 10 0;
36 #X connect 10 0 11 1;
37 #X connect 11 0 8 0;
38 #X connect 12 0 7 0;
39 #X connect 12 0 11 0;