Forums > MaxMSP

Trouble reading and writing itable at the same time.

Mar 29 2010 | 6:18 pm

I’m trying to read a value (y) from itable at position (X), perform a calculation on the y value then write the new value and then move to the next position (x). Max is getting confused and often thinks my y value is associated with the x value before or after then x value it is actually associated with.

— Pasted Max Patch, click to expand. —

This may be just be a large lack of any ordering with triggers.

Any help is appreciated.

Apr 01 2010 | 12:40 am

This sounds like a problem with [buddy].
I wouldn’t use it in this context, because depending on what inlet
gets the very first input, you’ll get different pairings.

An alternativ would be to give the itable a name (inspector/table name).
Then you can use multiple [table "tablename"] objects, that share the
same data but have decoupled read/write.

This will make the patch more cleaner and easier to debug.

Viewing 2 posts - 1 through 2 (of 2 total)

Forums > MaxMSP