title: OSC proper fader control algorithm
body: <p>I am coding in python 2.7 to accommodate OSC communication from my ipad to my rasp pi using the 'touchOSC' app from the app store. (this is not for music or midi, but simply to access values to control stepper motors etc..) I am using windows to code and then I transfer the .py to my rasp pi (not the issue here). I set up the fader in touch OSC's layout software with the name, IP address that is in the code below. Also, I set the range value of the fader in the software that touchOSC has provided from 0 to 1.  </p>
  
  <p>The issue is that I am receiving only zeros when I invoke the fader on my ipad. What I wish to see is the values incrementing from 0 to 1 by floating values. I believe I would need to use some sort range function? This is the issue, How can specify that I want the fader to increment in the code below? </p>
  
  <p>Right now the code is:</p>
  
  <pre><code>from OSC import OSCServer,OSCClient, OSCMessage
  
  server = OSCServer( ("192.168.0.8", 8000) ) 
  client = OSCClient()
  
  def handle_timeout(self):
      print ("I'm IDLE")
  #This here is just to do something while the script recieves no information....
  server.handle_timeout = types.MethodType(handle_timeout, server)
  
  def fader_0(path, tags, args, source): 
      value=int(args[0]) # Value is the variable that will transform the input from the faders into whole numbers(easier to deal with)
      print "Fader Value:", value
  
  server.addMsgHandler("/1/fader1", fader)
  </code></pre>
  
  <p>My question regards the <code>Def fader_0(path, tags, args, source)</code>
  When I input: <code>value = int(args[0])</code>, I receive a zero when I adjust the fader on my ipad via touch OSC. this is obvious; however, I wish to access the floating points in between 0 and 1 as the fader is incremented. </p>
  
  <p>I assume the code would be: value = <code>float(args[someLoop])</code> maybe something like <code>value = float(args[range(0,1,.125)])</code></p>
  
  <p>Thank you in advance. </p>