aboutsummaryrefslogtreecommitdiff
path: root/timebang-help.pd
blob: 150fab782d16756f8427af19a76dbec6f1f27785 (plain)
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
#N canvas 208 34 570 497 12;
#X obj 29 232 bng 20 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X text 32 13 timebang :: send out bangs at given times of day;
#X text 130 34 written by Olaf Matthes <olaf.matthes@gmx.de>;
#X text 31 69 creation arguments: triples of hour minute and second
for;
#X text 191 87 the times of day you want a bang to occur;
#X text 191 106 each time will get it's own outlet;
#X msg 29 160 set 12 57 10;
#X obj 29 352 bng 20 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X obj 29 395 print good morning;
#X obj 29 322 timebang 7 10 13 19 47 50;
#X obj 224 355 print good night;
#X text 184 397 this gets banged at 7:10:13 in the morning;
#X text 224 377 this gets banged at 19:47:50;
#X obj 29 202 timebang 12 57 10;
#X text 184 267 this gets banged at 12:57:10;
#X obj 29 265 print it is time!;
#X text 143 159 <-- you can set with a message;
#X text 39 431 The number of times have to match in the [set( message
and the object arguments. So if there are two times set in the arguments
\, the [set( message also needs two sets of times.;
#X msg 29 296 set 9 10 54 21 43 33;
#X connect 0 0 15 0;
#X connect 6 0 13 0;
#X connect 7 0 8 0;
#X connect 9 0 7 0;
#X connect 9 1 10 0;
#X connect 13 0 0 0;
#X connect 18 0 9 0;