code: def read_wave(path):
      """Reads a .wav file.
      Takes the path, and returns (PCM audio data, sample rate).
      """
      with contextlib.closing(wave.open(path, "rb")) as wf:
          num_channels = wf.getnchannels()
          assert num_channels == 1
          sample_width = wf.getsampwidth()
          assert sample_width == 2
          sample_rate = wf.getframerate()
          assert sample_rate in (8000, 16000, 32000, 48000)
          pcm_data = wf.readframes(wf.getnframes())
          return pcm_data, sample_rate
  
file_path: speechbrain/recipes/ZaionEmotionDataset/emotion_diarization/datasets/vad.py
imports: import collections
  import webrtcvad
  import contextlib
  import wave
  import os
label_desc: Use image node_id 1 for calling a global function with example usage: read_wave(path) and returns: pcm_data,  sample_rate