code: def read_aif(path):
      """
      Read audio file with .aif extension
      """
      sampling_rate = -1
      signal = np.array([])
      try:
          with aifc.open(path, "r") as s:
              nframes = s.getnframes()
              strsig = s.readframes(nframes)
              signal = np.fromstring(strsig, np.short).byteswap()
              sampling_rate = s.getframerate()
      except:
          print("Error: read aif file. (DECODING FAILED)")
      return sampling_rate, signal
  
file_path: pyAudioAnalysis/pyAudioAnalysis/audioBasicIO.py
imports: from __future__ import print_function
  import os
  import glob
  import aifc
  import eyed3
  import ntpath
  import shutil
  import numpy
  from pydub import AudioSegment
  from scipy.io import wavfile
label_desc: Use image node_id 4 for calling a global function with example usage: read_aif(path) and returns: sampling_rate,  signal