Skip to content

Commit cd8f810

Browse files
author
Lauren McCarthy
committed
Merge pull request #284 from therewasaguy/p5SOUND
updating file location for inline examples on web docs
2 parents 7005da6 + 26e11f3 commit cd8f810

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

lib/addons/p5.sound.js

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! p5.sound.js v0.009 2014-08-04 */
1+
/*! p5.sound.js v0.1 2014-08-04 */
22
/**
33
* p5.sound extends p5 with <a href="http://www.w3.org/TR/webaudio/"
44
* target="_blank">Web Audio</a> functionality including audio input,
@@ -288,7 +288,7 @@ soundfile = function () {
288288
* @example
289289
* <div><code>
290290
* function preload() {
291-
* mySound = loadSound('../sounds/drum.mp3');
291+
* mySound = loadSound('assets/drum.mp3');
292292
* }
293293
*
294294
* function setup() {
@@ -411,7 +411,7 @@ soundfile = function () {
411411
* @example
412412
* <div><code>
413413
* function preload() {
414-
* mySound = loadSound('../sounds/drum.mp3');
414+
* mySound = loadSound('assets/drum.mp3');
415415
* }
416416
*
417417
* function setup() {
@@ -563,7 +563,7 @@ soundfile = function () {
563563
* @example
564564
* <div><code>
565565
* function setup(){
566-
* mySound = loadSound('../sounds/Damscray_DancingTiger.mp3');
566+
* mySound = loadSound('assets/Damscray_DancingTiger.mp3');
567567
* }
568568
* function mouseClicked() {
569569
* mySound.playMode('sustain');
@@ -787,7 +787,7 @@ soundfile = function () {
787787
* var soundfile;
788788
*
789789
* function preload() {
790-
* soundfile = loadSound('../sounds/Damscray_DancingTiger.mp3');
790+
* soundfile = loadSound('assets/Damscray_DancingTiger.mp3');
791791
* }
792792
*
793793
* function setup() {
@@ -983,7 +983,7 @@ soundfile = function () {
983983
* var drum;
984984
*
985985
* function preload() {
986-
* drum = loadSound('../sounds/drum.mp3');
986+
* drum = loadSound('assets/drum.mp3');
987987
* }
988988
*
989989
* function setup() {
@@ -1096,7 +1096,7 @@ amplitude = function () {
10961096
* @example
10971097
* <div><code>
10981098
* function preload(){
1099-
* sound = loadSound('../sounds/beat.mp3');
1099+
* sound = loadSound('assets/beat.mp3');
11001100
* }
11011101
* function setup() {
11021102
* amplitude = new Amplitude();
@@ -1151,8 +1151,8 @@ amplitude = function () {
11511151
* @example
11521152
* <div><code>
11531153
* function preload(){
1154-
* sound1 = loadSound('../sounds/beat.mp3');
1155-
* sound2 = loadSound('../sounds/drum.mp3');
1154+
* sound1 = loadSound('assets/beat.mp3');
1155+
* sound2 = loadSound('assets/drum.mp3');
11561156
* }
11571157
* function setup(){
11581158
* amplitude = new Amplitude();
@@ -1241,7 +1241,7 @@ amplitude = function () {
12411241
* @example
12421242
* <div><code>
12431243
* function preload(){
1244-
* sound = loadSound('../sounds/beat.mp3');
1244+
* sound = loadSound('assets/beat.mp3');
12451245
* }
12461246
* function setup() {
12471247
* amplitude = new Amplitude();
@@ -1343,7 +1343,7 @@ fft = function () {
13431343
* @example
13441344
* <div><code>
13451345
* function preload(){
1346-
* sound = loadSound('../sounds/Damscray_DancingTiger.mp3');
1346+
* sound = loadSound('assets/Damscray_DancingTiger.mp3');
13471347
* }
13481348
*
13491349
* function setup(){

0 commit comments

Comments
 (0)