code: def _mono_factor_getter():
      return lambda t, duration: np.minimum(t / duration, 1)
  
imports: import numpy
  from moviepy.decorators import audio_video_fx, convert_parameter_to_seconds
label_desc: Use image node_id 1 for calling a global function with example usage: _mono_factor_getter() and returns: function