code: def load_audiofile(
      filepath: str,
      frame_offset: int = 0,
      num_frames: int = -1,
      channels_first: bool = True,
  ):
      with soundfile.SoundFile(filepath, "r") as file_:
          frames = file_._prepare_read(frame_offset, None, num_frames)
          waveform = file_.read(frames, "float32", always_2d=True)
          sample_rate = file_.samplerate
      waveform = Tensor(waveform)
      if channels_first:
          waveform = waveform.transpose(0, 1)
      return waveform, sample_rate
  
imports: import math
  from typing import Optional, Tuple
  from tinygrad import Tensor, dtypes
  import librosa
  import soundfile
  import numpy
  import parselmouth
label_desc: Use image node_id 4 for calling a global function with example usage: load_audiofile(filepath, frame_offset, num_frames, channels_first) and returns: waveform,  sample_rate