Push developer kit: M4L devices for Push!

Come here to discuss Push with other users.
For tech support, please head to http://www.ableton.com/help
Post Reply
flocked
Posts: 45
Joined: Wed Aug 18, 2010 2:42 pm

Re: Push developer kit: M4L devices for Push!

Post by flocked » Fri Apr 12, 2013 5:14 pm

@ Because789 thanks for your rewrite of the "Device/Track selected" object. :)
Your object isn't working in many ways. If you switch to the session mode, it isn't sending a 0 (so e.g. the grid stays grabbed). It also isn't sending a 1, if you switch from off to another mode. There are also a few other things, I needed to add in my object (like a small 30 ms delay, else there will be a few problems with grabbing between several push m4l devices). Anyway your code helps me a lot to rewrite the object and make it a bit cleaner. :)

What surprises me is that the object doesn't work for you. You are the first person with these problems. Could you maybe investigate, why it isn't working for you? Are you using 9.0.3?

Because789
Posts: 440
Joined: Thu Apr 28, 2011 1:26 pm

Re: Push developer kit: M4L devices for Push!

Post by Because789 » Fri Apr 12, 2013 6:04 pm

Your welcome!

I know that it isn't a full rewrite, since your object wasn't working for me I had to start somewhere to get a 1 or a 0 (yeah, to add a toggle would have been a quicker way :D). Can't tell you yet what the problem with your object is. I'm now looking into push_grid (loaded Push_Grid.amxd and it didn't work for me too, live.object doesn't like the call send_value x x x message) and for now got the feeling, my problem has to do with getIdOfPush, since this has no outcome on my system:

Code: Select all

----------begin_max5_patcher----------
1239.3oc0Z1riihCDG+bFo4cvBMZtLYi7WXLql4vrOA6o8xpQsHf6DOKAh.R
1dmQ669ZrgDR2PhCMNc1KDUFB3++npxkqje992MyaY9ShROvuB9SvrY+TMxL
8X0iLqcfYdahdJNMpTegdYh+Ne428l2btJwSU5wq.KARf7vIjI5gUW6uDbXv
7cUohpp+Yqv7P8VFksxaNvSlU09A3asWc1tMxL00qevn1QeLOqpT9C8c.gW.
6NdVzF83desPFk504FYdx56Doc3sQUwqkYqdnPDWYlPDJZQf+b.Jjpty.Jq9
HFt.B9l9K8uu+c0ep9X9zPr93E2Nd4bPgsATzvZDQvK7cFnRk6EKpVKKSD6k
wh9PFh5NeL34PG32xSSFgiF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4iKnIj0Mn
Ij4Tsfstz5wnklJqCuMEVSrJwr+X0RfI9mwNZ9lKF9qSLH05q2.wfrJ9+p0R
6r2mniXBzGOw3v+PIdOVDzI0nRbaUCL2fflxDZ5sTqxBd6zYnM5L3l2QDjc6
3IXz9fvftATZS6nbS+wh1tcecm6MyGiP71D887hZa1bisLyXaZLmWgXur8qX
56qWTQ7ZYkHtZWgo4kOwndpynefpC+GvGSPxl
-----------end_max5_patcher-----------
I'm on 9.0.2 and Max 6.1.2 by the way. Will investigate further and report to you.

Oh, another thing:

Code: Select all

----------begin_max5_patcher----------
855.3ocyX1saZCCEG+ZpzdGrh1kgHaGmulTuX6gX2LUUYHtstK3fRLLVq169
brIsTlALLvDgTfbbv9b9kSN9+Iu9oaFELodEqM.7EvO.iF8pxxHssNKi5MLJ
XFc0zJZq9BClwZaoOxBBWOnjsRpGnkIeyHuTapdxyiQ32rVuPVwjxeOmYVxf
.vc8iIVLiKTipWDbu0GpExV9K5qGAifaZWPmosG70FNsB7s5pxfMlMyhomNT
u44T4zm3hGuugMUZ7gXTtZZAXR2wXbTRH.kFAA2o+K+4S2z8s5qvKGfPCZ.Q
fWY9jOrwCBcl4if8KUXaAOfwiG2xDk2ujVsfYCU3.q3.YEG38gicPBnCIJjn
bBJqHKDTjos.uH3noCGKisgg3iOiAd1Pz9RVPEcyH.kghxwEHHNDPvWbFgsw
HxfkQj7q.iP1XTxfkQvTcgFewH9CfOyQfauEf.xmXBvDp3QqYUmvdYHufLS0
IjASHS45+SZMYgTVKrV.ZO6YoQ2gPwQGWoE8AzEKIXNc5OASoUUf22DRkOn9
XCAYGehPhGSDvHC2RROCD6nU7MrkzfxR7jjFprlaEPE6FPU7V4tfTrUHg1Aj
9NqojJnmNgRgQwqK+hfWxG81EmvvgMmLOq4ML8RUzz5YyoM1EGuuFQCO1m7N
kxR3CWGGheiUuWR+RzLAqqLt0pSEGXuqPuUjBe391Si6NtdW87qUeWIvqYiW
qQAhjb867JanJYljA2New+McEmNXwCN2q3wplw3AaSow45Ft7.dNNU1wICUY
18Ekf3Coy13lJ8Jh+4UQqm2tA1hjs0KZl1Gm8uCU.78.tj0J4Bpjq5O68qpS
tzlW0S7xRl3CYQk7V5jJllvvcey0cGC6hiU3c+J2U2B4Wb4jeg7Ou1dI2QBF
9fDaFubdMWHWmpixIcEVJxiJT6emfT+r3CF1XIOygz1OMrmPBdLgDoXqHh3s
HxoG1HHum8j3heojNAvd0sxbJAv6zh3Jsh8paE6paQ7qak6pe446hNsk71du
O.lSo8cJq78cxTmcLOm46T8qD+qtJl3Lw7ak0Bm8qSGXq0MSmOeIqoc8TabI
UqFOW2zcdZn4btvbtQxdPCaIu+uXdKKAzFkDdoR+9hFix+Uoj.0H5ETc3uP.
6cGX
-----------end_max5_patcher-----------
The left side (your code) is equivalent to the right side...
Last edited by Because789 on Sat Apr 13, 2013 8:35 am, edited 1 time in total.
Live 9.5 (64bit), Max 7.0.6, Windows 10, Push 2, Korg electribe2, Bass Station II, Launch Control XL, Faderfox DJ3

M4L

flocked
Posts: 45
Joined: Wed Aug 18, 2010 2:42 pm

Re: Push developer kit: M4L devices for Push!

Post by flocked » Fri Apr 12, 2013 6:26 pm

If getIdOfPush isn't working for you, all the objects can't work, yes. So that seems to be the problem. Could you try this patch and tell me, what the console/print is printing? Thanks! (press on the 0 at the top):

Code: Select all

----------begin_max5_patcher----------
1380.3ocyZ1rjZiCDG+L7TnxUpbYIT5aas0lC69Drm1Ko1ZJCnYPYAaJayry
lT4cesk7GBvlHLVjbYnnAr69mZ8ua0d957YAqReSlG.9Uvm.yl804yloMUYX
V86mErO9s06hy0esfD4+lt5yAKLeTg7sBs4CYpjhFqIG2qR1IKz+BTswCwEq
2pRd4oL45BycTfQKgK.gLb0KDR0eQQKgf+t927bZRQt5KR80AV9wsW+ziEM2
fFqpMZOoz69f.GXcERh2quBA+dlJdG3OR2sIn5S+174U+Yw8E4EfU.EP0X23
XE+2AoIFCVEm7RvBPflOlWZiOWAEBSXKCYK.LBeI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BA1vFDum8asF+QEMrIHZPb3CHZvNDMXx3BmvntTsKs4inwkR
MX7HiFRzkQSqMeDMtHpTcnE.5VTUHFWmiCs14bgweTwClcqpjMtt0+jCMKOc
19gENvIHbPHbn+iGjSRAzQt4AxtbySqMODMjS1VLbMmaYqClEYdDUgPqRnv5
mkeeFCwmzcBcXiQPqxxn5jfNidhPXGpigdH8M5RUUD4Vabrt8lSWaHmuJ5A3
F4R3.Ga3fvW1BWmQOENHWBmQsc5jv4Bi9PpykrM7sdFvlDqpyS2UYMh2dH6K
LxDzKqA2YzGEsXt1SwHD447dJAy8YIXjqcudK4kMUasaeEAoOh9Wc4r7mEzt
GO7nvdZoHxic74RxFVLxYSXFLU7gCuVMnby0T6IA6i+bZV0a4KzuUkXdqdFZ
AYxWUMee8.TChyVuUUHWWbLyLBs23zf4U2muM++gnwHzX
-----------end_max5_patcher-----------

And is your Push in the control surface list of the Ableton settings? If yes, what is the name of the control surface in the list?

Because789
Posts: 440
Joined: Thu Apr 28, 2011 1:26 pm

Re: Push developer kit: M4L devices for Push!

Post by Because789 » Fri Apr 12, 2013 6:40 pm

It's printing APC40 7 times, what seems to explain a lot...

Image
Live 9.5 (64bit), Max 7.0.6, Windows 10, Push 2, Korg electribe2, Bass Station II, Launch Control XL, Faderfox DJ3

M4L

Because789
Posts: 440
Joined: Thu Apr 28, 2011 1:26 pm

Re: Push developer kit: M4L devices for Push!

Post by Because789 » Fri Apr 12, 2013 6:59 pm

Just found this patch (http://cycling74.com/forums/topic.php?id=45780). It properly recognizes APC40 and Push:

Code: Select all

----------begin_max5_patcher----------
3198.3oc4cs0iihiE94Zjl+CV4ockpNBar4xpQizNySqzr69Pq8oVqJQBtR4
YH.Bbpp6Yz9ee7MR.JHwIARbu8KUJLF33Oe747cN1F9iu+6dXwphOSqW.9af
OAd3g+PTxCpxjk7PSAOrXaxmWmkTqp3h0Ea2Ry4KdzbRN8ybyIx4UEYf5cUO
mrltuBOKJOOYKUUo+dEKIC7SEYo6OeYE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RlYum5uUilv2ILy9qDFCDGBc0TkOioME5vYMs
wDqdWVFecYMs0aUR4p5Xr2bhJwPVgQ53pK1UstAcZdO6AfcEoTZMmkuOOTe5
vK6Pf2XKK+NjqRY0x7Ok1Mm8mTe6rE9gDogEdYlorT32xRKKX4bCDSPPYP2g
59u.8K4ttGE3ostE6Kqo5ndxzMBOfV2YJeO+3Xclx2tJ10YFco8kv.Ueouu1
ctu4crR6iL6UeYhPIlitO8kJ3vt9xKFNBUMReSReQl4yt8QMrxiCUvgWz8BN
rdjN14Trg11QhCcuAkgVi6QtGv6YqvibOygJQxN0F7WyHuu6wp.Yqv6eTgGd
ODdBwVgmD3bBOzZq7HO2SmGaMYT2iIs0ZMPmSzi95Uzwe8J5P60XjsRjaI7n
yR3cO5jHaj8XmSzisF1cPxj1amw8nznDIqHSBItovaGxibSg2pgqP2a7JLdF
xu1MK.Jq8thbO2qH6Cfx8HSpDIn0HOz8Dd6Pd2iavPZxiH7tmracT2tWFC9J
1LIz5L7AcvXtsVeGibNKMXq03cOS73fyB3cLgm7UrvaOvGboyKjOQMQlH8WE
Zr4KCZmif5EzgolpitSS4o0oIm.uT7.4GnlmL8j9R7H6O59zlI1a06hmaPSq
Di70SzsZRA6dDDC06jFiNv8COBuAKC.MdDFG2YY.D6hKC.h07QHtGeDh0gs4
6dAL6GOC7QFYAo.8a8w3o6QPyGq5Hhd+hDeuzDU3gcVm8cN9Y1alk36lz5sC
4m1vXaVfrMkd3CHt9Qzc4qY9fh2u407YE+DS1icV4Gn0LPKYvOz4SrbEeykq
9OxiLgjvaqfEZkfEc6ELhMBVzU0SZFIz6K5tRj5+kbu+Ww8A9BtO5Wuc0CT7
m+DPAb6BO
-----------end_max5_patcher-----------
Might be helpful for you...
Live 9.5 (64bit), Max 7.0.6, Windows 10, Push 2, Korg electribe2, Bass Station II, Launch Control XL, Faderfox DJ3

M4L

flocked
Posts: 45
Joined: Wed Aug 18, 2010 2:42 pm

Re: Push developer kit: M4L devices for Push!

Post by flocked » Fri Apr 12, 2013 7:03 pm

@Because789: My code is based on your posted code ;)

Hm, seven times apc40. interesting. I try to fix it later today :)

Because789
Posts: 440
Joined: Thu Apr 28, 2011 1:26 pm

Re: Push developer kit: M4L devices for Push!

Post by Because789 » Fri Apr 12, 2013 7:08 pm

Ah, I see :D

I try to find a solution i the meantime...
Live 9.5 (64bit), Max 7.0.6, Windows 10, Push 2, Korg electribe2, Bass Station II, Launch Control XL, Faderfox DJ3

M4L

Because789
Posts: 440
Joined: Thu Apr 28, 2011 1:26 pm

Re: Push developer kit: M4L devices for Push!

Post by Because789 » Fri Apr 12, 2013 8:23 pm

This should do the trick, no matter how many controllers there are and no matter in which position Push is:

Code: Select all

----------begin_max5_patcher----------
1331.3oc2Z0zbqZCEcsey79Ong0tYPBILzcsa5zccem23AiUb3MXfADoo4M8
+dkzErcRjsUdwRFmEIXI9vGczUWcNWyO95WlErp9IdW.5WQ+MZ1reH6YltOU
OyF6XVv1rmxKy5zWXPE+epW88f4CmSveRn6uosnRfD+aCe24JVqOi7x+k3jc
8V0usnpjKzON7Xu2WWI5Jdlq6L7tvC6uJaqt+feqsHqD860kqO7oU2KFeb6t
slLQ9CEUaV1xyEv.jfStiMGwRwxmNhEq9urqPz2z2y+80unNJOL+CyEBzJTo
QZftqW.0Z9RCufUYUaBliBBPeyGTE4TTEMRwNzzT0gHph29fT0VdWW1F9a4p
MCjfI1hcb15XrD4xxRXKBnH5PIJDPE6j.pxhG42IOi561DQEuq275x5V.eg2
klPivz4xOkfSiCSTeJjElJ+.VgyaA1kEpWtlte453M0k8He8RfUVlIDsEq5E
P5rY6I3YAKa3scEcBdUtFWgvIFlet7ySxAyCFmkVbomklO7mexXDYQFiET8r
E1gIWakPhija1XjiwAmlt7Sf8oRthCIZNhnYLH71QTUSKugWsFohHQ4xQPac
4xt916yxkqSLPe3v2eFWrGyILDkQWnIM1BGxcOWhtunTvaQ+Uem40yg2JwZz
T8gEgtku1HWZ1fRLwUr3aFtJhoWWl3PtpT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17GJD7bQeKTg6mhoAxyn+Bk+6+Q9LyOH
-----------end_max5_patcher-----------
I entered this code into the "Device/Track selected" object and that way it works with my setup! A tiny Little thing left, the object sends out each 1 or 0 twice...

Edit: and finally I got some colors on the grid! When I replace getIdOfPush in the push_grid object with the method above it works fine too. Guess this goes for all objects.

This is the "p getIdOfPush" I use:

Code: Select all

----------begin_max5_patcher----------
1212.3oc2ZsrjahCEcsSU4ePEq83RRHdM6l7Ej8SkxEFTaqTXfBDd5oSM+6i
d.w1cjA0cagsyBarj3wUm64djtW7O97mV3so5YZqG3OA+MXwheH5YgpOYOKF
5Xg29zmyJRaUmnWI8ep17cuk8iwoOyU82T0wo.VI+mCwxUCHN6+HD8ydEmVA
ky+2Zp9454sT7A7sgwK61yJEmg5ogG58opRdK6E00ffqfm1eY5dU+d+UCKs.
7kphbuSta5G342t5Td1NV410MzLt1NRvh6JHHTeP9H.n3UPv2TWx+84OIOJN
r7CiTuT.dhUvoMfu10tyHbAeTfKej7PjigqsBxUMH1DTED9f.UjHhBwhcHTU
vZ4O0UVRKLBUiDDJuxKAUnqKTgllUA8UGBbHTokqTHfAnJ9QgT4qIUINDo3f
M.i7I7HgdaRK2NFRglOjBgBWErD3qAIAfE7ggp8z11zszeEq11CBlPKxHbp4
gOMcjmebnhVo9VfatQj5.ckXD4i1.NQNxpxpJpZzlGbURLwGQVJ9ULJIDFK+
EL.lH9ARZm2+fKQcyOKXc3ZZSOPyWqAk0obdCaiPdpsGdGv2EdqqoMsBoZZY
lxrf5A5cOWe2jXtXbCJX301Isbbk0qrdguE5E8RqHGJsV2Pqok4.ILCxDyfl
ph0scMOklIb9lBNRd6hHy3x2CPGLRAZAQWAr6hZsPi6wAdWqxJBJj.DlnWKB
qVKxMxrYUckhbLLARnQVJRk.2w3QYyK.aAWWXiLMuBGokNQQNLlr6ElQLKX5
M6LbbDPCO65X8bs.WhYszBfwvQR76eKhy3loCgp.wHkVuuuyS6fkaDrht6y5
nGnHQ5LZcNPY0Zh2+EKoOTrmfgPtMcMFXiQErvIU8Ugj2MYrg03TRxLPy5LW
2RTzCC2RGMFF3xsbIRuUAU1EWhtq2JFQUHfXsXu+0Hg2KCaU7JPWsQBVxiv9
U0nTudui.IUNPxjNW2RMFKhuu4S3.7QnpWn2gEP4hYli+8MybcHKBqf3jqQh
4pogQX7sy0fuaNip5P3fguOd+yp1umVp85du6Io1XLp93MtK87YBbxJbEpqv
k6lJiFRv2wZyoGXYFq+Z.Y5TQ52FzH4uMir8dxAQ8Biht7lfzVp.BJ+kWkq5
tJG3UXZaUWS1vju+8c.NwYkSa4rxTNqp7jSR9p1N8r1wxyokmwLxYsoaJn4G
qMoQur01k78FOsggle6BZicEN+F1q8QWvSdCLLhMFF9FXXVQwdsCeNLLq3Xx
Z4AvypgIKBsEtx4GwHVIiQllismkWWIVEnWOs+u2PhtpG5RfbZiH05cAp2WP
zYq54jYHZRNQxacFFqrcLTeHVsojSaDFoGWkljrgCmhQV4Dime1kURq2.6xJ
ALYdAysgAsdWEn2BYEgCOgMhG3tm1hDpCY0wmpVNjwZmP87u6IbnMpEjoc.N
wvllxRleDypcoPtAtRrUtxnaiggmj7eCLr6UYQrUxE3a.GyJ454OnDkbm5IQ
1sUk4eivHqD9CtQF1zKUFL+FVf0IaMyFlcqHk7gLr9RHkVWeP9+KSeq01j29
zuqqhb3RcaVotstTXdMzCrgKQWtcuzlrcLNMi20nqC1ygDYM+TOPwW+OD3Qp
9
-----------end_max5_patcher-----------
Live 9.5 (64bit), Max 7.0.6, Windows 10, Push 2, Korg electribe2, Bass Station II, Launch Control XL, Faderfox DJ3

M4L

Because789
Posts: 440
Joined: Thu Apr 28, 2011 1:26 pm

Re: Push developer kit: M4L devices for Push!

Post by Because789 » Thu Apr 18, 2013 5:51 pm

I have some major issues after upgrading to 9.0.3. Nothing works what yesterday was working. I even had to shut down Live to get the grid back on Push...

Edit: I get "live.object: Invalid syntax: 'grab_control id -3'" when I try to grab the grid with the following code (which is taken out from push_grid)

Code: Select all

----------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4gwGWEVeoZ
g.z9HeJLHn0BdRu1fxjK1nflO2gQ0hNaYWtJafI734mrifJ61yOguKcgdzZl
gBOEpvSlgBOXU9tTvt0BOXcdYFxMHyJgW9vm.p1L+HOErYdJbc9cgA6SD9PK
7EYqxnAwhVslSZ7ErZA6ZPKRhGos25qJKvfzB8dqrvQ+VKRUSkfnd1cM9BFo
gERmRB42tQvvArhg67SqFranYnrC1PtbFeyMgGcVQMheKCgJx0AgZU95nex2
nd5jMosun91MZTDbGayunnI1PsGRg2YdUEdXCinyOxCNRT5LTsg.VswYdJ7D
PCXmgB+GYWGDvlJIyPcdvt8leFavdef0ZvvCSc9M4KLXGrrYpvCKzF17S3Ym
UBGlYBO7nC7tnBuwWOtkVbtaNFu+WCW.uoum0qjZ2RxPRPu24sQIq8iJdGsO
d1c81u992RP56MgW95+DB9Mf2EsjhoLF93BH1c7cMo2xdwf2kaSrYh1BAftS
1H3Dtby+wkszhQodjoXmrghtC2IaFj90eR7cxdlyQ1We6mqiWDDHOLd.5sT7
7eODoy2Jiw1DapSRK6kTD1koV+HW7cBHJch28PzBSyG5YARa6RsDrm3JsYzi
8NSOqlG1otP6v8Ym80fELFDASsGgckELU+J.QqUZLuNhFtQ7z8JZnlG1LRzr
vWeQS5iFB0nW+NTKOP5ZVN2.QyEln4cCDMGXh1MXDpbu4pV505UzrluhF4FH
ZVv8FbsMdPf6A8ZKZXXCCXW+Nz19sGxQ00UzNIVmoQzJhcq0tTlRpZu6j0dm
Iqickrd2QxT2Pwe9eBUZpmC
-----------end_max5_patcher-----------
Edit 2: just realised that these are no news (viewtopic.php?p=1501358#p1501358)
Live 9.5 (64bit), Max 7.0.6, Windows 10, Push 2, Korg electribe2, Bass Station II, Launch Control XL, Faderfox DJ3

M4L

badeshi
Posts: 31
Joined: Sat Dec 11, 2010 11:02 am

Re: Push developer kit: M4L devices for Push!

Post by badeshi » Sun Apr 21, 2013 9:09 pm

just downloaded this. Great work! dont know what Im doing but you have inspired me to learn!

Shokol8
Posts: 155
Joined: Tue Sep 07, 2010 1:07 am

Re: Push developer kit: M4L devices for Push!

Post by Shokol8 » Mon Apr 22, 2013 12:20 am

wicked i thought of that , and i think someone made a version for the launchpad , but i couldn't make it work, i havn't the push or live9 either, but i tried the beta version and I can't wait to buy it to work again with it, suite 9 is the beast, as i found live 9 free try a bit too limited!
Shokol8
Paris, Bristol
MBP i5 2.3Gh 8GB 500SSD, 1TB HDD
Sierra Suite 9.7 Edirol FA101
CME VX5, Irig Keys Pro
APC40/Push 1
Ipad Air, Alesis I/O dock, NI S4 & F1
http://soundcloud.com/dr_goldsylver-fastfinger

flocked
Posts: 45
Joined: Wed Aug 18, 2010 2:42 pm

Re: Push developer kit: M4L devices for Push!

Post by flocked » Mon Apr 29, 2013 8:09 pm

Good news! With the latest 9.0.4 beta Ableton fixed the bug that prevents all Push m4l objects from working with 9.0.3.
The "grab_control" function which allows to gain control over a control surface's button matrix via Max for Live would not work anymore (regression in Live 9.0.3).

lo.key
Posts: 360
Joined: Tue Dec 22, 2009 7:05 pm

Re: Push developer kit: M4L devices for Push!

Post by lo.key » Mon Apr 29, 2013 8:48 pm

top notch!

astartes72
Posts: 6
Joined: Mon Feb 27, 2012 10:11 am

Re: Push developer kit: M4L devices for Push!

Post by astartes72 » Wed May 01, 2013 12:33 pm

The Kit works like a charm. I´ve tested it with the LPC-Ditto Push emulation (that normally isn´t able to enter usermode) as well.....and it runs flawlessly on that, too. Really great work.

Just my two cents, but a Kit like this for the other grid Based Controllers (Launchpad, the APC´s, the livid Controllers) would be awsome....
Back to Topic: Any Plans from the ceators site to port more M4L Monome devices? (i hope so as i can´t get my head around M4L, so i´m only a user)

S4racen
Posts: 5138
Joined: Fri Aug 24, 2007 4:08 pm
Location: Dunstable
Contact:

Re: Push developer kit: M4L devices for Push!

Post by S4racen » Wed May 01, 2013 12:53 pm

astartes72 wrote: Just my two cents, but a Kit like this for the other grid Based Controllers (Launchpad, the APC´s, the livid Controllers) would be awsome....
Challenge as it would involve re-writing the whole of the remote-script for this kind of work to be repeated... The APC40 for example is a nightmare to hack with all the different ways that it can be flushed and grab control back to the defaults...

Cheers
D

Post Reply