code: def testRegressionBadRefFreq(self):
      # Checks on config. values referenceFrequency being too high for a given set of spectral peaks
      freq_speaks = [55, 100, 340]
      mag_speaks = [1, 1, 1]
      calculatedPitchSalience = PitchSalienceFunction()(
          freq_speaks, mag_speaks
      )
      self.assertRaises(
          RuntimeError,
          lambda: PitchSalienceFunctionPeaks(referenceFrequency=20000)(
              calculatedPitchSalience
          ),
      )
  
file_path: essentia/test/src/unittests/tonal/test_pitchsaliencefunctionpeaks.py
imports: from essentia_test import *
  from numpy import *
label_desc: Use image node_id 9 for calling the TestPitchSalienceFunctionPeaks obj's underlying member method code with example usage: obj.testRegressionBadRefFreq() without return types