From 5879bc9332a97d74274f79a1b9207928b3f2c11b Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sat, 29 Sep 2007 21:36:48 +0000 Subject: renamed help files to standard name and removed class_sethelpsymbol since it is unnecessary and gets in the way svn path=/trunk/externals/ekext/; revision=8774 --- polymap/help-polymap.pd | 62 ------------------------------------------------- polymap/polymap-help.pd | 62 +++++++++++++++++++++++++++++++++++++++++++++++++ polymap/polymap.c | 2 +- 3 files changed, 63 insertions(+), 63 deletions(-) delete mode 100755 polymap/help-polymap.pd create mode 100755 polymap/polymap-help.pd (limited to 'polymap') diff --git a/polymap/help-polymap.pd b/polymap/help-polymap.pd deleted file mode 100755 index 292f95e..0000000 --- a/polymap/help-polymap.pd +++ /dev/null @@ -1,62 +0,0 @@ -#N canvas 0 0 690 434 10; -#X obj 502 26 sieve; -#X obj 545 26 maskxor; -#X obj 26 26 polymap; -#X obj 438 26 polystat; -#X text 82 26 two-dimensional polyphony-restricted map. see also; -#X text 23 47 Poly map contains a 32x32 matrix in which values may -be stored. However \, only a set number of these values may be stored -as set by the right inlet \, and if this total is reached no more may -be stored until one is set to 0 again.; -#X floatatom 338 258 5 1 16 1 max_poly - -; -#X obj 92 334 polymap 3; -#X msg 45 199 note 4 2 1; -#X msg 68 233 note 10 4 0.756; -#X msg 77 250 note 11 4 1; -#X msg 57 216 note 6 8 3; -#X floatatom 116 364 5 0 0 3 new_y - -; -#X msg 223 199 note 4 2 0; -#X msg 230 216 note 6 8 0; -#X msg 237 233 note 10 4 0; -#X msg 244 250 note 11 4 0; -#X floatatom 170 364 5 0 0 3 polyphony - -; -#X floatatom 61 364 5 0 0 3 freed_x - -; -#X obj 226 361 print overflow; -#X text 24 149 noteons; -#X msg 337 297 print; -#X msg 337 317 print32; -#X text 379 297 print first 16x16; -#X text 392 317 print whole matrix; -#X msg 337 277 clear; -#X msg 18 165 note 1 1 1; -#X msg 32 182 note 2 2 1; -#X text 377 277 clear matrix; -#X msg 337 235 note 1 0 1; -#X msg 209 165 note 1 1 0; -#X msg 216 182 note 2 2 0; -#X text 416 235 voice_x and voice_y both start at 1; -#X text 158 335 initialization argument sets maximum polyphony; -#X text 23 100 Values are stored as messages in the form [note x y -value( where value is either 0 or some other value.; -#X text 217 147 noteoffs; -#X connect 6 0 7 1; -#X connect 7 0 18 0; -#X connect 7 1 12 0; -#X connect 7 2 17 0; -#X connect 7 3 19 0; -#X connect 8 0 7 0; -#X connect 9 0 7 0; -#X connect 10 0 7 0; -#X connect 11 0 7 0; -#X connect 13 0 7 0; -#X connect 14 0 7 0; -#X connect 15 0 7 0; -#X connect 16 0 7 0; -#X connect 21 0 7 0; -#X connect 22 0 7 0; -#X connect 25 0 7 0; -#X connect 26 0 7 0; -#X connect 27 0 7 0; -#X connect 29 0 7 0; -#X connect 30 0 7 0; -#X connect 31 0 7 0; diff --git a/polymap/polymap-help.pd b/polymap/polymap-help.pd new file mode 100755 index 0000000..292f95e --- /dev/null +++ b/polymap/polymap-help.pd @@ -0,0 +1,62 @@ +#N canvas 0 0 690 434 10; +#X obj 502 26 sieve; +#X obj 545 26 maskxor; +#X obj 26 26 polymap; +#X obj 438 26 polystat; +#X text 82 26 two-dimensional polyphony-restricted map. see also; +#X text 23 47 Poly map contains a 32x32 matrix in which values may +be stored. However \, only a set number of these values may be stored +as set by the right inlet \, and if this total is reached no more may +be stored until one is set to 0 again.; +#X floatatom 338 258 5 1 16 1 max_poly - -; +#X obj 92 334 polymap 3; +#X msg 45 199 note 4 2 1; +#X msg 68 233 note 10 4 0.756; +#X msg 77 250 note 11 4 1; +#X msg 57 216 note 6 8 3; +#X floatatom 116 364 5 0 0 3 new_y - -; +#X msg 223 199 note 4 2 0; +#X msg 230 216 note 6 8 0; +#X msg 237 233 note 10 4 0; +#X msg 244 250 note 11 4 0; +#X floatatom 170 364 5 0 0 3 polyphony - -; +#X floatatom 61 364 5 0 0 3 freed_x - -; +#X obj 226 361 print overflow; +#X text 24 149 noteons; +#X msg 337 297 print; +#X msg 337 317 print32; +#X text 379 297 print first 16x16; +#X text 392 317 print whole matrix; +#X msg 337 277 clear; +#X msg 18 165 note 1 1 1; +#X msg 32 182 note 2 2 1; +#X text 377 277 clear matrix; +#X msg 337 235 note 1 0 1; +#X msg 209 165 note 1 1 0; +#X msg 216 182 note 2 2 0; +#X text 416 235 voice_x and voice_y both start at 1; +#X text 158 335 initialization argument sets maximum polyphony; +#X text 23 100 Values are stored as messages in the form [note x y +value( where value is either 0 or some other value.; +#X text 217 147 noteoffs; +#X connect 6 0 7 1; +#X connect 7 0 18 0; +#X connect 7 1 12 0; +#X connect 7 2 17 0; +#X connect 7 3 19 0; +#X connect 8 0 7 0; +#X connect 9 0 7 0; +#X connect 10 0 7 0; +#X connect 11 0 7 0; +#X connect 13 0 7 0; +#X connect 14 0 7 0; +#X connect 15 0 7 0; +#X connect 16 0 7 0; +#X connect 21 0 7 0; +#X connect 22 0 7 0; +#X connect 25 0 7 0; +#X connect 26 0 7 0; +#X connect 27 0 7 0; +#X connect 29 0 7 0; +#X connect 30 0 7 0; +#X connect 31 0 7 0; diff --git a/polymap/polymap.c b/polymap/polymap.c index 7ad7c23..f2e2523 100755 --- a/polymap/polymap.c +++ b/polymap/polymap.c @@ -198,7 +198,7 @@ void polymap_setup(void) post("|. . . . . . . . .polymap. . . . . . . . .|"); post("|_- polyphonic chain reaction regulator -_|"); post("| . . . . . .Edward Kelly 2006. . . . . . |"); - class_sethelpsymbol(polymap_class, gensym("help-polymap")); + class_addmethod(polymap_class, (t_method)polymap_note, gensym("note"), A_DEFFLOAT, A_DEFFLOAT, A_DEFFLOAT, 0); class_addmethod(polymap_class, (t_method)polymap_clear, gensym("clear"), A_DEFFLOAT, 0); class_addmethod(polymap_class, (t_method)polymap_print, gensym("print"), A_DEFFLOAT, 0); -- cgit v1.2.1