code: def save_wav(path, data, sample_rate, channels_first=True):
      """Save wav file without torchaudio"""
      if channels_first:
          data = data.transpose(1, 0)
      scipy.io.wavfile.write(path, sample_rate, data.numpy())
  
imports: from typing import Optional
  import scipy.io.wavfile
  import torch
label_desc: Use image node_id 4 for calling a global function with example usage: save_wav(path, data, sample_rate, channels_first) without return types