Link between msp objects in the same patch
I would like to know if the following behavior is normal (because it could explain one of my issue) :
For example, with 2 MSP objects whose main outlet is connected to a different Print object, if I change the argument of ONLY ONE of the 2 MSP object, then a message ("Signal") will be sent into the TWO print objects.
You can check it in this enclosed patch.
Thanks for the help.
----------begin_max5_patcher---------- 454.3ocwV0saBCBF851mBBW6L.8Oc2srGiEyB1xT1PvzhY5L5y9JesN0MSma Us2PKe7AbNG3.r12CO1rTTfQ2idB44s12yCB4B3UW2COiuLUwKfzvZw6lwuh 6U0jUrzBgs4RtdhRrEER5uqUyBqRXsqlKplAbgbhlqvnQ0ILmaSmJ0SdNWjZ qxgFF2mzCQoCceRRbkLRexW84Ei1VH+.FRJqr4pv5Eyj5xYCPIqNnLC.WIfu aH9f9q4yf9ienD1J79gnBwvXPcA2366J50NwYdtTaQoqRUBFtIpCrkFUQc5+ h5zeR8j+J0IWEpSaf5Ag.yiIWVlOnCY9dGQP6bDAU6JXAWVCAqyMD4hBitYC AbVPz.f4gWpcEgzN2P.TuQCArZWeRvki4jNj4.m2hnszMD4DiJ4IF1dvX+tv jZTl75MUt9P5GSoIwQG9G8fg4HgL7mBYvouN4wob0aiM77rqtEpVMYs81V37 j.FHmC6J4Lp8xILWXkT+8my.r1E+XMtvrHOcmRU+.AzdDmIJrRM2JM5CxI4n blJyxDPy6zkYxr4lR+cMDPiN4584hH1YfnA2TDEcNhj630aHlBNKLQZAlJqr w+S.q1BkPC -----------end_max5_patcher-----------
First, why do you want to input some signals in [print]?
If you have a look to the [print] documentation,
you’ll see that it doesn’t say you can input a signal in it.
You should consider that no max object (i.e, the ones without ~) can receive signals. (even if it may work sometimes, definitely avoid it).
Anyway. So here is the hidden feature you found :
[print] prints `signal’ the first time he receives a new signal.
When you change the argument of an msp object, max needs to rebuilt the signal chain (it’s exactly the same as if you create a new msp object in the patch). When max rebuilds the signal chain, the behavior is the same as turning off and back on the audio.
And when it’s back on, your [print] will think its the first time he sees the signals, and prints `signal’ again.
I’m not sure what you want to do here.
if you want to know when the dsp chain is rebuilt, you better use [dspstatus~].
If you want to have an idea of the signals values then you should have a look to [number~] or [snapshot~].
hope this helps,
Ok, thanks you very much for the explanation.
I just printed the signal in order to try to understand a strange behavior of the reson~ objects when they are several in a patch.