Hallo, patco hat gesagt: // patco wrote:
next step in my crusader for replacing externals with native objects will be about replacing memento with ssad, textfile for this stuff is obviously necessary, thank you, Frank, for this great work.
I keep on saying that using a message box is more usefull for fixed memory settings, like in the GOP menu patch submitted before, than being in need of a textfile.
Any memory used for things that doesn't need to be saved under a preset, have absolutely no reason to be in an external file, it's irrelevant.
True, but they also have no need to be in a message box, if they are temporary anyway. You can just as well use a [textfile] without ever touching the "file" functionality of it: Just use it as a container for messages like you would use a message box. It's much easier to work with the textfile, because you can rewind it, get messages one by one etc. Attached is how this is done. You could also try to remove duplicates by using the "setable-route" idiom to filter out keys that already exist, but that is a bit more tricky.
Actually I'm currently using Georg's PDContainers a lot for storing and retrieving in-memory patterns and similar things. I have a feeling, that sometimes I'm just rebuilding [qlist] though, but h_multimap and h_list are just too tasty to ignore them for these purposes. A kind of "map" container is really something that is missing in core Pd IMO.
If it's relevant, but I don't see how it is.
Anyone knows a trick for replacing zexy/drip, and ggee/concat with internal objects?
[list] equals [concat] and [list]-abs is a collection of list-operations done with native objects in pd-0.39 and up. Zexy's drip is called list-drip.pd there. (The setable route from above is part of [list]-abs as well where it is called sroute.pd. In the attached patch I made it into a subpatch for simplicity.)
Frank Barknecht _ ______footils.org_ __goto10.org__