aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pd/doc/7.stuff/tools/testtone.pd35
-rw-r--r--pd/doc/7.stuff/tools/testtone16.pd275
-rw-r--r--pd/src/m_pd.h2
3 files changed, 181 insertions, 131 deletions
diff --git a/pd/doc/7.stuff/tools/testtone.pd b/pd/doc/7.stuff/tools/testtone.pd
index 2208aaed..072ee6d8 100644
--- a/pd/doc/7.stuff/tools/testtone.pd
+++ b/pd/doc/7.stuff/tools/testtone.pd
@@ -1,13 +1,13 @@
-#N canvas 130 55 494 364 12;
-#X floatatom 84 288 3 0 0 0 - - -;
-#X obj 34 237 notein;
-#X obj 34 263 stripnote;
-#X floatatom 34 288 3 0 0 0 - - -;
+#N canvas 283 503 494 364 12;
+#X floatatom 72 273 3 0 0 0 - - -;
+#X obj 27 221 notein;
+#X obj 27 247 stripnote;
+#X floatatom 27 272 3 0 0 0 - - -;
#X text 219 234 MIDI OUT;
-#X text 34 213 MIDI IN;
-#X floatatom 166 287 3 0 0 0 - - -;
-#X floatatom 127 287 3 0 0 0 - - -;
-#X obj 127 262 ctlin;
+#X text 27 197 MIDI IN;
+#X floatatom 150 272 3 0 0 0 - - -;
+#X floatatom 120 271 3 0 0 0 - - -;
+#X obj 120 246 ctlin;
#N canvas 0 22 484 446 midi 0;
#X obj 96 65 inlet;
#X obj 96 262 noteout;
@@ -61,8 +61,6 @@
#X obj 184 192 tgl 15 0 tone-monitor set-tone-monitor monitor-inputs
23 8 0 12 -262144 -1 -1 0 1;
#X text 40 120 OFF;
-#X text 39 105 -40;
-#X text 39 88 -20;
#N canvas 0 22 524 326 more 0;
#X floatatom 42 209 0 0 0 0 - - -;
#X obj 42 183 f;
@@ -153,7 +151,7 @@ set 1 \;;
#X connect 1 0 3 0;
#X connect 2 0 4 0;
#X restore 22 332 pd glue+loadbang;
-#N canvas 462 84 468 559 tone-generator 0;
+#N canvas 207 133 468 559 tone-generator 0;
#X obj 22 187 osc~;
#X obj 22 81 mtof;
#X floatatom 22 58 0 0 0 0 - - -;
@@ -485,7 +483,7 @@ set 1 \;;
#X connect 111 0 101 0;
#X restore 38 387 pd assigns;
#X obj 178 87 loadbang;
-#X obj 178 111 0;
+#X obj 178 111 1;
#X connect 1 0 0 0;
#X connect 2 0 1 0;
#X connect 3 0 2 0;
@@ -498,17 +496,26 @@ set 1 \;;
#X floatatom 84 123 5 0 100 1 pitch tone-pitch-set tone-pitch;
#X floatatom 84 145 5 0 20000 1 HZ tone-hz-set tone-hz;
#X text 48 145 dB;
-#X text 28 67 TEST TONES;
+#X text 34 67 TEST TONES;
#X text 233 156 AUDIO OUTPUT ON/OFF;
#X text 18 5 Welcome to Pd ("Pure Data"). You can use this window to
test audio and MIDI connections. To see Pd's DOCUMENTATION \, select
"getting started" in the Help menu.;
#X text 18 323 Pd is Free software under the BSD license. See LICENSE.txt
in the distribution for details.;
+#X obj 27 292 bng 20 250 50 0 empty empty empty 17 7 0 10 -262144 -1
+-1;
+#X obj 120 293 bng 20 250 50 0 empty empty empty 17 7 0 10 -262144
+-1 -1;
+#X text 39 105 60;
+#X text 39 88 80;
+#X text 16 163 (100 max);
#X connect 1 0 2 0;
#X connect 1 1 2 1;
#X connect 2 0 3 0;
#X connect 2 1 0 0;
+#X connect 3 0 47 0;
+#X connect 7 0 48 0;
#X connect 8 0 7 0;
#X connect 8 1 6 0;
#X connect 14 0 9 0;
diff --git a/pd/doc/7.stuff/tools/testtone16.pd b/pd/doc/7.stuff/tools/testtone16.pd
index b54c470c..f3874c60 100644
--- a/pd/doc/7.stuff/tools/testtone16.pd
+++ b/pd/doc/7.stuff/tools/testtone16.pd
@@ -1,16 +1,13 @@
-#N canvas 153 160 822 395 12;
-#X floatatom 93 305 3 0 0 0 - - -;
-#X obj 43 254 notein;
-#X obj 43 280 stripnote;
-#X floatatom 43 305 3 0 0 0 - - -;
-#X text 186 8 Welcome to Pd ("Pure Data"). This window can test your
-audio and MIDI connections. To see Pd's DOCUMENTATION select "getting
-started" in the Help menu.;
-#X text 228 251 MIDI OUT;
-#X text 43 230 MIDI IN;
-#X floatatom 175 304 3 0 0 0 - - -;
-#X floatatom 136 304 3 0 0 0 - - -;
-#X obj 136 279 ctlin;
+#N canvas 117 205 706 319 12;
+#X floatatom 86 283 3 0 0 0 - - -;
+#X obj 36 232 notein;
+#X obj 36 258 stripnote;
+#X floatatom 36 283 3 0 0 0 - - -;
+#X text 224 229 MIDI OUT;
+#X text 36 208 MIDI IN;
+#X floatatom 171 282 3 0 0 0 - - -;
+#X floatatom 132 282 3 0 0 0 - - -;
+#X obj 132 257 ctlin;
#N canvas 0 0 484 446 midi 0;
#X obj 96 65 inlet;
#X obj 96 262 noteout;
@@ -52,20 +49,15 @@ started" in the Help menu.;
#X connect 13 0 9 0;
#X connect 14 0 10 0;
#X connect 20 0 19 0;
-#X restore 228 301 pd midi;
-#X floatatom 137 185 3 0 0 0 - tone-vu1 -;
-#X floatatom 164 185 3 0 0 0 - tone-vu2 -;
-#X obj 138 158 tgl 20 0 tone-ch1 tone-ch1 1 5 -8 0 12 -262144 -1 -1
+#X restore 224 279 pd midi;
+#X floatatom 170 107 3 0 0 0 - tone-vu1 -;
+#X floatatom 197 107 3 0 0 0 - tone-vu2 -;
+#X obj 170 144 tgl 20 0 tone-ch1 tone-ch1 1 5 -8 0 12 -262144 -1 -1
1 1;
-#X obj 163 158 tgl 20 0 tone-ch2 tone-ch2 2 5 -8 0 12 -262144 -1 -1
+#X obj 195 144 tgl 20 0 tone-ch2 tone-ch2 2 5 -8 0 12 -262144 -1 -1
1 1;
-#X obj 228 275 tgl 20 0 empty empty empty 20 8 0 8 -262144 -1 -1 0
+#X obj 224 253 tgl 20 0 empty empty empty 20 8 0 8 -262144 -1 -1 0
1;
-#X obj 698 154 tgl 20 0 tone-monitor set-tone-monitor monitor 25 10
-0 12 -262144 -1 -1 0 1;
-#X text 69 133 OFF;
-#X text 68 118 -40;
-#X text 68 101 -20;
#N canvas 0 0 662 344 more 0;
#X floatatom 42 209 0 0 0 0 - - -;
#X obj 42 183 f;
@@ -90,42 +82,30 @@ started" in the Help menu.;
#X connect 4 0 3 0;
#X connect 11 0 12 0;
#X connect 13 0 12 0;
-#X restore 663 326 pd more;
-#X obj 698 186 tgl 20 0 tone-hipass set-tone-hipass input-hipass 25
-10 0 12 -262144 -1 -1 0 1;
-#X obj 196 158 tgl 20 0 tone-ch3 tone-ch3 3 5 -8 0 12 -262144 -1 -1
+#X restore 584 272 pd more;
+#X obj 228 144 tgl 20 0 tone-ch3 tone-ch3 3 5 -8 0 12 -262144 -1 -1
1 1;
-#X obj 221 158 tgl 20 0 tone-ch4 tone-ch4 4 5 -8 0 12 -262144 -1 -1
+#X obj 253 144 tgl 20 0 tone-ch4 tone-ch4 4 5 -8 0 12 -262144 -1 -1
1 1;
-#X obj 254 158 tgl 20 0 tone-ch5 tone-ch5 5 5 -8 0 12 -262144 -1 -1
+#X obj 286 144 tgl 20 0 tone-ch5 tone-ch5 5 5 -8 0 12 -262144 -1 -1
1 1;
-#X obj 279 158 tgl 20 0 tone-ch6 tone-ch6 6 5 -8 0 12 -262144 -1 -1
+#X obj 311 144 tgl 20 0 tone-ch6 tone-ch6 6 5 -8 0 12 -262144 -1 -1
1 1;
-#X obj 628 145 bng 15 250 50 0 tone-all empty ALL 20 8 0 12 -262144
+#X obj 647 132 bng 15 250 50 0 tone-all empty ALL 20 8 0 12 -262144
-1 -1;
-#X obj 628 166 bng 15 250 50 0 tone-none empty NONE 20 8 0 12 -262144
+#X obj 647 153 bng 15 250 50 0 tone-none empty NONE 20 8 0 12 -262144
-1 -1;
-#X floatatom 195 185 3 0 0 0 - tone-vu3 -;
-#X floatatom 222 185 3 0 0 0 - tone-vu4 -;
-#X floatatom 253 185 3 0 0 0 - tone-vu5 -;
-#X floatatom 280 185 3 0 0 0 - tone-vu6 -;
-#X text 307 207 AUDIO INPUT (RMS dB);
-#X text 45 62 TEST;
-#X text 70 171 noise;
-#X text 69 188 tone;
-#X text 44 80 SIGNAL;
-#X text 317 104 test signal channels:;
-#X obj 51 174 vradio 15 1 0 2 tone-type tone-type-set empty 0 -6 0
-8 -262144 -1 -1 1;
-#X obj 51 104 vradio 15 1 0 3 tone-radio tone-radio-set empty 0 -6
-0 8 -262144 -1 -1 2;
-#X floatatom 313 185 3 0 0 0 - tone-vu7 -;
-#X floatatom 340 185 3 0 0 0 - tone-vu8 -;
-#X obj 313 158 tgl 20 0 tone-ch7 tone-ch7 7 5 -8 0 12 -262144 -1 -1
+#X floatatom 227 107 3 0 0 0 - tone-vu3 -;
+#X floatatom 254 107 3 0 0 0 - tone-vu4 -;
+#X floatatom 285 107 3 0 0 0 - tone-vu5 -;
+#X floatatom 312 107 3 0 0 0 - tone-vu6 -;
+#X floatatom 345 107 3 0 0 0 - tone-vu7 -;
+#X floatatom 372 107 3 0 0 0 - tone-vu8 -;
+#X obj 345 144 tgl 20 0 tone-ch7 tone-ch7 7 5 -8 0 12 -262144 -1 -1
1 1;
-#X obj 338 158 tgl 20 0 tone-ch8 tone-ch8 8 5 -8 0 12 -262144 -1 -1
+#X obj 370 144 tgl 20 0 tone-ch8 tone-ch8 8 5 -8 0 12 -262144 -1 -1
1 1;
-#N canvas 233 399 321 422 audio 0;
+#N canvas 637 91 321 422 audio 0;
#X obj 25 303 s~ tone-mon;
#X obj 25 277 line~;
#X obj 25 249 pack 0 50;
@@ -133,54 +113,77 @@ started" in the Help menu.;
#X obj 28 140 * 5;
#X obj 28 165 s tone-hip;
#X obj 28 114 r tone-hipass;
-#N canvas 499 63 548 519 glue+loadbang 0;
+#N canvas 275 246 482 404 glue+loadbang 0;
#X obj 8 20 loadbang;
#X obj 175 18 r tone-all;
#X obj 285 16 r tone-none;
#X msg 8 48 \; pd dsp 1 \; tone-pitch 69 \; tone-radio 2 \; tone-radio-set
-2 \; tone-type 1 \; tone-type-set 1 \; tone-all 1 \;;
+set 2 \; tone-type 1 \; tone-type-set 1 \; tone-all 1 \; tone-hipass-set
+set 1 \;;
#X msg 175 46 \; tone-ch1 1 \; tone-ch2 1 \; tone-ch3 1 \; tone-ch4
-1 \; tone-ch5 1 \; tone-ch6 1 \; tone-ch7 1 \; tone-ch8 1;
+1 \; tone-ch5 1 \; tone-ch6 1 \; tone-ch7 1 \; tone-ch8 1 \; tone-ch9
+1 \; tone-ch10 1 \; tone-ch11 1 \; tone-ch12 1 \; tone-ch13 1 \; tone-ch14
+1 \; tone-ch15 1 \; tone-ch16 1;
#X msg 285 47 \; tone-ch1 0 \; tone-ch2 0 \; tone-ch3 0 \; tone-ch4
-0 \; tone-ch5 0 \; tone-ch6 0 \; tone-ch7 0 \; tone-ch8 0;
+0 \; tone-ch5 0 \; tone-ch6 0 \; tone-ch7 0 \; tone-ch8 0 \; tone-ch9
+0 \; tone-ch10 0 \; tone-ch11 0 \; tone-ch12 0 \; tone-ch13 0 \; tone-ch14
+0 \; tone-ch15 0 \; tone-ch16 0;
#X connect 0 0 3 0;
#X connect 1 0 4 0;
#X connect 2 0 5 0;
#X restore 22 332 pd glue+loadbang;
-#N canvas 487 35 468 559 tone-generator 0;
-#X obj 22 134 osc~;
-#X obj 22 66 mtof;
-#X floatatom 22 43 0 0 0 0 - - -;
-#X floatatom 22 88 0 0 0 0 - - -;
-#X obj 22 110 sig~;
-#X obj 22 18 r tone-pitch;
-#X obj 119 60 noise~;
-#X obj 65 196 +~;
-#X obj 282 87 - 1;
-#X obj 282 119 * -1;
-#X obj 191 175 line~;
-#X obj 281 176 line~;
-#X obj 22 158 *~;
-#X obj 119 157 *~;
-#X msg 191 146 \$1 20;
-#X msg 281 147 \$1 20;
-#X floatatom 239 54 0 0 0 0 - - -;
-#X obj 64 451 *~;
-#X obj 86 424 line~;
-#X obj 86 397 pack 0 50;
-#X floatatom 86 345 0 0 0 0 - - -;
-#X obj 86 370 dbtorms;
-#X obj 64 477 s~ tone-osc;
-#X obj 86 262 r tone-radio;
-#X obj 86 290 sel 0 1 2;
-#X msg 155 313 0;
-#X msg 86 315 80;
-#X msg 119 315 60;
-#X obj 239 31 r tone-type;
+#N canvas 731 146 468 559 tone-generator 0;
+#X obj 22 187 osc~;
+#X obj 22 81 mtof;
+#X floatatom 22 58 0 0 0 0 - - -;
+#X floatatom 22 103 0 0 0 0 - - -;
+#X obj 22 163 sig~;
+#X obj 22 33 r tone-pitch;
+#X obj 119 179 noise~;
+#X obj 65 249 +~;
+#X obj 282 140 - 1;
+#X obj 282 172 * -1;
+#X obj 191 228 line~;
+#X obj 281 229 line~;
+#X obj 22 211 *~;
+#X obj 119 210 *~;
+#X msg 191 199 \$1 20;
+#X msg 281 200 \$1 20;
+#X floatatom 273 109 0 0 0 0 - - -;
+#X obj 64 504 *~;
+#X obj 86 477 line~;
+#X obj 86 450 pack 0 50;
+#X floatatom 201 365 0 0 0 0 - - -;
+#X obj 86 423 dbtorms;
+#X obj 64 530 s~ tone-osc;
+#X obj 201 282 r tone-radio;
+#X obj 201 310 sel 0 1 2;
+#X msg 270 333 0;
+#X msg 201 335 80;
+#X msg 234 335 60;
+#X obj 273 86 r tone-type;
+#X obj 89 359 r tone-level;
+#X obj 178 453 s tone-level-set;
+#X msg 177 428 set \$1;
+#X obj 329 452 s tone-radio-set;
+#X obj 327 369 sel 80 60 0;
+#X msg 327 394 0;
+#X msg 360 394 1;
+#X msg 393 394 2;
+#X msg 329 426 set \$1;
+#X msg 423 394 2;
+#X obj 72 89 s tone-pitch-set;
+#X msg 72 66 set \$1;
+#X obj 177 29 r tone-hz;
+#X msg 75 117 set \$1;
+#X obj 75 140 s tone-hz-set;
+#X obj 177 55 ftom;
#X connect 0 0 12 0;
#X connect 1 0 3 0;
#X connect 2 0 1 0;
+#X connect 2 0 40 0;
#X connect 3 0 4 0;
+#X connect 3 0 42 0;
#X connect 4 0 0 0;
#X connect 5 0 2 0;
#X connect 6 0 13 0;
@@ -199,6 +202,7 @@ started" in the Help menu.;
#X connect 18 0 17 1;
#X connect 19 0 18 0;
#X connect 20 0 21 0;
+#X connect 20 0 31 0;
#X connect 21 0 19 0;
#X connect 23 0 24 0;
#X connect 24 0 26 0;
@@ -208,6 +212,22 @@ started" in the Help menu.;
#X connect 26 0 20 0;
#X connect 27 0 20 0;
#X connect 28 0 16 0;
+#X connect 29 0 31 0;
+#X connect 29 0 21 0;
+#X connect 31 0 30 0;
+#X connect 33 0 34 0;
+#X connect 33 1 35 0;
+#X connect 33 2 36 0;
+#X connect 33 3 38 0;
+#X connect 34 0 37 0;
+#X connect 35 0 37 0;
+#X connect 36 0 37 0;
+#X connect 37 0 32 0;
+#X connect 38 0 37 0;
+#X connect 40 0 39 0;
+#X connect 41 0 44 0;
+#X connect 42 0 43 0;
+#X connect 44 0 2 0;
#X restore 24 68 pd tone-generator;
#N canvas 184 0 1014 892 assigns 0;
#X obj 12 71 hip~ 5;
@@ -675,42 +695,65 @@ started" in the Help menu.;
#X connect 238 0 192 0;
#X connect 239 0 203 0;
#X restore 38 387 pd assigns;
+#X obj 178 87 loadbang;
+#X obj 178 111 1;
#X connect 1 0 0 0;
#X connect 2 0 1 0;
#X connect 3 0 2 0;
#X connect 4 0 5 0;
#X connect 6 0 4 0;
-#X restore 663 303 pd audio;
-#X floatatom 376 186 3 0 0 0 - tone-vu9 -;
-#X floatatom 403 186 3 0 0 0 - tone-vu10 -;
-#X floatatom 434 186 3 0 0 0 - tone-vu11 -;
-#X floatatom 461 186 3 0 0 0 - tone-vu12 -;
-#X floatatom 492 186 3 0 0 0 - tone-vu13 -;
-#X floatatom 519 186 3 0 0 0 - tone-vu14 -;
-#X floatatom 552 186 3 0 0 0 - tone-vu15 -;
-#X floatatom 579 186 3 0 0 0 - tone-vu16 -;
-#X obj 376 158 tgl 20 0 tone-ch9 tone-ch9 9 5 -8 0 12 -262144 -1 -1
-0 1;
-#X obj 401 158 tgl 20 0 tone-ch10 tone-ch10 10 5 -8 0 12 -262144 -1
--1 0 1;
-#X obj 434 158 tgl 20 0 tone-ch11 tone-ch11 11 5 -8 0 12 -262144 -1
--1 0 1;
-#X obj 459 158 tgl 20 0 tone-ch12 tone-ch12 12 5 -8 0 12 -262144 -1
--1 0 1;
-#X obj 492 158 tgl 20 0 tone-ch13 tone-ch13 13 5 -8 0 12 -262144 -1
--1 0 1;
-#X obj 517 158 tgl 20 0 tone-ch14 tone-ch14 14 5 -8 0 12 -262144 -1
--1 0 1;
-#X obj 551 158 tgl 20 0 tone-ch15 tone-ch15 15 5 -8 0 12 -262144 -1
--1 0 1;
-#X obj 576 158 tgl 20 0 tone-ch116 tone-ch16 16 5 -8 0 12 -262144 -1
--1 0 1;
-#X text 24 341 PD is BSD licensed. See the file \, LICENSE.txt in the
-distribution.;
+#X connect 10 0 11 0;
+#X connect 11 0 4 0;
+#X restore 584 249 pd audio;
+#X floatatom 408 108 3 0 0 0 - tone-vu9 -;
+#X floatatom 435 108 3 0 0 0 - tone-vu10 -;
+#X floatatom 466 108 3 0 0 0 - tone-vu11 -;
+#X floatatom 493 108 3 0 0 0 - tone-vu12 -;
+#X floatatom 524 108 3 0 0 0 - tone-vu13 -;
+#X floatatom 551 108 3 0 0 0 - tone-vu14 -;
+#X floatatom 584 108 3 0 0 0 - tone-vu15 -;
+#X floatatom 611 108 3 0 0 0 - tone-vu16 -;
+#X obj 408 144 tgl 20 0 tone-ch9 tone-ch9 9 5 -8 0 12 -262144 -1 -1
+1 1;
+#X obj 433 144 tgl 20 0 tone-ch10 tone-ch10 10 5 -8 0 12 -262144 -1
+-1 1 1;
+#X obj 466 144 tgl 20 0 tone-ch11 tone-ch11 11 5 -8 0 12 -262144 -1
+-1 1 1;
+#X obj 491 144 tgl 20 0 tone-ch12 tone-ch12 12 5 -8 0 12 -262144 -1
+-1 1 1;
+#X obj 524 144 tgl 20 0 tone-ch13 tone-ch13 13 5 -8 0 12 -262144 -1
+-1 1 1;
+#X obj 549 144 tgl 20 0 tone-ch14 tone-ch14 14 5 -8 0 12 -262144 -1
+-1 1 1;
+#X obj 583 144 tgl 20 0 tone-ch15 tone-ch15 15 5 -8 0 12 -262144 -1
+-1 1 1;
+#X obj 608 144 tgl 20 0 tone-ch116 tone-ch16 16 5 -8 0 12 -262144 -1
+-1 1 1;
+#X text 235 25 16 channel test tone patch;
+#X text 316 77 AUTIO INPUT (RMS dB);
+#X text 337 175 AUDIO OUTPUT ON/OFF;
+#X text 40 120 OFF;
+#X text 101 88 noise;
+#X text 100 105 tone;
+#X obj 84 90 vradio 15 1 0 2 tone-type tone-type-set empty 0 -6 0 8
+-262144 -1 -1 1;
+#X obj 22 91 vradio 15 1 0 3 tone-radio tone-radio-set empty 0 -6 0
+8 -262144 -1 -1 2;
+#X floatatom 22 144 3 0 100 1 - tone-level-set tone-level;
+#X floatatom 84 123 5 0 100 1 pitch tone-pitch-set tone-pitch;
+#X floatatom 84 145 5 0 20000 1 HZ tone-hz-set tone-hz;
+#X text 48 145 dB;
+#X text 28 67 TEST TONES;
+#X obj 265 201 tgl 15 0 tone-monitor set-tone-monitor monitor-inputs
+23 8 0 12 -262144 -1 -1 0 1;
+#X obj 424 202 tgl 15 0 tone-hipass tone-hipass-set input-hipass 23
+8 0 12 -262144 -1 -1 1 1;
+#X text 39 88 80;
+#X text 39 105 60;
#X connect 1 0 2 0;
#X connect 1 1 2 1;
#X connect 2 0 3 0;
#X connect 2 1 0 0;
-#X connect 9 0 8 0;
-#X connect 9 1 7 0;
-#X connect 15 0 10 0;
+#X connect 8 0 7 0;
+#X connect 8 1 6 0;
+#X connect 14 0 9 0;
diff --git a/pd/src/m_pd.h b/pd/src/m_pd.h
index e3504c26..31d7847f 100644
--- a/pd/src/m_pd.h
+++ b/pd/src/m_pd.h
@@ -11,7 +11,7 @@ extern "C" {
#define PD_MAJOR_VERSION 0
#define PD_MINOR_VERSION 42
#define PD_BUGFIX_VERSION 5
-#define PD_TEST_VERSION "test1"
+#define PD_TEST_VERSION ""
/* old name for "MSW" flag -- we have to take it for the sake of many old
"nmakefiles" for externs, which will define NT and not MSW */