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.05
      self.params["magnitudeThreshold"] = -20
  
      [mags, freqs, phases] = analSineModelStreaming(
          self.params, signal
      )
  
      # compare
      zerofreqs = numpy.zeros(freqs.shape)
      self.assertAlmostEqualMatrix(freqs, zerofreqs)
  
file_path: essentia/test/src/unittests/synthesis/test_sinemodel_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 TestSineModel obj's underlying member method code with example usage: obj.testWhiteNoise() without return types