Referencia connect()

connect()

Sends the element's audio to an output.

The parameter, audioNode, can be an AudioNode or an object from the p5.sound library.

If no element is provided, as in myElement.connect(), the element connects to the main output. All connections are removed by the .disconnect() method.

Note: This method is meant to be used with the p5.sound.js addon library.

Sintaxis

connect(audioNode)

Parámetros

audioNode

AudioNode from the Web Audio API, or an object from the p5.sound library

Notice any errors or typos? Please let us know. Please feel free to edit src/dom/dom.js and open a pull request!

Referencias Relacionadas