 
 ;; {PMOsc.ar(440 * In.ar(rotateBus).abs, 10 * In.ar(accBus).abs, 3)}.play(soundGroup)
 ;; )
+
+(comment
+  (def GRT-RECEIVE-PORT 5000)
+  (def GRT-RECEIVE-PORT 1235)
+  (def client (osc-client "192.168.0.2" GRT-RECEIVE-PORT))
+  
+
+ (osc-send client "/Setup" 0.0 3.0 1.0)
+ (osc-send client "/Data" 100.0 (float 100) (float 250))
+
+ (def server (osc-server 1235))
+ (osc-listen server (fn [msg] (println "MSG: " msg)) :debug)
+  (osc-rm-listener server :debug)
+ )

        [:linear-layout {:orientation :vertical}
         [:linear-layout {}
          [:text-view {:text "address"}]
          [:edit-text {:text "192.168.0.4" :id ::address}]]
         [:linear-layout {}
          [:text-view {:text "port"}]
          [:edit-text {:text "1234" :id ::port}]]
         [:linear-layout {}
          [:text-view {:text "interval(ms)"}]
          [:edit-text {:text "200" :id ::interval}]]

                                         SensorManager/SENSOR_DELAY_GAME))
                   listener))]
    [(create "rotate" Sensor/TYPE_ROTATION_VECTOR rotate-stack)
     (create "acc" Sensor/TYPE_LINEAR_ACCELERATION acc-stack)
     ]))

(def sensorManager (atom nil))

