code: def read_format(audio_type, audio_file):
      if audio_type == AUDIO_TYPE_WAV:
          return read_wav_format(audio_file)
      if audio_type == AUDIO_TYPE_OPUS:
          return read_opus_format(audio_file)
      if audio_type == AUDIO_TYPE_OGG_OPUS:
          return read_ogg_opus_format(audio_file)
      raise ValueError("Unsupported audio type: {}".format(audio_type))
  
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 30 for calling a global function with example usage: read_format(audio_type, audio_file) and returns: read_wav_format, read_opus_format, read_ogg_opus_format