StereoPannerNode
StereoPannerNode for legacy Web Audio API
http://webaudio.github.io/web-audio-api/#the-stereopannernode-interface
Installation
npm install stereo-panner-node
downloads:
Quick Example
At first, call polyfill()
method.
;
Then, you can use createStereoPanner()
method at AudioContext.
var stereoPanner = audioContext; stereoPannerpanvalue = Math * 2 - 1;
Demo
https://mohayonao.github.io/stereo-panner-node/
API
StereoPannerNode
constructor(audioContext: AudioContext)
Class Methods
polyfill(): void
- install
createStereoPanner()
method toAudioContext.prototype
if needed.
- install
install(): void
- install
createStereoPanner()
method toAudioContext.prototype
force
- install
Instance Attributes
pan: AudioParam
readonly
AudioGraph
License
MIT