code: def samples_nb(message, wpm, framerate=FRAMERATE, word_spaced=False):
      
      return int(duration(message, wpm, output='float', word_spaced=word_spaced) / 1000.0 * framerate)
docs: Calculate the number of samples for a given word at a given framerate (samples / seconds)
  
      >>> samples_nb('SOS', 15)
      23814