Page 1 of 1

Posted: 08 Jul 2012, 20:27
by r.erorr
hi.
I want to invert manually drawn log scale to exp scale. fore example if array size is 10 then
exp = log
1 = 9
2 = 8
3 = 7
4 = 6
5 = 5
6 = 4
7 = 3
8 = 2
9 = 1

But I have max array size and not only integer values. So I need some system how to do that. any ideas?

Posted: 09 Jul 2012, 07:26
by nay-seven
the swap array module can be a start..?

Posted: 09 Jul 2012, 09:27
by caco
How about (max value in array - value) + min value in array..?

1 = (9-1)+1) = 9
2 = (9-2)+1) = 8
3 = (9-3)+1) = 7
4 = (9-4)+1) = 6
5 = (9-5)+1) = 5
6 = (9-6)+1) = 4
7 = (9-7)+1) = 3
8 = (9-8)+1) = 2
9 = (9-9)+1) = 1

Posted: 09 Jul 2012, 12:26
by r.erorr
sorry... the question is right, but example wrong - yes, this is swap array.
maybe it is possible convert XY values to array? because I got this trayectory on panner module symetric XY mode.
Image

Posted: 09 Jul 2012, 15:46
by nay-seven
mm, not sure to follow here..we talk about array or XY pad..?
about XY , maybe edit layout/inverse Y axis ..?

Posted: 09 Jul 2012, 17:24
by r.erorr
We talk about array, but maybe trajectory on symetric XY can help here? because this is exactly what I need in array.
Image

Posted: 09 Jul 2012, 18:26
by nay-seven
so it's seems that swap + an 1-x module works :
Image

Posted: 09 Jul 2012, 23:10
by r.erorr
Ou, great, thanks!