Skip to content

@liminal-hq/undertone / EnvelopeDefinition

Interface: EnvelopeDefinition ​

Defined in: instruments.ts:11

ADSR times in seconds, with sustain as a 0-1 level — the shape Tone.js uses for its envelopes.

Properties ​

attack? ​

optional attack?: number

Defined in: instruments.ts:12


decay? ​

optional decay?: number

Defined in: instruments.ts:13


release? ​

optional release?: number

Defined in: instruments.ts:15


sustain? ​

optional sustain?: number

Defined in: instruments.ts:14