Skip to content

Commit 7c3e3c5

Browse files
authored
Merge pull request #228 from multimentha/swap_chapter_20_audio
Swap out defunct mp3 samples for wav in chapter 20
2 parents 4c5a1ba + 25e26c6 commit 7c3e3c5

14 files changed

Lines changed: 7 additions & 7 deletions

File tree

684 KB
Binary file not shown.

chp20_sound/example_20_01_playback/example_20_01_playback.pde

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ SoundFile song;
1111

1212
void setup() {
1313
size(480, 270);
14-
song = new SoundFile(this, "beat.mp3");
14+
song = new SoundFile(this, "beat.wav");
1515
song.play();
1616
}
1717

684 KB
Binary file not shown.

chp20_sound/example_20_03_manipulate_sound/example_20_03_manipulate_sound.pde

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ void setup() {
1313
size(200, 200);
1414

1515
// Load a sound file
16-
song = new SoundFile(this, "beat.mp3");
16+
song = new SoundFile(this, "beat.wav");
1717

1818
// Loop the sound forever
1919
// (well, at least until stop() is called)
684 KB
Binary file not shown.

chp20_sound/example_20_04_pan/example_20_04_pan.pde

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ SoundFile soundFile;
44

55
void setup() {
66
size(200, 200);
7-
soundFile = new SoundFile(this, "beat.mp3");
7+
soundFile = new SoundFile(this, "beat.wav");
88
soundFile.loop();
99
}
1010

684 KB
Binary file not shown.

chp20_sound/example_20_05_reverb/example_20_05_reverb.pde

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ void setup() {
1313
size(200, 200);
1414

1515
// Load a sound file
16-
song = new SoundFile(this, "beat.mp3");
16+
song = new SoundFile(this, "beat.wav");
1717
song.loop();
1818

1919
reverb = new Reverb(this);
684 KB
Binary file not shown.

chp20_sound/example_20_09_playback_analysis/example_20_09_playback_analysis.pde

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Amplitude analyzer;
1414

1515
void setup() {
1616
size(480, 270);
17-
song = new SoundFile(this, "beat.mp3");
17+
song = new SoundFile(this, "beat.wav");
1818
song.loop();
1919

2020
// create a new Amplitude analyzer

0 commit comments

Comments
 (0)