code: def testSin440(self):
      # Tests whether a real audio signal of one pure tone gets read as a
      # single semitone activation, and gets read into the right pcp bin
      sampleRate = 44100
      audio = MonoLoader(
          filename=join(
              testdata.audio_dir, "generated/synthesised/sin440_0db.wav"
          ),
          sampleRate=sampleRate,
      )()
      speaks = SpectralPeaks(
          sampleRate=sampleRate,
          maxPeaks=1,
          maxFrequency=sampleRate / 2,
          minFrequency=0,
          magnitudeThreshold=0,
          orderBy="magnitude",
      )
      (freqs, mags) = speaks(Spectrum()(audio))
      hpcp = HPCP()(freqs, mags)
      self.assertEqualVector(
          hpcp,
          [1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0],
      )
  
file_path: essentia/test/src/unittests/spectral/test_hpcp.py
imports: from essentia_test import *
label_desc: Use image node_id 3 for calling the TestHPCP obj's underlying member method code with example usage: obj.testSin440() without return types