code: def ausave(path, audio_arr, channel_first=False, frame_rate=48000):
      """
      Save audio with pydub module.
  
      Args:
          path (str): output path with filename.
                      Currently only support .wav format.
          audio_arr (numpy.ndarray): Audio array to save. Audio shape is considered as (samples, channels) by default.
                      Pydub does not support save .wav file with float value.
          channel_first (bool):
              This argument specifies the shape of audio is whether (samples, channels) or (channels, samples).
              Default value is False, which means the audio_arr shape is (samples, channels)
      """
      audio_arr = _ausave_before(path, audio_arr, channel_first)
  
      if str(audio_arr.dtype).find("float") > -1:
          raise ValueError(
              "pydub backend does not support save .wav file with float value."
          )
      filepath = path if isinstance(path, str) else path.name
      audio_format = os.path.splitext(filepath)[-1][1:]
      audio_segment = get_audiosegment_from_nparray(
          audio_arr, frame_rate=frame_rate
      )
  
      audio_segment.export(path, format=audio_format)
  
file_path: nnabla/python/src/nnabla/utils/audio_utils/pydub_utils.py
imports: from __future__ import absolute_import, division
  import math
  import os
  import warnings
  import numpy
  from pydub import AudioSegment
  from .common import _auread_before, _auread_after, _ausave_before, _auresize_before
label_desc: Use image node_id 4 for calling a global function with example usage: ausave(path, audio_arr, channel_first, frame_rate) without return types