From a08cbc7f612f952e74928eabc6c6855e420a37e0 Mon Sep 17 00:00:00 2001 From: Mugen87 Date: Thu, 29 Mar 2018 14:56:50 +0200 Subject: [PATCH] Docs: Corrected description of .filters, setFilter() and setFilters(). --- docs/api/audio/Audio.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/api/audio/Audio.html b/docs/api/audio/Audio.html index 3838bfdb8b01c..a04b0d3b342ab 100644 --- a/docs/api/audio/Audio.html +++ b/docs/api/audio/Audio.html @@ -63,7 +63,7 @@

[property:AudioContext context]

The [link:https://developer.mozilla.org/en-US/docs/Web/API/AudioContext AudioContext] of the [page:AudioListener listener] given in the constructor.

[property:Array filters]

-
Whether the audio is currently playing. Default is empty array.
+
Represents an array of [link:https://developer.mozilla.org/en-US/docs/Web/API/BiquadFilterNode BiquadFilterNodes]. Can be used to apply a variety of low-order filters to create more complex sound effects. Filters are set via [page:Audio.setFilter] or [page:Audio.setFilters].

[property:GainNode gain]

A [link:https://developer.mozilla.org/en-US/docs/Web/API/GainNode GainNode] created @@ -164,13 +164,13 @@

[method:Audio setBuffer]( audioBuffer )

[method:null setFilter]( filter )

- Add the filter to the [page:Audio.filters filters] array. + Applies a single [link:https://developer.mozilla.org/en-US/docs/Web/API/BiquadFilterNode BiquadFilterNode] to the audio.

[method:Audio setFilters]( [param:Array value] )

value - arrays of filters.
- Set the [page:Audio.filters filters] array to *value*. + Applies an array of [link:https://developer.mozilla.org/en-US/docs/Web/API/BiquadFilterNode BiquadFilterNodes] to the audio.

[method:null setLoop]( [param:Boolean value] )