Properties
This section describes the properties associated with the HTML5 Web Audio APIs. These APIs conform to the emerging W3C Web Audio standard.
In this section
| Topic | Description |
|---|---|
|
Gets the amount of time in seconds required to reduce the gain by 10db. | |
|
An audio asset to be played. | |
|
Sets or gets a single or multi-channel AudioBuffer containing the impulse response for a ConvolverNode. | |
|
Gets the buffer size in sample-frames that's set on a ScriptProcessorNode created with createScriptProcessor. | |
|
Used to help calculate the internal value computedNumberOfChannels for up or down-mixing connections to any inputs of an AudioNode. | |
|
Sets how the internal value computedNumberOfChannels is computed when up or down-mixing connections to AudioNode inputs. | |
|
Sets how individual channels are treated when up or down-mixing connections to inputs on an AudioNode. This property is ignored on an AudioNode with no inputs. | |
|
Gets or sets a directional audio source where there is no volume reduction inside the angle. | |
|
Gets or sets a directional audio source where the volume is reduced outside the angle to a constant value of coneOuterGain | |
|
Gets or sets a directional audio source value for volume reduction outside the coneOuterAngle. | |
|
Gets the AudioContext that owns the AudioNode. | |
|
Time in seconds that starts at zero when AudioContext is created. | |
|
Gets or sets the an array that defines a curve to use for a waveshaping effect. | |
|
Set or get the initial value for the AudioParam value attribute. | |
|
Gets an AudioParam object that represents the delay in seconds to apply to an AudioNode. | |
|
Provides the final destination for all audio input. Typically represents the actual audio hardware. | |
|
Gets a detuning value in cents which offsets the frequency attribute to calculate a computed frequency value. | |
|
Gets or sets the distance model to be used by PannerNode. | |
|
A constant multiplier used to set the amount of pitch shift when rendering a Doppler effect. | |
|
The duration of Pulse Code Modulation (PCM) audio data for a buffer in seconds. | |
|
A non-zero power of two value that sets the size of the FFT used for frequency-domain analysis. | |
|
Gets the operating frequency in hertz for a BiquadFilterNode. | |
|
Gets the frequency in hertz of an OscillatorNode's periodic waveform. | |
|
The number of data points that the frequency data returns. This value is always fftSize/2. | |
|
Gets a factor that is applied to the input signal of a GainNode to calculate gain. | |
|
Gets the gain value of the BiquadFilterNode. | |
|
An AudioBuffer containing input audio data scoped to the current onaudioprocess event. | |
|
Gets a decibel value that represents the range above the threshold where the curve smoothly transitions to the ratio portion. | |
|
PCM audio data length in sample-frames. | |
|
Returns an AudioListener object to use for 3D spatialization. | |
|
Gets or sets a flag to specify whether audio data should restart after it completes. | |
|
Gets or sets a value in seconds when a loop should end, if the loop flag is set. | |
|
If the loop flag is set, this gets or sets a value in seconds where a loop should begin. | |
|
Gets or sets the maximum number of channels that can be set by channelCount on an AudioNode. | |
|
The maximum power value of a scaling range for FFT analysis data. | |
|
The maximum distance between the source and the listener where the volume isn't reduced any further. | |
|
The minimum power value of a range for FFT analysis data. | |
|
Gets or sets whether the impulse response from the ConvolverNode buffer is scaled by an equal-power normalization when a buffer is set. | |
|
The number of discrete audio channels on an AudioBuffer. | |
|
The number of inputs going into an AudioNode. If the value is 0, it's a source node. | |
|
The number of outputs coming from an AudioNode. If value is 0, it's an AudioDestinationNode. | |
|
An AudioBuffer containing input audio data scoped to the current onaudioprocess event. | |
|
Gets or sets the type of oversampling (if any) to apply to input with a WaveShaperNode. | |
|
Gets position of the input in the output's stereo image. | |
|
Gets or sets the panning model to use with PannerNode. | |
|
Gets or sets the speed for an audio stream to playback. This rate is expressed as a multiple of the normal speed of the audio resource. | |
|
Time when audio is played. | |
|
Gets the Q or quality factor for a filter. | |
|
Gets the amount of decibel change in input to produce a 1db change in output. | |
|
Gets a decibel value for metering purposes that represents the current amount of gain reduction that is being applied by the compressor. | |
|
Gets or sets a reference distance value to reduce volume as a source moves away from the listener. | |
|
Gets the amount of time in seconds required for a 10db increase in gain. | |
|
Gets the AudioBuffer that contains rendered audio data on an OfflineAudioCompletionEvent. | |
|
Gets or sets a factor to reduce the volume as the source moves away from the listener. | |
|
The sample rate that the audio is handled, in sample-frames per second. | |
|
A time value used to smooth analyzed data, such as to make a less jumpy meter or visualization. | |
|
Sets a constant speed of sound in meters per second to use when calculating a Doppler effect. | |
|
Gets the MediaStream from a MediaStreamAudioDestinationNode. | |
|
Gets the k-rate decibel value above which compression takes effect. | |
|
Sets or gets the type of filter to use. | |
|
Gets or sets the periodic waveform to generate with an OscillatorNode, such as sine, square, or triangle. | |
|
Value parameter for an AudioParam node. |