about metro following transport did you know # 32
Just tried the ‘Did you know’ #32 trick about metros synchronised to transport and the ‘metro 8n @active 1′ behaves as described but the ‘metro 8n @autostart 1 @autostarttime 0’ doesn’t : it just behaves like the other one, starting anywhere I start the transport from, without rewinding. Someone else tried it ?
I’ll bet the following might be the source of your misunderstanding.
If you start the transport from time 0, autostart turns the left metro on. If you then stop the transport, the metro is still "on", but it’s just not moving forward. When you start the transport again, metro continues to move forward, even though you haven’t rewound the transport to 0. If you turn the left metro off explicitly by sending it a 0 or stop message, then try, you’ll see what I think you expect to see.
Get the difference between the metro being on and the transport being moving?
Ok, now i got it. After experiencing more with this, (I’ve created 2 such metros patched to makenotes), I noticed that the only way to make both start together in a consistant way is to turn on both with a toggle. I guess it’s the same logic ?
-- Pasted Max Patch, click to expand. --Copy all of the following text. Then, in Max, select New From Clipboard.----------begin_max5_patcher---------- 835.3oc6YErbaBCD8L9qPCmcyHIBw3dps+FYx3Q1H6nDPxCr35zL4euBgvA6 .NJNAlzTeALRKKu8s69j.+3HO+4ps7bez2QWi77dbjmmYnxA7rW64mx1tHgk aLyGTqVkv8GWMkp.R3.7vZdkO7ERvGcicVYQpPpm2bmD6fqYvhaExUyx3Kfp 6Z5jKviQjnnxSTb8wl9o5AsmiDwF.ole22ng9ki8znQkGF6XnjH1vuP66Rqr 9bCKSxR4GN80za5Lh8Gi7WlnXmPbSCLAdvzqLmLGIgcF3zVBbh+N2moANvyl wkr4I7lO5b1Fd7LF.Yh4E.+4ekaYGK8TF+IEb0x5gqGuo6yuUkAsQRVjrmwo pXMkavBsLVeoEIJ4piS4uvgBYow31cmPdeo6LQFtCGnh4cMsPtTYfRaO7Bon JSz5rprXdVW9Mlur6IyWy4wIhTCOcQ6vZiHWXSqs5BfutyXlIkJfABkb1Npt sHfucsRxkP23vv.vCU3f1F8ZS2g31yOoGM6U2V0NEH.AKoQ4MtxHSWe8o9SB HnWj.H3v2qD.8KqDPvYIfyR.8sDfj+acaTcODv2BUCq.ttwqd7kJIjK9SUO0 NjueadvQZyCMc1WNgVcpZ+Nc1lia7T2kt9YlN1Q+RkD62hJ.1+yZrS64PmLs m27GoeT9qJIBlFdpJ+jIeYU9ImU9+jq7iOhxeWo6+MT9SY2yKU.0Zc3xEw5r 4upw+kJ.ePqUbIwHIXVE8XJlz2thYT+pX1Kuqb36Us7K69jOKUdVp7+SoxJQ gdTo7j9thZ4BPI6jKlyjqN4sKRuxrM5nf5it+QRIejuhftVKSghjnevJ.UNv x.DowEfHkivNxAtTEPecpgX+9wjWoLf71Wvj7ooNfZKCHmZYPT+TEr.zKHgH CSF2RBjIt02+1S3AMIIiW0K3JO7eJwfrxw2m4xUEYKpia6eOwXzyfKlmCBoY clFFoqwZZzsh3Xtr4aDmJhWqDRvBBzMslG+PwTvvBIhKzTj1H5vgIpCXJbPg jgAHuBjn38LZPvD1ELMbkSN0zMcvgDwEHMfYNrKzzjAklN3wcDgfADStJDLb PxkdtCfceCo.Gfz.m2bZQk2ixj9hmF8W1NFKZC -----------end_max5_patcher-----------
The transport is a clock that’s controlled by the transport object, and in the case of Max for Live is controlled by the Live transport. At any given moment it’s either on or off (i.e. running or not) and is at a particular point in time according to its own sense of where time 0 was. A metro can be on or off completely independently of whether the transport is on or off, but if the metro is tied to the transport (i.e., is using tempo-relative time units) it won’t move forward in time unless the transport is on.
The autostarttime attribute of metro simply sets a timepoint at which that metro will be turned on. The timepoint must be reached for that to happen, which implies that the transport must be on for it to happen. However, stopping the transport does not send a ‘stop’ message to the metro, it just halts the clock, which halts the metro even though the metro is still in its "on" state.
There are several ways to get metros to start at the desired time and to be synchronized tightly. In the instance your describe, it will be best if they are started at the same instant and/or are quantized to a particular time unit. You could do that with a mouse click on the same toggle object, as you suggest, or by giving them the same autostarttime, or with a bang from the same timepoint object.
I suggest to check out the ‘quantize’ attribute of metro (and other timing objects), and also to check out the timepoint object.
-- Pasted Max Patch, click to expand. --Copy all of the following text. Then, in Max, select New From Clipboard.----------begin_max5_patcher---------- 1431.3ocyZt0aihCE.94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gcolMqi938wASlGDA5EaDqHR77fHQNkHl5faWoyI .xbn5sStbHfO+735.vd6nVRYPz4NeBzacUVMKXBFgGkhj4vpJcXw1ib93aZW OIqFeCD6U5LzHKT2K.mU9Df9X9ZQ4yiLWMtbmN6SBVSIiEEbhrXH+LPXot+v 8TF8GzJfnJmUumKczzCN2or.EEqp8ucEfhF2vwSuv.qyaTCG+YJH3fJp9aqa ppj+COMi71fMsehIiwlq76MvjQlkdLE+fphD6qkrFY7WZ8ZxPiQi3YQDl+Ju VHcm9yR95uC9B62+x1sN9MM4f4BDNpqTz00bQvu6tR50oo41E6jDZw3udyK0 40rc5mCTb4l+YSuFvl2vJR33EfDLw571tYaIOefubpyxVGG8oomk+Kdw.05k 53GS4ZdS05NIrq.JvAMaCsVTvzsi26jTCyt2IcewlMTV+m7aJpUFCZrDdxm2 1JODajmWHzu6xiZ1lyJ4A5O4AYg7P73yKnM1OxyA5EwAaCdTunDdBOXavC1e OtTcnLmLmsSd7m6tRyQSINgdUbfSHNp4F6QwYpGVpoz5IwQMZyokmobt1UrQ 2vSaB8DrdhMDnZirc+tcNba7r7iu.4W8xN7tq.QWhBjF4RE.FYiBDOubvHSj M8E7DhLjDoskglxq064BfZS.K7Yp.wY8UfHnqU.jMVzmgBffIFEHUuIKyn.o twmzFSZn+Zv.YUCF9KGFxlJNf9ykGEZiOuGq.JyF4wik.kZq8ie5v3EtNCHO o9SdhsUdlOovfmYIAGmByTffqR.DaY+rdp+QGJMfut7WK+efTTko6 -----------end_max5_patcher-----------
Thanks Christopher for this example patch. I had stumbled upon the timepoint objects in my investigations. Had a patching session this afternoon around a midi note shifter that made me understand crucial points about timing, midi, etc.
It often strikes me to see how much the max community is involved and helpful !
Forums > Max For Live