[PD] strange behaviour for look up table operation

mick mengucci misturapura at gmail.com
Thu Nov 12 02:43:04 CET 2015

Hi lists,
we are making a new abstraction in Pd to convert from color space RGB to
CIE-Lch using a look up table. We map all the RGB triplets to an index of
the LUT that points to the correct conversion to CIE-Lch.

The problem is that when using [hsv2rgb] we get the same index number as
inputting directly the rgb triplet but different result from the look up

How is that possible???

Here's a simplification of the patch to illustrate the problem (warning:
there are three tables with 1.65814e+07 values)


I hope somebody will have the patience to explain this very strange
behaviour of an apparently simple message to expression and look up table
operation. Maybe the size of the table and of the index is the reason for
it? We run Xubuntu and Pd 64bits.


pure mixture vibration since 1995
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20151112/2656e36a/attachment-0001.html>

More information about the Pd-list mailing list