Does someone have a clue or hint about this strange behavior?
In my M4L patch I need to block some messages which automatically get sent when loading the patch into a project.
Initially I did that by a loadbang and a gate which should block messages for the first 2000ms after loading the patch into a project. Afterwards it should pass all messages.
However whatever I have tried, it seemed the gate did not block. Until I realized:
1. loadbang
The gate does block 2000ms (until the delayed "1" arrives for opening it) but loadbang triggers when the project is getting loaded, not when the patch (with the loadbang inside) is put into the project.
Is that normal behavior?
It can be seen in my test patch, column 3 (see below the code for it, best to check the patching mode as well):
- loadbang triggers a timer
- When loading the testpatch into a project, the umenu bangs out its output and stops the timer over a bang
To my understanding, the time should be just some ms at worst.
But it is the time between starting the project and loading the patch -> Can be seconds or minutes.
Strangely, when loading a second instance of the patch into the same project, the time between the loadbang and the bang of the umenu is just a few 0.x ms or even 0 (which is what I would have expected to also happen in the first instance)
2. live.thisdevice
The oddity increases in addition when using live.thisdevice (column 2 in the test pach):
It has the same timer issue as above.
However, even if the time is >>2000ms and the 2000ms delayed bang to open the gate should have arrived, the umenu message gets blocked.
2s later then, the gate opens and messages can pass.
Are these intended bahviors? If so, are these documented somewhere? Or did I miss something? I literally lost days for finding these "features"..
Any hint much appreciated! And also, maybe the info helps some others..
Cheers
Ways to reproduce:
1. Start a new project
2. Wait e.g. 10s
3. Load the test patch into the project
4. Check Timer (in ms) of column 2 and 3 -> Time between project startup and loading the patch
5. Check blocked message: not blocked with loadbang, blocked with live.thisdevice (nice and actually what I want from a functionality perspective but still strange and not as expected as timer >2000ms)
6. Load a second patch
7. Check Timer (in ms) -> Time between loading the patch and bang -> 0 or 0.x ms -> as expected
5. Check blocked message: blocked with loadbang (as timer below 2000ms now), blocked with live.thisdevice
<pre><code>
----------begin_max5_patcher----------
2089.3oc6cs0aiZDE98Js+GFwSspNoyEt1GpT6Sakp59PWo9PTjE1Lwlr1fE
LjKcU9u24BX6jELLPBdbVuZUrwgKGNeemy46b.b95G9A.+eVyRefla8qfqTK
K92W281pUguBu3Sk+l0gOLeUXtX6sVEeG8xUwITqI0rlaBY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