code: def change_audio_types(
      packed_samples,
      audio_type=AUDIO_TYPE_PCM,
      bitrate=None,
      processes=None,
      process_ahead=None,
  ):
      with LimitingPool(
          processes=processes, process_ahead=process_ahead
      ) as pool:
          yield from pool.imap(
              _unpack_and_change_audio_type,
              map(lambda s: (s, audio_type, bitrate), packed_samples),
          )
  
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 2 for calling a global function with example usage: change_audio_types(packed_samples, audio_type, bitrate, processes, process_ahead) without return types