Can M4L fold a device?
If you right-click on any device, there is an option called "Fold". It will collapse the device into a sleek, low-profile vertical line. (Double-clicking the title bar of the device does the same thing.)
Can M4L do this?
Thanks in advance,
Do you mean fold a device via the API ?
I would check in the LOM.
I mean fold a device using M4L via anything.
I have checked the LOM.
I guess what I’m asking is: How could M4L be used to fold a device?
Thanks in advance,
I don’t think it can, to be honest – unless some of the scripty pythony stuff that ipad app devs have been using can do it, in which case it’ll be a long haul to get to it.
One way of doing it is to actively control the size of the Live device, though – THAT is possible, I’ve seen the (relatively simple) code in some of the DrumSynth things in the new MfL packs.
Hey, I think there’s a way.
The shortcut for the device fold is the minus key (ascII num45)
if you use aka.keyboard object you can literally bang a keydown message and it will act like the key has been pressed
…but that also depends on Live’s focus, so there has to be a fair amount of supporting code to get it right. Just be aware of that :)
Thanks so much for the excellent ideas!
The idea about manually resizing the device got me excited for exactly one second, then I realized I can only do that with M4L devices, not standard devices. Also I’d have to add code to each M4L device I use. Great idea for future apps tho.
aka.keyboard would have been ridiculously amazing, but it’s Mac and I’m on Windows. I’m will look for a windows equivalent… (ne1 know of one?)
By the way I solved many of my mapping issues by building a dock/chassis/whatchamacallit for my 25-key oxygen8v2 MIDI keyboard and wireless computer keyboard. I’ve included 4 pics.
Thanks your help,
P.S. Any good M4L code snippet libraries out there?
It is possible to expand/collapse devices in live 9 (max6) but not live 8 (max5), having tested this functionality in both. The device randomizer in the new L9 m4l packs has this functionality I believe, or drumsynth as mentioned.
Forums > Max For Live