https://github.com/processing/p5.js-sound
p5.sound brings the Processing approach to Web Audio and p5.js. Demos:
https://github.com/processing/p5.js-sound
audio sound
Last synced: 9 months ago
JSON representation
p5.sound brings the Processing approach to Web Audio and p5.js. Demos:
- Host: GitHub
- URL: https://github.com/processing/p5.js-sound
- Owner: processing
- License: mit
- Created: 2014-07-11T00:04:58.000Z (over 11 years ago)
- Default Branch: main
- Last Pushed: 2024-10-29T16:11:09.000Z (about 1 year ago)
- Last Synced: 2025-04-11T06:18:08.598Z (9 months ago)
- Topics: audio, sound
- Language: JavaScript
- Homepage: http://p5js.org/reference/#/libraries/p5.sound
- Size: 24.5 MB
- Stars: 886
- Watchers: 85
- Forks: 683
- Open Issues: 194
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-audio-visualization - p5.sound - Brings the Processing approach to Web Audio and p5.js. (Libraries Audio)
README
[](https://travis-ci.com/processing/p5.js-sound)
[](https://github.com/processing/p5.js-sound/graphs/contributors)
[](https://github.com/processing/p5.js-sound/issues)
[](https://twitter.com/p5xjs)
[](https://github.com/processing/p5.js-sound/fork)

[](https://github.com/sponsors/processing)

# p5.sound
[](https://gitter.im/processing/p5.js-sound?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
[](https://discord.gg/HWzy4HpaEJ)
During December 2023 we are sunsetting, archiving and deprecating this repository and version of the p5.sound project, while we prepare the release of the new version of the library, currently being built at [https://github.com/processing/p5.sound.js](https://github.com/processing/p5.sound.js).
p5.sound brings the [Processing](http://processing.org) approach to [Web Audio](http://w3.org/TR/webaudio/) as an addon for [p5.js](http://github.com/processing/p5.js). Functionality includes audio input, playback, manipulation, effects, recording, sequencing, analysis and synthesis. The library is designed to be used in tandem with [p5.js](http://p5js.org).
Between February 2023 - December 2023, this repository was maintained by aarón montoya-moraga (@montoyamoraga), in their role of Processing p5.js sound Fellow.
### Examples
- Examples at [p5js.org/examples](https://p5js.org/examples/)
- Additional examples at [processing.github.io/p5.js-sound](https://processing.github.io/p5.js-sound/)
- p5.js Sound Tutorial by Dan Shiffman on [YouTube](https://www.youtube.com/playlist?list=PLRqwX-V7Uu6aFcVjlDAkkGIixw70s7jpW)
### [Documentation](http://p5js.org/reference/#/libraries/p5.sound)
Interactive documentation at [p5js.org/reference/#/libraries/p5.sound](http://p5js.org/reference/#/libraries/p5.sound)
### Latest Build
- Visit http://p5js.org/download/ for the latest official release of p5 with the latest p5.sound included.
- The sound library [here](https://github.com/processing/p5.js-sound/blob/main/lib) is updated more frequently, and we occasionally offer new [releases](https://github.com/processing/p5.js-sound/releases) before the release cycle of p5.js.
### Contribute
Here's a guide to contribute to the p5.js project https://github.com/processing/p5.js-sound/wiki/Contribute, to help you getting started as a contributor.
Note : If you have any questions or concerns regarding the project, you can reach out to our [Discord](https://discord.gg/HWzy4HpaEJ) and [Gitter](https://gitter.im/processing/p5.js-sound) communities. The p5.js team closely monitors all pull requests and issues on GitHub, so there's no need to also post them on Discord. Additionally, conversations about specific pull requests and issues should take place on GitHub, to ensure that people following along over can see and take part in the whole discussion.
### Dependencies
p5.sound is built with a few modules (Clock, TimelineSignal, and signal math components) from [Tone.js](https://github.com/tonejs/Tone.js), an interactive music framework developed by Yotam Mann.
### References and Inspiration
- [Yotam Mann & TONE.js](https://github.com/tonejs/Tone.js)
- [Boris Smus Web Audio API book](http://smus.com/webaudio-book/)
- [wavesurfer.js](https://github.com/katspaugh/wavesurfer.js)
- [Web Audio Components](https://github.com/web-audio-components)
- [buzz.js](http://buzz.jaysalvat.com/)
- [Chris Wilson](https://github.com/cwilso/)
- [Chris Lowis](http://blog.chrislowis.co.uk/)
- [Kevin Ennis](https://github.com/kevincennis)
- [Processing Sound library](https://github.com/processing/processing-sound)
- [Web Audio API](http://webaudio.github.io/web-audio-api/)