Frank Barknecht wrote:
Hallo, Enrique Erne hat gesagt: // Enrique Erne wrote:
additionally i created a new [sssad key] "on the fly". this one has now thanks to the original method (of singleton) no initial first setting. ...but if created "on the fly" it does not have the correct content. -->but the original sssad has the same problem afaik.
Yes, that's true, but IMO it's not a big problem: Just press "set" twice. ;)
surely no problem for me.
(The known bigger problem is that deleting the first [sssad key] will break all other [sssad key] until you reload the patch.
i had an idea about that. in the last version every sssad instance stores the content. this was not on purpose but it could be used to do a check on the event of saving. the loadband event is now exchanged and the check is when the user does the save. one disadvantage is that there is more sssad communication everytime a user saves. not sure if you want to go that way. please check the attached version.
eni
#N canvas 267 25 801 443 10; #X obj 133 24 inlet; #X obj 133 387 outlet; #X obj 133 315 list; #X obj 156 131 r SSSAD; #X obj 198 96 s SSSAD; #X obj 198 64 list prepend $1; #X obj 156 159 list trim; #X obj 198 24 inlet; #X obj 36 218 r SSSAD_ADMIN; #X obj 36 276 b; #X obj 36 248 route set; #X obj 133 51 b; #X obj 156 222 route $1; #X obj 286 311 list; #X obj 286 382 s SSSAD_ADMIN; #X obj 286 131 r SSSAD_ADMIN; #X obj 286 239 spigot; #X obj 619 226 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1 1; #X obj 600 77 value $1.SSSAD.req; #X obj 600 137 select 0; #X obj 600 167 f 1; #X obj 286 341 list prepend persist $1; #X obj 286 169 route save; #X obj 286 199 t b b; #X msg 509 303 0; #X obj 482 357 s $1.SSSAD.ask; #X obj 600 107 t a b; #X obj 509 328 value $1.SSSAD.req; #X obj 599 46 r $1.SSSAD.ask; #X obj 482 279 t b b; #X obj 685 101 + 1; #X obj 600 191 t a; #X text 642 225 <- boss?; #X connect 0 0 11 0; #X connect 2 0 1 0; #X connect 3 0 6 0; #X connect 5 0 4 0; #X connect 6 0 12 0; #X connect 7 0 5 0; #X connect 8 0 10 0; #X connect 9 0 2 0; #X connect 10 0 9 0; #X connect 11 0 2 0; #X connect 12 0 2 1; #X connect 12 0 13 1; #X connect 13 0 21 0; #X connect 15 0 22 0; #X connect 16 0 13 0; #X connect 18 0 26 0; #X connect 19 0 20 0; #X connect 20 0 31 0; #X connect 21 0 14 0; #X connect 22 0 23 0; #X connect 23 0 16 0; #X connect 23 1 29 0; #X connect 24 0 27 0; #X connect 24 0 31 0; #X connect 26 0 19 0; #X connect 26 1 30 0; #X connect 28 0 18 0; #X connect 29 0 25 0; #X connect 29 1 24 0; #X connect 30 0 18 0; #X connect 31 0 16 1; #X connect 31 0 17 0;