Attack-Decay-Sustain-Release Envelope

Hierarchy

  • ADSR

Constructors

  • Parameters

    • attackLength: number
    • decayLength: number
    • sustainLevel: number
    • sustainLength: number
    • releaseLength: number
    • sampleRate: number

    Returns ADSR

Properties

attack: number
attackLength: number
attackSamples: number
decay: number
decayLength: number
decaySamples: number
release: number
releaseLength: number
releaseSamples: number
sampleRate: number
samplesProcessed: number
sustain: number
sustainLength: number
sustainLevel: number
sustainSamples: number

Methods

  • Returns void

  • Returns boolean

  • Returns void

  • Returns void

  • Parameters

    • buffer: number[] | Float64Array

    Returns number[] | Float64Array

  • Parameters

    • sample: number

    Returns number

  • Returns void

  • Returns number

Generated using TypeDoc