code: def _unpack_and_change_audio_type(sample_and_audio_type):
      packed_sample, audio_type, bitrate = sample_and_audio_type
      if hasattr(packed_sample, "unpack"):
          sample = packed_sample.unpack()
      else:
          sample = packed_sample
      sample.change_audio_type(audio_type, bitrate=bitrate)
      return sample
  
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 1 for calling a global function with example usage: _unpack_and_change_audio_type(sample_and_audio_type) and returns: sample