code: def get_audiosegment_from_nparray(nparr, frame_rate=48000):
      # nparr is (samples, channels) liked
      audio_segment = AudioSegment(
          nparr.tobytes(),
          frame_rate=frame_rate,
          sample_width=nparr.dtype.itemsize,
          channels=nparr.shape[1],
      )
      return audio_segment
  
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 2 for calling a global function with example usage: get_audiosegment_from_nparray(nparr, frame_rate) and returns: audio_segment