Lens Scripting API

    Class MFCCBuilder

    Builder class for the MFCC (Mel Frequency Cepstral Co-efficients).

    var mfccBuilder = MachineLearning.createMFCCBuilder();
    

    Hierarchy (View Summary, Expand)

    Index

    Constructors

    Methods

    • Create a new MFCC object.

      Returns MFCC

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

      Parameters

      • type: string

      Returns boolean

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

      Parameters

      Returns boolean

    • Sets the length of the FFT window.

      Parameters

      • fftSize: number

      Returns MFCCBuilder

    • Length of the window, the window will be the length of frameSize and then padded with zeros to mach FFTSize.

      Parameters

      • frameSize: number

      Returns MFCCBuilder

    • Sets the number of samples between successive FFT segments.

      Parameters

      • hopSize: number

      Returns MFCCBuilder

    • If lifter > 0, apply liftering to the MFCCs.

      Parameters

      • lifter: number

      Returns MFCCBuilder

    • Sets the number of MFCCs to return.

      Parameters

      • numMFCC: number

      Returns MFCCBuilder

    • Sets the number of samples per second.

      Parameters

      • sampleRate: number

      Returns MFCCBuilder

    MMNEPVFCICPMFPCPTTAAATR