code: def testRecordedAudio(self):
      # Test data is from real_audio PCM, and the expected result is precalculated with scipy.signal.resample
      # Due to the nature of FFT resample, it is improper to test with random input.
      import os.path as path
      import pathlib
  
      with np.load(
          path.join(
              pathlib.Path(__file__).resolve().parent,
              "resamplefft",
              "dubstep_first_second.npz",
          )
      ) as data:
          raw = data["raw"]
          expected = data["expected"]
          r = ResampleFFT()
          r.configure(inSize=44100, outSize=32768)
          output = r(raw)
          self.assertAlmostEqualVectorFixedPrecision(
              output, expected, 5
          )
  
file_path: essentia/test/src/unittests/synthesis/test_resamplefft_standard.py
imports: from essentia_test import *
  import numpy
label_desc: Use image node_id 4 for calling the TestResampleFFT obj's underlying member method code with example usage: obj.testRecordedAudio() without return types