code: def get_dtype(audio_format):
      if audio_format.width not in [1, 2, 4]:
          raise ValueError(
              "Unsupported sample width: {}".format(audio_format.width)
          )
      return [None, np.int8, np.int16, None, np.int32][
          audio_format.width
      ]
  
imports: import collections
  import ctypes
  import io
  import math
  import numpy
  import os
  import pyogg
  import tempfile
  import wave
  from .helpers import LimitingPool
  from collections import namedtuple
  from .io import open_remote, remove_remote, copy_remote, is_remote_path
label_desc: Use image node_id 31 for calling a global function with example usage: get_dtype(audio_format) and returns: list