Can M4L fold a device?

Nov 28, 2013 at 11:07pm

Can M4L fold a device?

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,
miguel3d

#274095
Nov 29, 2013 at 3:36am

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

#274104
Nov 29, 2013 at 7:47am

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,
miguel3d

#274118
Nov 29, 2013 at 11:39am

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.

#274141
Nov 29, 2013 at 11:40am

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.

#274142
Nov 29, 2013 at 12:42pm

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

peace

Danny

#274148
Nov 29, 2013 at 1:15pm

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

#274149
Dec 1, 2013 at 10:30pm

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,
miguel3d

P.S. Any good M4L code snippet libraries out there?

Attachments:
  1. IMG_0571-0000
  2. IMG_0593
  3. IMG_0594
  4. IMG_0595
#274343
Dec 4, 2013 at 12:14am

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.

#274667

You must be logged in to reply to this topic.