summaryrefslogtreecommitdiff
path: root/help/borax-help.pd
blob: 342ca4a03502b75fa7edc1ca9e7b30f2ea7e37cd (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
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
#N canvas 496 83 557 489 10;
#X obj 0 0 cnv 15 552 40 empty empty borax 3 12 0 18 -204280 -1 0;
#X obj 0 421 cnv 3 550 3 empty empty inlets 8 12 0 13 -228856 -1 0
;
#X obj 0 508 cnv 3 550 3 empty empty outlets 8 12 0 13 -228856 -1 0
;
#X obj 0 754 cnv 3 550 3 empty empty arguments 8 12 0 13 -228856 -1
0;
#X obj 79 432 cnv 17 3 17 empty empty 0 5 9 0 16 -228856 -162280 0
;
#X obj 0 784 cnv 15 552 21 empty empty empty 20 12 0 14 -233017 -33289
0;
#N canvas 242 347 428 75 Related_objects 0;
#X obj 0 0 cnv 15 425 20 empty empty empty 3 12 0 14 -204280 -1 0;
#X text 6 1 Related Objects;
#X restore 206 788 pd Related_objects;
#N canvas 929 385 379 261 META 0;
#X text 12 306 AUTHOR Olaf Matthes;
#X text 12 344 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan
Wilkes for Pd version 0.42. Updated by Fred Jan Kraan 2016-02.;
#X text 12 25 LICENSE GPL v2;
#X text 12 5 KEYWORDS control MIDI max_compatible;
#X text 12 45 DESCRIPTION analyse incoming midi notes;
#X text 12 65 INLET_0 float;
#X text 12 85 INLET_1 float;
#X text 12 105 INLET_2 bang;
#X text 12 125 OUTLET_0 float;
#X text 12 145 OUTLET_1 float;
#X text 12 165 OUTLET_2 float;
#X text 12 185 OUTLET_3 float;
#X text 12 205 OUTLET_4 float;
#X text 12 225 OUTLET_5 float;
#X text 12 245 OUTLET_6 float;
#X text 12 265 OUTLET_7 float;
#X text 12 285 OUTLET_8 float;
#X text 12 325 MAINTAINER Fred Jan Kraan <fjkraan@xs4all.nl>;
#X restore 502 788 pd META;
#X obj 79 456 cnv 17 3 17 empty empty 1 5 9 0 16 -228856 -162280 0
;
#X text 107 455 float;
#X obj 79 518 cnv 17 3 17 empty empty 0 5 9 0 16 -228856 -162280 0
;
#X text 107 518 float;
#X text 9 23 analyse incoming midi notes;
#X obj 511 4 borax;
#X obj 79 47 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1
;
#X obj 184 74 bng 20 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X floatatom 154 192 6 0 0 0 - - -, f 6;
#X floatatom 97 345 5 0 0 0 - - -, f 5;
#X floatatom 79 396 5 0 0 0 - - -, f 5;
#X floatatom 107 319 5 0 0 0 - - -, f 5;
#X floatatom 88 370 5 0 0 0 - - -, f 5;
#X floatatom 135 243 6 0 0 0 - - -, f 6;
#X floatatom 116 293 5 0 0 0 - - -, f 5;
#X floatatom 144 217 5 0 0 0 - - -, f 5;
#X floatatom 125 268 5 0 0 0 - - -, f 5;
#N canvas 504 452 450 300 random 0;
#X obj 157 126 metro 100;
#X obj 249 183 + 50;
#X obj 334 160 random 64;
#X obj 334 183 + 64;
#X obj 157 183 + 250;
#X obj 249 160 random 500;
#X obj 58 160 random 88;
#X obj 58 183 + 21;
#X obj 157 160 random 1000;
#X obj 157 35 inlet;
#X obj 165 55 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 58 224 makenote 100 1500;
#X obj 58 262 outlet;
#X obj 157 262 outlet;
#X obj 0 0 cnv 15 425 20 empty empty empty 3 12 0 14 -204280 -1 0;
#X text 6 1 Random music generator;
#X connect 0 0 2 0;
#X connect 0 0 5 0;
#X connect 0 0 6 0;
#X connect 0 0 8 0;
#X connect 1 0 0 1;
#X connect 2 0 3 0;
#X connect 3 0 11 1;
#X connect 4 0 11 2;
#X connect 5 0 1 0;
#X connect 6 0 7 0;
#X connect 7 0 11 0;
#X connect 8 0 4 0;
#X connect 9 0 0 0;
#X connect 10 0 0 0;
#X connect 11 0 12 0;
#X connect 11 1 13 0;
#X restore 79 71 pd random music;
#X text 96 760 none;
#X obj 79 479 cnv 17 3 17 empty empty 2 5 9 0 16 -228856 -162280 0
;
#X text 107 478 bang;
#X text 162 477 - sets counters and clocks to zero and sends note-off
for all notes currently playing;
#X text 162 454 - velocity;
#X text 163 432 - note number;
#X text 107 432 float;
#X obj 79 541 cnv 17 3 17 empty empty 1 5 9 0 16 -228856 -162280 0
;
#X text 107 541 float;
#X obj 79 564 cnv 17 3 17 empty empty 2 5 9 0 16 -228856 -162280 0
;
#X text 107 564 float;
#X obj 79 587 cnv 17 3 17 empty empty 3 5 9 0 16 -228856 -162280 0
;
#X text 107 587 float;
#X obj 79 610 cnv 17 3 17 empty empty 4 5 9 0 16 -228856 -162280 0
;
#X text 107 610 float;
#X obj 79 633 cnv 17 3 17 empty empty 5 5 9 0 16 -228856 -162280 0
;
#X text 107 633 float;
#X text 116 396 0: note-on count;
#X text 133 346 2: number of voices currently playing;
#X text 141 320 3: pitch;
#X text 151 294 4: velocity;
#X text 160 270 5: duration count;
#X text 182 217 7: delta time count;
#X obj 79 655 cnv 17 3 17 empty empty 6 5 9 0 16 -228856 -162280 0
;
#X text 107 655 float;
#X obj 79 678 cnv 17 3 17 empty empty 7 5 9 0 16 -228856 -162280 0
;
#X text 107 678 float;
#X obj 79 701 cnv 17 3 17 empty empty 8 5 9 0 16 -228856 -162280 0
;
#X text 107 701 float;
#X obj 79 724 cnv 17 3 17 empty empty 9 5 9 0 16 -228856 -162280 0
;
#X text 107 724 float;
#X text 161 724 - delta time value - time between note-ons;
#X text 199 192 8: delta time value;
#X text 163 701 - delta time count;
#X text 162 680 - duration value - time between note-on and note-off
;
#X text 178 245 6: duration value;
#X text 163 519 - note-on count;
#X text 123 370 1: voice allocation number;
#X text 162 539 - voice allocation number: each note playing is assigned
a nunber;
#X text 163 565 - number of voices currently playing;
#X text 163 587 - pitch;
#X text 163 610 - velocity;
#X text 163 633 - duration count;
#X text 163 655 - duration value;
#X text 209 77 reset;
#X obj 79 163 maxlib/borax;
#X connect 14 0 25 0;
#X connect 15 0 71 2;
#X connect 25 0 71 0;
#X connect 25 1 71 1;
#X connect 71 0 18 0;
#X connect 71 1 20 0;
#X connect 71 2 17 0;
#X connect 71 3 19 0;
#X connect 71 4 22 0;
#X connect 71 5 24 0;
#X connect 71 6 21 0;
#X connect 71 7 23 0;
#X connect 71 8 16 0;