processing/p5.sound.js

Add example sketches for all p5.Amplitude methods in p5.Sound reference

Open

#64 opened on Jul 13, 2025

View on GitHub
 (8 comments) (0 reactions) (1 assignee)JavaScript (22 forks)auto 404
documentationgood first issuehelp wanted

Repository metrics

Stars
 (52 stars)
PR merge metrics
 (PR metrics pending)

Description

Increasing Access

The p5.Sound reference pages currently lack live examples. This issue is specifically for the p5.Amplitude class. Without examples, it’s hard for users to see how each method behaves in a sketch.

Add one or more simple example sketches demonstrating each of the following p5.Amplitude methods:

  • getLevel()
  • setInput()
  • smooth()
  • toggleNormalize()

You can consult the API details here for guidance: https://beta.p5js.org/reference/p5.sound/p5.amplitude/

Feel free to add one example or multiple examples for any of these methods and submit a PR..

Most appropriate sub-area of p5.js?

Reference

Feature request details

A pull request that updates the p5.sound reference documentation with at least one working code example per method, so that users can immediately copy, paste, and run each sketch to learn how p5.Amplitude works.

Contributor guide