amp()

Adjust the amplitude of the p5 sound node. Amplitude is another way of saying "volume" or "loudness."

Ejemplos

Sintaxis

amp(amplitude)

Parámetros

amplitude
Number: Set the amplitude between 0 and 1.0. Or, pass in an object such as an oscillator to modulate amplitude with an audio signal.

Referencias Relacionadas