title: pygsr TypeError: 'float' object cannot be interpreted as an integer
body: <p>I'm trying to run this code in python 3.4:</p>
  
  <pre><code>from pygsr import Pygsr
  speech = Pygsr()
  # duration in seconds
  speech.record(3)
  # select the language
  phrase, complete_response = speech.speech_to_text('en_UK')
  
  print(phrase)`
  </code></pre>
  
  <p>but I get the error</p>
  
  <p><code>File "/usr/local/lib/python3.4/dist-packages/pygsr/__init__.py", line 33, in record
      for i in range(0, self.rate / self.chunk * time):
  TypeError: 'float' object cannot be interpreted as an integer</code></p>
  
  <p>Any ideas as to why? I haven't modified the code apart from changing 'es_ES' to 'en_UK' from the pygsr PyPi site. </p>