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