code: def get_nparray_from_pydub(audio_segment):
      # shape is (samples, channels) liked
      audio_arr = audio_segment.get_array_of_samples()
      return np.array(audio_arr).reshape(-1, audio_segment.channels)
  
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 1 for calling a global function with example usage: get_nparray_from_pydub(audio_segment) and returns: np