monome: community
news
events
applications
projects
hardware
arduinome
help
trade
ioflow
movie
open
not signed in (sign in / register)
Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.
[Update 1.2]TouchControl - TouchOSC & M4L to control Ableton Clips/Mixer/Devices
-
- CommentAuthorvoku
- CommentTimeFeb 4th 2010 edited
Hi everyone,
I've been working on a Control Script for Ableton in conjunction with TouchOSC for a few weeks now and it has come to the point that i'd like to share it with all of you.
I've been reading pretty much every single thread about clip launchers and control scripts / plugins of all sorts and tried to understand more about the LiveAPI and control scripts in general. After trying out LiveControl with a Monome emulator on the phone i was amazed by the cliplauncher and of course i wanted something like that to work native on my iphone.
Long story short: Thanks to the great community i've been able to make this app - i don't know if this is the right place, since it has actually nothing to do with monomes. But i thought i'd share it with you people first. Hope you guys like it and maybe some of you have ideas for improvements :-)
Features:
1. Page Clips:
http://dl.dropbox.com/u/4129457/clips.PNG (the colors are actually a little different on the phone)
7x4 Cliplauncher Matrix, Scrollable with dedicated buttons, Name & Playing Status Feedback.
Extra Functions: Scroll View, Solo/Cue, Fire Scene, playing quantization + -, Metro on off. Shift, while being pressed, changes the solo/cue buttons to Stop buttons, also Shift-key has to be pressed for the stop all button.
2. Page 1-7
http://dl.dropbox.com/u/4129457/mixer.PNG
Mixer Page for Tracks 1-7 + Mastertrack. Including Volume Faders and Buttons for Arm / Mute for each track. output-level feedback through little faders in the back. Feedback of Track and Active Clip-names
3. Page 8-14
Same as 2nd page for Tracks 8-14 + Mastertrack
4. Page Pans
http://dl.dropbox.com/u/4129457/pan.PNG
Pans for Tracks 1-14
5. Page Drums
http://dl.dropbox.com/u/4129457/drums.PNG
16 Drumpad Buttons that automap to the viewable drumpads on any drumrack.
Needs extra maxpatch + enabled Control Surface in Ableton prefs to work.
6. Page Device
http://dl.dropbox.com/u/4129457/device.PNG
8 Faders automap to the first 8 controls on any selected device or device rack. Buttons provide support to change tracks, devices, turn selected device on / off or jump to return tracks A / B
7. page Sends 1-7
http://dl.dropbox.com/u/4129457/sends.PNG
Provides Faders for Sends A/B for Tracks 1-7
8. Page Sends 8-14
That's it! :-)
There's still a few bugs - on first load not all names might be placed in the right position for example. scroll the view around once and it should be ok. Please let me know if there are wishes for other pages or different functionality - i'd sure like to keep this app updated - also having the ipad in mind. On a side note: I learned Max while i designed this app, so i really suck at it - if you find ways to do things in a better way or more elegant - please let me know :)
One thing i'm really interested in is the colored grid around the observed area inside live - however i still have no clue how i could do that.
Enjoy :-)
Installnotes:
For Cliplauncher / Mixer / Pans / Device / Sends:
1. Put TouchControl.amxd and cg.API.script.js into the same folder.
2. Sync TouchControl.touchosc to your iPhone and load the Interface. If you don't like the template - change it all you want! If you make sure the OSC adresses stay the same it should still work :-)
3.Put TouchControl.amxd anywhere into your set. Insert your iPhone IP and Ports and press the shiny button! This Button will also reset the scan and output all information about tracknames etc again - incase you restart TouchOSC for example.
(only) For Drums:
1. http://dl.dropbox.com/u/4129457/tcdrum.png
Start TCDrums.maxpat with either Max MSP or Max MSP Runtime. Select internal Midi Bus that you're gonna use.
On OSX you can use "from MaxMSP 1" or "from MaxMSP Runtime 1". On Windows something like Midi yoke should work.
2. Go to Folder "TouchControl" open UserConfiguration.txt
3. Change
InputName: from MaxMSP 1 <-- change to the Bus you selected in TCDrums.maxpat (exact name, including numbers)
OutputName: to MaxMSP 1 <-- shouldn't be needed. Change to corresponding input Bus just in case ;-)
4. Move Folder "TouchControl" with the UserConfiguration.txt inside to one of the following:
[Windows boot drive] > Users > [username[ > AppData > Roaming > Ableton > Live [version] > Preferences > User Remote Scripts
or (Mac OS)
[boot drive] > [Library folder] > Preferences > Ableton > Live [version] > User Remote Scripts
5. Select TouchControl as Control Surface (should be at the bottom) and use the same Midi busses for in and output that we used earlier in the .txt and TCDrums.maxpat.
Done! now the Drumpads should work aswell. If you want to use them in the future you'll have to run the TCDrums.maxpat next to the M4L Device
Current Versions:
http://dl.dropbox.com/u/4129457/TouchControl.zip
http://dl.dropbox.com/u/4129457/TouchControl1.1.zip -
- CommentAuthorle k
- CommentTimeFeb 4th 2010
@voku
whaoo!
sounds very promising!
Device page looks like what i need!
Going to check that and give you feedback.
Thanks for sharing! -
-
CommentAuthorpauk
- CommentTimeFeb 4th 2010
wow voku!!! this is great! the best app for iphone till now.
Almost everything working here, the biggest bug is with the clip launcher I think, I can see the clip names, can launch them but get som errors on refresh and launchin empty clips for stop the track.
faders working, sends working, 8 first parameters working, amazing.
I-m going to try the drums part now.
Thanks a lot -
-
- CommentAuthorbonobos
- CommentTimeFeb 4th 2010
Hey Voku - this is truely awesome! Thanks a bunch for this matey :) -
- CommentAuthorle k
- CommentTimeFeb 4th 2010
shit I can't get touch osc finding my network. it 's really annoying, got this problem few times during the past (sometimes just before gig) but i don't how it worked after few tweaks.
But today, no way! after 1 hour trying!
Any Help? -
- CommentAuthorle k
- CommentTimeFeb 4th 2010
ok it works now!
I had to run osculator to get touchosc finding my network!
I don't know why, but it works. -
- CommentAuthorle k
- CommentTimeFeb 4th 2010
pffffff.....weird, weird, weird.. touchosc is now finding my network just if osculator is running, but no way to add the layout with touch editor...I really want to figure out.
Did someone have this issue? -
- CommentAuthorclarity
- CommentTimeFeb 5th 2010
hi voku, thanks. This is really useful!
basically everything works (device page especially what I needed) but I'm not getting any clip names at all. Also certain feedback not making it back to touch osc I think...... there is no feedback for which clips are playing (I see they're grayed in your picture) or when a track is soloed. Also, the "stop all" button is not doing anything.
Any ideas? -
- CommentAuthorvoku
- CommentTimeFeb 5th 2010 edited
@ le k: I never needed TouchOSC to find my network, it was enough to press the Sync button in the TouchOSC Editor and then click on "Add" on TouchOSC. If it doesn't find the hosting Computer immediately it's usually enough to stop Syncing for a second and then press Sync again. Firewall maybe? Hope you can figure it out!
Pauk: Can you elaborate on the Cliplauncher Problems? I'm pretty sure i left an error in the javascript somewhere, might help me find it :D
Cheers for all the feedback guys - i'm really glad it can help one or the other :-)
Edit: @Clarity: the javascript + the amxd are in the same folder? maybe it helps if you press the start button again, it should kind of reboot all observers and output all the data once to your phone. What kind of Feedback do you get from live to the phone? anything at all?
About the stop all button: should be working if you press "Shift" at the same time. If not this might have something to do with your missing feedback. Are you running the m4l device closed or in edit mode? i often notice missing feedback after having it in edit mode - to make sure it works correctly i always load the TouchControl.amxd freshly into a set.
Chris -
- CommentAuthorclarity
- CommentTimeFeb 5th 2010
hey forgive my ignorance on this I just started with touch osc tonight.
yes they're in the same folder on my desktop. Shift + Stop All works, I must've just missed that. I suppose the only things I'm missing are a latch on things like solo/mute/record (but they light up as I press them) and any clip or track names. I'm running the patch closed tho.... everything else is gravy... -
-
CommentAuthorpauk
- CommentTimeFeb 5th 2010
Hi Voku, I'm at work now, but this afternoon I will check it again and let you informed. -
-
- CommentAuthorvoku
- CommentTimeFeb 5th 2010 edited
clarity: Don't worry - was just going through a few things that i had troubles with :D Hmm that's weird nonetheless! Do certain pages give complete feedback? Like page 2 / 3 /4 - do they give tracknames? Oh if you change one of the volume faders in live - does it reflect the change on the phone?
If not we might just have a communication problem between the patch and the phone - should be fixable! If you get some feedback but not all - could you do me a favour and take screenshots on your phone for pages 1 / 2 / 3 after loading the device in a full set and pressing the start button?
Cheers
Chris
Edit:
@ le k, clarity and everyone else who has problems with the patch: Can also add me on msn (voku@gmx.net) or drop a mail to christian@blomert.net and we'll try to figure those probs out :-)
Edit2:
Network Settings example
http://dl.dropbox.com/u/4129457/network.png -
- CommentAuthorle k
- CommentTimeFeb 6th 2010
i ve been spend the last 1 days trying to get your m4l touchosc patch working...
At this point , as i posted it on the forum, i 'm stuck with the layout and touchosc...never had this trouble before , but after 2 days trying and tryin here what i have:
so, no way to add a new layout in touchosc:
Whatever network i create on my mac and connect on my iphone wifi, touchosc is able to detect just this one Macbook-pro-de-sylvain-garcia-2.local. which is the name of my computer.
If for example i creat a network with the name : "test" , and i reach it, there is no way touchosc can find this" test " host . Actually it able to find nothing.
As soon as i run osculator (i know i don't need osculator with your patch), it able to find a host, but it would be Macbook-pro-de-sylvain-garcia-2.local.
If i run a new windows in osculator with osc input port 8001, touchosc will find 2 host, another windows with 8002, it will find 3 hosts, etc, etc...but the host name will be everytime Macbook-pro-de-sylvain-garcia-2.local. , just the port(outgoing) in touchosc will change too 8000, 8001, 8002 etc....
SO if i use it like that and make a test in ableton with a layout already uploaded in my touchosc iphone , it works perfectly with ableton.
BUT NO WAY TO ADD A LAYOUT FROM touchosc editor to my iphone!!!
first time i meet this kind of really weird issue.
I used touchosc for all my gigs without problem, and was able to add as many layout as i wanted before.....
If you have any idea about where the shit might come from, please let me know, i really want to test your patch, and also be able to add my own layout again!!! -
- CommentAuthorST8
- CommentTimeFeb 8th 2010
The coloured grid is only available from the python api at the moment.
It's implemented in LiveOSC. Try calling /live/selection woffset, soffset, width, height when LiveOSC is running. -
- CommentAuthorle k
- CommentTimeFeb 9th 2010
after 5 days without able to add layout within toucosc, it works again! I don't know why but it works just with my wifi internet provider ip adress and not with an ad hoc network!
I'm going to check why...
Whatever,
touchcontrol is just brilliant, clip launcher a bit buggy for the moment but the rest is just awesome!!
Most of all the device page! That is going to increase my workflow a lot!!
I was not really super enjoyed by the new ipad but i can recognize a touchcontrol ipad version might be a super powerful controller....an ultimate quiet cheap controller which would work perfectly with a monome (in my case launchpad + fantastic monomemu).
Whatever, iphone version is already a super great tool even if it's a bit tiny for all the knobs, faders and buttons i want. Easy in studio condition but not that easy on show ( i use to move a lot and be a bit agressive with my tools on stage, :) ). -
- CommentAuthorvoku
- CommentTimeFeb 10th 2010 edited
@ ST8 Hmmm. i'm tempted to rebuild the whole app using LiveOSCs callback functions and observers right now. Actually takes a way so many issues.. should have spend time with the script earlier ;)
Cheers for your comments and all the feedback i received - i'll add a few things today:
I'll try to fix the cliplauncher
I'll add labels to the device page that show the names of current track / device selected
The Jump to Return A & B buttons will be changed for Return Up and Return Down (meaning you can use more than 2 return tracks) Problem is that theres still only 2 Sends you can control via the device (A & B) might change that in a later update.
I've got a few other things planned but i'll see how it works out with these for now ;-)
Any wishes - bugs - feedback - greatly appreciated :)
Chris -
- CommentAuthordrone
- CommentTimeFeb 12th 2010
It's a shame.
Since I use TouchOSC and Osculator I can't add layout. My iphone doesn't sync with TouchOSC editor.
Everything works fine (I can add beatmachine etc..) appart syncing for alternatives layout.
I already contact hexler, but they don't know why.
Definitly another way to add layout will be a good solution. But I'm almost the only one with this problem.
And I would like sooo much to test your Max4Live application! -
- CommentAuthorle k
- CommentTimeFeb 12th 2010
@drone
i had the same issue last week, it was a nightmare, couldn't add layout anymore, didn't know why, and waste 5 days figure out why and trying to fix it.
And i found! But I still doesn't understand why exactly:
Don't create a ad hoc network on your mac, use your regular airport wifi internet connection!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!, open touchosc editor, touch osc iphone, then sync button on touchosc, add layout, and bang, it's working!
let me know if it worked for you
ps: thanks to voku, who tried to help me during a 1 hour support chat!! -
- CommentAuthordrone
- CommentTimeFeb 12th 2010
@le k
Thanks to try to help me, i'll test!
But what do you mean by 'don't create an ad hoc network'?
I thought I have to create one. I'm totally newbe with network, airport etc..
Even I activate airport I have to create a network, no? -
- CommentAuthorle k
- CommentTimeFeb 12th 2010
you usually have to create a ad hoc network to use touchosc and third app osc (osculator, pure data, a m4l patch...). But in the case of adding layout to touchosc, i don't know why, it sometimes doesn't work with a ad hoc network, i think it might have something related to bonjour protocole...but i'm not able to tell you more, i know things just throught what i read.
An ad hoc network it's :
open airport, click create a network, give it a name...this a ad hoc network. -
- CommentAuthorvoku
- CommentTimeFeb 12th 2010 edited
Hey everyone!
About the sync issue: Try to connect both your iphone and your laptop to a hosted wifi (for example setup with a router) - should make it work!
I finished the update - could also call it rewrite. Lots of bugs fixed - especially with the cliplauncher. Should work pretty much without any bigger issues now.
Changes including:
- Complete rebuild of the Cliplauncher. Handling Clips & feedback from toggles like arm / mute / solo etc through LiveOSC. This requires you to install LiveOSC as a midi remote script (see readme.txt). However this drasticly changes performance and reliability for the better.
- Colored grid around the currently viewable clipmatrix (change color by selecting a different position for LiveOSC in the Control Surface options)
- Tapping in an empty clipslot now stops the corresponding track.
- Tapping in an empty clipslot in an armed track now creates a midi/audio clip and starts recording (depending on quantization)
- Changed layout a bit
- Added Hotkeys for Returntracks C & D on Device Page
- Added Labels that indicate currently selected track & device on Device Page
- Ninjaedit: Changed that the colored grid can not exceed your liveset
Hope some of you give it a try :)
Big thanks to ST8 for his wonderful LiveOSC :o)
Oh: quick poll: On pans, rather have tracknames shown or currently active clipsname in that particular track? -
- CommentAuthorle k
- CommentTimeFeb 13th 2010
Yes, well done! I m on bed roght now but will test it before breakfast tomorrow ;)
if it works well i ll use for my gig next week :) -
- CommentAuthormonostef
- CommentTimeFeb 16th 2010
Hi,
first of all, thanks to all you specialists for all your effforts to make life happier for users like me.
I got the Touch Control 1.1 running, everything works, I get the names of the tracks and feedback is working, the only thing that I don't get is that I still have all this weird menu names on my iphone screen exactly as they appear in the touchcontrol layout when I load it into TouchOSCEditor...???
Any Help? -
- CommentAuthorvoku
- CommentTimeFeb 16th 2010
could you make a screenshot of your iphone screen and upload it? Home + power button at once :)
If you mean the Names like "Clips", "1-7", "8-14" etc. then this is intended. if you don't like them you can just delete them in the touchosc editor by drawing a rectangle around them (can't select them otherwise ;) )
Btw: i made another version where - instead of the drumpad - you have another device page with 36 faders that automap to the first 36 parameters of any device. same control functions as the device-rack page and name / value feedback. It's all a bit tiny and probably will start shining when the ipad is out - but it might be still useful to some.
So: Would you rather like the drum page like it is now or would you prefer the device page with 36 encoders? Or have even tinier menubuttons and both? :p
Cheers for any input on this :)
Chris -
- CommentAuthorle k
- CommentTimeFeb 17th 2010
@ voku
36 faders encoders!!!
Or an x y pad with several encoders sync to automatically on a device like ping pong delay, but not sure is possible...is it? -
- CommentAuthorvoku
- CommentTimeFeb 17th 2010
you would have to create if triggers and layouts for each kind of device, it would be possible - but quite an effort.. for the ipad version for sure though!
but the XY pads i'd like to integrate. I'll see if there is any way to spot an X / Y field in m4l. would be quite cool actually :) if not i'll see how many of those there are and maybe automap just a few like ping pong delay or filter delay etc.
oh here's the version with 36 encoders:
http://dl.dropbox.com/u/4129457/TouchControl1.2.zip
and here's how it looks like atm:
http://dl.dropbox.com/u/4129457/dev.PNG
Enjoy :) -
-
CommentAuthorpauk
- CommentTimeFeb 17th 2010
Hi voku, I'm not in front of my computer, but thinking about it...
¿Can I change the name of the LiveOSC folder? because this name is already in use in my Live midi remote scripts by the control of pages.
Thanks -
-
- CommentAuthorST8
- CommentTimeFeb 17th 2010
@pauk
it should be the same script, you shouldnt need to install a new one if its already installed. Latest version can be obtained from http://monome.q3f.org/wiki/LiveOSC -
-
CommentAuthorpauk
- CommentTimeFeb 17th 2010
Thanks ST8 -
-
- CommentAuthorvoku
- CommentTimeFeb 17th 2010
@pauk
If you want to use them at the same time you will have to make a copy of the folder i think. Make sure the two LiveOSC versions use different ports to communicate with their app.
LiveOSC listens to my m4l patch on port 9010 and sends to it on 9011:
self.oscServer = RemixNet.OSCServer(localhost, 9011, None, 9010)
http://post.monome.org/comments.php?DiscussionID=5409&page=1#Item_11 -
- CommentAuthorle k
- CommentTimeFeb 17th 2010
@ voku
the 36 encoders page will be the best tool ever with ipad!!!! -
- CommentAuthorvoku
- CommentTimeFeb 17th 2010
:D glad you like it! like 1 1/2 months till release still.. can't wait!! right now it's a little too tiny - till then i'll try my best to find a way to get the controls in some kind of logical order depending on selected device ! :)
hf in barcelona ! -
- CommentAuthormonostef
- CommentTimeFeb 17th 2010
@voku:
Here's the screenshot. I did not mean your standard naming... Your standard naming is what I am missing... see the attachment... -
- CommentAuthorvoku
- CommentTimeFeb 17th 2010
wow, that's messed up! seems like the touchosc interface is corrupted. here's the original ones:
1.1: http://dl.dropbox.com/u/4129457/TouchControl1.1.touchosc
1.2: http://dl.dropbox.com/u/4129457/TouchControl1.2.touchosc
could you try the one fitting to your version and see if it works any better?
which link did you download your version from? i'll check if this also happens for me -
-
CommentAuthorpauk
- CommentTimeFeb 17th 2010
hi voku!
what the hf means?
i can understand barcelona :) working here right now! -
-
- CommentAuthorvoku
- CommentTimeFeb 17th 2010
hehe hf = have fun :) how's the weather down there? still freezing in berlin, but at least we got some sun! -
-
CommentAuthorpauk
- CommentTimeFeb 17th 2010 edited
:D thanks
after some rainy days we can see the sun!!!
le k are you in barcelona? -
-
- CommentAuthorle k
- CommentTimeFeb 17th 2010
@pauk
on the train to barcelona
tonight gig at moog club play from 2am to 3am -
- CommentAuthormonostef
- CommentTimeFeb 17th 2010
@voku:
thanks for your support. It was my fault, because my TouchOSC Editor was Version 1.02 not the actual one... works fine now... -
-
CommentAuthorpauk
- CommentTimeFeb 18th 2010
Hi voku,
i don't know what i'm doing wrong,
liveosc is updated when i press the start button in the m4l but live is not responding to the changes in liveosc.
I'm on PC, on my home wifi, and tryed it in my two laptops :(
¿any idea?
thanks -