aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorFrank Barknecht <fbar@users.sourceforge.net>2004-04-23 16:22:42 +0000
committerFrank Barknecht <fbar@users.sourceforge.net>2004-04-23 16:22:42 +0000
commit35994ca3a4ef6a136a16cac63b4f68540d0434e1 (patch)
treee7eb586c20c9f678abed90c474529e2a21c6e8a8 /tests
This commit was generated by cvs2svn to compensate for changes in r1630,svn2git-root
which included commits to RCS files with non-trunk default branches. svn path=/trunk/abstractions/rradical/; revision=1631
Diffstat (limited to 'tests')
-rw-r--r--tests/README21
-rw-r--r--tests/bla.pd44
-rw-r--r--tests/guiOSC.pd49
-rw-r--r--tests/noguiOSC.pd19
-rw-r--r--tests/rrad-rec.dat296
-rw-r--r--tests/rrad-rec.pd122
6 files changed, 551 insertions, 0 deletions
diff --git a/tests/README b/tests/README
new file mode 100644
index 0000000..408c1e2
--- /dev/null
+++ b/tests/README
@@ -0,0 +1,21 @@
+
+_ __ test __ _
+
+This is a test of network-transparent self-control in the new Memento.
+It works.
+
+Start one Pd with:
+
+pd -realtime -nogui rrad-rec.pd noguiOSC.pd
+
+and the other with
+
+pd -noaudio rrad-rec.pd guiOSC.pd
+
+Turn volume up in guiOSC.pd, and you proably need to select your own samples.
+
+Then you get one Pd running with dsp on, but no GUI to disturb audio
+computation, and the other Pd runs with GUI but without audio to disturb.
+
+You (almost) can now use the GUI-Pd as if it was a normal, audio-enabled Pd,
+although that one is running (crash-protected) in another process.
diff --git a/tests/bla.pd b/tests/bla.pd
new file mode 100644
index 0000000..3adfd7d
--- /dev/null
+++ b/tests/bla.pd
@@ -0,0 +1,44 @@
+#N canvas 246 305 651 459 10;
+#X obj 185 377 ezdac~;
+#X obj 548 116 env~;
+#X floatatom 550 141 5 0 0 0 - - -;
+#X obj 210 58 osc~ 220;
+#X obj 76 60 ctlin;
+#X floatatom 73 91 5 0 0 0 - - -;
+#X floatatom 116 95 5 0 0 0 - - -;
+#X floatatom 156 94 5 0 0 0 - - -;
+#X obj 371 74 rrad.edi /a;
+#X obj 545 70 catch~ /r2;
+#X msg 456 41 /a/which symbol /r;
+#X obj 306 119 r \$0-r;
+#X obj 370 117 s \$0-r;
+#X obj 199 117 r \$0-r;
+#X obj 133 47 osc~ 440;
+#X obj 468 71 catch~ /r1;
+#X obj 211 141 rrad.ms /r2;
+#X obj 104 139 rrad.ms /r1;
+#X obj 544 185 *~;
+#X obj 574 168 osc~ 330;
+#X obj 412 120 r \$0-r;
+#X obj 317 142 rrad.ms /r3;
+#X obj 349 392 catch~ /r3;
+#X connect 1 0 2 0;
+#X connect 3 0 16 0;
+#X connect 4 0 5 0;
+#X connect 4 1 6 0;
+#X connect 4 2 7 0;
+#X connect 8 0 12 0;
+#X connect 9 0 18 0;
+#X connect 10 0 8 1;
+#X connect 11 0 16 1;
+#X connect 13 0 17 1;
+#X connect 14 0 17 0;
+#X connect 16 0 0 0;
+#X connect 16 1 0 1;
+#X connect 17 0 0 0;
+#X connect 17 1 0 1;
+#X connect 18 0 21 0;
+#X connect 19 0 18 1;
+#X connect 20 0 21 1;
+#X connect 21 0 0 0;
+#X connect 21 1 0 1;
diff --git a/tests/guiOSC.pd b/tests/guiOSC.pd
new file mode 100644
index 0000000..70c95e7
--- /dev/null
+++ b/tests/guiOSC.pd
@@ -0,0 +1,49 @@
+#N canvas 469 424 788 361 10;
+#X obj 95 152 sendOSC;
+#X msg 194 102 connect localhost 3001;
+#X obj 88 90 r OSC-out;
+#X obj 97 113 prepend send;
+#X obj 113 32 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144
+-1 -1 10400 1;
+#X obj 525 61 ctlin;
+#X floatatom 558 94 5 0 0 0 - - -;
+#X obj 548 126 pack 0 0;
+#X msg 547 149 \$2 \$1;
+#X obj 544 182 route 1 2 3;
+#X floatatom 545 213 5 0 0 0 - - -;
+#X floatatom 582 214 5 0 0 0 - - -;
+#X floatatom 623 214 5 0 0 0 - - -;
+#X obj 503 274 s OSC;
+#X msg 497 247 /a/svol \$1;
+#X obj 577 274 s OSC;
+#X obj 573 322 s OSC;
+#X msg 571 247 /b/svol \$1;
+#X msg 567 295 /c/svol \$1;
+#X obj 293 123 dumpOSC 3000;
+#X obj 292 162 OSCroute /beat;
+#X obj 293 196 s beatOSC;
+#X msg 53 62 send /mainvol/vol \$1;
+#X obj 272 231 print beatOSC;
+#X obj 217 78 loadbang;
+#X connect 1 0 0 0;
+#X connect 2 0 3 0;
+#X connect 3 0 0 0;
+#X connect 4 0 22 0;
+#X connect 5 0 7 0;
+#X connect 5 2 6 0;
+#X connect 5 2 7 1;
+#X connect 7 0 8 0;
+#X connect 8 0 9 0;
+#X connect 9 0 10 0;
+#X connect 9 1 11 0;
+#X connect 9 2 12 0;
+#X connect 10 0 14 0;
+#X connect 11 0 17 0;
+#X connect 12 0 18 0;
+#X connect 14 0 13 0;
+#X connect 17 0 15 0;
+#X connect 18 0 16 0;
+#X connect 19 0 20 0;
+#X connect 20 0 21 0;
+#X connect 22 0 0 0;
+#X connect 24 0 1 0;
diff --git a/tests/noguiOSC.pd b/tests/noguiOSC.pd
new file mode 100644
index 0000000..725c59b
--- /dev/null
+++ b/tests/noguiOSC.pd
@@ -0,0 +1,19 @@
+#N canvas 214 96 523 348 10;
+#X obj 115 90 dumpOSC 3001;
+#X obj 152 121 print incoming;
+#X obj 112 156 s OSC;
+#X obj 291 224 sendOSC;
+#X obj 302 74 r beat;
+#X obj 329 165 loadbang;
+#X msg 309 198 connect localhost 3000;
+#X msg 404 165 disconnect;
+#X obj 289 119 prepend send;
+#X obj 290 99 prepend /beat;
+#X connect 0 0 1 0;
+#X connect 0 0 2 0;
+#X connect 4 0 9 0;
+#X connect 5 0 6 0;
+#X connect 6 0 3 0;
+#X connect 7 0 3 0;
+#X connect 8 0 3 0;
+#X connect 9 0 8 0;
diff --git a/tests/rrad-rec.dat b/tests/rrad-rec.dat
new file mode 100644
index 0000000..3ff0a5f
--- /dev/null
+++ b/tests/rrad-rec.dat
@@ -0,0 +1,296 @@
+/metro 0 , /bpm , 120
+/c 0 , /n6 , 13
+/c 0 , /n4 , 13
+/c 0 , /n2 , 13
+/c 0 , /last , 15
+/c 0 , /n31 , 13
+/c 0 , /s14 , 28.2222
+/c 0 , /n29 , 13
+/c 0 , /s16 , 34.2698
+/c 0 , /n27 , 13
+/c 0 , /s10 , 0
+/c 0 , /n25 , 13
+/c 0 , /s12 , 0
+/c 0 , /n23 , 13
+/c 0 , /s6 , 0
+/c 0 , /n21 , 13
+/c 0 , /s8 , 24.1905
+/c 0 , /n19 , 13
+/c 0 , /s2 , 0
+/c 0 , /n17 , 13
+/c 0 , /s4 , 0
+/c 0 , /n15 , -0
+/c 0 , /n13 , 13
+/c 0 , /n11 , -0
+/c 0 , /n9 , 13
+/c 0 , /n7 , -0
+/c 0 , /n5 , 13
+/c 0 , /n3 , -0
+/c 0 , /s32 , 0
+/c 0 , /n1 , 13
+/c 0 , /s30 , 0
+/c 0 , /s31 , 0
+/c 0 , /play , 1
+/c 0 , /s28 , 0
+/c 0 , /s29 , 0
+/c 0 , /s26 , 0
+/c 0 , /transp , 0
+/c 0 , /resol , 2.55319
+/c 0 , /s27 , 0
+/c 0 , /s24 , 0
+/c 0 , /s25 , 0
+/c 0 , /s22 , 0
+/c 0 , /s23 , 0
+/c 0 , /s20 , 0
+/c 0 , /s21 , 0
+/c 0 , /s18 , 0
+/c 0 , /n32 , 13
+/c 0 , /s19 , 0
+/c 0 , /n30 , 13
+/c 0 , /n28 , 13
+/c 0 , /s17 , 0
+/c 0 , /svol , 125
+/c 0 , /n26 , 13
+/c 0 , /s11 , 84.6667
+/c 0 , /n24 , 13
+/c 0 , /s13 , 0
+/c 0 , /n22 , 13
+/c 0 , /s , 33
+/c 0 , /s7 , 84.6667
+/c 0 , /n20 , 13
+/c 0 , /s9 , 0
+/c 0 , /n18 , 13
+/c 0 , /s3 , 96.7619
+/c 0 , /n16 , -0
+/c 0 , /s5 , 0
+/c 0 , /n14 , -0
+/c 0 , /s15 , 54.4286
+/c 0 , /n12 , 13
+/c 0 , /s1 , 0
+/c 0 , /n10 , 13
+/c 0 , /n8 , -0
+/a 0 , /n6 , 13
+/a 0 , /n4 , 13
+/a 0 , /n2 , 13
+/a 0 , /last , 15
+/a 0 , /n31 , 13
+/a 0 , /s14 , 68.5397
+/a 0 , /n29 , 13
+/a 0 , /s16 , 54.4286
+/a 0 , /n27 , 13
+/a 0 , /s10 , 0
+/a 0 , /n25 , 13
+/a 0 , /s12 , 0
+/a 0 , /n23 , 13
+/a 0 , /s6 , 0
+/a 0 , /n21 , 13
+/a 0 , /s8 , 0
+/a 0 , /n19 , 13
+/a 0 , /s2 , 0
+/a 0 , /n17 , 13
+/a 0 , /s4 , 0
+/a 0 , /n15 , 13
+/a 0 , /n13 , 13
+/a 0 , /n11 , -0
+/a 0 , /n9 , 13
+/a 0 , /n7 , -0
+/a 0 , /n5 , 13
+/a 0 , /n3 , -0
+/a 0 , /s32 , 0
+/a 0 , /n1 , 13
+/a 0 , /s30 , 0
+/a 0 , /s31 , 0
+/a 0 , /play , 1
+/a 0 , /s28 , 0
+/a 0 , /s29 , 0
+/a 0 , /s26 , 0
+/a 0 , /transp , 0
+/a 0 , /resol , 2.23404
+/a 0 , /s27 , 0
+/a 0 , /s24 , 0
+/a 0 , /s25 , 0
+/a 0 , /s22 , 0
+/a 0 , /s23 , 0
+/a 0 , /s20 , 0
+/a 0 , /s21 , 0
+/a 0 , /s18 , 0
+/a 0 , /n32 , 13
+/a 0 , /s19 , 0
+/a 0 , /n30 , 13
+/a 0 , /n28 , 13
+/a 0 , /s17 , 0
+/a 0 , /svol , 76
+/a 0 , /n26 , 13
+/a 0 , /s11 , 80.6349
+/a 0 , /n24 , 13
+/a 0 , /s13 , 102.81
+/a 0 , /n22 , 13
+/a 0 , /s , 47
+/a 0 , /s7 , 70.5556
+/a 0 , /n20 , 13
+/a 0 , /s9 , 0
+/a 0 , /n18 , 13
+/a 0 , /s3 , 98.7778
+/a 0 , /n16 , -0
+/a 0 , /s5 , 26.2063
+/a 0 , /n14 , -0
+/a 0 , /s15 , 24.1905
+/a 0 , /n12 , 13
+/a 0 , /s1 , 0
+/a 0 , /n10 , 13
+/a 0 , /n8 , 13
+/a 1 , /n6 , 13
+/a 1 , /n4 , 13
+/a 1 , /n2 , 13
+/a 1 , /last , 31
+/a 1 , /n31 , -0
+/a 1 , /s14 , 68.5397
+/a 1 , /n29 , 13
+/a 1 , /s16 , 54.4286
+/a 1 , /n27 , 13
+/a 1 , /s10 , 0
+/a 1 , /n25 , -0
+/a 1 , /s12 , 0
+/a 1 , /n23 , 13
+/a 1 , /s6 , 0
+/a 1 , /n21 , -0
+/a 1 , /s8 , 0
+/a 1 , /n19 , -0
+/a 1 , /s2 , 0
+/a 1 , /n17 , 13
+/a 1 , /s4 , 0
+/a 1 , /n15 , 13
+/a 1 , /n13 , 13
+/a 1 , /n11 , -0
+/a 1 , /n9 , -0
+/a 1 , /n7 , -0
+/a 1 , /n5 , 13
+/a 1 , /n3 , -0
+/a 1 , /s32 , 0
+/a 1 , /n1 , 13
+/a 1 , /s30 , 0
+/a 1 , /s31 , 46.3651
+/a 1 , /play , 1
+/a 1 , /s28 , 0
+/a 1 , /s29 , 0
+/a 1 , /s26 , 0
+/a 1 , /transp , 0
+/a 1 , /resol , 2.23404
+/a 1 , /s27 , 0
+/a 1 , /s24 , 24.1905
+/a 1 , /s25 , 50.3968
+/a 1 , /s22 , 0
+/a 1 , /s23 , 0
+/a 1 , /s20 , 0
+/a 1 , /s21 , 42.3333
+/a 1 , /s18 , 0
+/a 1 , /n32 , 13
+/a 1 , /s19 , 60.4762
+/a 1 , /n30 , 13
+/a 1 , /n28 , 13
+/a 1 , /s17 , 0
+/a 1 , /svol , 54
+/a 1 , /n26 , 13
+/a 1 , /s11 , 80.6349
+/a 1 , /n24 , -0
+/a 1 , /s13 , 102.81
+/a 1 , /n22 , 13
+/a 1 , /s , 47
+/a 1 , /s7 , 70.5556
+/a 1 , /n20 , 13
+/a 1 , /s9 , 68.5397
+/a 1 , /n18 , 13
+/a 1 , /s3 , 98.7778
+/a 1 , /n16 , -0
+/a 1 , /s5 , 26.2063
+/a 1 , /n14 , -0
+/a 1 , /s15 , 24.1905
+/a 1 , /n12 , 13
+/a 1 , /s1 , 0
+/a 1 , /n10 , 13
+/a 1 , /n8 , 13
+/b 0 , /n6 , 13
+/b 0 , /n4 , 13
+/b 0 , /n2 , 13
+/b 0 , /last , 15
+/b 0 , /n31 , 13
+/b 0 , /s14 , 0
+/b 0 , /n29 , 13
+/b 0 , /s16 , 0
+/b 0 , /n27 , 13
+/b 0 , /s10 , 0
+/b 0 , /n25 , 13
+/b 0 , /s12 , 0
+/b 0 , /n23 , 13
+/b 0 , /s6 , 0
+/b 0 , /n21 , 13
+/b 0 , /s8 , 0
+/b 0 , /n19 , 13
+/b 0 , /s2 , 0
+/b 0 , /n17 , 13
+/b 0 , /s4 , 0
+/b 0 , /n15 , -0
+/b 0 , /n13 , -0
+/b 0 , /n11 , 13
+/b 0 , /n9 , -0
+/b 0 , /n7 , 13
+/b 0 , /n5 , -0
+/b 0 , /n3 , 13
+/b 0 , /s32 , 0
+/b 0 , /n1 , -0
+/b 0 , /s30 , 0
+/b 0 , /s31 , 0
+/b 0 , /play , 1
+/b 0 , /s28 , 0
+/b 0 , /s29 , 0
+/b 0 , /s26 , 0
+/b 0 , /transp , 0
+/b 0 , /resol , 2.12766
+/b 0 , /s27 , 0
+/b 0 , /s24 , 0
+/b 0 , /s25 , 0
+/b 0 , /s22 , 0
+/b 0 , /s23 , 0
+/b 0 , /s20 , 0
+/b 0 , /s21 , 0
+/b 0 , /s18 , 0
+/b 0 , /n32 , 13
+/b 0 , /s19 , 0
+/b 0 , /n30 , 13
+/b 0 , /n28 , 13
+/b 0 , /s17 , 0
+/b 0 , /svol , 90
+/b 0 , /n26 , 13
+/b 0 , /s11 , 0
+/b 0 , /n24 , 13
+/b 0 , /s13 , 88.6984
+/b 0 , /n22 , 13
+/b 0 , /s , 41
+/b 0 , /s7 , 0
+/b 0 , /n20 , 13
+/b 0 , /s9 , 88.6984
+/b 0 , /n18 , 13
+/b 0 , /s3 , 0
+/b 0 , /n16 , 13
+/b 0 , /s5 , 84.6667
+/b 0 , /n14 , 13
+/b 0 , /s15 , 88.6984
+/b 0 , /n12 , 13
+/b 0 , /s1 , 94.746
+/b 0 , /n10 , 13
+/b 0 , /n8 , 13
+/ma 0 , /file , /dos/jama/fuji/audio/pd/fbar/sampledrums/snare.wav
+/ma 2 , /file , /dos/jama/fuji/audio/samples/LM-4/dmx/DMX SN2.wav
+/ma 1 , /file , /dos/jama/fuji/audio/samples/LM-4/cr8000/crsnare.wav
+/mc 0 , /att , 0
+/mc 0 , /file , /dos/jama/fuji/audio/pd/fbar/sampledrums/hhcl.wav
+/mc 0 , /rel , 0
+/mc 2 , /att , 154
+/mc 2 , /file , /dos/jama/fuji/audio/samples/LM-4/dmx/DMX CYMBAL.wav
+/mc 2 , /rel , 147
+/mc 1 , /file , /dos/jama/fuji/audio/samples/LM-4/cr8000/crrim.wav
+/mb 0 , /file , /dos/jama/fuji/audio/pd/fbar/sampledrums/kick1.wav
+/mb 2 , /file , /dos/jama/fuji/audio/samples/LM-4/dmx/DMX KICK.wav
+/mb 1 , /file , /dos/jama/fuji/audio/samples/LM-4/cr8000/crkick.wav
+/m 0 , /bpm , 121
+/m 0 , /start , 1
diff --git a/tests/rrad-rec.pd b/tests/rrad-rec.pd
new file mode 100644
index 0000000..2742948
--- /dev/null
+++ b/tests/rrad-rec.pd
@@ -0,0 +1,122 @@
+#N canvas 0 0 1242 860 10;
+#X obj 905 80 r OSC;
+#X obj 118 105 rrad.pattseq /a;
+#X obj 117 471 rrad.pattseq /b;
+#N canvas 0 0 1085 773 more 0;
+#X obj 177 117 rrad.pattseq /c;
+#X obj 178 87 r beat;
+#X obj 161 470 pack 0 0;
+#X obj 169 546 s c;
+#X obj 990 479 s OSC-out;
+#X obj 986 83 r OSC;
+#X obj 170 516 route 0;
+#X obj 950 84 r bpm;
+#X msg 817 81 /*/preset 0;
+#X obj 813 61 r \$0-restore;
+#X connect 0 0 2 0;
+#X connect 0 1 2 1;
+#X connect 0 3 4 0;
+#X connect 1 0 0 0;
+#X connect 2 0 6 0;
+#X connect 5 0 0 1;
+#X connect 6 0 3 0;
+#X connect 7 0 0 1;
+#X connect 8 0 0 1;
+#X connect 9 0 8 0;
+#X restore 962 110 pd more;
+#X obj 930 447 r OSC;
+#X obj 50 474 s a;
+#X obj 106 57 r beat;
+#X obj 189 448 r beat;
+#X obj 990 204 rrad.mmetr /m;
+#X obj 1082 180 r OSC;
+#X obj 991 323 s beat;
+#X obj 986 513 rrad.minipli /ma;
+#X obj 268 24 careGUI;
+#X obj 973 751 throw~ out;
+#X obj 1131 489 r OSC;
+#X obj 977 444 s OSC-out;
+#X obj 928 818 s OSC-out;
+#X obj 1161 603 s OSC-out;
+#X obj 1115 335 s OSC-out;
+#X msg 1120 446 /ma/setsub 1;
+#X obj 1005 582 rrad.minipli /mb;
+#X obj 1003 658 rrad.minipli /mc;
+#X obj 980 485 r a;
+#X obj 961 584 r b;
+#X obj 957 628 r c;
+#X obj 1058 97 ezdac~;
+#X obj 1089 26 r OSC;
+#X obj 1009 71 catch~ out;
+#X obj 955 555 print;
+#X obj 45 450 route 0;
+#X obj 50 428 pack 0 0;
+#X obj 26 771 route 0;
+#X obj 31 749 pack 0 0;
+#X obj 31 795 s b;
+#X msg 1053 350 /*/bpm \$1;
+#X obj 1069 374 s bpm;
+#X obj 700 34 loadbang;
+#X msg 703 62 \; pd dsp 1 \;;
+#X obj 1090 57 OSCroute /mainvol;
+#X obj 1110 78 OSCroute /vol;
+#X msg 817 81 /*/preset 0;
+#X msg 811 448 /*/preset 0;
+#X obj 714 449 r \$0-restore;
+#X obj 813 61 r \$0-restore;
+#X msg 1024 487 /*/preset 0;
+#X obj 1020 467 r \$0-restore;
+#X msg 1131 745 /*/preset 0;
+#X obj 1127 725 r \$0-restore;
+#X obj 160 71 s \$0-restore;
+#X connect 0 0 1 1;
+#X connect 1 0 30 0;
+#X connect 1 1 30 1;
+#X connect 1 3 15 0;
+#X connect 2 0 32 0;
+#X connect 2 1 32 1;
+#X connect 2 3 16 0;
+#X connect 4 0 2 1;
+#X connect 6 0 1 0;
+#X connect 7 0 2 0;
+#X connect 8 0 10 0;
+#X connect 8 1 34 0;
+#X connect 8 2 18 0;
+#X connect 9 0 8 1;
+#X connect 11 0 13 0;
+#X connect 11 2 17 0;
+#X connect 12 0 48 0;
+#X connect 14 0 11 1;
+#X connect 14 0 20 1;
+#X connect 14 0 21 1;
+#X connect 19 0 11 1;
+#X connect 20 0 13 0;
+#X connect 20 2 17 0;
+#X connect 21 0 13 0;
+#X connect 21 2 17 0;
+#X connect 22 0 11 0;
+#X connect 23 0 20 0;
+#X connect 24 0 21 0;
+#X connect 26 0 38 0;
+#X connect 27 0 25 0;
+#X connect 27 0 25 1;
+#X connect 29 0 5 0;
+#X connect 30 0 29 0;
+#X connect 31 0 33 0;
+#X connect 32 0 31 0;
+#X connect 34 0 1 1;
+#X connect 34 0 2 1;
+#X connect 34 0 35 0;
+#X connect 34 0 18 0;
+#X connect 36 0 37 0;
+#X connect 38 0 39 0;
+#X connect 39 0 25 2;
+#X connect 40 0 1 1;
+#X connect 41 0 2 1;
+#X connect 42 0 41 0;
+#X connect 43 0 40 0;
+#X connect 44 0 11 1;
+#X connect 45 0 44 0;
+#X connect 46 0 21 1;
+#X connect 46 0 20 1;
+#X connect 47 0 46 0;