code: def write_audio(file_path):
      samplerate = 1000
      data = np.random.uniform(-1, 1, size=(samplerate, 2))
      subtype = "VORBIS" if "ogg" in file_path else "PCM_16"
      format = "mat5" if "mat" in file_path else None
      sf.write(
          file_path, data, samplerate, subtype=subtype, format=format
      )
  
file_path: lightning-flash/tests/core/data/utilities/test_loading.py
imports: import os
  import numpy
  import pytest
  from flash.core.data.utilities.loading import AUDIO_EXTENSIONS, CSV_EXTENSIONS, IMG_EXTENSIONS, NP_EXTENSIONS, TSV_EXTENSIONS, load_audio, load_data_frame, load_image, load_spectrogram
  from flash.core.utilities.imports import _PANDAS_AVAILABLE, _TOPIC_AUDIO_AVAILABLE, _TOPIC_IMAGE_AVAILABLE, _TOPIC_TABULAR_AVAILABLE, Image
label_desc: Use image node_id 3 for calling a global function with example usage: write_audio(file_path) without return types