Designing Sound - Procedural Audio for Games and Film.

Code examples for “Designing Sound” textbook

Practical 1: Pedestrians

Pure Data

Pedestrian crossing beeps patch

#N canvas 389 342 84 221 10;
#X obj 1 192 dac~;
#X obj 1 162 *~ 0.2;
#X obj 1 138 *~;
#X obj 1 91 sig~;
#X obj 1 45 f 0;
#X obj 33 45 + 1;
#X obj 1 -3 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1;
#X obj 1 68 mod 2;
#X obj 1 19 metro 100;
#X obj 17 114 osc~ 2500;
#X connect 1 0 0 0;
#X connect 1 0 0 1;
#X connect 2 0 1 0;
#X connect 3 0 2 0;
#X connect 4 0 5 0;
#X connect 4 0 7 0;
#X connect 5 0 4 1;
#X connect 6 0 8 0;
#X connect 7 0 3 0;
#X connect 8 0 4 0;
#X connect 9 0 2 1;

Download pedestrian-beep.pd.

Audio

Pedestrian crossing beeps

Download pedestrian-beeps.wav.