Description

A builder class for MelSpectrogram.

Example

var melSpectrogramBuilder = MachineLearning.createMelSpectrogramBuilder();
interface MelSpectrogramBuilder {
    build(): MelSpectrogram;
    getTypeName(): string;
    isOfType(type): boolean;
    isSame(other): boolean;
    setFFTSize(fftSize): MelSpectrogramBuilder;
    setFrameSize(frameSize): MelSpectrogramBuilder;
    setHopSize(hopSize): MelSpectrogramBuilder;
    setMaxFreq(maxFreq): MelSpectrogramBuilder;
    setMinFreq(minFreq): MelSpectrogramBuilder;
    setNumMel(numMel): MelSpectrogramBuilder;
    setSampleRate(sampleRate): MelSpectrogramBuilder;
}

Hierarchy (view full)

Methods

  • Returns string

    Description

    Returns the name of this object's type.

  • Parameters

    • type: string

    Returns boolean

    Description

    Returns true if the object matches or derives from the passed in type.

  • Parameters

    Returns boolean

    Description

    Returns true if this object is the same as other. Useful for checking if two references point to the same thing.

  • Parameters

    • frameSize: number

    Returns MelSpectrogramBuilder

    Description

    Length of the window, which is the length of frameSize and then padded with zeros to match fftSize.

Generated using TypeDoc