Cabbage Logo
Back to Cabbage Site

Editing GEN02 with gentable

I am checking using gentable to edit GEN02-held values in integer steps and am getting unexpected results.

Here’s the GEN02 table:
i_ ftgen 1, 0, 8, -2, 2, 1, 1, 1, 1, 1, 1, 1

and the amprange for the corresponding gentable:
ampRange(1,4,1,1)

I would expect that when interacting with this gentable, it would give the following possible values:
1, 2, 3, 4
but the actual values are:
1, 1.75, 2.5, 3.25, 4

I guess there’s some funky maths going on in there. It seems to be setting the minimum value to ‘1’ that causes the issue.

Here’s the test csd:
GEN02test.csd (1.1 KB)

Thanks for the example csd Iain. I’ll take a look :slight_smile:

Fixed. New build triggered. :+1:

1 Like