Skip to content

@liminal-hq/undertone / buildImpulseResponse

Function: buildImpulseResponse() ​

buildImpulseResponse(ctx, seconds, random?): AudioBufferLike

Defined in: effects.ts:33

Procedurally generates a synthetic reverb impulse response: exponentially- decaying noise, the standard textbook algorithmic-reverb technique — not derived from any sampled room or Strudel's own IR data.

Parameters ​

ctx ​

AudioContextLike

seconds ​

number

random? ​

RandomSource = Math.random

Returns ​

AudioBufferLike