MCPcopy
hub / github.com/Tonejs/Tone.js / connect

Function connect

Tone/core/context/ToneAudioNode.ts:196–199  ·  view source on GitHub ↗

* connect the output of a ToneAudioNode to an AudioParam, AudioNode, or ToneAudioNode * @param destination The output to connect to * @param outputNum The output to connect from * @param inputNum The input to connect to

(destination: InputNode, outputNum = 0, inputNum = 0)

Source from the content-addressed store, hash-verified

194 * @param inputNum The input to connect to
195 */
196 connect(destination: InputNode, outputNum = 0, inputNum = 0): this {
197 connect(this, destination, outputNum, inputNum);
198 return this;
199 }
200
201 /**
202 * Connect the output to the context's destination node.

Callers 15

constructorMethod · 0.90
Param.test.tsFile · 0.90
Delay.test.tsFile · 0.90
Context.test.tsFile · 0.90
constructorMethod · 0.90
connectSignalFunction · 0.90
constructorMethod · 0.90
openMethod · 0.90
constructorMethod · 0.90
constructorMethod · 0.90

Calls 5

assertFunction · 0.90
isDefinedFunction · 0.90
isAudioNodeFunction · 0.90
isAudioParamFunction · 0.90
connectMethod · 0.45

Tested by

no test coverage detected