[PD] [wrap] behavior, zexy vs. vanilla 0.42
fbar at footils.org
Sun Dec 27 12:04:13 CET 2009
Hans-Christoph Steiner hat gesagt: // Hans-Christoph Steiner wrote:
> I was just looking at Pd 0.42.5's [wrap]. It doesn't use arguments like
> zexy's [wrap]. Since each has different behavior, it seems like a good
> time to look at how [wrap] should handle its upper and lower limits.
> Since [wrap] is closely related to [clip], it should be structured the
> same way, in terms of arguments and inlets:
> - first arg sets min
> - second arg set max
> - first inlet accepts numbers to wrap
> - second inlet sets min
> - third inlet sets max
> - arguments default to 0 and 1
> zexy's is the same as this, except for the inlets.
The third [wrap] in maxlib is what you describe, but I think, zexy's wrap
behaves differently: It doesn't care about min or max at all, instead it sorts
both limits automatically internally.
More information about the Pd-list