code: def testBandLimitedSquare(self):
      sr = 44100
      size = sr * 1
      freq = 660
      w = 2.0 * pi * freq
      nharms = 10
      signal = zeros(size)
      for i in range(size):
          for harm in range(nharms):
              signal[i] += (
                  0.5
                  / (2.0 * harm + 1)
                  * sin((2 * harm + 1) * i * w / sr)
              )
  
      self.runTest(signal, sr, freq)
  
file_path: essentia/test/src/unittests/tonal/test_pitchyin.py
imports: from essentia_test import *
  from numpy import sin, pi, mean, random
label_desc: Use image node_id 4 for calling the TestPitchYin obj's underlying member method code with example usage: obj.testBandLimitedSquare() without return types