funnel offset bug

May 28, 2009 at 3:42am

funnel offset bug

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. –
#44124
May 28, 2009 at 5:45am

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. –
#158595
May 28, 2009 at 7:22am

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. –
#158596
May 28, 2009 at 10:24am

Thanks for the report.

#158597

You must be logged in to reply to this topic.