Hallo IOhannes!
All the iem16 stuff does not work for me - don't know why ...
It does not find the array although I think I made it in a correct way ...
E.g. in iem16_array.c, line 25:
if (!(a = (t_table16 *)pd_findbyclass(x->x_arrayname, table16_class))) error("%s: no such array", x->x_arrayname->s_name);
here the array is not find - so I get the error ...
Do you have an idea which problem this could be ? (test patch attached)
LG Georg
#N canvas 264 156 594 392 10; #X msg 92 67 read16 data/sample1.wav; #X floatatom 425 92 5 0 0 0 - - -; #X obj 413 170 tab16read4~ test; #X obj 419 136 sig~; #X obj 435 254 snapshot~; #X obj 454 228 metro 200; #X floatatom 435 280 0 0 0 0 - - -; #X obj 461 202 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1; #X floatatom 276 146 5 0 0 0 - - -; #X floatatom 279 216 5 0 0 0 - - -; #X obj 275 176 tab16read test; #N canvas 0 0 450 300 (subpatch) 0; #X array array1 100 float 3; #A 0 0.571425 0.55714 0.542854 0.539493 0.536132 0.53277 0.529409 0.526048 0.522686 0.519325 0.515963 0.512602 0.509241 0.505879 0.502518 0.499157 0.495795 0.492434 0.489073 0.485712 0.478569 0.471426 0.464283 0.45714 0.449997 0.442855 0.435712 0.428569 0.428569 0.428569 0.428569 0.428569 0.371426 0.342855 0.32857 0.314284 0.285713 0.271427 0.257141 0.22857 0.214284 0.171428 0.157142 0.142856 0.114285 0.114285 0.0857138 0.0571425 0.0571425 0.0285712 0.0285712 0.0190475 0.00952374 -1.86265e-08 -0.00952377 -0.0190475 -0.0285713 -0.0428569 -0.0571425 -0.0571425 -0.0571425 -0.0857138 -0.0857138 -0.114285 -0.114285 -0.142856 -0.142856 -0.171428 -0.199999 -0.22857 -0.22857 -0.22857 -0.242856 -0.257141 -0.285713 -0.314284 -0.314284 -0.314284 -0.342855 -0.371427 -0.371427 -0.371427 -0.399998 -0.399998 -0.428569 -0.428569 -0.485712 -0.485712 -0.499997 -0.514283 -0.514283 -0.514283 -0.542854 -0.571425 -0.585711 -0.599997 -0.599997 -0.628568 -0.628568 -0.799995; #X coords 0 1 99 -1 200 140 1; #X restore 30 220 graph; #X obj 55 150 table16 test 100; #X msg 56 117 from array1; #X msg 344 95 set test; #X obj 281 334 tab16write test; #X floatatom 359 299 5 0 0 0 - - -; #X floatatom 281 295 5 0 0 0 - - -; #X connect 1 0 3 0; #X connect 2 0 4 0; #X connect 3 0 2 0; #X connect 4 0 6 0; #X connect 5 0 4 0; #X connect 7 0 5 0; #X connect 8 0 10 0; #X connect 10 0 9 0; #X connect 13 0 12 0; #X connect 14 0 10 0; #X connect 16 0 15 1; #X connect 17 0 15 0;
Georg Holzmann wrote:
Hallo IOhannes!
All the iem16 stuff does not work for me - don't know why ...
It does not find the array although I think I made it in a correct way ...
E.g. in iem16_array.c, line 25:
if (!(a = (t_table16 *)pd_findbyclass(x->x_arrayname, table16_class))) error("%s: no such array", x->x_arrayname->s_name);
here the array is not find - so I get the error ...
Do you have an idea which problem this could be ? (test patch attached)
yes: compile iem16 as a library!
seriously: afair, "table16_class" is defined static therefore the objects [table16], [tab16_read] and [tab16_write] (or however they are called) will refer to different classes with the same name; or something like this (cannot remember exactly)
please try compiling iem16 as library and check whether it works.
mfg.asdr IOhannes
Hallo!
yes: compile iem16 as a library!
Well, I tried it as library ...
seriously: afair, "table16_class" is defined static therefore the objects [table16], [tab16_read] and [tab16_write] (or however they are called) will refer to different classes with the same name; or something like this (cannot remember exactly)
Ups, that's it, removing the static does work ...
Should I commit this (should be no problem) ?
LG Georg