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