Lens Scripting API
    Preparing search index...

    Class DelayBuilder

    Builder class for the Delay.

    var delayBuilder = MachineLearning.createDelayBuilder();
    

    Hierarchy (View Summary)

    Index

    Methods

    • Creates new Delay object.

      Returns Delay

    • 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

    • Set the delay of the Delay object in samples. Delay is equal to sampleRate * delayInSeconds.

      Parameters

      • delay: number

      Returns DelayBuilder

    • Specify number of channels. Currently, only mono is supported, so should be set to 1.

      Parameters

      • numFeatures: number

      Returns DelayBuilder