Forums > MaxMSP

funnel offset bug

May 28, 2009 | 3:42 am

There is a bug in funnel where if I send the [offset 1] message to funnel, the number corresponding the second inlet says 1 when it should say 2. If I set the offset as an argument then it works fine.

I’m using it in a patch that calculates the offset dynamically, so I have to use the message. Also, this bug might be true for other offsets but I haven’t really looked.

– Pasted Max Patch, click to expand. –

May 28, 2009 | 5:45 am

After a quick test, it seems that this problem occurs regardless of the funnel size, and only an offset of 0, 1, or 2.

When the offset is 2, funnel prepends 1 3 4 5…, at offset 0 im getting 0 1 5 3 (????)

– Pasted Max Patch, click to expand. –

May 28, 2009 | 7:22 am

There’s a system in it. What happens with the offset 2 message is that the first index remains untouched, with offset 1 the second index and with offset 0 the third index. Attached patch shows that (5.0.7).

_
johan

– Pasted Max Patch, click to expand. –

May 28, 2009 | 10:24 am

Thanks for the report.


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