0.2.0 • Published 9 years ago

altnode.static-stereo-panner-node v0.2.0

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

altnode.StaticStereoPannerNode

Build Status NPM Version License

graph

Installation

npm install -S altnode.static-stereo-panner-node

API

StaticStereoPannerNode

  • constructor(audioContext: AudioContext)

Instance attributes

  • pan.value: number

Example

import StaticStereoPannerNode from "altnode.static-stereo-panner-node";

let audioContext = new AudioContext();
let bufSrc = audioContext.createBufferSource();
let panner = new StaticStereoPannerNode(audioContext);

bufSrc.buffer = RhythmLoop;
bufSrc.loop = true;
bufSrc.start();
bufSrc.connect(panner);

panner.pan.value = 0.25;

panner.connect(audioContext.destination);

LICENSE

MIT

0.2.0

9 years ago

0.1.0

9 years ago