Page 1 of 2

AbletoMix, m4l mixing patch for iphone/ipod using osc

Posted: Wed Dec 02, 2009 8:35 pm
by håkan bråkan
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?

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

Posted: Thu Dec 03, 2009 2:19 am
by jon_moore
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?

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

Posted: Thu Dec 03, 2009 9:13 am
by håkan bråkan
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

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

Posted: Thu Dec 03, 2009 12:53 pm
by mdk
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? :)

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

Posted: Thu Dec 03, 2009 1:16 pm
by jon_moore
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.

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

Posted: Thu Dec 03, 2009 2:42 pm
by håkan bråkan
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.

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

Posted: Fri Dec 04, 2009 9:49 pm
by slee
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.

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

Posted: Sat Dec 05, 2009 11:50 am
by håkan bråkan
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.

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

Posted: Wed Dec 09, 2009 12:46 pm
by dtr
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.

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

Posted: Wed Dec 09, 2009 2:41 pm
by håkan bråkan
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 :) ?

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

Posted: Wed Dec 09, 2009 3:03 pm
by dtr
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!

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

Posted: Wed Dec 09, 2009 10:51 pm
by [nis]
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

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

Posted: Wed Dec 09, 2009 10:59 pm
by mdk
[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.

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

Posted: Wed Dec 09, 2009 11:06 pm
by technog0d
[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

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

Posted: Wed Dec 09, 2009 11:09 pm
by håkan bråkan
Spitze! I'm sitting in sweden so I can't test it :(
Anyone care to share a tunnel for me ;)