code: def testWhiteNoise(self):
      from random import random
  
      # generate test signal
      signalSize = 10 * self.params["frameSize"]
      signal = array(
          [2 * (random() - 0.5) * i for i in ones(signalSize)]
      )
  
      outsignal = analysisSynthesisStandard(self.params, signal)
      outsignal = outsignal[
          :signalSize
      ]  # cut to duration of input signal
  
      #        numpy.savetxt('noise.txt',signal)
      #        numpy.savetxt('noise_out.txt',outsignal)
  
      # compare without half-window bounds to avoid windowing effect
      halfwin = int(self.params["frameSize"] // 2)
      self.assertAlmostEqualVectorFixedPrecision(
          outsignal[halfwin:-halfwin],
          signal[halfwin:-halfwin],
          self.precisionDigits,
      )
  
file_path: essentia/test/src/unittests/synthesis/test_stft_standard.py
imports: from essentia_test import *
  import math
  import essentia
  import essentia.standard
label_desc: Use image node_id 2 for calling the TestSTFT obj's underlying member method code with example usage: obj.testWhiteNoise() without return types