processing/p5.sound.js

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

Open

#64 创建于 2025年7月13日

在 GitHub 查看
 (8 评论) (0 反应) (1 负责人)JavaScript (22 fork)auto 404
documentationgood first issuehelp wanted

仓库指标

Star
 (52 star)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南