This page is Ready to Use

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

frequency

Summary

Used in different ways by the various types. Defaults to 350Hz, with a nominal range of 10 to the Nyquist frequency (half the sample-rate). This parameter is k-rate.

Property of apis/webaudio/BiquadFilterNodeapis/webaudio/BiquadFilterNode

Syntax

Note: This property is read-only.

var result = BiquadFilterNode.frequency;

Examples

var audioCtx = new AudioContext();
var biquadFilter = audioCtx.createBiquadFilter();
biquadfilter.frequency.value = 3000;

Related specifications

W3C Web Audio API
W3C Editor’s Draft