code: def testSilentEdge(self):
      audio = MonoLoader(
          filename=join(
              testdata.audio_dir, "recorded", "techno_loop.wav"
          )
      )()
      bpmEstimate = 125
      lenSilence = 30000  # N.B The beat period is 21168 samples for 125 bpm @ 44.1k samp. rate
      silentAudio = zeros(lenSilence)
      benchmarkConfidence = 0.96  # This figure was arrived at emperically from the min. confidence observed with test runs
  
      # Test addition of non-musical silence before the loop starts
      # The length is not a beat period,
      # Nonetheless, we can stillreliably estimate the starting point because it is a hard transient.
      signal1 = numpy.append(silentAudio, audio)
      confidence = LoopBpmConfidence()(signal1, bpmEstimate)
      self.assertGreater(confidence, benchmarkConfidence)
  
file_path: essentia/test/src/unittests/rhythm/test_loopbpmconfidence.py
imports: from essentia_test import *
  from essentia.standard import MonoLoader, LoopBpmConfidence
label_desc: Use image node_id 3 for calling the TestLoopBpmConfidence obj's underlying member method code with example usage: obj.testSilentEdge() without return types