shithub: aubio

Download patch

ref: 08d21bf096cb2a2ab5ca3295e8bf8ff910102d82
parent: 52aee9bc252e25718b8d5b127e0d9683eb20a778
author: Paul Brossier <piem@altern.org>
date: Fri May 26 20:35:38 EDT 2006

move pd help to pattern-help.pd
move pd help to pattern-help.pd


--- a/plugins/puredata/Makefile.am
+++ b/plugins/puredata/Makefile.am
@@ -38,11 +38,11 @@
 ## Install the documentation.
 
 pdinstallref_DATA = \
-	help/help-aubioonset~.pd \
-	help/help-aubioquiet~.pd \
-	help/help-aubiotempo~.pd \
-	help/help-aubiotss~.pd \
-	help/help-aubiopitch~.pd
+	help/aubioonset~-help.pd \
+	help/aubioquiet~-help.pd \
+	help/aubiotempo~-help.pd \
+	help/aubiotss~-help.pd \
+	help/aubiopitch~-help.pd
 
 pdinstallexp_DATA = \
 	examples/onset-cam.pd
--- a/plugins/puredata/aubioonset~.c
+++ b/plugins/puredata/aubioonset~.c
@@ -112,8 +112,6 @@
 	class_addmethod(aubioonset_tilde_class, 
 			(t_method)aubioonset_tilde_debug,
         		gensym("debug"), 0);
-	class_sethelpsymbol(aubioonset_tilde_class, 
-			gensym("help-aubioonset~.pd"));
 	CLASS_MAINSIGNALIN(aubioonset_tilde_class, 
 			t_aubioonset_tilde, threshold);
 }
--- a/plugins/puredata/aubiopitch~.c
+++ b/plugins/puredata/aubiopitch~.c
@@ -110,8 +110,6 @@
 	class_addmethod(aubiopitch_tilde_class, 
 			(t_method)aubiopitch_tilde_debug,
         		gensym("debug"), 0);
-	class_sethelpsymbol(aubiopitch_tilde_class, 
-			gensym("help-aubiopitch~.pd"));
 	CLASS_MAINSIGNALIN(aubiopitch_tilde_class, 
 			t_aubiopitch_tilde, threshold);
 }
--- a/plugins/puredata/aubioquiet~.c
+++ b/plugins/puredata/aubioquiet~.c
@@ -111,8 +111,6 @@
 	class_addmethod(aubioquiet_tilde_class, 
 			(t_method)aubioquiet_tilde_debug,
         		gensym("debug"), 0);
-	class_sethelpsymbol(aubioquiet_tilde_class, 
-			gensym("help-aubioquiet~.pd"));
 	CLASS_MAINSIGNALIN(aubioquiet_tilde_class, 
 			t_aubioquiet_tilde, threshold);
 }
--- a/plugins/puredata/aubiotempo~.c
+++ b/plugins/puredata/aubiotempo~.c
@@ -149,8 +149,6 @@
 	class_addmethod(aubiotempo_tilde_class, 
 			(t_method)aubiotempo_tilde_debug,
         		gensym("debug"), 0);
-	class_sethelpsymbol(aubiotempo_tilde_class, 
-			gensym("help-aubiotempo~.pd"));
 	CLASS_MAINSIGNALIN(aubiotempo_tilde_class, 
 			t_aubiotempo_tilde, threshold);
 }
--- a/plugins/puredata/aubiotss~.c
+++ b/plugins/puredata/aubiotss~.c
@@ -131,8 +131,6 @@
 	class_addmethod(aubiotss_tilde_class, 
 			(t_method)aubiotss_tilde_debug,
         		gensym("debug"), 0);
-	class_sethelpsymbol(aubiotss_tilde_class, 
-			gensym("help-aubiotss~.pd"));
 	CLASS_MAINSIGNALIN(aubiotss_tilde_class, 
 			t_aubiotss_tilde, thres);
 }
--- /dev/null
+++ b/plugins/puredata/help/aubioonset~-help.pd
@@ -1,0 +1,18 @@
+#N canvas 245 501 672 291 10;
+#X obj 50 33 adc~;
+#X text 181 26 aubioonset~ takes an input signal and outputs a bang
+when an onset has been detected;
+#X text 180 64 this is somewhat similar to the bonk~ object \, except
+it should work on non-percussive attacks too.;
+#X obj 50 97 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
+-1;
+#X text 182 111 the creation argument and right input can be used to
+set the detection threshold. values between 0 and 10 are accepted.
+low values favorise over-detection. higher values will reduce the number
+of onset detected.;
+#X obj 50 65 aubioonset~ 0.3;
+#X floatatom 128 29 5 0 0 0 - - -;
+#X connect 0 0 5 0;
+#X connect 0 1 5 0;
+#X connect 5 0 3 0;
+#X connect 6 0 5 1;
--- /dev/null
+++ b/plugins/puredata/help/aubiopitch~-help.pd
@@ -1,0 +1,18 @@
+#N canvas 254 165 450 425 10;
+#X floatatom 126 230 5 0 0 0 - - -;
+#X obj 125 168 osc~ 440;
+#X obj 128 111 hsl 128 15 0 127 0 0 empty empty empty -2 -6 0 8 -262144
+-1 -1 8100 1;
+#X obj 125 131 mtof;
+#X floatatom 125 151 5 0 0 0 - - -;
+#X obj 141 200 aubiopitch~;
+#X obj 103 274 dac~;
+#X obj 126 250 osc~;
+#X connect 0 0 7 0;
+#X connect 1 0 5 0;
+#X connect 1 0 6 0;
+#X connect 2 0 3 0;
+#X connect 3 0 4 0;
+#X connect 4 0 1 0;
+#X connect 5 0 0 0;
+#X connect 7 0 6 1;
--- /dev/null
+++ b/plugins/puredata/help/aubioquiet~-help.pd
@@ -1,0 +1,20 @@
+#N canvas 225 643 515 246 10;
+#X obj 20 28 adc~;
+#X obj 19 192 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
+-1;
+#X obj 119 192 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
+-1;
+#X obj 19 156 aubioquiet~ -90;
+#X text 140 193 noisy;
+#X text 38 192 quiet;
+#X text 60 26 aubioquiet~ outputs bangs: - on its left input when a
+change to silence is detected - on its right output when a change to
+loudness is detected;
+#X text 59 82 object creation argument and right input can be used
+to set the noise threshold \, in dB. default value is -90;
+#X text 182 138 this object was written as an exercise and test. note
+that it could also easily be rewritten as a patch.;
+#X connect 0 0 3 0;
+#X connect 0 1 3 0;
+#X connect 3 0 1 0;
+#X connect 3 1 2 0;
--- /dev/null
+++ b/plugins/puredata/help/aubiotempo~-help.pd
@@ -1,0 +1,16 @@
+#N canvas 245 501 672 291 10;
+#X obj 50 33 adc~;
+#X obj 50 97 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
+-1;
+#X floatatom 128 29 5 0 0 0 - - -;
+#X text 180 71 the creation argument and right input can be used to
+set the detection threshold of the onset detection function. see the
+documentation for aubioonset~;
+#X obj 50 65 aubiotempo~ 0.3;
+#X text 181 26 aubiotempo~ takes an input signal and outputs a bang
+when at each detected beat location.;
+#X text 416 45;
+#X connect 0 0 4 0;
+#X connect 0 1 4 0;
+#X connect 2 0 4 1;
+#X connect 4 0 1 0;
--- /dev/null
+++ b/plugins/puredata/help/aubiotss~-help.pd
@@ -1,0 +1,70 @@
+#N canvas 332 424 550 443 10;
+#X msg 173 64 debug;
+#X obj 138 11 adc~;
+#X obj 183 421 dac~;
+#X floatatom 244 74 5 0 0 0 - - -;
+#X obj 221 12 hsl 256 15 0 256 0 0 empty empty empty -2 -6 0 8 -262144
+-1 -1 25200 1;
+#X obj 167 182 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1
+1;
+#X obj 267 185 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1
+1;
+#X text 265 161 play steady states components;
+#X text 8 160 play transients;
+#X floatatom 10 226 5 0 0 0 - - -;
+#X obj 13 182 hsl 128 15 0 127 0 0 empty empty empty -2 -6 0 8 -262144
+-1 -1 11700 1;
+#X floatatom 285 225 5 0 0 0 - - -;
+#X obj 301 186 hsl 128 15 0 127 0 0 empty empty empty -2 -6 0 8 -262144
+-1 -1 4100 1;
+#X text 236 -1 separation threshold;
+#X obj 144 96 aubiotss~ 0.015;
+#X text 265 99 transient and steady state separation;
+#X obj 244 239 *~ 1;
+#X obj 244 267 *~ 1;
+#X obj 144 240 *~ 1;
+#X obj 144 265 *~ 1;
+#X obj 285 204 / 68;
+#X obj 10 203 / 68;
+#X obj 244 51 / 256;
+#X obj 172 350 *~;
+#X obj 222 334 *~;
+#X obj 199 219 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
+1;
+#X text 185 204 stereo;
+#X obj 311 139 aubiotss~ 0.015;
+#X obj 299 68 * -1;
+#X obj 353 63 + 1;
+#X floatatom 412 63 5 0 0 0 - - -;
+#X connect 0 0 14 0;
+#X connect 1 0 14 0;
+#X connect 1 0 27 0;
+#X connect 1 1 14 0;
+#X connect 1 1 27 0;
+#X connect 3 0 14 1;
+#X connect 3 0 28 0;
+#X connect 4 0 22 0;
+#X connect 5 0 19 1;
+#X connect 6 0 17 1;
+#X connect 9 0 18 1;
+#X connect 10 0 21 0;
+#X connect 11 0 16 1;
+#X connect 12 0 20 0;
+#X connect 14 0 18 0;
+#X connect 16 0 17 0;
+#X connect 17 0 2 1;
+#X connect 17 0 24 0;
+#X connect 18 0 19 0;
+#X connect 19 0 2 0;
+#X connect 19 0 23 0;
+#X connect 20 0 11 0;
+#X connect 21 0 9 0;
+#X connect 22 0 3 0;
+#X connect 23 0 2 1;
+#X connect 24 0 2 0;
+#X connect 25 0 23 0;
+#X connect 25 0 24 1;
+#X connect 27 1 16 0;
+#X connect 28 0 29 0;
+#X connect 29 0 30 0;
+#X connect 30 0 27 1;
--- a/plugins/puredata/help/help-aubioonset~.pd
+++ /dev/null
@@ -1,18 +1,0 @@
-#N canvas 245 501 672 291 10;
-#X obj 50 33 adc~;
-#X text 181 26 aubioonset~ takes an input signal and outputs a bang
-when an onset has been detected;
-#X text 180 64 this is somewhat similar to the bonk~ object \, except
-it should work on non-percussive attacks too.;
-#X obj 50 97 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
--1;
-#X text 182 111 the creation argument and right input can be used to
-set the detection threshold. values between 0 and 10 are accepted.
-low values favorise over-detection. higher values will reduce the number
-of onset detected.;
-#X obj 50 65 aubioonset~ 0.3;
-#X floatatom 128 29 5 0 0 0 - - -;
-#X connect 0 0 5 0;
-#X connect 0 1 5 0;
-#X connect 5 0 3 0;
-#X connect 6 0 5 1;
--- a/plugins/puredata/help/help-aubiopitch~.pd
+++ /dev/null
@@ -1,18 +1,0 @@
-#N canvas 254 165 450 425 10;
-#X floatatom 126 230 5 0 0 0 - - -;
-#X obj 125 168 osc~ 440;
-#X obj 128 111 hsl 128 15 0 127 0 0 empty empty empty -2 -6 0 8 -262144
--1 -1 8100 1;
-#X obj 125 131 mtof;
-#X floatatom 125 151 5 0 0 0 - - -;
-#X obj 141 200 aubiopitch~;
-#X obj 103 274 dac~;
-#X obj 126 250 osc~;
-#X connect 0 0 7 0;
-#X connect 1 0 5 0;
-#X connect 1 0 6 0;
-#X connect 2 0 3 0;
-#X connect 3 0 4 0;
-#X connect 4 0 1 0;
-#X connect 5 0 0 0;
-#X connect 7 0 6 1;
--- a/plugins/puredata/help/help-aubioquiet~.pd
+++ /dev/null
@@ -1,20 +1,0 @@
-#N canvas 225 643 515 246 10;
-#X obj 20 28 adc~;
-#X obj 19 192 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
--1;
-#X obj 119 192 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
--1;
-#X obj 19 156 aubioquiet~ -90;
-#X text 140 193 noisy;
-#X text 38 192 quiet;
-#X text 60 26 aubioquiet~ outputs bangs: - on its left input when a
-change to silence is detected - on its right output when a change to
-loudness is detected;
-#X text 59 82 object creation argument and right input can be used
-to set the noise threshold \, in dB. default value is -90;
-#X text 182 138 this object was written as an exercise and test. note
-that it could also easily be rewritten as a patch.;
-#X connect 0 0 3 0;
-#X connect 0 1 3 0;
-#X connect 3 0 1 0;
-#X connect 3 1 2 0;
--- a/plugins/puredata/help/help-aubiotempo~.pd
+++ /dev/null
@@ -1,16 +1,0 @@
-#N canvas 245 501 672 291 10;
-#X obj 50 33 adc~;
-#X obj 50 97 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
--1;
-#X floatatom 128 29 5 0 0 0 - - -;
-#X text 180 71 the creation argument and right input can be used to
-set the detection threshold of the onset detection function. see the
-documentation for aubioonset~;
-#X obj 50 65 aubiotempo~ 0.3;
-#X text 181 26 aubiotempo~ takes an input signal and outputs a bang
-when at each detected beat location.;
-#X text 416 45;
-#X connect 0 0 4 0;
-#X connect 0 1 4 0;
-#X connect 2 0 4 1;
-#X connect 4 0 1 0;
--- a/plugins/puredata/help/help-aubiotss~.pd
+++ /dev/null
@@ -1,70 +1,0 @@
-#N canvas 332 424 550 443 10;
-#X msg 173 64 debug;
-#X obj 138 11 adc~;
-#X obj 183 421 dac~;
-#X floatatom 244 74 5 0 0 0 - - -;
-#X obj 221 12 hsl 256 15 0 256 0 0 empty empty empty -2 -6 0 8 -262144
--1 -1 25200 1;
-#X obj 167 182 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1
-1;
-#X obj 267 185 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1
-1;
-#X text 265 161 play steady states components;
-#X text 8 160 play transients;
-#X floatatom 10 226 5 0 0 0 - - -;
-#X obj 13 182 hsl 128 15 0 127 0 0 empty empty empty -2 -6 0 8 -262144
--1 -1 11700 1;
-#X floatatom 285 225 5 0 0 0 - - -;
-#X obj 301 186 hsl 128 15 0 127 0 0 empty empty empty -2 -6 0 8 -262144
--1 -1 4100 1;
-#X text 236 -1 separation threshold;
-#X obj 144 96 aubiotss~ 0.015;
-#X text 265 99 transient and steady state separation;
-#X obj 244 239 *~ 1;
-#X obj 244 267 *~ 1;
-#X obj 144 240 *~ 1;
-#X obj 144 265 *~ 1;
-#X obj 285 204 / 68;
-#X obj 10 203 / 68;
-#X obj 244 51 / 256;
-#X obj 172 350 *~;
-#X obj 222 334 *~;
-#X obj 199 219 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
-1;
-#X text 185 204 stereo;
-#X obj 311 139 aubiotss~ 0.015;
-#X obj 299 68 * -1;
-#X obj 353 63 + 1;
-#X floatatom 412 63 5 0 0 0 - - -;
-#X connect 0 0 14 0;
-#X connect 1 0 14 0;
-#X connect 1 0 27 0;
-#X connect 1 1 14 0;
-#X connect 1 1 27 0;
-#X connect 3 0 14 1;
-#X connect 3 0 28 0;
-#X connect 4 0 22 0;
-#X connect 5 0 19 1;
-#X connect 6 0 17 1;
-#X connect 9 0 18 1;
-#X connect 10 0 21 0;
-#X connect 11 0 16 1;
-#X connect 12 0 20 0;
-#X connect 14 0 18 0;
-#X connect 16 0 17 0;
-#X connect 17 0 2 1;
-#X connect 17 0 24 0;
-#X connect 18 0 19 0;
-#X connect 19 0 2 0;
-#X connect 19 0 23 0;
-#X connect 20 0 11 0;
-#X connect 21 0 9 0;
-#X connect 22 0 3 0;
-#X connect 23 0 2 1;
-#X connect 24 0 2 0;
-#X connect 25 0 23 0;
-#X connect 25 0 24 1;
-#X connect 27 1 16 0;
-#X connect 28 0 29 0;
-#X connect 29 0 30 0;
-#X connect 30 0 27 1;