Setup tutorial for TouchOSC on an Android Phone to control your DAW - Uses PD and Midi Yoke

For iOS (iPhone, iPad & iPod), Android, Windows Phone, etc. App and Hardware talk
RELATED
PRODUCTS

Post

Not sure if this is the right place for this thread but couldnt see any other place to put it. Moderators feel free to move if I have it wrong.

Anyway I was looking all over the net for a nice walkthrough to get Touch OSC up and running on my android with Ableton and Reason. Found alot of info but nothing collating it into one place. Couldnt even find it here and this is the first place I always look. Certainly there has been the odd reply to other folks problems but nothing coherent. So I figured I would share the steps I took to getting Touch OSC up and running in the hopes that it will be of use to others.


I dont think I have missed any stages but feel free to comment anything you feel may be important to the process.

This is a setup guide for Android 2.2 froyo users who have a wifi enabled Windows 7 PC to get TouchOSC enabled on their phone and controlling their ableton, reason, whatever, live onstage. I reckon its safe to say XP/Vista users are good here as well. There are detailed guides on the hexler website for ipod, iphone users.

All this worked fine for me, of course I cannot guarantee you will be trouble free so take it step by step if you are unsure.

You can find more info over at - http://www.hexler.net

Setup TouchOSC on your Android

1 - download touch osc from the android market to your phone and install.
2 - On your PC go to start and in the search bar at the bottom type in CMD. double click the CMD icon when it appears to open an command prompt.
3 - Type in this command - ipconfig - on the prompt.
4 - look for your IPv4 IP address within the generate4d info.
5 - On your phone in Touch OSC go to network
6 - add the IP address to the host section, leave the ports as they are
7 - make sure you have the simple layout selected in Touch OSC
8 - hit done and exit Touch OSC for now.

Installing PD and Midi Yoke on your PC - Windows XP/Vista/7

1 - Go to the PD (Puredata) home page and download and install PD-extended version for windows - http://puredata.info/community/projects ... d-extended
2 - Install Midi Yoke, its called midiox on the site - http://www.midiox.com - This is a midi virtual in/out driver and all your music programs will show the midi yoke ports once its installed.
3 - Go here - http://discolingua.com/simple-midi-ableton.pd - right click and save as. It will show in your browser as PD code. That is fine, once saved PD will recognise it and open it properly.
4 - Open it to make sure it works in Pure data. Should see a layout that has the same setup as the simple layout in TouchOSC on your phone.

Connecting android phone to pc using wifi

works with froyo 2.2 (not sure about eclair 2.1). You can try Barnacle from the market if you get issues with ad-hoc networking. Barnacle Never worked for me though. Without Ad-Hoc abilities on your phone you will not be able to go any further as far as I am aware.

1 - on your phone go to settings -> wireless + networks -> tethering and portable hotspots
2 - setup a wifi ad-hoc network under the settings and then turn on portable wifi hotspot
3 - now get your pc to connect to the ad-hoc network using your wifi connection manager.
The ad-hoc network name should be android or similar by default. You may rename and add wpa
4 - you should now see your pc connect.

Loading up PD to work with your phone

1 - Make sure your phone and PC are connected via the ad-hoc network
2 - load up PD
3 - load up TouchOSC on your phone
4 - In PD select your midi out port as midiyoke out 1. Go to the menus in PD and select Media -> Midi to do this. For some reason it will not save this setting in PD so be prepared to do it each time round.
5 - in the music program you are using select the midi port as midiyoke in 1
6 - Now go to your phone and open TouchOSC. Move a control and see if it responds in PD. Do this for several controls just to be sure it all works.
7 - keep PD open and now open your DAW of choice
8 - Load up TouchOSC on your phone and start mapping.

Remember to have PD open first and then open your DAW of choice. I did it the other way to test this and it didn't work.

This is the simple set up for TouchOSC on the Android. If anyone has any other PD patches for the other layouts in TouchOSC for android then please post them up if you want to share.

Hope this was helpful

If you like the app for android phones then please donate to http://www.hexler.net so they develop it further so we can get the functionality of the iphone, ipod version. :)
Making The Music Between 0 and 1

http://binaryzeromusic.blogspot.com

Post

Thank you so much. I was struggling so much with this, nearly went mad and then I found this guide. Once again, thank you.

Post

timwright wrote:Thank you so much. I was struggling so much with this, nearly went mad and then I found this guide. Once again, thank you.
Im glad my tutorial helped. It took me ages to figure it out hence the reason i decided to post this.

As an update to the tutorial I now use loopbe1 instead of midiyoke. it works in much the same way as midi yoke except it is more stable imo. simply uninstall midi yoke first then install loopbe1.

Thanks again
Making The Music Between 0 and 1

http://binaryzeromusic.blogspot.com

Post

binaryzeromusic wrote:
timwright wrote:Thank you so much. I was struggling so much with this, nearly went mad and then I found this guide. Once again, thank you.
Im glad my tutorial helped. It took me ages to figure it out hence the reason i decided to post this.

As an update to the tutorial I now use loopbe1 instead of midiyoke. it works in much the same way as midi yoke except it is more stable imo. simply uninstall midi yoke first then install loopbe1.

Thanks again
Thanks a lot, man!
I followed your tutorial and it works great with my ableton 8/samgung galaxy S/touchosc combo.
Much Appreciated!

I have one question!

Do you have the pure data layouts for the default layouts?

I was interested in the "keys" and "beatmachine" layouts...

I converted the default layouts that are on this page:
http://hexler.net/software/touchosc

...using this tool:
http://hexler.net/pure-data-patch-generator

But it didnt work...



:)

Post

PlasticSoul wrote:
binaryzeromusic wrote:
timwright wrote:Thank you so much. I was struggling so much with this, nearly went mad and then I found this guide. Once again, thank you.
Im glad my tutorial helped. It took me ages to figure it out hence the reason i decided to post this.

As an update to the tutorial I now use loopbe1 instead of midiyoke. it works in much the same way as midi yoke except it is more stable imo. simply uninstall midi yoke first then install loopbe1.

Thanks again
Thanks a lot, man!
I followed your tutorial and it works great with my ableton 8/samgung galaxy S/touchosc combo.
Much Appreciated!

I have one question!

Do you have the pure data layouts for the default layouts?

I was interested in the "keys" and "beatmachine" layouts...

I converted the default layouts that are on this page:
http://hexler.net/software/touchosc

...using this tool:
http://hexler.net/pure-data-patch-generator

But it didnt work...





:)
No worries here are the patches I found. They work for me and cover all the inbuilt setups.

http://www.megaupload.com/?d=LPEITZL6
Making The Music Between 0 and 1

http://binaryzeromusic.blogspot.com

Post

Fantastic! Its working great! THANK YOU!
:love:

(using loopbe here too...hehe...)

Post

I am having trouble hooking up my Android. My problem comes at the Tethering & Portable hotspots. I have a Atrix 4G and my options say Tethering & Mobile Hotspots and from there I am not sure what else to do. Please help i think i got the ad-hoc network setup right but it doesn't seem to connect with PD Extended. So please please help me out if you would. Thank you

Post

AUTO-ADMIN: Non-MP3, WAV, OGG, SoundCloud, YouTube, Vimeo, Twitter and Facebook links in this post have been protected automatically. Once the member reaches 5 posts the links will function as normal.
binaryzeromusic wrote:Not sure if this is the right place for this thread but couldnt see any other place to put it. Moderators feel free to move if I have it wrong.

Anyway I was looking all over the net for a nice walkthrough to get Touch OSC up and running on my android with Ableton and Reason. Found alot of info but nothing collating it into one place. Couldnt even find it here and this is the first place I always look. Certainly there has been the odd reply to other folks problems but nothing coherent. So I figured I would share the steps I took to getting Touch OSC up and running in the hopes that it will be of use to others.


I dont think I have missed any stages but feel free to comment anything you feel may be important to the process.

This is a setup guide for Android 2.2 froyo users who have a wifi enabled Windows 7 PC to get TouchOSC enabled on their phone and controlling their ableton, reason, whatever, live onstage. I reckon its safe to say XP/Vista users are good here as well. There are detailed guides on the hexler website for ipod, iphone users.

All this worked fine for me, of course I cannot guarantee you will be trouble free so take it step by step if you are unsure.

You can find more info over at - http://www.hexler.net (http://www.hexler.net)

Setup TouchOSC on your Android

1 - download touch osc from the android market to your phone and install.
2 - On your PC go to start and in the search bar at the bottom type in CMD. double click the CMD icon when it appears to open an command prompt.
3 - Type in this command - ipconfig - on the prompt.
4 - look for your IPv4 IP address within the generate4d info.
5 - On your phone in Touch OSC go to network
6 - add the IP address to the host section, leave the ports as they are
7 - make sure you have the simple layout selected in Touch OSC
8 - hit done and exit Touch OSC for now.

Installing PD and Midi Yoke on your PC - Windows XP/Vista/7

1 - Go to the PD (Puredata) home page and download and install PD-extended version for windows - http://puredata.info/community/projects ... d-extended (http://puredata.info/community/projects/software/pd-extended)
2 - Install Midi Yoke, its called midiox on the site - http://www.midiox.com (http://www.midiox.com) - This is a midi virtual in/out driver and all your music programs will show the midi yoke ports once its installed.
3 - Go here - http://discolingua.com/simple-midi-ableton.pd (http://discolingua.com/simple-midi-ableton.pd) - right click and save as. It will show in your browser as PD code. That is fine, once saved PD will recognise it and open it properly.
4 - Open it to make sure it works in Pure data. Should see a layout that has the same setup as the simple layout in TouchOSC on your phone.

Connecting android phone to pc using wifi

works with froyo 2.2 (not sure about eclair 2.1). You can try Barnacle from the market if you get issues with ad-hoc networking. Barnacle Never worked for me though. Without Ad-Hoc abilities on your phone you will not be able to go any further as far as I am aware.

1 - on your phone go to settings -> wireless + networks -> tethering and portable hotspots
2 - setup a wifi ad-hoc network under the settings and then turn on portable wifi hotspot
3 - now get your pc to connect to the ad-hoc network using your wifi connection manager.
The ad-hoc network name should be android or similar by default. You may rename and add wpa
4 - you should now see your pc connect.

Loading up PD to work with your phone

1 - Make sure your phone and PC are connected via the ad-hoc network
2 - load up PD
3 - load up TouchOSC on your phone
4 - In PD select your midi out port as midiyoke out 1. Go to the menus in PD and select Media -> Midi to do this. For some reason it will not save this setting in PD so be prepared to do it each time round.
5 - in the music program you are using select the midi port as midiyoke in 1
6 - Now go to your phone and open TouchOSC. Move a control and see if it responds in PD. Do this for several controls just to be sure it all works.
7 - keep PD open and now open your DAW of choice
8 - Load up TouchOSC on your phone and start mapping.

Remember to have PD open first and then open your DAW of choice. I did it the other way to test this and it didn't work.

This is the simple set up for TouchOSC on the Android. If anyone has any other PD patches for the other layouts in TouchOSC for android then please post them up if you want to share.

Hope this was helpful

If you like the app for android phones then please donate to http://www.hexler.net (http://www.hexler.net) so they develop it further so we can get the functionality of the iphone, ipod version. :)


Oh Binary please help me dude Im going crazy, All your steps work fine. Using Loopbe1 with Touch Osc and Ableton Live 6. When I go into the Midi settings on Ableton and select Loopbe1 as an input, Ableton still doesnt recognise the touches I make on touchosc even though i can see the movements on PD. What am i doing wrong??

PLEASE HELP!

Post

First I got problems like you guys, too...
It was needed port forwarding in my modem/router... Check if the port you are using are opened on portforward.com... :)

Post

hi,

interesting topic, I would like to have this setup working, but I have a problem, hope someone knows what to do : my computer is not connected, and when I look for IP address, nothing...(win7 64b)
Is there something to do to obtain one ? I just want to set up a Ad-Hoc network, so there's no Internet or other network connection.

thanks for any idea
cheers
Phil
Music : Quantum Crash | Lussy Bless
Recording studio : Wake The Dead ! Studio

Post

Thanks for making the text so readable at certain areas. How about another color?
Best regards from Johan Brodd.
JoBroMedia since 1996.

Post

As a workaround you can drag the mouse pointer over the red text to highlight it, or Ctrl-A to select all text on the page. Even works for text the same color as the background.

Post

Hmm. I did it a while back but I used ipMIDI as I couldn't get MidiYoke to work on Vista/Win7 64 bit at all. Maybe they've fixed the problem?
Programmer, artist and researcher.

Check out my online portfolio:
http://1stcreativesolutions.co.uk/bvera/

Post

I have an acer iconia android tab and i was trying to get it to work on my windows 7 pc, for traktor or ableton , i downloaded the touch osc app from the android market and i downloaded the midi bridge on the pc. i couldnt figure out how to make it work so i found this forum and i tried to do the steps you said to do but i got stuck, i couldnt figure out these parts "Loading up PD to work with your phone

1 - check
2 - check
3 - check
4 - In PD select your midi out port as midiyoke out 1. Go to the menus in PD and select Media -> Midi to do this. For some reason it will not save this setting in PD so be prepared to do it each time round.
5 - in the music program you are using select the midi port as midiyoke in 1
6 - Now go to your phone and open TouchOSC. Move a control and see if it responds in PD. Do this for several controls just to be sure it all works.
7 - keep PD open and now open your DAW of choice
8 - Load up TouchOSC on your phone and start mapping. "
plz help :shock:

Post

Update on:
4 - In PD select your midi out port as midiyoke out 1. Go to the menus in PD and select Media -> Midi to do this. For some reason it will not save this setting in PD so be prepared to do it each time round.
------------------------------------------------
Do all you settings in PD, go to menu: media --> audio settings
and click on "Save all settings".
That will also save your prefered midi settings

Post Reply

Return to “Mobile Apps and Hardware”