code: def load_sample(filename, label=None):
      """
      Loads audio-file as a (labeled or unlabeled) sample
  
      Parameters
      ----------
      filename : str
          Filename of the audio-file to load as sample
      label : str
          Label (transcript) of the sample.
          If None: returned result.unpack() will return util.audio.Sample instance
          Otherwise: returned result.unpack()  util.sample_collections.LabeledSample instance
  
      Returns
      -------
      util.sample_collections.PackedSample, a wrapper object, on which calling unpack() will return
          util.audio.Sample instance if label is None, else util.sample_collections.LabeledSample instance
      """
      ext = os.path.splitext(filename)[1].lower()
      audio_type = get_loadable_audio_type_from_extension(ext)
      if audio_type is None:
          raise ValueError(
              'Unknown audio type extension "{}"'.format(ext)
          )
      return PackedSample(filename, audio_type, label)
  
imports: import os
  import io
  import csv
  import json
  import tarfile
  from pathlib import Path
  from functools import partial
  from .helpers import KILOBYTE, MEGABYTE, GIGABYTE, Interleaved, LenMap
  from .audio import Sample, AUDIO_TYPE_PCM, AUDIO_TYPE_OPUS, SERIALIZABLE_AUDIO_TYPES, get_loadable_audio_type_from_extension, write_wav
  from .io import open_remote, is_remote_path
label_desc: Use image node_id 2 for calling a global function with example usage: load_sample(filename, label) and returns: PackedSample