var delay = ctx.createDelay(); delay.delayTime.value = 0.5; var mic = ctx.createMediaStreamSource(stream); mic.connect(delay); delay.connect(ctx.destination);