diff options
| -rw-r--r-- | domst.xml | 4 | ||||
| -rw-r--r-- | tomorrowthegroundGUI/tomorrowthegroundGUI.pde | 9 |
2 files changed, 8 insertions, 5 deletions
@@ -4,9 +4,9 @@ <scale file="domst_grad.png" ll1="53.353241,-6.268789" ll2="53.35171,-6.266284" freq="1.0" command="cc01"> </scale> <index file="indexmapV1.gif" ll1="53.353241,-6.268789" ll2="53.35171,-6.266284"> - <trigger id="03" command="play" param="synth.wav"> + <trigger id="03" command="index" param="synth.wav"> </trigger> - <trigger id="31" command="play" param="beat.wav"> + <trigger id="31" command="index" param="beat.wav"> </trigger> </index> </gps> diff --git a/tomorrowthegroundGUI/tomorrowthegroundGUI.pde b/tomorrowthegroundGUI/tomorrowthegroundGUI.pde index 4bede0b..eb716e8 100644 --- a/tomorrowthegroundGUI/tomorrowthegroundGUI.pde +++ b/tomorrowthegroundGUI/tomorrowthegroundGUI.pde @@ -10,8 +10,8 @@ String sendIP; void setup() { - bgmaps=new PImage[2]; - sendIP="127.0.0.1"; + bgmaps=new PImage[3]; + sendIP="192.168.15.7"; int map=3; switch (map) { case 1: @@ -33,7 +33,7 @@ void setup() case 3: bgmaps[0] = loadImage("domst.png"); bgmaps[1] = loadImage("domst_grad.png"); - bgmaps[1] = loadImage("domst_index.png"); + bgmaps[2] = loadImage("domst_index.png"); lat1=53.353241; lng1=-6.268789; lat2=53.35171; @@ -79,6 +79,9 @@ void keyPressed() { case '1': usemap=1; break; + case '2': + usemap=2; + break; } } |
