-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsuntime.pd
More file actions
91 lines (91 loc) · 2.51 KB
/
suntime.pd
File metadata and controls
91 lines (91 loc) · 2.51 KB
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
#N canvas 180 32 866 696 12;
#X obj 293 27 loadbang;
#X obj 293 104 time;
#X floatatom 294 203 5 0 0 0 - - - 0;
#X floatatom 307 170 5 0 0 0 - - - 0;
#X floatatom 321 143 5 0 0 0 - - - 0;
#X obj 402 54 r hRise;
#X obj 471 54 r mRise;
#X obj 36 62 r hSet;
#X obj 93 66 r mSet;
#X floatatom 402 83 5 0 0 0 - - - 0;
#X floatatom 471 83 5 0 0 0 - - - 0;
#X floatatom 36 91 5 0 0 0 - - - 0;
#X floatatom 93 95 5 0 0 0 - - - 0;
#X obj 398 275 ==;
#X obj 454 275 ==;
#X obj 398 345 +;
#X obj 398 464 select 2;
#X obj 88 279 ==;
#X obj 144 279 ==;
#X obj 88 349 +;
#X obj 88 408 select 2;
#X msg 228 508 0;
#X msg 266 508 1;
#X obj 247 542 s sunStatus;
#X obj 180 381 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc
#000000 #000000;
#X obj 304 378 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc
#000000 #000000;
#X obj 398 528 s startMetro;
#X obj 32 513 print Sun is setting...;
#X obj 342 579 print Sun is rising!;
#X obj 412 426 loadbang;
#X obj 87 466 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc #000000
#000000;
#X obj 293 65 metro 60000;
#X obj 1197 1551 bng 15 250 50 0 empty empty empty 17 7 0 10 #fcfcfc
#000000 #000000;
#X obj 351 676 s startHarp;
#X obj 405 632 s switchONHarp;
#X text 148 25 Once every minute this timer checks for sunrise and
sunset., f 19;
#X text 564 33 There is a -24 minutes subtraction in sketch.js that
is calculated from the 2 minutes it takes for the next fade to reach
it next value. A total of 12 faders gives 24 minutes before a fade
from one sound file to another has been completed. Because of the -24
minutes \, the fade will be completed when the sun has set., f 33
;
#X text 145 351 Test night time;
#X text 284 353 Test day time;
#X connect 0 0 31 0;
#X connect 1 0 2 0;
#X connect 1 1 3 0;
#X connect 1 2 4 0;
#X connect 2 0 13 0;
#X connect 2 0 17 0;
#X connect 3 0 14 0;
#X connect 3 0 18 0;
#X connect 5 0 9 0;
#X connect 6 0 10 0;
#X connect 7 0 11 0;
#X connect 8 0 12 0;
#X connect 9 0 13 1;
#X connect 10 0 14 1;
#X connect 11 0 17 1;
#X connect 12 0 18 1;
#X connect 13 0 15 0;
#X connect 14 0 15 1;
#X connect 15 0 16 0;
#X connect 16 0 22 0;
#X connect 16 0 26 0;
#X connect 16 0 28 0;
#X connect 16 0 33 0;
#X connect 16 0 34 0;
#X connect 17 0 19 0;
#X connect 18 0 19 1;
#X connect 19 0 20 0;
#X connect 20 0 21 0;
#X connect 20 0 27 0;
#X connect 20 0 30 0;
#X connect 21 0 23 0;
#X connect 22 0 23 0;
#X connect 24 0 21 0;
#X connect 24 0 27 0;
#X connect 25 0 22 0;
#X connect 25 0 26 0;
#X connect 25 0 28 0;
#X connect 25 0 34 0;
#X connect 25 0 33 0;
#X connect 29 0 22 0;
#X connect 31 0 1 0;