code: def voicing_decision_error(true_t, true_f, est_t, est_f):
      voicing_decision_error_frames = _voicing_decision_error_frames(
          true_t, true_f, est_t, est_f
      )
      return np.sum(voicing_decision_error_frames) / (len(true_t))
  
file_path: fairseq/examples/speech_synthesis/utils.py
imports: import numpy
  import torch
  from scipy.interpolate import interp1d
  import torchaudio
  from fairseq.tasks.text_to_speech import batch_compute_distortion, compute_rms_dist
label_desc: Use image node_id 8 for calling a global function with example usage: voicing_decision_error(true_t, true_f, est_t, est_f) and returns: unknown