code: def save_wav(wav, path, sr, norm=False):
      if norm:
          wav = wav / np.abs(wav).max()
      wav *= 32767
      # proposed by @dsmiller
      wavfile.write(path, sr, wav.astype(np.int16))
  
file_path: PaddleHub/modules/audio/svs/diffsinger/utils/audio.py
imports: import subprocess
  import matplotlib
  import librosa
  import librosa.filters
  import numpy
  from scipy import signal
  from scipy.io import wavfile
label_desc: Use image node_id 1 for calling a global function with example usage: save_wav(wav, path, sr, norm) without return types