This is my take on using TouchOSC to emulate grid and arc controller.
After trying midigrid with a pair of Launchpad mini MK3, I wondered if it is possible to add TouchOSC support to midigrid, but it ended up with another new project different than midigrid but with similar approach. By the way, toga and midigrid can co-exist.
Requirements
Just the TouchOSC app (new version - not working with Mk1) - free on desktop and paid on mobile/tablet.
Documentation
Install toga: from maiden type: ;install https://github.com/wangpy/toga
Edit script you want to use toga with (similar to how to edit script to add midigrid support)
Find occurence of “grid.connect()” in the script code and insert the following line above:
local grid = util.file_exists(_path.code.."toga") and include "toga/lib/togagrid" or grid
If the script is already edited to support midigrid, you can add the support on midigrid library script file: add the line above to line 1 in code/midigrid/lib/midigrid.lua. When no midigrid-supported device is connected, toga grid will be initialized.
Find occurence of “grid.connect()” in the script code and insert the following line above:
local arc = util.file_exists(_path.code.."toga") and include "toga/lib/togaarc" or arc
Select the edited script on norns to load
Download toga.tosc controller file and import to TouchOSC (new version, not working with Mk1).
Set up connections to norns:
Choose UDP
Look up norns IP address in SYSTEM → WIFI and input to Host field
Input 10111 to Send Port
Input 8002 to Receive Port (any unused port number should work)
Run the TouchOSC controller (by clicking Play button).
Tap the upper-right green button to connect to norns. The green button should light up and the controller should be running.
Yes. Thanks for the question. My controller file is made and tested only in the new version. And it looks like the new version and old Mk1 do not compatible with each other. I should note this on my documentation. Thanks again!
For ios users who already have tOSC mk1 - you can get the newer version at an ‘upgrade price’ by buying the ‘TouchOSC Generations’ bundle. It’s only £5 rather than the standalone price of £8.99 for the new version alone. I only found this out at the very last minute! Sweetens the deal a little.
I’m having some issue setting it up with mlr as the norns is receiving input from touchosc but the visuals aren’t being updated on the touchosc app when I click around?
Hey guys, what do you think it’s worth buying a new version of touchosc for this layout? It would be interesting to know which scripts you have already tried and how they work.
Hello Nick, I just tried mlr myself and it should work. Since you mentioned norns can receive controller input, maybe you did not click on the green button on top-right corner? The green button needs to be lid (with light green color) which indicates the controller is registered to my script in norns.
Has anyone got this working with TouchOSC 2 for Android, by any chance? I’m not sure I want to upgrade to 2 from 1, especially as there doesn’t seem to be a discount available for Android users that I can see.
I’ve got Toga + Awake + touchOSC working very responsively using the Linux touchOSC client now, and with Midigrid running simultaneously by uncommenting line 2 in togagrid.lua just to confirm that works as well.
This is good to hear - I’m still pondering whether to spend the extra ten euros for v2 - v1 was always sluggish for me on Android, so I’m a bit wary of wasting yet more cash on something that won’t actually get used by me.