code: def dynamic_range_compression(x, C=1, clip_val=1e-5):
      """
      PARAMS
      ------
      C: compression factor
      """
      return torch.log(torch.clamp(x, min=clip_val) * C)
  
file_path: textlesslib/textless/vocoders/tacotron2/audio_processing.py
imports: import torch
  import numpy
  from scipy.signal import get_window
  import librosa.util
label_desc: Use image node_id 3 for calling a global function with example usage: dynamic_range_compression(x, C, clip_val) and returns: torch