code: def testNegativePitch(self):
      f0 = -110
      freqs = [-6, -4.9, -4.2, -4, -3.5, -2.0, -1.0, -0.75, -0.5]
      freqs = [freq * f0 for freq in freqs]
      mags = ones(len(freqs))
      self.assertComputeFails(HarmonicPeaks(), freqs, mags, f0)
  
file_path: essentia/test/src/unittests/tonal/test_harmonicpeaks.py
imports: from essentia_test import *
label_desc: Use image node_id 4 for calling the TestHarmonicPeaks obj's underlying member method code with example usage: obj.testNegativePitch() without return types