code: def audio_video_fx(func, clip, *args, **kwargs):
      """Use an audio function on a video/audio clip.
  
      This decorator tells that the function func (audioclip -> audioclip)
      can be also used on a video clip, at which case it returns a
      videoclip with unmodified video and modified audio.
      """
      if hasattr(clip, "audio"):
          new_clip = clip.copy()
          if clip.audio is not None:
              new_clip.audio = func(clip.audio, *args, **kwargs)
          return new_clip
      else:
          return func(clip, *args, **kwargs)
  
file_path: moviepy/moviepy/decorators.py
imports: import inspect
  import os
  import decorator
  from moviepy.tools import convert_to_seconds
label_desc: Use image node_id 7 for calling a global function with example usage: audio_video_fx(func, clip) and returns: new_clip, func