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)]
      )
  
      # for white noise test set sine minimum duration to 50ms, and min threshold of -20dB
      self.params[
          "minSineDur"
      ] = 0.35  # limit pitch tracks of a nimumim length of 350ms for the case of white noise input
      self.params["magnitudeThreshold"] = -20
  
      [mags, freqs, phases] = analSprModelStreaming(self.params, signal)
  
      # compare
      zerofreqs = numpy.zeros(freqs.shape)
      self.assertAlmostEqualMatrix(freqs, zerofreqs)
  
file_path: essentia/test/src/unittests/synthesis/test_sprmodel_streaming.py
imports: from essentia_test import *
  import math
  import essentia
  import essentia.streaming
  import essentia.standard
label_desc: Use image node_id 2 for calling the TestSprModel obj's underlying member method code with example usage: obj.testWhiteNoise() without return types