Mercurial > hg > libxtract
comparison examples/puredata/xtract/xtract-help.pd @ 25:82c7b834a055
Added PD help files
author | Jamie Bullock <jamie@postlude.co.uk> |
---|---|
date | Wed, 18 Oct 2006 17:49:19 +0000 |
parents | |
children | 43332188a780 |
comparison
equal
deleted
inserted
replaced
24:7579e3da92f4 | 25:82c7b834a055 |
---|---|
1 #N canvas 685 60 450 725 10; | |
2 #X text 21 12 [xtract~]; | |
3 #X text 24 19 ________; | |
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 | |
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 | |
8 with a few use case scenarios.; | |
9 #X text 20 148 [xtract~] must always be called with one argument \, | |
10 in the following form: [xtract~ <feature>] \, where <feature> is a | |
11 feature supported by the LibXtract library. A complete list of features | |
12 may be obtained by sending the external a |help( message:; | |
13 #X obj 27 262 xtract~; | |
14 #X msg 27 233 help; | |
15 #X text 26 298 Other than this help message \, the data sent to the | |
16 left inlet should always be a 'signal' (i.e. audio rate). This is the | |
17 data from a which a given feature will be extracted.; | |
18 #X text 27 405 Any additional arguments that need to be passed to the | |
19 feature extraction funtion must be provided as a list to the right | |
20 inlet \, e.g.; | |
21 #X obj 182 490 xtract~ mean; | |
22 #X floatatom 132 586 10 0 0 0 - - -; | |
23 #X floatatom 253 523 5 0 0 0 - - -; | |
24 #X msg 182 522 list \$1; | |
25 #X obj 132 556 xtract~ variance; | |
26 #X obj 181 466 phasor~ 0.1; | |
27 #X text 39 641 Below are some possible use cases (click to open):; | |
28 #X text 26 352 The outlet may be a scalar (control rate) \, or a vector | |
29 (audio rate) \, depending on the nature of the feature that is being | |
30 extracted.; | |
31 #X obj 44 674 cnv 15 82 22 empty empty empty 20 12 0 14 -99865 -66577 | |
32 0; | |
33 #X obj 47 675 bng 15 250 50 0 f0-open empty empty 0 -6 0 8 -262144 | |
34 -1 -1; | |
35 #X obj 64 675 bng 15 250 50 0 f0-open empty empty 0 -6 0 8 -262144 | |
36 -1 -1; | |
37 #X obj 79 675 bng 15 250 50 0 f0-open empty empty 0 -6 0 8 -262144 | |
38 -1 -1; | |
39 #X obj 96 675 bng 15 250 50 0 f0-open empty empty 0 -6 0 8 -262144 | |
40 -1 -1; | |
41 #X obj 42 672 cnv 15 80 20 f0-open empty f0 20 12 0 14 -195568 -66577 | |
42 0; | |
43 #N canvas 0 0 450 300 hidden 0; | |
44 #X msg 27 133 \; pd open f0.pd ./ \;; | |
45 #X obj 27 110 r f0-open; | |
46 #X obj 26 42 r mfcc-open; | |
47 #X msg 26 65 \; pd open mfcc.pd ./ \;; | |
48 #X connect 1 0 0 0; | |
49 #X connect 2 0 3 0; | |
50 #X restore 379 736 pd hidden; | |
51 #X obj 136 675 cnv 15 82 22 empty empty empty 20 12 0 14 -99865 -66577 | |
52 0; | |
53 #X obj 140 678 bng 15 250 50 0 mfcc-open empty empty 0 -6 0 8 -262144 | |
54 -1 -1; | |
55 #X obj 155 678 bng 15 250 50 0 mfcc-open empty empty 0 -6 0 8 -262144 | |
56 -1 -1; | |
57 #X obj 170 678 bng 15 250 50 0 mfcc-open empty empty 0 -6 0 8 -262144 | |
58 -1 -1; | |
59 #X obj 185 678 bng 15 250 50 0 mfcc-open empty empty 0 -6 0 8 -262144 | |
60 -1 -1; | |
61 #X obj 134 673 cnv 15 80 20 f0-open empty MFCC 20 12 0 14 -195568 -66577 | |
62 0; | |
63 #X connect 5 0 4 0; | |
64 #X connect 8 0 10 0; | |
65 #X connect 8 0 11 0; | |
66 #X connect 11 0 12 1; | |
67 #X connect 12 0 9 0; | |
68 #X connect 13 0 8 0; | |
69 #X connect 13 0 12 0; |