code: def testRegression(self):
      sampleRate = 44100
      filename = join(testdata.audio_dir, "recorded", "musicbox.wav")
      audio = MonoLoader(
          filename=filename, downmix="left", sampleRate=44100
      )()
  
      fc = FrameCutter(frameSize=4096, hopSize=512)
      windower = Windowing(type="blackmanharris62")
      specAlg = Spectrum(size=4096)
      sPeaksAlg = SpectralPeaks(
          sampleRate=sampleRate,
          maxFrequency=sampleRate / 2,
          minFrequency=0,
          orderBy="frequency",
      )
      dissonanceAlg = Dissonance()
  
      # Calculate the average dissonance over all frames of audio
      frame = fc(audio)
      dissSum = 0
      count = 0
      while len(frame) != 0:
          spectrum = specAlg(windower(frame))
          peaks = sPeaksAlg(spectrum)
          dissSum += dissonanceAlg(*peaks)
  
          count += 1
          frame = fc(audio)
  
      dissAvg = float(dissSum) / float(count)
      self.assertAlmostEqual(dissAvg, 0.475740219278, 1e-6)
  
file_path: essentia/test/src/unittests/tonal/test_dissonance.py
imports: from essentia_test import *
  from numpy import random, pi, sort
label_desc: Use image node_id 15 for calling the TestDissonance obj's underlying member method code with example usage: obj.testRegression() without return types