code: def save_to_wav(self, file_name):
          
          scaled = _numpy.int16(self.numpy()/max(abs(self)) * 32767)
          write_wav(file_name, self.sample_rate, scaled)
docs: Save this time series to a wav format audio file.
  
          Parameters
          ----------
          file_name : string
               The output file name