setSpectrogramParameters static method

Future setSpectrogramParameters({
  1. bool shouldTranspose = false,
  2. int nMFCC = 20,
  3. int nFFT = 2048,
  4. int nMels = 128,
  5. int hopLength = 512,
})

Call setSpectrogramParameters to adjust the default spectro parameters

Implementation

static Future setSpectrogramParameters({
  bool shouldTranspose = false,
  int nMFCC = 20,
  int nFFT = 2048,
  int nMels = 128,
  int hopLength = 512,
}) async {
  return _channel.invokeMethod(
    'setSpectrogramParameters',
    {
      'shouldTranspose': shouldTranspose,
      'nMFCC': nMFCC,
      'nFFT': nFFT,
      'nMels': nMels,
      'hopLength': hopLength,
    },
  );
}