code: def cutFrames(params, input=range(100)):
      if not "validFrameThresholdRatio" in params:
          params["validFrameThresholdRatio"] = 0
      framegen = std.FrameGenerator(
          input,
          frameSize=params["frameSize"],
          hopSize=params["hopSize"],
          validFrameThresholdRatio=params["validFrameThresholdRatio"],
          startFromZero=params["startFromZero"],
      )
  
      return [frame for frame in framegen]
  
file_path: essentia/test/src/unittests/synthesis/test_sinemodel_streaming.py
imports: from essentia_test import *
  import math
  import essentia
  import essentia.streaming
  import essentia.standard
label_desc: Use image node_id 1 for calling a global function with example usage: cutFrames(params, input) and returns: unknown