code: def trim_silence(wav, ap):
      return wav[: ap.find_endpoint(wav)]
  
file_path: TTS/TTS/tts/utils/synthesis.py
imports: import pkg_resources
  import torch
  import numpy
  from .text import text_to_sequence, phoneme_to_sequence
label_desc: Use image node_id 11 for calling a global function with example usage: trim_silence(wav, ap) and returns: wav