ArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArrayArray BrainModular BrainModular Users Forum 2013-09-05T00:32:38+02:00 https://brainmodular.org/forums/app.php/feed/topic/4027 2013-09-05T00:32:38+02:00 2013-09-05T00:32:38+02:00 https://brainmodular.org/forums/viewtopic.php?t=4027&p=27663#p27663 <![CDATA[Resending an event? (Bang a event again)]]>
My final solution is working now. I do a store and a get at the same time. Maybe I change it later on to your solution.

Tnx again!

Peter

Statistics: Posted by hesspet — 05 Sep 2013, 00:32


]]>
2013-09-01T19:10:25+02:00 2013-09-01T19:10:25+02:00 https://brainmodular.org/forums/viewtopic.php?t=4027&p=27622#p27622 <![CDATA[Resending an event? (Bang a event again)]]> Download

@ynohtna : can you give us a patch to illustrate your question please ?

Statistics: Posted by nay-seven — 01 Sep 2013, 19:10


]]>
2013-09-01T14:46:26+02:00 2013-09-01T14:46:26+02:00 https://brainmodular.org/forums/viewtopic.php?t=4027&p=27620#p27620 <![CDATA[Resending an event? (Bang a event again)]]>
Changing the length of an array outlet to 0 does not seem to trigger an update callback on downstream modules. So triggering "ClearAll" on the StoreArrays module does not result in downstream modules being notified that the values have been cleared.

Statistics: Posted by ynohtna — 01 Sep 2013, 14:46


]]>
2013-09-01T14:22:51+02:00 2013-09-01T14:22:51+02:00 https://brainmodular.org/forums/viewtopic.php?t=4027&p=27617#p27617 <![CDATA[Resending an event? (Bang a event again)]]>
And this alteration check only seems - from what I can tell - to happen between processing frames. Altering an element of the array (or it's length) then changing it back immediately doesn't set any "modified" flags, so there must be a contents comparison occurring on the target module's Callback check.

Sorry for rambling!

Statistics: Posted by ynohtna — 01 Sep 2013, 14:22


]]>
2013-09-01T11:24:13+02:00 2013-09-01T11:24:13+02:00 https://brainmodular.org/forums/viewtopic.php?t=4027&p=27616#p27616 <![CDATA[Resending an event? (Bang a event again)]]>
Your had the same idea using a sort of a delay. I think we could mark this solved. It looks, that there is no better solution available.

Thanks again!

Peter

P.S.: If someone can explain me, why the second update of the same data is ignored, feel free to explain that. I'm sure I'm not the only user who struggles over this. :lol: (It's the quest for the "bang the same value twice")

Statistics: Posted by hesspet — 01 Sep 2013, 11:24


]]>
2013-09-01T11:16:11+02:00 2013-09-01T11:16:11+02:00 https://brainmodular.org/forums/viewtopic.php?t=4027&p=27615#p27615 <![CDATA[Resending an event? (Bang a event again)]]>
You stand up earlier :-)

my solution;

Image

I build a "bloc sequencer" which switches 2 patterns. A empty prefilled and the pattern which should be repeated.

I'll will look into you patch after writing this.
First of all: Thanks for you helpful support!

Peter

P.S: Does not work if the repeated pattern is a empty pattern. But, ok, I can live with that...;)

Statistics: Posted by hesspet — 01 Sep 2013, 11:16


]]>
2013-09-01T10:06:26+02:00 2013-09-01T10:06:26+02:00 https://brainmodular.org/forums/viewtopic.php?t=4027&p=27614#p27614 <![CDATA[Resending an event? (Bang a event again)]]> waiting for this, here a workaround : sending 2 values : preset 0 ( or any other in fact) then your preset

Download

Statistics: Posted by nay-seven — 01 Sep 2013, 10:06


]]>
2013-09-01T02:21:38+02:00 2013-09-01T02:21:38+02:00 https://brainmodular.org/forums/viewtopic.php?t=4027&p=27613#p27613 <![CDATA[Resending an event? (Bang a event again)]]>
OK, the recal I get working. So the "magic" is setting explicit the num before the "get"
But when I follow your rule, and I try a second get on num=1, cause I need the pattern 2 or more times to feed into a sequencer, this will not work.

I did not understand why this happen (or not happen). My problem is the sending the same pattern a second time.
This is something I can't figure out. Maybe there is a sort of "optimisation" in Usine. The same value is not sent to an import pin, a second time?

Peter

Statistics: Posted by hesspet — 01 Sep 2013, 02:21


]]>
2013-09-01T01:01:43+02:00 2013-09-01T01:01:43+02:00 https://brainmodular.org/forums/viewtopic.php?t=4027&p=27612#p27612 <![CDATA[Resending an event? (Bang a event again)]]>
matrix A created
current number =0
Store

change matrix A
current num=1
store

now :
current num=0
Get
will recall first preset on matrix B

num=1
Get
will recall second preset on matrix B

Statistics: Posted by nay-seven — 01 Sep 2013, 01:01


]]>
2013-09-01T00:19:12+02:00 2013-09-01T00:19:12+02:00 https://brainmodular.org/forums/viewtopic.php?t=4027&p=27611#p27611 <![CDATA[Resending an event? (Bang a event again)]]>
I'm pretty deep in the water... "store" does not work or I undertand something wrong!

If I run this test patch:

Image

Walk-Through:

- klick some spots in the first matrix
- press "button store"
Result: spots are visible(copied) in the second matrix

From my point of view the array is stored.

- then I press "reset b"
Result: the second matrix is not cleared. ->OK
- then I press "button get"

Result: ----> nothing happend., the second matrix should be filled again, but this does not happen.

The "get" does not fire anything. I put some traces into the script. I see, that the arrayOut is filled, but I get no output.
Is my understanding/usage here wrong? ;)

Peter

Statistics: Posted by hesspet — 01 Sep 2013, 00:19


]]>
2013-08-31T22:54:28+02:00 2013-08-31T22:54:28+02:00 https://brainmodular.org/forums/viewtopic.php?t=4027&p=27610#p27610 <![CDATA[Resending an event? (Bang a event again)]]>

Thanks. That what I was looking for. Perfect.

Statistics: Posted by hesspet — 31 Aug 2013, 22:54


]]>
2013-08-31T00:27:03+02:00 2013-08-31T00:27:03+02:00 https://brainmodular.org/forums/viewtopic.php?t=4027&p=27598#p27598 <![CDATA[Resending an event? (Bang a event again)]]> store array script can do this
15 presets (more if you want) where you can store and get ( use pass/stop modules if needed)

Statistics: Posted by nay-seven — 31 Aug 2013, 00:27


]]>
2013-08-30T23:40:06+02:00 2013-08-30T23:40:06+02:00 https://brainmodular.org/forums/viewtopic.php?t=4027&p=27597#p27597 <![CDATA[Resending an event? (Bang a event again)]]>
I have a matrix which creates an "array data event" that works fine. The event is received somewhere, if something is changed in the matrix. And now - I've the need, that the whole array event must be send again, without any chance on the surface. But how to do that? Usine has no "bang" link we have this in MAX/MSP.

I'm looking for a way to send the event more than one time. Maybe I've tomatos on the eyes, but know im stuck.

How to solve this?

Is there a way to store a event and resend/create it many times?

Help needed to save the weekend :D

Thanks for all support.

Peter

Statistics: Posted by hesspet — 30 Aug 2013, 23:40


]]>
BrainModular BrainModular Users Forum 2013-09-05T00:32:38+02:00 https://brainmodular.org/forums/app.php/feed/topic/4027 2013-09-05T00:32:38+02:00 2013-09-05T00:32:38+02:00 https://brainmodular.org/forums/viewtopic.php?t=4027&p=27663#p27663 <![CDATA[Resending an event? (Bang a event again)]]>
My final solution is working now. I do a store and a get at the same time. Maybe I change it later on to your solution.

Tnx again!

Peter

Statistics: Posted by hesspet — 05 Sep 2013, 00:32


]]>
2013-09-01T19:10:25+02:00 2013-09-01T19:10:25+02:00 https://brainmodular.org/forums/viewtopic.php?t=4027&p=27622#p27622 <![CDATA[Resending an event? (Bang a event again)]]> Download

@ynohtna : can you give us a patch to illustrate your question please ?

Statistics: Posted by nay-seven — 01 Sep 2013, 19:10


]]>
2013-09-01T14:46:26+02:00 2013-09-01T14:46:26+02:00 https://brainmodular.org/forums/viewtopic.php?t=4027&p=27620#p27620 <![CDATA[Resending an event? (Bang a event again)]]>
Changing the length of an array outlet to 0 does not seem to trigger an update callback on downstream modules. So triggering "ClearAll" on the StoreArrays module does not result in downstream modules being notified that the values have been cleared.

Statistics: Posted by ynohtna — 01 Sep 2013, 14:46


]]>
2013-09-01T14:22:51+02:00 2013-09-01T14:22:51+02:00 https://brainmodular.org/forums/viewtopic.php?t=4027&p=27617#p27617 <![CDATA[Resending an event? (Bang a event again)]]>
And this alteration check only seems - from what I can tell - to happen between processing frames. Altering an element of the array (or it's length) then changing it back immediately doesn't set any "modified" flags, so there must be a contents comparison occurring on the target module's Callback check.

Sorry for rambling!

Statistics: Posted by ynohtna — 01 Sep 2013, 14:22


]]>
2013-09-01T11:24:13+02:00 2013-09-01T11:24:13+02:00 https://brainmodular.org/forums/viewtopic.php?t=4027&p=27616#p27616 <![CDATA[Resending an event? (Bang a event again)]]>
Your had the same idea using a sort of a delay. I think we could mark this solved. It looks, that there is no better solution available.

Thanks again!

Peter

P.S.: If someone can explain me, why the second update of the same data is ignored, feel free to explain that. I'm sure I'm not the only user who struggles over this. :lol: (It's the quest for the "bang the same value twice")

Statistics: Posted by hesspet — 01 Sep 2013, 11:24


]]>
2013-09-01T11:16:11+02:00 2013-09-01T11:16:11+02:00 https://brainmodular.org/forums/viewtopic.php?t=4027&p=27615#p27615 <![CDATA[Resending an event? (Bang a event again)]]>
You stand up earlier :-)

my solution;

Image

I build a "bloc sequencer" which switches 2 patterns. A empty prefilled and the pattern which should be repeated.

I'll will look into you patch after writing this.
First of all: Thanks for you helpful support!

Peter

P.S: Does not work if the repeated pattern is a empty pattern. But, ok, I can live with that...;)

Statistics: Posted by hesspet — 01 Sep 2013, 11:16


]]>
2013-09-01T10:06:26+02:00 2013-09-01T10:06:26+02:00 https://brainmodular.org/forums/viewtopic.php?t=4027&p=27614#p27614 <![CDATA[Resending an event? (Bang a event again)]]> waiting for this, here a workaround : sending 2 values : preset 0 ( or any other in fact) then your preset

Download

Statistics: Posted by nay-seven — 01 Sep 2013, 10:06


]]>
2013-09-01T02:21:38+02:00 2013-09-01T02:21:38+02:00 https://brainmodular.org/forums/viewtopic.php?t=4027&p=27613#p27613 <![CDATA[Resending an event? (Bang a event again)]]>
OK, the recal I get working. So the "magic" is setting explicit the num before the "get"
But when I follow your rule, and I try a second get on num=1, cause I need the pattern 2 or more times to feed into a sequencer, this will not work.

I did not understand why this happen (or not happen). My problem is the sending the same pattern a second time.
This is something I can't figure out. Maybe there is a sort of "optimisation" in Usine. The same value is not sent to an import pin, a second time?

Peter

Statistics: Posted by hesspet — 01 Sep 2013, 02:21


]]>
2013-09-01T01:01:43+02:00 2013-09-01T01:01:43+02:00 https://brainmodular.org/forums/viewtopic.php?t=4027&p=27612#p27612 <![CDATA[Resending an event? (Bang a event again)]]>
matrix A created
current number =0
Store

change matrix A
current num=1
store

now :
current num=0
Get
will recall first preset on matrix B

num=1
Get
will recall second preset on matrix B

Statistics: Posted by nay-seven — 01 Sep 2013, 01:01


]]>
2013-09-01T00:19:12+02:00 2013-09-01T00:19:12+02:00 https://brainmodular.org/forums/viewtopic.php?t=4027&p=27611#p27611 <![CDATA[Resending an event? (Bang a event again)]]>
I'm pretty deep in the water... "store" does not work or I undertand something wrong!

If I run this test patch:

Image

Walk-Through:

- klick some spots in the first matrix
- press "button store"
Result: spots are visible(copied) in the second matrix

From my point of view the array is stored.

- then I press "reset b"
Result: the second matrix is not cleared. ->OK
- then I press "button get"

Result: ----> nothing happend., the second matrix should be filled again, but this does not happen.

The "get" does not fire anything. I put some traces into the script. I see, that the arrayOut is filled, but I get no output.
Is my understanding/usage here wrong? ;)

Peter

Statistics: Posted by hesspet — 01 Sep 2013, 00:19


]]>
2013-08-31T22:54:28+02:00 2013-08-31T22:54:28+02:00 https://brainmodular.org/forums/viewtopic.php?t=4027&p=27610#p27610 <![CDATA[Resending an event? (Bang a event again)]]>

Thanks. That what I was looking for. Perfect.

Statistics: Posted by hesspet — 31 Aug 2013, 22:54


]]>
2013-08-31T00:27:03+02:00 2013-08-31T00:27:03+02:00 https://brainmodular.org/forums/viewtopic.php?t=4027&p=27598#p27598 <![CDATA[Resending an event? (Bang a event again)]]> store array script can do this
15 presets (more if you want) where you can store and get ( use pass/stop modules if needed)

Statistics: Posted by nay-seven — 31 Aug 2013, 00:27


]]>
2013-08-30T23:40:06+02:00 2013-08-30T23:40:06+02:00 https://brainmodular.org/forums/viewtopic.php?t=4027&p=27597#p27597 <![CDATA[Resending an event? (Bang a event again)]]>
I have a matrix which creates an "array data event" that works fine. The event is received somewhere, if something is changed in the matrix. And now - I've the need, that the whole array event must be send again, without any chance on the surface. But how to do that? Usine has no "bang" link we have this in MAX/MSP.

I'm looking for a way to send the event more than one time. Maybe I've tomatos on the eyes, but know im stuck.

How to solve this?

Is there a way to store a event and resend/create it many times?

Help needed to save the weekend :D

Thanks for all support.

Peter

Statistics: Posted by hesspet — 30 Aug 2013, 23:40


]]>