Skip to content

Commit 352cd88

Browse files
authored
Merge pull request #281 from therewasaguy/update-readme
Update readme
2 parents b30bbb6 + 165cfba commit 352cd88

File tree

3 files changed

+58
-40
lines changed

3 files changed

+58
-40
lines changed

README.md

Lines changed: 16 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -7,55 +7,31 @@ p5.sound
77

88
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/lmccart/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).
99

10-
Examples
11-
========
12-
#### [>> p5js.org/learn](https://p5js.org/examples/) ***<-- interactive examples!***
13-
14-
#### [>> examples on github](https://processing.github.io/p5.js-sound/)
15-
16-
17-
Docs
18-
============
19-
#### [>> interactive documentation](http://p5js.org/reference/#/libraries/p5.sound)
10+
### Examples
11+
* Examples at [p5js.org/examples](https://p5js.org/examples/)
12+
* Additional examples at [processing.github.io/p5.js-sound](https://processing.github.io/p5.js-sound/)
13+
* p5.js Sound Tutorial by Dan Shiffman on [YouTube](https://www.youtube.com/playlist?list=PLRqwX-V7Uu6aFcVjlDAkkGIixw70s7jpW)
2014

21-
Here is an overview of what p5.sound offers:
22-
- **p5.SoundFile** [[source](https://github.com/therewasaguy/p5.sound/blob/master/src/soundfile.js) / [docs](http://p5js.org/reference/#/p5.SoundFile)]: Load and play sound files, manipulate playback
23-
- **p5.Amplitude** [[source](https://github.com/therewasaguy/p5.sound/blob/master/src/amplitude.js) / [docs](http://p5js.org/reference/#/p5.Amplitude)]: Get the current volume of a sound.
24-
- **p5.AudioIn** [[source](https://github.com/therewasaguy/p5.sound/blob/master/src/audioin.js) / [docs](http://p5js.org/reference/#/p5.AudioIn)]: Get sound from an input source like a computer mic.
25-
- **p5.FFT** [[source](https://github.com/therewasaguy/p5.sound/blob/master/src/fft.js)] [ [docs](http://p5js.org/reference/#/p5.FFT)]: Analyze the frequency of sound.
26-
- **p5.Oscillator** [[source](https://github.com/therewasaguy/p5.sound/blob/master/src/oscillator.js) / [docs](http://p5js.org/reference/#/p5.Oscillator)] / **p5.Pulse** [[source](https://github.com/therewasaguy/p5.sound/blob/master/src/pulse.js) / [docs](http://p5js.org/reference/#/p5.Pulse)]: Waveforms for playback & modulation.
27-
- **p5.Noise** [[source](https://github.com/therewasaguy/p5.sound/blob/master/src/noise.js) / [docs](http://p5js.org/reference/#/p5.Noise): White, pink or brown noise generator
28-
- **p5.Env** [[source](https://github.com/therewasaguy/p5.sound/blob/master/src/env.js) / [[docs](http://p5js.org/reference/#/p5.Env)]: Trigger an attack/release envelope, or modulate other parameters
29-
- **p5.Reverb** [[source](https://github.com/therewasaguy/p5.sound/blob/master/src/reverb.js) / [docs](http://p5js.org/reference/#/p5.Reverb)]: Add reverb to a sound by specifying duration and decay.
30-
- **p5.Convolver** extends p5.Reverb. Simulate the sound of real physical spaces w/ convolution.
31-
- **p5.Filter** [[source](https://github.com/therewasaguy/p5.sound/blob/master/src/filter.js) / [docs](http://p5js.org/reference/#/p5.Filter)]: Filter the frequency range of a sound.
32-
- **p5.Delay** [[source](https://github.com/therewasaguy/p5.sound/blob/master/src/delay.js) / [docs](http://p5js.org/reference/#/p5.Delay)]: Stereo delay effect w/ feedback and a lowpass filter.
33-
- **p5.SoundRecorder** [ [source](https://github.com/therewasaguy/p5.sound/blob/master/src/soundrecorder.js) ]: record sound for playback / save the .wav
34-
- **p5.Phrase, p5.Part, p5.Score** [ [source](https://github.com/therewasaguy/p5.sound/blob/master/src/looper.js) ]: Sequence musical patterns (in development).
15+
### [Documentation](http://p5js.org/reference/#/libraries/p5.sound)
16+
Interactive documentation at [p5js.org/reference/#/libraries/p5.sound](http://p5js.org/reference/#/libraries/p5.sound)
3517

3618

37-
Latest Version
38-
========
39-
[This version](https://github.com/therewasaguy/p5.sound/blob/master/lib) of the library is updated most frequently. A [stable version](http://p5js.org/download/) comes with p5.js. Here's the [Change Log](https://github.com/therewasaguy/p5.sound/blob/master/changelog.md).
40-
41-
Contribute
42-
========
43-
If you have a question, you can email [email protected].
4419

45-
If it's a bug that has to do with the library itself, please look through the [Issues](https://github.com/therewasaguy/p5.sound/issues) to see if anyone is working on it already. If not, you can create a new issue.
20+
### Latest Build
21+
* Visit http://p5js.org/download/ for the latest official release of p5 with the latest p5.sound included.
22+
* The sound library [here](https://github.com/therewasaguy/p5.sound/blob/master/lib) is updated more frequently, and we occasionally offer new [releases](https://github.com/processing/p5.js-sound/releases) before p5's release cycle.
4623

47-
This is an open source project, we have an exciting [to do list](https://github.com/therewasaguy/p5.sound/blob/master/todo.md), and you are invited to help!
4824

25+
### Contribute
4926
[Here's a guide](https://github.com/processing/p5.js-sound/wiki/Contribute) to getting started as a contributor.
5027

51-
Dependencies
52-
=========
53-
[Tone.js](https://github.com/TONEnoTONE/Tone.js) - p5.sound imports Signal Math and Clock modules directly from this library using require.js. Check it out!
5428

55-
References and Inspiration
56-
=========
57-
- [Yotam Mann & TONE.js](https://github.com/TONEnoTONE/Tone.js)
58-
- [Boris Smus Web Audio API book](http://www.apache.org/licenses/LICENSE-2.0)
29+
### Dependencies
30+
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.
31+
32+
### References and Inspiration
33+
- [Yotam Mann & TONE.js](https://github.com/tonejs/Tone.js)
34+
- [Boris Smus Web Audio API book](http://smus.com/webaudio-book/)
5935
- [wavesurfer.js](https://github.com/katspaugh/wavesurfer.js)
6036
- [Web Audio Components](https://github.com/web-audio-components)
6137
- [buzz.js](http://buzz.jaysalvat.com/)

changelog.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,39 @@
1+
p5.sound v. 0.3.7
2+
- fix audioIn getSources
3+
- improvements to soundFile.rate
4+
- documentation updates
5+
6+
p5.sound v. 0.3.6
7+
- add MonoSynth, PolySynth and AudioVoice classes by @jvntf
8+
- add playmode untilDone to p5.SoundFile https://github.com/processing/p5.js-sound/pull/223
9+
- fix comment in p5.oscillator example https://github.com/processing/p5.js-sound/commit/7927e0f928816562c01ac8f4cedb34aeae30f838
10+
- doc comment fixes (https://github.com/processing/p5.js-sound/pull/222) that go along with this https://github.com/processing/p5.js/pull/2279
11+
12+
p5.sound v. 0.3.5
13+
* New FFT methods by @mkontogiannis
14+
* getOctaveBands
15+
* linAverages
16+
* logAverages
17+
18+
* SoundFile `onended` does not trigger on pause, fix by @aksperiod
19+
20+
* Remove calls to `AudioContext.prototype.hasOwnProperty` in case [this](https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/QOR76GjwrkA) is an issue
21+
22+
p5.sound v. 0.3.1
23+
- add p5.Distortion effect
24+
- add p5.AudioIn error handler for ios and safari
25+
- fix p5.SoundFile playbackRate in Chrome 53+
26+
- fix DynamicsCompressor.ratio.value clamping warning
27+
- fix for p5.Noise constructor ignores argument
28+
- fix p5.SoundFile whileLoading callback
29+
- fix for Oscillator dispose method & general improvements to oscillator memory management
30+
- fix WAV format in soundRecorder saveSound()
31+
- fix p5.AudioIn stop error due to mediastream api changes
32+
- fix p5.Part timing
33+
- fix p5.Part removePhrase
34+
- fix a bug when passing a parameter to the disconnect method
35+
- updates to documentation / inline examples for p5js.org
36+
137
p5.sound v. 0.3.0
238
- ensure proper dispose methods for all p5.sound classes
339
- many improvements to p5.Env

package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,11 @@
2020
},
2121
"dependencies": {
2222
"tone": "0.10.0"
23+
},
24+
"scripts": {
25+
"build": "grunt",
26+
"test": "grunt run-tests",
27+
"lint": "grunt lint",
28+
"dev": "grunt dev"
2329
}
2430
}

0 commit comments

Comments
 (0)