[PD-cvs] externals/ekext/framespect~ framespect~-help.pd, NONE, 1.1 framespect~.c, 1.1.1.1, 1.2 help-framespect~.pd, 1.1.1.1, NONE

Hans-Christoph Steiner eighthave at users.sourceforge.net
Sat Sep 29 23:36:48 CEST 2007


Update of /cvsroot/pure-data/externals/ekext/framespect~
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11713/framespect~

Modified Files:
	framespect~.c 
Added Files:
	framespect~-help.pd 
Removed Files:
	help-framespect~.pd 
Log Message:
renamed help files to standard name and removed class_sethelpsymbol since it is unnecessary and gets in the way

--- help-framespect~.pd DELETED ---

Index: framespect~.c
===================================================================
RCS file: /cvsroot/pure-data/externals/ekext/framespect~/framespect~.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** framespect~.c	15 Aug 2005 10:04:29 -0000	1.1.1.1
--- framespect~.c	29 Sep 2007 21:36:46 -0000	1.2
***************
*** 107,111 ****
    class_addmethod(framespect_tilde_class, (t_method)framespect_tilde_dsp,
  		  gensym("dsp"), 0);
!   class_sethelpsymbol(framespect_tilde_class, gensym("help-framespect~"));
    CLASS_MAINSIGNALIN(framespect_tilde_class, t_framespect_tilde, f);
  }
--- 107,111 ----
    class_addmethod(framespect_tilde_class, (t_method)framespect_tilde_dsp,
  		  gensym("dsp"), 0);
! 
    CLASS_MAINSIGNALIN(framespect_tilde_class, t_framespect_tilde, f);
  }

--- NEW FILE: framespect~-help.pd ---
#N canvas 109 303 913 445 10;
#N canvas 0 22 468 247 frame-scoring 0;
#X obj 61 76 inlet~;
#X obj 362 116 block~ 1024;
#X obj 61 93 rfft~;
#X obj 197 72 inlet~;
#X obj 197 89 rfft~;
#X obj 60 183 outlet;
#X obj 295 150 inlet;
#X obj 60 166 framespect~;
#X connect 0 0 2 0;
#X connect 2 0 7 0;
#X connect 2 1 7 1;
#X connect 3 0 4 0;
#X connect 4 0 7 2;
#X connect 4 1 7 3;
#X connect 6 0 7 4;
#X connect 7 0 5 0;
#X restore 95 210 pd frame-scoring;
#X floatatom 95 262 0 0 0 0 similarity - -;
#X obj 80 279 f;
#X obj 151 70 bng 15 250 50 0 empty empty different 0 -6 0 8 -262144
-1 -1;
#X obj 151 85 t b b;
#X obj 74 70 bng 15 250 50 0 empty empty same 0 -6 0 8 -262144 -1 -1
;
#X obj 74 85 t b b;
#X floatatom 342 165 5 1 100 0 - - -;
#X floatatom 342 196 5 0 0 1 window - -;
#X obj 342 179 / 100;
#N canvas 0 22 532 477 testinput 0;
#X obj 73 73 openpanel;
#X obj 107 23 inlet;
#X obj 107 40 sel 1 2;
#N canvas 0 22 450 300 graph20 0;
#X array test-1 325922 float 0;
#X coords 0 1 325921 -1 300 80 1;
#X restore 83 191 graph;
#N canvas 0 22 450 300 graph20 0;
#X array test-2 192058 float 0;
#X coords 0 1 192057 -1 300 80 1;
#X restore 83 282 graph;
#X msg 73 90 read -resize \$1 test-1;
#X obj 73 107 soundfiler;
#X obj 169 124 t b f;
#X obj 240 73 openpanel;
#X obj 240 107 soundfiler;
#X msg 240 90 read -resize \$1 test-2;
#X obj 169 158 / 44.1;
#X obj 169 141 min;
#X obj 213 158 outlet;
#X obj 329 124 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X obj 329 139 outlet;
#X connect 0 0 5 0;
#X connect 1 0 2 0;
#X connect 2 0 0 0;
#X connect 2 1 8 0;
#X connect 5 0 6 0;
#X connect 6 0 12 0;
#X connect 7 0 12 0;
#X connect 7 1 12 1;
#X connect 8 0 10 0;
#X connect 9 0 7 0;
#X connect 9 0 14 0;
#X connect 10 0 9 0;
#X connect 11 0 13 0;
#X connect 12 0 11 0;
#X connect 14 0 15 0;
#X restore 314 48 pd testinput;
#X msg 314 31 1;
#X msg 337 31 2;
#X floatatom 314 65 0 0 0 0 shortest - -;
#X obj 314 82 / 2;
#X floatatom 314 216 0 0 0 0 - - -;
#X obj 263 216 del 500;
#N canvas 0 22 264 157 playsound 0;
#X obj 51 82 tabplay~ test-1;
#X obj 164 65 inlet;
#X obj 51 65 inlet;
#X obj 51 99 outlet~;
#X connect 0 0 3 0;
#X connect 1 0 0 0;
#X connect 2 0 0 0;
#X restore 74 136 pd playsound;
#N canvas 0 22 264 157 playsound 0;
#X obj 51 82 tabplay~ test-1;
#X obj 153 65 inlet;
#X obj 51 65 inlet;
#X obj 51 99 outlet~;
#X connect 0 0 3 0;
#X connect 1 0 0 0;
#X connect 2 0 0 0;
#X restore 160 136 pd playsound;
#X text 439 12 framescore~ calculates a weighted similarity value for
two signal vectors. The value is weighted proportional to amplitude
\, so that comparisons made between higher value vectors have more
effect on the output than comparisons between low value vectors.;
#X obj 337 14 r loadsamples;
#X msg 103 119 set test-1;
#X msg 233 102 set test-1;
#X msg 233 119 set test-2;
#X text 434 242 start here;
#X obj 125 313 > 0.5;
#X msg 102 313 1;
#X obj 102 330 -;
#X obj 80 296 t f b f;
#X obj 80 355 spigot;
#X obj 124 355 spigot;
#X obj 124 372 print similar;
#X obj 80 389 print different;
#X msg 436 258 \; pd dsp 1 \; loadsamples bang;
#X obj 246 153 loadbang;
#X msg 246 170 1;
#X text 92 37 _Compare_;
#X text 437 80 Its use is in comparing alpha vectors from an rfft~
object where higher amplitude bins are weighted against low amplitude
bins. The maximum amplitude of the comparison vector on inlets 3+4
is used to scale the output value so that it always gives a score between
0 (no similarity) and 1 (identical alpha).;
#X text 672 243 see also;
#X obj 671 258 framescore~;
#X text 3 210 HERE it is-->;
#X obj 671 278 simile~;
#X obj 671 298 simile;
#X obj 671 318 hssc~;
#X text 438 158 Differences between the peak levels of the two vectors
may cause similarities in peak patterns to be missed. Since the cartesian-to-polar
conversion is done internally to the object \, <blocknorm~> may not
be used in the same way as it can with <framescore~> \, but since the
phase is not calculated as it is in <cartopol~> it is marginally less
CPU-intensive.;
#X connect 0 0 1 0;
#X connect 1 0 2 1;
#X connect 2 0 28 0;
#X connect 3 0 4 0;
#X connect 4 0 16 0;
#X connect 4 0 18 0;
#X connect 4 0 17 0;
#X connect 4 1 23 0;
#X connect 4 1 21 0;
#X connect 5 0 6 0;
#X connect 6 0 16 0;
#X connect 6 0 17 0;
#X connect 6 0 18 0;
#X connect 6 1 21 0;
#X connect 6 1 22 0;
#X connect 7 0 9 0;
#X connect 8 0 0 2;
#X connect 9 0 8 0;
#X connect 10 0 13 0;
#X connect 10 1 11 0;
#X connect 11 0 10 0;
#X connect 12 0 10 0;
#X connect 13 0 14 0;
#X connect 14 0 15 0;
#X connect 15 0 16 1;
#X connect 16 0 2 0;
#X connect 17 0 0 0;
#X connect 18 0 0 1;
#X connect 20 0 12 0;
#X connect 21 0 17 1;
#X connect 22 0 18 1;
#X connect 23 0 18 1;
#X connect 25 0 27 1;
#X connect 25 0 30 1;
#X connect 26 0 27 0;
#X connect 27 0 29 1;
#X connect 28 0 29 0;
#X connect 28 0 30 0;
#X connect 28 1 26 0;
#X connect 28 2 25 0;
#X connect 29 0 32 0;
#X connect 30 0 31 0;
#X connect 34 0 35 0;
#X connect 35 0 7 0;





More information about the Pd-cvs mailing list