code: def chunks2audio(audio_path, chunks):
      chunks = dict(chunks)
      audio, sr = load_audiofile(audio_path)
      if len(audio.shape) == 2 and audio.shape[1] >= 2:
          audio = audio.mean(0).unsqueeze(0)
      audio = audio.numpy()[0]
      result = []
      for k, v in chunks.items():
          tag = v["split_time"].split(",")
          if tag[0] != tag[1]:
              result.append(
                  (v["slice"], audio[int(tag[0]) : int(tag[1])])
              )
      return result, sr
  
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 3 for calling a global function with example usage: chunks2audio(audio_path, chunks) and returns: result,  sr