setInput()

Assign a parameter to be controlled by this envelope. If a p5.Sound object is given, then the p5.Envelope will control its output gain. If multiple inputs are provided, the env will control all of them.

シンタックス

setInput([inputs])

パラメーター

inputs
Object:

A p5.sound object or Web Audio Param.

This page is generated from the comments in lib/addons/p5.sound.js . Please feel free to edit it and submit a pull request!

関連するリファレンス