[PD] announce: maphash object for pd
mark
mark at junklight.com
Mon Apr 1 21:41:16 CEST 2002
Cool, I've been wanting one of these for a bit - never got 'round to
it. If no one else gets round to it I'll knock you up a windows makefile
later in the week
cheers
mark
-----Original Message-----
From: Orm Finnendahl [mailto:finnendahl at folkwang-hochschule.de]
Sent: 01 April 2002 19:43
To: pd-list at iem.kug.ac.at
Subject: [PD] announce: maphash object for pd
Hi all,
I just want to announce a new object for pd. It's called maphash, with
additional mapread and mapwrite objects and implements hashtables to
store and retrieve arbitrary lists referenced by arbitrary floats or
symbols as keyvalues. I use it for quite a while now and it seems to
be pretty stable. Below is a somewhat clearer description. For those
who are interested it's located at:
icem-www.folkwang-hochschule.de/~finnendahl/pd.html
In the moment the makefile is for Linux only. It should compile right
away on windows, as it doesn't use any linux specific stuff. Maybe
someone can provide the necessary changes as I don't know anything of
windows at all?
--
orm
Description
The maphash/mapwrite/mapread externals implement hashtables for the
association of arbitrary lists to symbols or numbers. In other words
it provides a namespace in which values can be assigned to symbols or
numbers for later retrieval, comparable to value assignment in a
programming language like pascal or c. The associated values can be
retrieved and set locally at different locations within a patch by
using multiple instances of the mapread or mapwrite object. In this
sense, the object is similar to the table mechanism of pd (with the
respective tabread and tabwrite objects to store and retrieve values),
with the difference of being able to store symbols and lists. Another
source of inspiration was Max/MSP's coll object. The code is based on
Travis Newhouse's mapper object found at
http://www-cse.ucsd.edu/~newhouse/externs and is released under the
Gnu Public License.
More information about the Pd-list
mailing list