var filterNode = context.createBiquadFilter(); filterNode.type = 1; // High-pass filter. filterNode.frequency.value = 1000; // Cutoff to 1kHZ filterNode.frequency.Q = 1; // QUality factor filterNode.gain.value = 1000; // Not used in this filter type