code: def InitMelBands(self, sr, nbands, scale, normalize):
      return MelBands(
          inputSize=1025,
          sampleRate=sr,
          numberBands=nbands,
          lowFrequencyBound=0,
          highFrequencyBound=sr / 2,
          warpingFormula=scale,
          type="magnitude",
          weighting="linear",
          normalize=normalize,
      )
  
file_path: essentia/test/src/unittests/spectral/test_melbands.py
imports: from essentia_test import *
  import numpy
label_desc: Use image node_id 1 for calling the TestMelBands obj's underlying member method code with example usage: obj.InitMelBands(sr, nbands, scale, normalize) and returns: MelBands