forked from yannseznec/SoundGamesFinalProject
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bonk_tutorial_3_dynamic_volume.pd
46 lines (46 loc) · 1.19 KB
/
bonk_tutorial_3_dynamic_volume.pd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#N canvas 295 39 1077 839 24;
#X obj 160 204 bonk~;
#X obj 98 108 adc~;
#X msg 210 124 minvel \$1;
#X obj 242 32 hsl 200 50 0 127 0 1 empty empty empty -2 -8 0 10 -262144
-1 -1 7200 1;
#X obj 155 256 bng 50 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X obj 119 392 t b b;
#X msg 83 481 1;
#X msg 180 452 open sounds/musicbox.wav;
#X obj 100 530 readsf~;
#X obj 303 659 dac~;
#X obj 251 249 unpack f f;
#X floatatom 394 294 5 0 0 0 - - -;
#X obj 377 124 s minvel;
#X obj 678 318 r minvel;
#X obj 640 364 -;
#X floatatom 639 406 5 0 0 0 - - -;
#X obj 638 446 / 240;
#X floatatom 640 494 5 0 0 0 - - -;
#X text 725 492 volume;
#X obj 324 587 *~;
#X text 101 732 yann seznec // MICA game lab // @yannseznec;
#X text 432 191 watch the video: https://youtu.be/o4gJRxmAeEs;
#X connect 0 0 4 0;
#X connect 0 1 10 0;
#X connect 1 0 0 0;
#X connect 2 0 0 0;
#X connect 3 0 2 0;
#X connect 3 0 12 0;
#X connect 4 0 5 0;
#X connect 5 0 6 0;
#X connect 5 1 7 0;
#X connect 6 0 8 0;
#X connect 7 0 8 0;
#X connect 8 0 19 0;
#X connect 10 1 11 0;
#X connect 11 0 14 0;
#X connect 13 0 14 1;
#X connect 14 0 15 0;
#X connect 15 0 16 0;
#X connect 16 0 17 0;
#X connect 17 0 19 1;
#X connect 19 0 9 0;
#X connect 19 0 9 1;