docs: def sndwrite_like(samples:np.ndarray, likefile:str, outfile:str) -> None:
      """
      Write samples to outfile with samplerate and encoding
      taken from likefile
      """
      info = sndinfo(likefile)
      sndwrite(samples, info.samplerate, outfile, encoding=info.encoding)