code: def add_clipping(audio, max_thresh_perc=0.8):
      """Function to add clipping"""
      threshold = max(abs(audio)) * max_thresh_perc
      audioclipped = np.clip(audio, -threshold, threshold)
      return audioclipped
  
file_path: speechbrain/recipes/DNS/noisyspeech_synthesizer/audiolib.py
imports: import os
  import numpy
  import soundfile
  import subprocess
  import glob
  import librosa
label_desc: Use image node_id 7 for calling a global function with example usage: add_clipping(audio, max_thresh_perc) and returns: audioclipped