VVI-World

Blog of Bouke his Musical Trips

  • Increase font size
  • Default font size
  • Decrease font size
Max/MSP Max4Live

These are my Max/MSP MAXFORLIVE articles.



"route" vs. "zl delace" vs. "unpack"

E-mail Print PDF
User Rating: / 3
PoorBest 

Today I was wondering whether "route", "zl delace" and "unpack" is the fastest way to filter out the output of live.object (or live.observer), to write the best possible code. I discussed this today with Julien Bayleand it turns out (ROFL): there is no difference in performance. Check out this patch yourself (create some tracks in your live set):

<pre><code>
----------begin_max5_patcher----------
1413.3oc0a0zjiZCD8r2p1+CTT43rSgjZ0RjaoxgbI4VpbI0VagsYmgDL3xf
2LY1J+2CffwryrdP.BjlKlAY9n6mdcqteVyWe+613uM+g3Beuez6O81r4qUi
roYr5Q1zMvF+CQOrKMpn4B82dtrLOy+l1u6XT4t6Sxt6Smh2UpdRgrfaCtwC
X75CzftO89X2Mkc9PRVZbYySjzaz7ykuXX0Xk+6wX0i2eaT1c9WdXI6arq7s
+0GDD+lA+u2+t5iUGtQa+p5suM9zS90myyJyhNz7N8+oSIQoupKGnb4vFWFg
o4xz9u7hjGad4DZ0C6ZPQRVo+MuJhPmAhD+OUOhmb6x3GZ7V+xjCyFnPtBuF
.nnlBn9bZdTCTcEXhYdX5b1wnc+s2CdOLQrRnBcXpvIQvZQpdEXBV.1jWpW5
DQHDa.kPENQukac.had.5wTu6Nke93LYQhlHNBJWqPtWAkPyiRGOUkKzqAVl
EN0lYBCmVzVvPvTeXPLcX3PbQQzcwuDGtK1Dn.UksAoMbF4XIKjwSV99DEo4
IJoIeI91puo1kmWDkZoLIYZATFCiBWhbxambN4NFDkutIkapA5pobjAKDSpB
AtepqdoV2hnJZTLwLNrokX95HEYAxJUiRd030mJpxO8kjhjsowep7TUAREd+
.Yl.nJkMQHra1J4BTq84GS7B7BlW8QD1rp1lM4Xwti0so78grYT28vMh149q
denxEnN4eC90aiNlb6uDW9Gp3meuN74myOmUNO5QKJIjyDfla3CeQ4BA1RTB
NZIQI3BGUTBtvsDknCnbLQI3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scpOtI6w
fpt.1Issd+.0r4qdZ8.UG9evJZMjp
-----------end_max5_patcher-----------
</code></pre>

This will give you this patch:

SpeedTest
You see, speed difference is none.

 

Empty clip names

E-mail Print PDF
User Rating: / 2
PoorBest 

Today I had to work around an issue with clipnames. When there is a clip present, but the name is empty, live.object will not bang the output (not even a bang!). To illustrate: start a new project in live, create a clip on a midi track, or put something in the Audio track. Next create new M4L device and put this in:

<pre><code>
----------begin_max5_patcher----------
788.3oc0X00aaBCE8YpT+OXwyrHrw70da+NVqh.hWh2HPD3z00p8ee1FSZR6
X3vGwrGpr70twm6gy85i7q2emkcZ4yjZavmAeEXY8JOhkLlHhUa.K68IOmkm
TK2ncA4mkoe21QsFi7LSFup7Hi.JR1SNs12JKXx.h0+REMI+zRGRXY6nEaWW
QxXM..6ux0AfhjCgdxItqbAO19+TbbOsHmvj3.dVT9I2FFc9YWSeQd1PD+GS
EuYurecfzbp11N7+d6PnajnkmheB4ZKC966uSLxGbzlkROxXkE8mtP+17bHY
KryrJMoXaGYk2vyp8j55jsjO9wmme6.4zmHqqILvSzZZZNYMqJI6G0.WPVN8
v557RV6jQIQBZXK+HIAF0Iog5gzzWh72IR7vIxtJhNTQKXiuHxSQTwCSV41G
CcNK3O8r.CjBxGEA.8kZDOzJ+aSWDY8V2cRBlgZtsjIPo.iaTJHCWKEN8pHQ
6nUhFSiifbkC9gCqTxaX2G0sRJZlHJ9JhLeTWcikEcAA8PUysVJd5onQatwq
4RKO3hwcCLdF5I8fM3A6AKhZtWGdVqay0QBNCEZujCpHaGpBxqgWTteBvCqJ
aRkPAyoAYUBe6cHCw++5PVQZKDKxPzBzhrhhvt2LOxQyiEYtIYP53HAkOYna
3vLJiGrQ4SFlc9WkhgKOeysMfQKBiyAKOeysRqElw4knu4VsT3hv3L78TTyt
34YwGdjPYxHV3cDWc4wpr1iQ4QvAbVBsgTynEILJ+x+21UzkaZGcyFRwEsY2
S2bnj24WADvic+4Targb0AaHey.NAwA6EbwWtq9AWfxSPSiqFeUWNS0ZC5Bk
WJHlMcYT+zcnYn6Hs.WfY.WnVfK1LfCqE3LTItmVfCaFvEqE3bMB3fZANXv0
1+wi631+zST6GgOMaZfsVn1LUJhpXTuX6pIz3nFy6RmVXOkKhKl4Kes.LLPt
SwrogrilGMB1eV0HhuCd8h5qtgEFEc1SpqxA4rIC05w0lQY2qWECc2oNzlY7
b.05lSHxLfSKhyLXSKijvQCMQ.9vePyTHMC
-----------end_max5_patcher-----------
</code></pre>

This will give you this patch:

Empty Clip Name
Clip both buttons and see what it does in the Max Window. "zl reg", in combination of the "trigger" (t b b l b) is perfect for the job Wink.

Explenation of "zl reg":

In reg mode, the input or the most recently stored input value received in the right inlet.

*exactly* what we need.

 


Subscribe to feed

feed-image Feed Entries

My Favorite Links

Cycling '74
Mainsite
Forum
Documentation
LOM

Ableton
Mainsite
Forum

JazzMutant
Mainsite
Forum

Other Projects
THE PROTODECK

Great Tutorials
http://www.max4live.info/

Great Patches
http://www.maxforlive.com/index.php

License

Creative Commons License
Musical Blog & Tutorials by Bouke Groenescheij is licensed under a Creative Commons Attribution-Share Alike 3.0 Unported License.
Based on a work at www.vvi-world.com.