A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developer.mozilla.org/en-US/docs/Web/API/PeriodicWave below:

PeriodicWave - Web APIs | MDN

PeriodicWave

Baseline Widely available

The PeriodicWave interface defines a periodic waveform that can be used to shape the output of an OscillatorNode.

PeriodicWave has no inputs or outputs; it is used to define custom oscillators when calling OscillatorNode.setPeriodicWave(). The PeriodicWave itself is created/returned by BaseAudioContext.createPeriodicWave.

Constructor
PeriodicWave()

Creates a new PeriodicWave object instance using the default values for all properties. If you wish to establish custom property values at the outset, use the BaseAudioContext.createPeriodicWave factory method instead.

Instance properties

None; also, PeriodicWave doesn't inherit any properties.

Instance methods

None; also, PeriodicWave doesn't inherit any methods.

Example

See BaseAudioContext.createPeriodicWave for simple example code that shows how to create a PeriodicWave object containing a simple sine wave.

Specifications Browser compatibility See also

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.3