           [:edit-text {:text "192.168.0.2" :id ::address}]]
          [:linear-layout {}
           [:text-view {:text "port"}]
-          [:edit-text {:text "1235" :id ::port}]]
+          [:edit-text {:text "5000" :id ::port}]]
          [:linear-layout {}
           [:text-view {:text "interval(ms)"}]
-          [:edit-text {:text "200" :id ::interval}]]
+          [:edit-text {:text "80" :id ::interval}]]
          [:button {:id "button"
                    :text "ready?" :on-click (fn [_] (toggle-state (*a)))}]]))))
 
 
 (comment
-  (def GRT-RECEIVE-PORT 5000)
-  (def GRT-RECEIVE-PORT 1235)
+  (def GRT-RECEIVE-PORT 5000)  
   (def client (osc-client "192.168.0.2" GRT-RECEIVE-PORT))
   
 

(set-error-handler! acc-stack err-handler-fn)
(set-error-handler! rotate-stack err-handler-fn)

(defn create-listeners [interval sensorManager]
  (let [create (fn [id sensor-type stack]
                 (let [listener (reify SensorEventListener
                                  (onAccuracyChanged [this sensor value] ())
                                  (onSensorChanged [this event]
                                    (apply #'replace-mean stack (seq (list (. event values))))))]
                   (send-every "Data" interval)
                   (.. sensorManager
                       (registerListener listener
                                         (.getDefaultSensor sensorManager sensor-type)

;;
;; {PMOsc.ar(440 * In.ar(rotateBus).poll.abs, 10 * In.ar(accBus).abs, 3)}.play(soundGroup)
;;)


