Welcome to %s forums

BrainModular Users Forum

Login Register

what's wrong with "set array size"?

I need help on a Patch
Post Reply
r.erorr
Member
Posts: 405
Location: Latvia
Contact:

Unread post by r.erorr » 28 Feb 2015, 23:05

what I'm trying to do is "get all index[s] > 0" and create new array out of those values. I'm bit confused with result cause set array size somehow doesn't work. In this example set array size is 4 and output is 3, but also other variations happen. Do you know what's wrong here? why output of new size is 3 instead of 4?
There patch download


Image

23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 02 Mar 2015, 21:05

mmm qtrange, here on opening i got a correct size out of 4..

r.erorr
Member
Posts: 405
Location: Latvia
Contact:

Unread post by r.erorr » 05 Mar 2015, 20:55

yes, strange, I have no problems on usine v5. This happens only on hollyhook

r.erorr
Member
Posts: 405
Location: Latvia
Contact:

Unread post by r.erorr » 05 Mar 2015, 23:38

ok, solved the problem with "extract sub array" instead of "set array size" and two "wait 1 block" modules.

With this patch I can draw list of different values, set or delete array elements dynamically. For example it is possible to randomize specific samples only: 1,3,8,15 or 13,14,16,2,4,6,9 or whatever . . . That is draw the list for random
slected_random

Post Reply

Who is online

Users browsing this forum: No registered users and 14 guests