code: def testFrameSize(signals):
      # 'test1': 'HPCP, window type and frame size in the lower scales',
      testKey = "testFrameSize"
      testTitle = testTitles[testKey]
      directory = testKey
      if not os.path.exists(directory):
          os.mkdir(directory)
      os.chdir(directory)
      # Comparison of frames
      frameSize = 2048 * np.power(2, np.arange(3))
      hopSize = frameSize / 2
      # Comparison of signals:
      signalkey = test2SignalsMapping[testKey]
      # Comparison of window types:
      windowtypes = ["hamming", "hann", "blackmanharris74"]
      # hpcp and window instantiation
      hpcp = HPCP(
          size=hpcpSize,
          bandPreset=False,
          minFrequency=12,
          maxFrequency=12000,
      )
      w = Windowing()
      # html string
      text = parametersText(hpcp, w, frameSize, hopSize)
      html = ["<p>" + "Params: " + text + "</p>\n"]
      for skey in signalkey:
          signal = signals[skey]
          signalname = skey
          for wtype in windowtypes:
              w = Windowing(type=wtype, normalized=win_normalized)
              for frSize in frameSize:
                  hopSize = frSize / 2
                  title = (
                      "signal="
                      + signalname
                      + " windowtype="
                      + wtype
                      + " frSize="
                      + str(frSize)
                  )
                  speaks = SpectralPeaks(maxPeaks=speaks_max)
                  html.append(
                      plotHPCP(
                          signal,
                          skey,
                          hpcp,
                          w,
                          speaks,
                          frSize,
                          hopSize,
                          title,
                      )
                  )
                  close("all")
      html = "\n\n\n".join(html)
      Html_file = open(testTitle + ".html", "w")
      Html_file.write(html)
      Html_file.close()
      os.chdir("..")
  
file_path: essentia/test/src/qa/hpcp/test_hpcp_tests.py
imports: import os
  import numpy
  from scipy.signal import spectrogram
  from collections import defaultdict
  import essentia
  from essentia.standard import *
  from test_hpcp_parameters import *
  from test_hpcp_plots import *
label_desc: Use image node_id 2 for calling a global function with example usage: testFrameSize(signals) without return types