AbletoMix, m4l mixing patch for iphone/ipod using osc

Questions and discussion about building and using Max for Live devices
håkan bråkan
Posts: 172
Joined: Mon Jan 24, 2005 10:45 pm

AbletoMix, m4l mixing patch for iphone/ipod using osc

Post by håkan bråkan » Wed Dec 02, 2009 8:35 pm

I made this patch to able to mix in my sofa :) , turn off the lights and just sit and listen. Here is a crappy demo video (updated version):
http://vimeo.com/8259860


Image

Image

The touchosc gui updates automatically when the patch is loaded in live, and then the track names, volumes and pannings are sent. Communication works back and forth, so it's possible to see which parameters are automated. So far it consists of three "pages", where the first two have 6 channels each and the third is for transport control. However, I need to improve the transport page, so it's possible to skip back and forward and with loop/record on and off. Is the final documentation for maxforlive out now?
Last edited by håkan bråkan on Fri Dec 18, 2009 5:35 pm, edited 1 time in total.

jon_moore
Posts: 320
Joined: Thu Oct 23, 2008 4:50 pm

Re: AbletoMix, m4l mixing patch for iphone/ipod using osc

Post by jon_moore » Thu Dec 03, 2009 2:19 am

Interesting idea but I'm trying to understand why you would need to use M4L to achieve this. Surly you can use the standard version of TouchOSC and midi map to the parameters you wish to control. Is the M4L patch for saving the parameter mapping?
JM

http://leftside-wobble.blogspot.com/

MacBook Pro 2.8 (10.5.6)

håkan bråkan
Posts: 172
Joined: Mon Jan 24, 2005 10:45 pm

Re: AbletoMix, m4l mixing patch for iphone/ipod using osc

Post by håkan bråkan » Thu Dec 03, 2009 9:13 am

Yes its possible to midi map, but then I will have to map everything when I want to mix. In this way it's just to drag the m4l patch in whatever live set I want to mix, and it updates the touchscreen with track names, fader, panning and solo settings. So this patch is always "mapped" using live api to the first 12 channels of the live set, and some transport controls.

The midi stuff I've tried with two-way communication also have some sketchy fader jumps, and it does not send the automated changes. By using M4l it's possible to add some "intelligence" to the behavior, but you can do that with python scripts for control surface as well, but not in the same modular manner.

cheers

mdk
Posts: 914
Joined: Sun Jul 31, 2005 3:51 pm
Location: Skopje, Macedonia
Contact:

Re: AbletoMix, m4l mixing patch for iphone/ipod using osc

Post by mdk » Thu Dec 03, 2009 12:53 pm

nice, thats exactly what im building but for android devices...you been reading my mind? ;)

im actually waiting for a response about how the javascript API is supposed to work as i'd rather build it with javascript and im writing it up as a tutorial at the same time..

I dont know how willing you are to open your code, but if we could share the same OSC messages that would be nice. care to share your schema? :)
Pr0k Records - Bandcamp Facebook Twitter

jon_moore
Posts: 320
Joined: Thu Oct 23, 2008 4:50 pm

Re: AbletoMix, m4l mixing patch for iphone/ipod using osc

Post by jon_moore » Thu Dec 03, 2009 1:16 pm

håkan bråkan wrote:Yes its possible to midi map, but then I will have to map everything when I want to mix. In this way it's just to drag the m4l patch in whatever live set I want to mix, and it updates the touchscreen with track names, fader, panning and solo settings. So this patch is always "mapped" using live api to the first 12 channels of the live set, and some transport controls.

The midi stuff I've tried with two-way communication also have some sketchy fader jumps, and it does not send the automated changes. By using M4l it's possible to add some "intelligence" to the behavior, but you can do that with python scripts for control surface as well, but not in the same modular manner.

cheers
Nice. So in many ways this actually turns TouchOSC into a mini Lemur. Cool.
JM

http://leftside-wobble.blogspot.com/

MacBook Pro 2.8 (10.5.6)

håkan bråkan
Posts: 172
Joined: Mon Jan 24, 2005 10:45 pm

Re: AbletoMix, m4l mixing patch for iphone/ipod using osc

Post by håkan bråkan » Thu Dec 03, 2009 2:42 pm

mdk wrote:nice, thats exactly what im building but for android devices...you been reading my mind? ;)

im actually waiting for a response about how the javascript API is supposed to work as i'd rather build it with javascript and im writing it up as a tutorial at the same time..

I dont know how willing you are to open your code, but if we could share the same OSC messages that would be nice. care to share your schema? :)
I intend to share the patch but I need to clean it up a bit before I do so, this was more of a test patch to see if it was possible to do the stuff I had in mind. My idea is to build a standalone iphone app with a gui that is generated automatically from ableton live, similar to mackie but with better functionality ;)

Cool with android, it's really great now with osc, simple to set up wireless communication and you can easily understand what's happening.
jon_moore wrote: Nice. So in many ways this actually turns TouchOSC into a mini Lemur. Cool.
Yep, hehe, the ability to send labels from ableton live to the touchscreen is really nice.

slee
Posts: 22
Joined: Fri Sep 03, 2004 6:46 pm

Re: AbletoMix, m4l mixing patch for iphone/ipod using osc

Post by slee » Fri Dec 04, 2009 9:49 pm

håkan,
any chance you are gonna post your device soon? I am a Max n00b that desperately wants to use my iphone/touch osc to control some VST's without having to use Osculator.

håkan bråkan
Posts: 172
Joined: Mon Jan 24, 2005 10:45 pm

Re: AbletoMix, m4l mixing patch for iphone/ipod using osc

Post by håkan bråkan » Sat Dec 05, 2009 11:50 am

It's quite messy right now... But I've implemented more transport feedback now as well, feeding the display with seconds and bars, and a "fader" that shows where you are in the song. Would be great to attach the display to the monome somehow.

If you want to control a plugin I think you could feed live.path with "live_set tracks 0 devices 0" for the first plugin on channel 1 for example, and then use an live.observer to listen on changes and modify it. I've not tested to control devices yet though.

dtr
Posts: 14
Joined: Thu Dec 03, 2009 8:32 pm
Location: Rotterdam NL
Contact:

Re: AbletoMix, m4l mixing patch for iphone/ipod using osc

Post by dtr » Wed Dec 09, 2009 12:46 pm

I'm working on a similar application, see here:

http://forum.ableton.com/viewtopic.php?f=1&t=131021
http://dtr.noisepages.com/2009/12/in-de ... -for-live/

Right now I have the features described above working plus another page with 8 sliders automapping to the selected device's macro controls or first 8 parameters if it isn't racked. All with feedback of parameter names and values. Next up is a clip trigger matrix, XY pads and more.

håkan bråkan
Posts: 172
Joined: Mon Jan 24, 2005 10:45 pm

Re: AbletoMix, m4l mixing patch for iphone/ipod using osc

Post by håkan bråkan » Wed Dec 09, 2009 2:41 pm

cool! It's a pity though that the gui on touchosc is static, I'm thinking of starting an open source project for implementing a generative/scriptable interface for osc controls, anyone wants to join :) ?

dtr
Posts: 14
Joined: Thu Dec 03, 2009 8:32 pm
Location: Rotterdam NL
Contact:

Re: AbletoMix, m4l mixing patch for iphone/ipod using osc

Post by dtr » Wed Dec 09, 2009 3:03 pm

håkan bråkan wrote:cool! It's a pity though that the gui on touchosc is static, I'm thinking of starting an open source project for implementing a generative/scriptable interface for osc controls, anyone wants to join :) ?
Oh yes! At some point i'm going to run into the limitations of TouchOSC. It's fine for standard Ableton controls but my surround audiovisual work will need custom (multitouch?) controls. I was already thinking of digging into OpenFrameworks coding for iPhone once I'm done with my current development. I'm a noob with OF though, and all other compiled coding for that matter. Willing to learn though!

[nis]
Posts: 578
Joined: Tue Dec 19, 2006 2:31 pm
Location: Ableton Headquarters
Contact:

Re: AbletoMix, m4l mixing patch for iphone/ipod using osc

Post by [nis] » Wed Dec 09, 2009 10:51 pm

You might take a look at "FantaStick": http://pinktwins.com/fantastick
It allows to draw OpenGL objects on the iPhone/Touch

Here's a preview of something I'm working on:

Image

Best,
Nico
Nico Starke
Ableton Product Team

mdk
Posts: 914
Joined: Sun Jul 31, 2005 3:51 pm
Location: Skopje, Macedonia
Contact:

Re: AbletoMix, m4l mixing patch for iphone/ipod using osc

Post by mdk » Wed Dec 09, 2009 10:59 pm

[nis] wrote:You might take a look at "FantaStick": http://pinktwins.com/fantastick
It allows to draw OpenGL objects on the iPhone/Touch
thats a really interesting approach, i'll check out their protocol see how much effort it would take to implement it on android as well.
Pr0k Records - Bandcamp Facebook Twitter

technog0d
Posts: 265
Joined: Mon May 26, 2008 1:14 pm
Location: Philly
Contact:

Re: AbletoMix, m4l mixing patch for iphone/ipod using osc

Post by technog0d » Wed Dec 09, 2009 11:06 pm

[nis] wrote:You might take a look at "FantaStick": http://pinktwins.com/fantastick
It allows to draw OpenGL objects on the iPhone/Touch

Here's a preview of something I'm working on:

Image

Best,
Nico
I like the concept of Fantastick a lot... However, in my tests, the screen refreshes seem to be slow. What have you experienced?

Mike
Websites:
Max For Live Community site:
http://www.max4live.info
http://www.noisemakers.info

Controllers: Lemur, Ohm 64, Monome, APC40, Launchpad
Daw: Live 8 Suite
Audio Interfaces: Apogee Ensemble & Duet
Monitors: JBL LSR 4300

håkan bråkan
Posts: 172
Joined: Mon Jan 24, 2005 10:45 pm

Re: AbletoMix, m4l mixing patch for iphone/ipod using osc

Post by håkan bråkan » Wed Dec 09, 2009 11:09 pm

Spitze! I'm sitting in sweden so I can't test it :(
Anyone care to share a tunnel for me ;)

Post Reply