code: def morse_bin(i, lst_bin, wpm=WPM, framerate=FRAMERATE, default_value=0.0, seconds_per_dot=1.2):
      
      try:
          return lst_bin[int(float(wpm) * float(i) / (seconds_per_dot * float(framerate)))]
      except IndexError:
          return default_value
docs: Returns value of a morse bin list at a given framerate  and code speed (wpm)
      for a given sample i