code: def testZero(self):
      gen = VectorInput([0] * 10 * 1024)
      sor = OnsetRate()
      p = Pool()
  
      gen.data >> sor.signal
      sor.onsetTimes >> (p, "onset.times")
      sor.onsetRate >> (p, "onset.rate")
  
      run(gen)
  
      self.assertEqual(p["onset.rate"], 0)
  
file_path: essentia/test/src/unittests/rhythm/test_onsetrate_streaming.py
imports: from essentia_test import *
  from essentia.streaming import OnsetRate
label_desc: Use image node_id 2 for calling the TestStreamingOnsetRate obj's underlying member method code with example usage: obj.testZero() without return types