var delayNode = context.createDelayNode(10); // max possible delay in seconds delayNode.delayTime.value = $('.range1').val(); source.connect(delayNode); delayNode.connect(destination);