code: def testBPFilterMeanSpectrum(signals):
      # 'test6': 'Mean spectrum of band pass filtered white noise',
      testKey = "testBPFilterMeanSpectrum"
      title = testTitles[testKey]
      directory = testKey
      if not os.path.exists(directory):
          os.mkdir(directory)
      os.chdir(directory)
      # Frame configuration
      frameSize = frameSize_  # not sure if it should be frameSize = 2048 (now frameSize = 4096)
      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()
      speaks = SpectralPeaks(maxPeaks=speaks_max)
      # html string
      text = parametersText(hpcp, w, frameSize, hopSize)
      html = ["<p>" + "Params: " + text + "</p>\n"]
      hpcpmeanpool = defaultdict(dict)
      spectrummeanpool = defaultdict(dict)
      for skey in signalkey:
          signal = signals[skey]
          signalname = skey
          for wtype in windowtypes:
              w = Windowing(type=wtype, normalized=win_normalized)
              _, spectrogram, _, hpcpmean, _ = extractHPCP(
                  signal, frameSize, hopSize, w, speaks, hpcp, str(skey)
              )
              hpcpmeanpool[wtype][signalname] = hpcpmean
              spectrummeanpool[wtype][signalname] = np.mean(
                  spectrogram, axis=1
              )
      for wtype in windowtypes:
          plotTitle = title + ", windowtype " + wtype
          html.append(
              plotmeanHPPC_Spectrum(
                  hpcpmeanpool,
                  spectrummeanpool,
                  signalkey,
                  frameSize,
                  hopSize,
                  wtype,
                  title,
              )
          )
      html = "\n\n\n".join(html)
      Html_file = open(title + ".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 7 for calling a global function with example usage: testBPFilterMeanSpectrum(signals) without return types