An open API service indexing awesome lists of open source software.

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:

Awesome Lists containing this project

README

          

[![Build Status](https://travis-ci.com/processing/p5.js-sound.svg?branch=master)](https://travis-ci.com/processing/p5.js-sound)
[![GitHub contributors](https://img.shields.io/github/contributors/processing/p5.js-sound)](https://github.com/processing/p5.js-sound/graphs/contributors)
[![GitHub issues](https://img.shields.io/github/issues-raw/processing/p5.js-sound)](https://github.com/processing/p5.js-sound/issues)
[![Twitter Follow](https://img.shields.io/twitter/follow/p5xjs?style=social)](https://twitter.com/p5xjs)
[![GitHub forks](https://img.shields.io/github/forks/processing/p5.js-sound?style=social)](https://github.com/processing/p5.js-sound/fork)
![GitHub Repo stars](https://img.shields.io/github/stars/processing/p5.js-sound?style=social)
[![GitHub Sponsors](https://img.shields.io/github/sponsors/processing)](https://github.com/sponsors/processing)

![](https://cloud.githubusercontent.com/assets/504124/19908328/2cd874ea-a059-11e6-847c-e5da5e957a2f.jpg)

# p5.sound

[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/processing/p5.js-sound?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
[![Discord](https://img.shields.io/discord/836700474425475088?logo=discord)](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/)