IML behaviour
-
23fx23
- Member
- Posts: 2548
- nay-seven
- Site Admin
- Posts: 5684
- Location: rennes France
- Contact:
do you use several "send message" module linked to 1 send button...?
-
23fx23
- Member
- Posts: 2548
hi nay, yes and no
i had a subpacth sending one message if a buss is 1, and in another subpach another message also sent if that bus is 1. and yes that bus is controlled by a button. ideally I got two "modes" that I dlike to delete/create wires in several differents subpatch relating to the mode, but seems if two messages are sent at same time, one is send, not the others.
as an example:
let's say I got a subpach A, and another B, but not in the same parent patch.
if mode is 0 then inside subpatch A all wires should go from in directy to out, same inside subpatch B.
if mode is 1 then inside subpatch A all wires should go from in to out2, same inside subpatch B
actually either subpach A or B is correctly changing wires, not booth. Itried starting booth message
with SET_TARGET_PATCH SENDER_PATCH, or with their respective patch's names, from what I feel (what id like to confirm) is usine need to execute one message first, then when all operations are done, can send a new message, but in my case this would be complicate to creates such temporisations, so I wonder if there isn't another solution maybe... maybe It's possible to send the two message in one only, changing target subpatch at the middle of message, but not sure i can access a sub-sub-sub patch, gonna try, but if anyone has an idea, highly welcome
as an example:
let's say I got a subpach A, and another B, but not in the same parent patch.
if mode is 0 then inside subpatch A all wires should go from in directy to out, same inside subpatch B.
if mode is 1 then inside subpatch A all wires should go from in to out2, same inside subpatch B
actually either subpach A or B is correctly changing wires, not booth. Itried starting booth message
with SET_TARGET_PATCH SENDER_PATCH, or with their respective patch's names, from what I feel (what id like to confirm) is usine need to execute one message first, then when all operations are done, can send a new message, but in my case this would be complicate to creates such temporisations, so I wonder if there isn't another solution maybe... maybe It's possible to send the two message in one only, changing target subpatch at the middle of message, but not sure i can access a sub-sub-sub patch, gonna try, but if anyone has an idea, highly welcome
- nay-seven
- Site Admin
- Posts: 5684
- Location: rennes France
- Contact:
not easy to answer , but a "wait one cycle" somewhere before one of the "send message"....?
-
23fx23
- Member
- Posts: 2548
yes thanx nay ive tried this, not work with a wait one but seems if the wait is around 100ms it works..
not very handy for me as I have severals message to send, so each one would be delayed of 100ms of previous and i would get
a too long latency for final message, and i was trying this to save some cpu, all the tempo will cancel my cpu gain I guess...
arf, that would be so powerfull, but no pb, ill find a workaround, gonna try if possible control all from one mess.
thanks anyway..
not very handy for me as I have severals message to send, so each one would be delayed of 100ms of previous and i would get
a too long latency for final message, and i was trying this to save some cpu, all the tempo will cancel my cpu gain I guess...
arf, that would be so powerfull, but no pb, ill find a workaround, gonna try if possible control all from one mess.
thanks anyway..
- senso
- Site Admin
- Posts: 4434
- Location: France
- Contact:
IML messages are processed in very low priority process.
So the message can be handled in more than 100ms so the "wait 1" module isn't sufficient.
Try to use a counter to delay each message to send.
So the message can be handled in more than 100ms so the "wait 1" module isn't sufficient.
Try to use a counter to delay each message to send.
Olivier Sens
www.brainmodular.com
www.brainmodular.com
