Forums > Max For Live

Can M4L fold a device?

Nov 28 2013 | 11:07 pm

Hi all,
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,

Nov 29 2013 | 3:36 am

Do you mean fold a device via the API ?
I would check in the LOM.

Nov 29 2013 | 7:47 am

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,

Nov 29 2013 | 11:39 am

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.

Nov 29 2013 | 11:40 am

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.

Nov 29 2013 | 12:42 pm

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



Nov 29 2013 | 1:15 pm

…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 :)

Dec 01 2013 | 10:30 pm

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?

  1. IMG_0571-0000


  2. IMG_0593


  3. IMG_0594


  4. IMG_0595


Dec 04 2013 | 12:14 am

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.

Viewing 9 posts - 1 through 9 (of 9 total)

Forums > Max For Live