Audio.WebAudio.AnalyserNode
- Package
- purescript-webaudio
- Repository
- adkelley/purescript-webaudio
#fftSize Source
fftSize :: AnalyserNode -> Effect ByteLength
The size of the FFT (Fast Fourier Transform) to be used to determine the frequency domain. Its value must be a non-zero power of 2 in a range from 32 to 32768; its default value is 2048. If its value is not a power of 2, or it is outside the specified range, the exception INDEX_SIZE_ERR is thrown.
#frequencyBinCount Source
frequencyBinCount :: AnalyserNode -> Effect ByteLength
Half that of the FFT size. This generally equates to the number of data values you will have to play with for the visualization.
#setFftSize Source
setFftSize :: ByteLength -> AnalyserNode -> Effect Unit
#setFrequencyBinCount Source
setFrequencyBinCount :: ByteLength -> AnalyserNode -> Effect Unit
#minDecibels Source
minDecibels :: AnalyserNode -> Effect Number
Specifies the minimum value for the range of results when using getByteFrequencyData().
#setMinDecibels Source
setMinDecibels :: Number -> AnalyserNode -> Effect Unit
#maxDecibels Source
maxDecibels :: AnalyserNode -> Effect Number
Specifies the maxi0mum value for the range of results when using getByteFrequencyData().
#setMaxDecibels Source
setMaxDecibels :: Number -> AnalyserNode -> Effect Unit
#smoothingTimeConstant Source
smoothingTimeConstant :: AnalyserNode -> Effect Number
The averaging constant with the last analysis frame. This makes the transition between values over time smoother.
#setSmoothingTimeConstant Source
setSmoothingTimeConstant :: Number -> AnalyserNode -> Effect Unit
#getFloatFrequencyData Source
getFloatFrequencyData :: AnalyserNode -> Float32Array -> Effect Unit
Copy the current frequency data into the Float32Array.
#getByteFrequencyData Source
getByteFrequencyData :: AnalyserNode -> Uint8Array -> Effect Unit
Copy the current frequency data into the Uint8Array.
#getFloatTimeDomainData Source
getFloatTimeDomainData :: AnalyserNode -> Float32Array -> Effect Unit
Copy the current waveform, or time-domain, data into the Float32Array.
#getByteTimeDomainData Source
getByteTimeDomainData :: AnalyserNode -> Uint8Array -> Effect Unit
Copy the current waveform, or time-domain, data into the Uint8Array.
- Modules
- Audio.
WebAudio. AnalyserNode - Audio.
WebAudio. AudioBufferSourceNode - Audio.
WebAudio. AudioContext - Audio.
WebAudio. AudioParam - Audio.
WebAudio. BaseAudioContext - Audio.
WebAudio. BiquadFilterNode - Audio.
WebAudio. ConvolverNode - Audio.
WebAudio. DelayNode - Audio.
WebAudio. DestinationNode - Audio.
WebAudio. DynamicsCompressorNode - Audio.
WebAudio. GainNode - Audio.
WebAudio. MediaElementAudioSourceNode - Audio.
WebAudio. Oscillator - Audio.
WebAudio. StereoPannerNode - Audio.
WebAudio. Types - Audio.
WebAudio. Utils