How to start and stop the Looper from Max For Live?

Learn about building and using Max for Live devices.
Post Reply
TomSwirly
Posts: 109
Joined: Wed Apr 30, 2008 7:55 pm

How to start and stop the Looper from Max For Live?

Post by TomSwirly » Fri May 07, 2010 6:13 pm

I'd like to start or stop a looper from Max For Live but I can't see a way to do it using the Live API.

I can assign that looper button to a keyboard command or a MIDI incoming command, sure - but I want my Max For Live program to start and stop the looper for me so I don't have to touch the keyboard

particularly since Live is so very unwilling to understand program changes, which are the only things my instrument will send to it :-( -

but generally since I'm sequencing my whole show this way.

(Note that I'm doing this all through Javascript, so I can emit pretty well any command I like to the Live API

Thanks in advance!

Tone Deft
Posts: 24152
Joined: Mon Oct 02, 2006 5:19 pm

Re: How to start and stop the Looper from Max For Live?

Post by Tone Deft » Fri May 07, 2010 6:31 pm

try this.
http://www.maxforlive.com/library/device.php?id=285

you can rip it apart and make it just for Looper. maybe I'll write one later.

Hoffman2k also has some devices that do a similar thing.
In my life
Why do I smile
At people who I'd much rather kick in the eye?
-Moz

TomSwirly
Posts: 109
Joined: Wed Apr 30, 2008 7:55 pm

Re: How to start and stop the Looper from Max For Live?

Post by TomSwirly » Fri May 07, 2010 6:47 pm

I don't think the Looper start/stop button is a device parameter, unfortunately, or it'd be a one-liner from Javascript... or is there something I'm missing?

TomSwirly
Posts: 109
Joined: Wed Apr 30, 2008 7:55 pm

Re: How to start and stop the Looper from Max For Live?

Post by TomSwirly » Fri May 07, 2010 6:51 pm

I just tried your very nice little device and unfortunately it does not let you start and stop the looper... :-(

Tone Deft
Posts: 24152
Joined: Mon Oct 02, 2006 5:19 pm

Re: How to start and stop the Looper from Max For Live?

Post by Tone Deft » Fri May 07, 2010 7:01 pm

:? you're right, the 'big button' doesn't show up.

an oversight of the API?
In my life
Why do I smile
At people who I'd much rather kick in the eye?
-Moz

amounra93
Posts: 432
Joined: Sat Jan 24, 2009 8:16 pm
Location: Arcata, CA
Contact:

Re: How to start and stop the Looper from Max For Live?

Post by amounra93 » Fri May 07, 2010 9:08 pm

I'm still using superlooper because of this....in addition, u can manually adjust latency offset.
http://www.aumhaa.com for Monomod and other m4l goodies.

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

Re: How to start and stop the Looper from Max For Live?

Post by S4racen » Fri May 07, 2010 10:51 pm

Yeah i totally want this access as well....

Didn't get far with ipoke object in building my own that is....

Cheers
D

jrs1
Posts: 37
Joined: Wed Mar 17, 2010 9:46 pm

Re: How to start and stop the Looper from Max For Live?

Post by jrs1 » Sat May 08, 2010 9:39 am

I currently have a set up where I am controlling Live Looper start and stop using live object and java script.

There are some problems

From Javascript you can control the separate start, stop, record, play and over dub modes, but you cannot for example send one "bang" to the multi-button.

Secondly, when you control the live looper, using live.object or javascript, none of the quantise features work.

I wanted to have two loopers in parrallel, and even though I set the quantise settings in the second looper to follow the song tempo and start recording/overdubbing quantised, when you send the message from JS or live.object, Looper starts the action (rec/play) immediately, it does not quantise the instruction you just sent to it.

I didn't want to build a lot of quantisation settings into my m4l patch, so I went down a different route, and used IAC midi driver to loopback midi notes sent from M4L, back into live midi-map, to control the looper multi-button.

BUT, this still didn't work, somehow, somewhere (despite having cleaned all my M$L code) I was getting the "undo" command sent to the Looper, and had very unstable behaviour.

I can send examples, maybe you will have more luck, I am still working on a better solution.

email me - jsharp7 at gmail.com

john

ring (Simon Slowik)
Posts: 121
Joined: Fri Oct 30, 2009 3:35 pm

Re: How to start and stop the Looper from Max For Live?

Post by ring (Simon Slowik) » Sat May 08, 2010 11:12 pm

Hi jrs1,

I'm controlling the Looper from within M4L by sending keystrokes that are mapped to the Looper's Buttons in ableton.

You can get my keystroke emulation external from maxobjects.com.

If you have further questions on how it works just contact me!

Hope this helps.

ring

jrs1
Posts: 37
Joined: Wed Mar 17, 2010 9:46 pm

Re: How to start and stop the Looper from Max For Live?

Post by jrs1 » Sun May 09, 2010 5:07 pm

excellent, thanks a lot!

ring (Simon Slowik)
Posts: 121
Joined: Fri Oct 30, 2009 3:35 pm

Re: How to start and stop the Looper from Max For Live?

Post by ring (Simon Slowik) » Sun May 09, 2010 5:51 pm

it's my pleasure!

TomSwirly
Posts: 109
Joined: Wed Apr 30, 2008 7:55 pm

Re: How to start and stop the Looper from Max For Live?

Post by TomSwirly » Mon May 10, 2010 4:05 pm

Thanks for two very useful responses to my question! I'm off to check out this great button-presser, which is exactly what I wanted... Thanks!

Post Reply