Reference amp()

amp()

Set amplitude (volume) of a mic input between 0 and 1.0.

Syntax

amp(vol, [time])

Parameters

vol
Number:

between 0 and 1.0

time
Number:

ramp time (optional)

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

Related References