Ben_F
104
You need to be on the same network and set the IP address of the Norns into TouchOSC
For example, my IP of the Norns is 192.168.0.42
2 Likes
khepra
105
I fixed the ip address issue. They’re on the same network now, however I am still unsuccessful. I also updated the togagrid.lua and togaarc.lua files with my iPad Air’s ip address.
The Norns did something different today. When I load the Awake script on the Norns, the Grid/Arc app flashes so the Norns and iPad must be communicating somehow. Additionally, the togaarc connect is false but the togagrid connect is not. I’m not sure what that means.
The awake.lua script shows:
# script clear
# script load: /home/we/dust/code/awake/awake.lua
pset last used: 1
including /home/we/dust/code/awake/lib/halfsecond.lua
including /home/we/dust/code/toga/lib/togagrid.lua
including /home/we/dust/code/toga/lib/togaarc.lua
# script run
loading engine: PolyPerc
>> reading PMAP /home/we/dust/data/awake/awake.pmap
Engine.register_commands; count: 7
___ engine commands ___
amp f
cutoff f
gain f
hz f
pan f
pw f
release f
___ polls ___
amp_in_l
amp_in_r
amp_out_l
amp_out_r
cpu_avg
cpu_peak
pitch_in_l
pitch_in_r
# script init
starting halfsecond
pset >> read: /home/we/dust/data/awake/awake-01.pset
### SCRIPT ERROR: init
/home/we/dust/code/toga/lib/togagrid.lua:157: attempt to index a nil value (field '?')
stack traceback:
/home/we/norns/lua/core/norns.lua:147: in metamethod '__newindex'
/home/we/dust/code/toga/lib/togagrid.lua:157: in method 'led'
/home/we/dust/code/awake/awake.lua:397: in global 'gridredraw'
/home/we/dust/code/awake/awake.lua:343: in field 'action'
/home/we/norns/lua/core/params/option.lua:60: in function 'core/params/option.bang'
/home/we/norns/lua/core/paramset.lua:600: in function 'core/paramset.bang'
/home/we/norns/lua/core/paramset.lua:593: in function 'core/paramset.default'
/home/we/dust/code/awake/awake.lua:352: in global 'init'
/home/we/norns/lua/core/script.lua:137: in function 'core/script.init'
[C]: in function 'xpcall'
/home/we/norns/lua/core/norns.lua:148: in field 'try'
/home/we/norns/lua/core/engine.lua:91: in function </home/we/norns/lua/core/engine.lua:89>
togaarc connect! false
togaarc: add new toga client 192.168.1.176:8002
togagrid connect!
togagrid: add new toga client 192.168.1.176:8002
lua: /home/we/dust/code/toga/lib/togagrid.lua:108: attempt to call a nil value (field 'old_osc_in')
stack traceback:
/home/we/dust/code/toga/lib/togagrid.lua:108: in field 'old_osc_in'
/home/we/dust/code/toga/lib/togaarc.lua:134: in function 'core/osc.event'
/home/we/norns/lua/core/osc.lua:109: in function </home/we/norns/lua/core/osc.lua:107>
lua:
/home/we/dust/code/toga/lib/togagrid.lua:157: attempt to index a nil value (field '?')
stack traceback:
/home/we/dust/code/toga/lib/togagrid.lua:157: in method 'led'
/home/we/dust/code/awake/awake.lua:397: in global 'gridredraw'
/home/we/dust/code/awake/awake.lua:378: in field 'key'
/home/we/dust/code/toga/lib/togagrid.lua:96: in field 'old_osc_in'
/home/we/dust/code/toga/lib/togaarc.lua:134: in function 'core/osc.event'
/home/we/norns/lua/core/osc.lua:109: in function </home/we/norns/lua/core/osc.lua:107>
lua:
/home/we/dust/code/toga/lib/togagrid.lua:157: attempt to index a nil value (field '?')
stack traceback:
/home/we/dust/code/toga/lib/togagrid.lua:157: in method 'led'
/home/we/dust/code/awake/awake.lua:397: in global 'gridredraw'
/home/we/dust/code/awake/awake.lua:378: in field 'key'
/home/we/dust/code/toga/lib/togagrid.lua:96: in field 'old_osc_in'
/home/we/dust/code/toga/lib/togaarc.lua:134: in function 'core/osc.event'
/home/we/norns/lua/core/osc.lua:109: in function </home/we/norns/lua/core/osc.lua:107>
lua:
/home/we/dust/code/toga/lib/togagrid.lua:157: attempt to index a nil value (field '?')
stack traceback:
/home/we/dust/code/toga/lib/togagrid.lua:157: in method 'led'
/home/we/dust/code/awake/awake.lua:397: in global 'gridredraw'
/home/we/dust/code/awake/awake.lua:378: in field 'key'
/home/we/dust/code/toga/lib/togagrid.lua:96: in field 'old_osc_in'
/home/we/dust/code/toga/lib/togaarc.lua:134: in function 'core/osc.event'
/home/we/norns/lua/core/osc.lua:109: in function </home/we/norns/lua/core/osc.lua:107>
lua:
/home/we/dust/code/toga/lib/togagrid.lua:157: attempt to index a nil value (field '?')
stack traceback:
/home/we/dust/code/toga/lib/togagrid.lua:157: in method 'led'
/home/we/dust/code/awake/awake.lua:397: in global 'gridredraw'
/home/we/dust/code/awake/awake.lua:378: in field 'key'
/home/we/dust/code/toga/lib/togagrid.lua:96: in field 'old_osc_in'
/home/we/dust/code/toga/lib/togaarc.lua:134: in function 'core/osc.event'
/home/we/norns/lua/core/osc.lua:109: in function </home/we/norns/lua/core/osc.lua:107>
Khepra
1 Like
ratty
106
Hey I’m having the same issue. but when i try with the awake-rings script and enter the code above grid connect, it seems to work. I’m also getting similar results that you get with the normal awake. I’m new to norns but familiar with touchosc. I don’t think its touchosc but maybe the awake script. when you compare the two scripts I notice some differences but really couldn’t point out what’s the cause to why its not working. another script that seems to work for me is the pitter patter script although i didnt need to mess with the script on that one or add the code above grid connect. if you figure anything out let us know! and good luck. I’ve been stuck on getting it working for days now too lol.
I modified awake to use toga and it is working ok with desktop app. I have tied to use it with iPad for the first time, but it is not working.
apparently the setup is the same in both touchscreen(desk and iPad) but when i click the green button the desktop works (grid cells light as in norns) and the iPad stays blank
Is there something to setup in iPad (i only configured connection)
SOLVED IT !!!
It was the iPad TouchOSC access to local network setup. It was off. I set it to on and it is working OK.
1 Like
ratty
108
Follow up! I got the awake script working but only after a fresh install of image “norns231114-shield-pi4-cs4720.img” without updating to the newest firmware, fyi im on norns shield on a raspberry pi 4. i think with the newest firmware awake is somewhat different and it fails. you can try these steps and see if it works for you!
khepra
110
Hello,
I’m not able to get touch OSC grid working with my my Norns Shield. I’ve followed the instructions at: toga: TouchOSC grid and arc controller for monome norns but still haven’t had success.
Are there any TouchOsc gurus here who can help? I’m not a programmer so I very well could be missing something simple.
Khepra
I fixed the ip address issue. They’re on the same network now, however I am still unsuccessful. I also updated the togagrid.lua and togaarc.lua files with my iPad Air’s ip address.
The Norns did something different today. When I load the Awake script on the Norns, the Grid/Arc app flashes so the Norns and iPad must be communicating somehow. Additionally, the togaarc connect is false but the togagrid connect is not. I’m not sure what that means.
The awake.lua script shows:
# script clear
# script load: /home/we/dust/code/awake/awake.lua
pset last used: 1
including /home/we/dust/code/awake/lib/halfsecond.lua
including /home/we/dust/code/toga/lib/togagrid.lua
including /home/we/dust/code/toga/lib/togaarc.lua
# script run
loading engine: PolyPerc
>> reading PMAP /home/we/dust/data/awake/awake.pmap
Engine.register_commands; count: 7
___ engine commands ___
amp f
cutoff f
gain f
hz f
pan f
pw f
release f
___ polls ___
amp_in_l
amp_in_r
amp_out_l
amp_out_r
cpu_avg
cpu_peak
pitch_in_l
pitch_in_r
# script init
starting halfsecond
pset >> read: /home/we/dust/data/awake/awake-01.pset
### SCRIPT ERROR: init
/home/we/dust/code/toga/lib/togagrid.lua:157: attempt to index a nil value (field '?')
stack traceback:
/home/we/norns/lua/core/norns.lua:147: in metamethod '__newindex'
/home/we/dust/code/toga/lib/togagrid.lua:157: in method 'led'
/home/we/dust/code/awake/awake.lua:397: in global 'gridredraw'
/home/we/dust/code/awake/awake.lua:343: in field 'action'
/home/we/norns/lua/core/params/option.lua:60: in function 'core/params/option.bang'
/home/we/norns/lua/core/paramset.lua:600: in function 'core/paramset.bang'
/home/we/norns/lua/core/paramset.lua:593: in function 'core/paramset.default'
/home/we/dust/code/awake/awake.lua:352: in global 'init'
/home/we/norns/lua/core/script.lua:137: in function 'core/script.init'
[C]: in function 'xpcall'
/home/we/norns/lua/core/norns.lua:148: in field 'try'
/home/we/norns/lua/core/engine.lua:91: in function </home/we/norns/lua/core/engine.lua:89>
togaarc connect! false
togaarc: add new toga client 192.168.1.176:8002
togagrid connect!
togagrid: add new toga client 192.168.1.176:8002
lua: /home/we/dust/code/toga/lib/togagrid.lua:108: attempt to call a nil value (field 'old_osc_in')
stack traceback:
/home/we/dust/code/toga/lib/togagrid.lua:108: in field 'old_osc_in'
/home/we/dust/code/toga/lib/togaarc.lua:134: in function 'core/osc.event'
/home/we/norns/lua/core/osc.lua:109: in function </home/we/norns/lua/core/osc.lua:107>
lua:
/home/we/dust/code/toga/lib/togagrid.lua:157: attempt to index a nil value (field '?')
stack traceback:
/home/we/dust/code/toga/lib/togagrid.lua:157: in method 'led'
/home/we/dust/code/awake/awake.lua:397: in global 'gridredraw'
/home/we/dust/code/awake/awake.lua:378: in field 'key'
/home/we/dust/code/toga/lib/togagrid.lua:96: in field 'old_osc_in'
/home/we/dust/code/toga/lib/togaarc.lua:134: in function 'core/osc.event'
/home/we/norns/lua/core/osc.lua:109: in function </home/we/norns/lua/core/osc.lua:107>
lua:
/home/we/dust/code/toga/lib/togagrid.lua:157: attempt to index a nil value (field '?')
stack traceback:
/home/we/dust/code/toga/lib/togagrid.lua:157: in method 'led'
/home/we/dust/code/awake/awake.lua:397: in global 'gridredraw'
/home/we/dust/code/awake/awake.lua:378: in field 'key'
/home/we/dust/code/toga/lib/togagrid.lua:96: in field 'old_osc_in'
/home/we/dust/code/toga/lib/togaarc.lua:134: in function 'core/osc.event'
/home/we/norns/lua/core/osc.lua:109: in function </home/we/norns/lua/core/osc.lua:107>
lua:
/home/we/dust/code/toga/lib/togagrid.lua:157: attempt to index a nil value (field '?')
stack traceback:
/home/we/dust/code/toga/lib/togagrid.lua:157: in method 'led'
/home/we/dust/code/awake/awake.lua:397: in global 'gridredraw'
/home/we/dust/code/awake/awake.lua:378: in field 'key'
/home/we/dust/code/toga/lib/togagrid.lua:96: in field 'old_osc_in'
/home/we/dust/code/toga/lib/togaarc.lua:134: in function 'core/osc.event'
/home/we/norns/lua/core/osc.lua:109: in function </home/we/norns/lua/core/osc.lua:107>
lua:
/home/we/dust/code/toga/lib/togagrid.lua:157: attempt to index a nil value (field '?')
stack traceback:
/home/we/dust/code/toga/lib/togagrid.lua:157: in method 'led'
/home/we/dust/code/awake/awake.lua:397: in global 'gridredraw'
/home/we/dust/code/awake/awake.lua:378: in field 'key'
/home/we/dust/code/toga/lib/togagrid.lua:96: in field 'old_osc_in'
/home/we/dust/code/toga/lib/togaarc.lua:134: in function 'core/osc.event'
/home/we/norns/lua/core/osc.lua:109: in function </home/we/norns/lua/core/osc.lua:107>
Khepra
xmacex
111
Hi. Does Awake do something with Arc? I would leave arc out the changes you make to your copy of Awake, and add just the grid thing, maybe that’ll work for you?
khepra
112
Okay, I’ll try that by commenting out the ARC.
Is there anyway to use toga with Cyrene? I can’t figure it out for the life of me.