Page 1 of 1

Posted: 25 May 2009, 14:38
by goyya76
Hello guys,

i tried to "play" with the new phase vocoder module...and a question came to my mind: how can i multiply the elements of two arrays? i mean, given array A and array B, do A1 x B1, A2 x B2,..., An x Bn (where n is the lenght of the array) and put the result in another array...i hope i'm not missing some simple module/script/wiki page...(maybe the roll array module??)

Thanks in advance!

Cheers,
Goyya :)

Posted: 25 May 2009, 14:56
by bsork
A lot (all?) of A+B, A-B, A/DB, etc modules takes arrays as inputs just the way you describe. I don't remember what happens if you use two different array sizes instead of one array and one single value or two arrays of same size, though. Check it if you need something like that.

(IIRC, Senso said in a post long ago that all data types are in fact arrays, with the "normal" data being an array of length 1.)

Posted: 26 May 2009, 17:59
by goyya76
Thanks Bsork!