Type Alias AdsrTimingOpts

AdsrTimingOpts: Partial<{
    attackDuration: number;
    decayDuration: number;
    releaseDuration: number;
    shouldLoop: boolean;
}>

Type declaration

  • ReadonlyattackDuration: number

    Duration for attack stage Unit depends on timer source

  • ReadonlydecayDuration: number

    Duration for decay stage Unit depends on timer source

  • ReadonlyreleaseDuration: number

    Duration for release stage Unit depends on timer source

  • ReadonlyshouldLoop: boolean

    If true, envelope indefinately returns to attack stage after release