ArrayArrayArrayArray BrainModular BrainModular Users Forum 2018-12-27T23:23:45+02:00 https://brainmodular.com/forums/app.php/feed/topic/6365 2018-12-27T23:23:45+02:00 2018-12-27T23:23:45+02:00 https://brainmodular.com/forums/viewtopic.php?t=6365&p=40636#p40636 <![CDATA[stop flow if array value is 0 (or filter out 0 in general)]]> Statistics: Posted by 23fx23 — 27 Dec 2018, 22:23


]]>
2018-12-27T20:03:09+02:00 2018-12-27T20:03:09+02:00 https://brainmodular.com/forums/viewtopic.php?t=6365&p=40634#p40634 <![CDATA[stop flow if array value is 0 (or filter out 0 in general)]]>
But if you're getting one value at a time from Array queue, then it get's tricky
Indeed, that's the problem.
EDIT: actually, when Array value is 0 you can trigger (by same '=' module) Data Selector from input 1 to input 0 or 2 where there's no value present. So that way 0 will get nowhere and properly replaced by value after it (if it's not 0).
Sounds like a good idea.I'll check this out, thanks!

tL.

Statistics: Posted by lytz1 — 27 Dec 2018, 19:03


]]>
2018-12-27T18:54:59+02:00 2018-12-27T18:54:59+02:00 https://brainmodular.com/forums/viewtopic.php?t=6365&p=40631#p40631 <![CDATA[stop flow if array value is 0 (or filter out 0 in general)]]> http://www.sensomusic.org/manual/en/mod ... array-clip

But if you're getting one value at a time from Array queue, then it get's tricky, because even if you wire it to Stop flow and activate that by '=' module that compares value to 0, as soon as value isn't 0, I think that 0 will get through after being held by Stop flow. At least I think I've dealt with such problem before and usually I just changed my approach so I don't have to do such thing.

EDIT: actually, when Array value is 0 you can trigger (by same '=' module) Data Selector from input 1 to input 0 or 2 where there's no value present. So that way 0 will get nowhere and properly replaced by value after it (if it's not 0).

Statistics: Posted by x.iso — 27 Dec 2018, 17:54


]]>
2018-12-27T18:35:54+02:00 2018-12-27T18:35:54+02:00 https://brainmodular.com/forums/viewtopic.php?t=6365&p=40630#p40630 <![CDATA[stop flow if array value is 0 (or filter out 0 in general)]]>
I am trying to figure out how to filter out zeros from an
ever-changing array-queue stream.

There might be two approaches to this:

1) To filter out zeros. But I didn't find a data range filter.

2) To only pass flow if x NOT 0. But it seems I am too dumb today,
somehow I can't figure out how to do that either.

Any ideas on how to approach this?

Thanks,
tL.

Statistics: Posted by lytz1 — 27 Dec 2018, 17:35


]]>
BrainModular BrainModular Users Forum 2018-12-27T23:23:45+02:00 https://brainmodular.com/forums/app.php/feed/topic/6365 2018-12-27T23:23:45+02:00 2018-12-27T23:23:45+02:00 https://brainmodular.com/forums/viewtopic.php?t=6365&p=40636#p40636 <![CDATA[stop flow if array value is 0 (or filter out 0 in general)]]> Statistics: Posted by 23fx23 — 27 Dec 2018, 22:23


]]>
2018-12-27T20:03:09+02:00 2018-12-27T20:03:09+02:00 https://brainmodular.com/forums/viewtopic.php?t=6365&p=40634#p40634 <![CDATA[stop flow if array value is 0 (or filter out 0 in general)]]>
But if you're getting one value at a time from Array queue, then it get's tricky
Indeed, that's the problem.
EDIT: actually, when Array value is 0 you can trigger (by same '=' module) Data Selector from input 1 to input 0 or 2 where there's no value present. So that way 0 will get nowhere and properly replaced by value after it (if it's not 0).
Sounds like a good idea.I'll check this out, thanks!

tL.

Statistics: Posted by lytz1 — 27 Dec 2018, 19:03


]]>
2018-12-27T18:54:59+02:00 2018-12-27T18:54:59+02:00 https://brainmodular.com/forums/viewtopic.php?t=6365&p=40631#p40631 <![CDATA[stop flow if array value is 0 (or filter out 0 in general)]]> http://www.sensomusic.org/manual/en/mod ... array-clip

But if you're getting one value at a time from Array queue, then it get's tricky, because even if you wire it to Stop flow and activate that by '=' module that compares value to 0, as soon as value isn't 0, I think that 0 will get through after being held by Stop flow. At least I think I've dealt with such problem before and usually I just changed my approach so I don't have to do such thing.

EDIT: actually, when Array value is 0 you can trigger (by same '=' module) Data Selector from input 1 to input 0 or 2 where there's no value present. So that way 0 will get nowhere and properly replaced by value after it (if it's not 0).

Statistics: Posted by x.iso — 27 Dec 2018, 17:54


]]>
2018-12-27T18:35:54+02:00 2018-12-27T18:35:54+02:00 https://brainmodular.com/forums/viewtopic.php?t=6365&p=40630#p40630 <![CDATA[stop flow if array value is 0 (or filter out 0 in general)]]>
I am trying to figure out how to filter out zeros from an
ever-changing array-queue stream.

There might be two approaches to this:

1) To filter out zeros. But I didn't find a data range filter.

2) To only pass flow if x NOT 0. But it seems I am too dumb today,
somehow I can't figure out how to do that either.

Any ideas on how to approach this?

Thanks,
tL.

Statistics: Posted by lytz1 — 27 Dec 2018, 17:35


]]>