A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://webplatform.github.io/docs/apis/webaudio/AudioNode/connect below:

connect · WebPlatform Docs

connect Summary

Connects one AudioNode to another AudioNode.

Method of apis/webaudio/AudioNodeapis/webaudio/AudioNode

Syntax
var  = AudioNode.connect(destination, output, input);
Parameters destination
Data-type
unsigned long

(Optional)

The AudioNode to connect to.

output
Data-type
unsigned long

(Optional)

An index describing which output of the AudioNode to connect from. An out-of-bound value throws an exception.

input
Data-type
unsigned long

(Optional)

An index describing which input of the destination AudioNode to connect to. An out-of-bound value throws an exception.

Return Value

Returns an object of type

Examples
var oscillator = audioCtx.createOscillator();
oscillator.connect(audioCtx.destination,1,1);
Related specifications
W3C Web Audio API
W3C Editor’s Draft

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4